PermissionsEX add user problem

Discussion in 'Bukkit Help' started by janoot, Feb 20, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    janoot

    Hi,
    I've changed my PermissionsEX permissions, but when I try to add a user to a group it says the same as when I typ /pex, it only shows the commands but it doesn't add the user to the group.
    These are my permissions:
    http://pastebin.com/K0L6GvJN

    I hope someone knows the problem and how to solve this.

    Thanks.
     
  2. Offline

    stuntguy3000

    What are you typing?
     
  3. Offline

    janoot

    /pex user j4rno group add Admins
     
  4. Offline

    Sawcar

    Here you have it, i use the plugin too: /pex user (player name) group set (group from the permission.yml) :) It works!
     
  5. Offline

    janoot

    Hmm, neither did that work. I changed the permissions.yml to a file without other worlds, so apearantly that was where it went wrong. I don't know how I add other worlds, can anyone explain me?
     
  6. Offline

    Europia79

    http://pastebin.com/0GAWJunC

    that's my permissions.yml file... it's quite large, but it does have multiple worlds:
    world - the main world
    pvp - a pvp world
    mining - a mining world
    HG - a Hunger Games world that we no longer have.

    As far as adding in other worlds, i would just open the file and type them in manually. I'm not 100% sure where you went wrong, but i do notice a small difference between your file and mine

    Code:
    groups:
      default:
        default: true
        permissions:
        - -bukkit.command.stop
        - paintball.general
        - -pwnfilter.bypass
        worlds:
          pvp:
            permissions:
            - essentials.kit
            - essentials.kit.pvp
            - essentials.kit.ammo
            - essentials.kit.Uzi
            - essentials.kit.ump45
            - essentials.kit.FAMAS
            - essentials.kit.stg77
            - essentials.kit.DE
            - essentials.kit.Colt
            - essentials.kit.arrows
            - gunsplus.fire.9mmUzi
            - gunsplus.fire.UMP45
            - gunsplus.fire.FAMAS
            - gunsplus.fire.stg77
            - gunsplus.fire.DE
            - gunsplus.fire.Colt
          mining:
            permissions:
            - -essentials.sethome
            - essentials.tppos
          HG:
            permissions:
            - -essentials.build
        options:
          rank: '1000'
        prefix: '&7'
    notice how my file has "permissions:" before you have "worlds:" Those are the default permissions across ALL worlds... then i used the sub-heading "worlds:" + "pvp:" to customize a certain world: Add or Take away permission nodes inside that world... Like i used "mining:" to take away /sethome because that particular world will get deleted on a regular basis, and if nobody can /sethome there then it's unlikely they'll lose a build. And for "pvp:" i gave them more weapons (kits) to use. Also notice how my main world isn't listed under "worlds:"

    Mine works for multiple worlds... So i hope this helps.
     
  7. Offline

    janoot

    Thank you SO much!! It finaly works :D
    But there is one thing I can't get fixed. I want to set the prefix the same name as the world, and not as the name of the group, but how do I show the prefix? I've made it the same as yours, but I don't see a prefix when I type something.

    PS: Sorry for my bad english, I'm dutch.
     
  8. Offline

    Europia79

    cool janoot, i was lucky enough to visit Amsterdam in 2002... it was something else! Anyways, as far as your problem... We would need a list of all the plugins that you're using... it sounds like you don't have a Chat Plugin... i use EssentialsChat, but there are a bunch of them to choose from... The Chat Plugin is actually what is going to take the "prefix: "&4[Admin]&c " from the permission file and display it to the screen. I actually encountered an issue a very long time ago where my Chat Plugin displayed the world name, and i had to disable that... i'm pretty sure it's in the config.yml for the Chat Plugin... (if i remember correctly).

    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                  EssentialsChat                    | #
    # +------------------------------------------------------+ #
    ############################################################
     
    chat:
     
      # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
      # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
      # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
      # Or with essentials.chat.question can override this by prefixing text with a question mark (?)
      # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
      radius: 0
     
      # Chat formatting can be done in two ways, you can either define a standard format for all chat
      # Or you can give a group specific chat format, to give some extra variation.
      # If set to the default chat format which "should" be compatible with ichat.
      # For more information of chat formatting, check out the wiki: http://ess.khhq.net/wiki/Chat_Formatting 
     
      format: '<{DISPLAYNAME}> {MESSAGE}'
      #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'
     
      group-formats:
      #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&f {MESSAGE}'
      #  Admins: '{WORLDNAME} &c[{GROUP}]&f {DISPLAYNAME}&7:&c {MESSAGE}'
     
      # If your using group formats make sure to remove the '#' to allow the setting to be read.
    
     
Thread Status:
Not open for further replies.

Share This Page