[ADMN/WEB] OKB3 - Bulletin Board Bridge - Now on BukkitDev! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Jun 2, 2011.

  1. Offline

    Kalman Olah

  2. Offline

    Kalman Olah

    I'll explain the following block to you :).
    Code:
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                '1': Default
                '2': Default
                '3': Builder
                '4': Admins
                '5': Default
                '6': Moderator
        exampleworld1:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
        exampleworld2:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message:
            groups:
                '1': 'false'
                '2': 'false'
                '3': 'false'
                '4': 'false'
                '5': 'false'
                '6': 'false'
    First, there's the part with '1': Default and such. You fill that in in this format: 'FORUM RANK ID': PERMISSIONS GROUP NAME. So, basically, if the forum group ID for an administrator is 4, and the Permissions 3.1.x group name for Admins is 'Admin', you fill in '4': Admin . This way my plugin knows that forum admins should be server admins too. Note: All Permissions groups need to be present on all worlds if you have multiworld groups turned off. Make sure you are running Permissions in flatfile mode, and that every world has a groups.yml with all of your mapped groups in it.
    As for the whitelist:
    You are currently running OKB3 in normal mode. This requires users to be able to log in so they can use the /sync command, and get their ranks. I would suggest you don't turn on the whitelist, but make the default Permissions group a group that can't build. This way, only registered forum users that use the /sync command will be able to build. Alternately, you could switch to old-school mode. This will require you to create a required forum field for minecraft usernames on your forum, or to force users to register with their exact minecraft usernames. Though this mode is less secure, it also does not require users to log in to get their ranks checked. You could very well whitelist the server only to registered forum users if you are running OKB3 in old-school mode.

    Hope this was of some help. If you need anything, just PM me.
     
  3. Offline

    dscm

    Well I think I made it correctly on the part of the FORUM RANK ID : PERMISSIONS
    Here is what in the ACP Shows:
    Code:
    Administrators (ID: 4)
    Banned (ID: 5)
    Guests (ID: 2)
    Members (ID: 3)
    Moderators (ID: 6)
    Validating (ID: 1)
    So therefore:
    Code:
                '1': Default <--- Validating Group             '2': Default <--- Guests             '3': Builder <--- Members             '4': Admins  <--- Administrators             '5': Default <--- Banned             '6': Moderator <--- Moderators

    And in the groups.yml of Permissions, Admin group is named 'Admins'
    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    Also, how will I know if Permissions is running in Flatfile mode?
    Thanks :D
     
  4. Offline

    Kalman Olah

    It's running in flatfile mode if there's a groups.yml.

    Make sure you are using Permissions 3.x.x. Make sure you have a groups.yml with all ranks in your /plugins/Permissions/<yourworldname>/ folder.

    Check out IPB_members. Does your administrator user have '4' set as their member_group_id ? Check these things please :).
     
  5. Offline

    dscm

    Yes there is

    Permissions version is 3.1.6
    Please take a look at my groups.yml
    http://pastebin.com/YPYvbVUM

    Yes, it is set on Administrator group (on ACP) and when viewed at phpMyAdmin, it shows 4 too.
     
  6. Offline

    Kalman Olah

    Well...It should be working :p. Could you tell me what your EXACT issue is, and maybe show me a server log?
     
  7. Offline

    dscm

    The exact issue is:
    I'm not getting admin permissions upon login on the server even though I login with the account name that has a Forum admin group
     
  8. Offline

    Kalman Olah

    Did you use /sync <forum username> <forum password>? What does your entry say in users.yml in plugins/Permissions/worldname?
     
  9. Offline

    dscm

    Well I tried that /sync and it just showed that it sucessfuly synced.
    in the users.yml file, it just shows the default content that came with Permissions...
     
  10. Offline

    Kalman Olah

    Make sure that globalgroups and globalusers.yml are empty
    EDIT: As in: not overwriting the other stuff.
    Also, post your console log please. From when you start your server until the /sync usage.
     
  11. Offline

    dscm

    I just checked the users.yml file again and it now shows my username over there with the group: Admins
    but I still dont have the ability to issue commands :(

    and yes the global files are empty
     
  12. Offline

    Kalman Olah

    If you have the Admins group, and the groups.yml contains a rank called "Admins", it works.
     
  13. Offline

    dscm

    if it works, but why can't I give commands??
     
  14. Offline

    Kalman Olah

    Perhaps you didn't set up PErmissions correctly? Post your groups.yml.
     
  15. Offline

    dscm

    Here is my groups.yml
    http://pastebin.com/YPYvbVUM

    Maybe I'm missing something over there... but its just the default file when I installed permissions... just changed Members to Builder
     
  16. Offline

    Kalman Olah

    I'm not sure if you list permissions as - 'permissions node' or - permissions node, with or without the '

    Try removing those.
     
  17. Offline

    dscm

    What should I remove? the ' on the word permissions ? I don't have ' placed on those words...
    Or can you post here your revised edition of it and let me copy it. Thanks
     
  18. Offline

    Kalman Olah

    Nvm, this is not the issue, as Permissions doesn't care if you write it as - 'permissions.node' or - permissions.node.
    If your users.yml states you have the Admins rank, it should be working. I don't know why it wouldn't work, at all. Did you restart the server after creating the groups.yml?
     
  19. Offline

    dscm

    Yes, I've been restarting the server every now and then and it still doesn't work :(
     
  20. Offline

    Kalman Olah

    Could you post your users.yml? Also try using /bbb. Do you see the text "Moderation Help Menu"?
     
  21. Offline

    dscm

    yes I see the Moderation Help Menu...

    Here is my users.yml:
    http://pastebin.com/mQ3snRBF

    All users above "Devyll" are those that came with Permissions.. i never touched anything yet
     
  22. Offline

    Kalman Olah

    Well, according to your groups.yml ( http://pastebin.com/YPYvbVUM ) only admins have the * Permissions node. This means that only admins have a bbb.reload, bbb.force, bbb.forceall, bbb.promote, bbb.demote, bbb.rank permission. If you can see the Moderation Help Menu (and the list of commands under them) it means that you do indeed have the * Permissions node, and that it is working correctly.
     
  23. Offline

    dscm

    But what about not having the ability to use the "give" command etc?
    Also now I tried to set a prefix in the groups.yml to Admins, and the prefix won't shown up:(

    I just did something wrong... I tried the command "fban" to myself and it worked and Im banned on my forum LOL
    Is there a way to unban myself through the console?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  24. Offline

    Kalman Olah

    Prefixes don't show up by themselves. They only show up when using chat mods, like iChat and HeroChat. Just like build: false doesn't do anything until you use the AntiBuild plugin.
    As for /give, /time, /kick and such. Those are the built-in minecraft OP commands. You need to be a server OP for this to work. (See ops.txt in the server folder, and /op <name> in console). Bukkit has plugins that have better /give and ban commands though. Check out Essentials and CommandBook :).

    In your server folder there's a file called "BanFile.yml". Open this file, remove the line with your name on it. Or remove the file completely and restart your server. This will unban you from the server. To be give yourself your forum rank back, use /frank <name> Admin (if you have it mapped).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    dscm

    Okay, these things cleared me up! :D I got so used with Canary/hMod and I was expecting the same here LOL
    thanks for all your help and now atleast I know that it is now working :)

    Last one thing: How to setup Whitelist properly? So that It will auto kickout groups that I do not wish to enter on the server
     
  26. Offline

    Kalman Olah

    Code:
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'true'
            kick-message: Get the fuck out of my server, cunt.
            groups:
                '1': 'false'
                '2': 'false'
    Example setup.
    'RANK ID': 'false' for ranks that should be kicked.
    Since use-as-blacklist is set to true, anyone will be able to join unless they're specifically blacklisted. You could add your forum's banned users' rank to this, for example.
     
  27. Offline

    dscm

    Hmm... that doesn't seem to work. I tried adding all groups 1 ~ 6 set to false and im not kicked out
     
  28. Offline

    Kalman Olah

    Is enable-whitelist set to 'true'? Did you fill in a kick-message? Show me your current config.yml :).
     
  29. Offline

    dscm

    Code:
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'true'
            kick-message: You are not allowed to enter!
            groups:
                '1': 'false'
                '2': 'false'
                '3': 'false'
                '4': 'false'
                '5': 'false'
                '6': 'false'
    
     
  30. Offline

    Kalman Olah

    It works for me. I've just tested it. Did you use /resync or /sync before logging out and back in? If use-as-blacklist is set to true, people without saved credentials won't be kicked.
     
  31. Offline

    dscm

    Still the same, I tried sync before logging out and login... im not getting kicked. I tried blacklist = false and true, still no effect
     

Share This Page