[Bukkit guide] PermissionsEX (PEX)

Discussion in 'Bukkit Help' started by zipron, Feb 16, 2012.

?

Did this guide help youN

  1. Yes

    24 vote(s)
    51.1%
  2. A bit

    9 vote(s)
    19.1%
  3. No

    14 vote(s)
    29.8%
Thread Status:
Not open for further replies.
  1. Offline

    zipron

    yes indeed, it's the only stupid thing about pex =)
     
  2. Offline

    ZeroZX4

    i think this is good not stupid cause it will force players to stick to some schematics and make 2 sections of negative and positive permissions so they will only need search in section they need and not trough all permissions of certain group or user

    like now there is no difference under group what will be in what orders
    permissions:
    suffix:
    prefix:
    inheritance:

    u can set it any order u wish and thats bad we should be forced to stick to some schematic to dont make errors and keep our permissions clean

    but never mind good it was my mistake with that negative permissions (cause i was sure it need to be after i was thinking like ok now u have all this .* but without it - - but it seams its other way around like for sure u wont get this - - but u still can have rest of it .*)

    and btw i see say zip under ur posts and i see now u do it manually cause now in post above u miss that

    why not u try signature ?
     
  3. Offline

    zipron

    I didn't understood that xD
    zip
     
  4. Offline

    ZeroZX4

    sometimes on end of ur message u add
    zip

    and sometimes u forgot so why not put this in ur signature so its always there ? well as i see it now my signature r only in my 1st posts of each thread so i now see why not ow so nvm
     
  5. Offline

    zipron

    yea hehe, your sig is shown every so often, maybe 5 posts or so per thread. Anyways, I mostly put zip only when typing in a new thread =)
     
  6. Offline

    ZeroZX4

    well it works like in show on ur 1st post on each page so any post below dont have ur sig thats retarded
     
  7. Offline

    Tim_ofzo

    I have multiple world but when i use group based inheritance it only inherits the permissions for the first world, the yaml parser doesn't give an error.
    http://pastebin.com/VF0csYzm
     
  8. Offline

    zipron

    I believe that is still an issue with PEX as I mentioned at the end of the guide. Inheritance can be used in per-world permissions, but it doesn't work when clearing nodes per world. This means that per-world permissions auto inherit all the nodes for that group defined in the default group part. Not sure if this is the issue you have though, if not, please try to give me a more detailed explanation =)

    good luck
    zip
     
  9. Offline

    EMC22222

    When I start my server I have no commands. Please help. Note: I am very new so there may be several errors.
     

    Attached Files:

    • PEX.txt
      File size:
      1.1 KB
      Views:
      0
  10. Offline

    zipron

    Have you op'ed yourself? in the terminal (that black screen with white text) type
    Code:
    op <your_name>
    
     
  11. Offline

    EMC22222

    yes, I op'ed myself and it still won't work.

    I found my problem, so I am good now. Thank you for this great guide though!

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

    zipron

    Maybe post the solution here? perhaps it can help people in the future. And thanks for the support!

    zip
     
  13. Offline

    EMC22222

    I don't know. I deleted and downloaded it again, and it worked. But now it wont work. My PermissionsEX can be seen using this link: http://pastebin.com/RinzgS0w . PermissionsEX and Essentials are the only plugins I have if that helps.
     
  14. Offline

    OPJewelz

    This should be a sticky thread. I think it would help a lot of users. Good guide man.
     
  15. Offline

    EMC22222

    Also do I do anything with the permissions config.yml file, because it is empty?
     
  16. Offline

    zipron

    That doesn't sound good :) could you please provide your server.log here (from latest restart is ok), I want to know sure if PEX loads, if it finds the correct files or if there are errors in the permissions file.

    Just to be clear: the thing you've pasted here: http://pastebin.com/RinzgS0w
    that content should be in the file located here: <server_folder>/plugins/PermissionsEX/permissions.yml

    good luck,
    zip

    Thanks =) Sticky isn't really required I believe, when I see someone having trouble with permissions, I reffer them to this guide =) others do that too.

    regards,
    zip

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

    OPJewelz

    That's fine :). I am forwarding them to this guide too. Also can I use this on some of my websites? I'll write that you wrote it.
     
  18. Offline

    zipron

    Sure, no problem
     
  19. Offline

    EMC22222

    okay this is my permissions.yml http://pastebin.com/jHi3YJ78 and my permissions.yml is in my PermissionsEX folder which is in my plugins folder which is in the server folder which I named Minecraft Server. What is the server.log?
     
  20. Offline

    zipron

    as you say, it's a file server.log in your main server folder. This contains all server log messages, including errors.
     
  21. Offline

    EMC22222

    Using what do I open it?

    ok I got it. The link is... http://pastebin.com/2sYdHydg

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

    zipron

    Oh it seems that your server doesn't even start. The port used for minecraft (25565) is already in use. That means that someone (maybe you) is running an instance of the bukkit server, which makes it impossible to run a second one. However this doesn't tell me anything about possible errors because your server doesn't even start.

    So if you aren't the one with a server already running, I suppose it's one of your family within the same network. That would also explain why you' permissions don't work at all: you don't log in to your own server.

    regards,
    zip
     
  23. Offline

    boySnowy

    Currently I am owning a server, we used to be survival but expended to different servers.

    Because of this reason I am posting this, all worlds are seperated but the permissions are not working.
    I setup a test to see if it would work, and I will post it below, but the error I get is this;
    Unless I paste it in the 'main default group' it won't work.
    If I for example set the 'essentials.kits.pvp' permission in the world 'survival' it gives an error in the survival world saying that that kit is not setup properly, even while it is.
    It's not only with kits, if I give access to fly on the world 'creative' and not on the other worlds it won't work.
    If I give fly to the 'Main default group' it does work.

    I tried pasting the command in the 'main default group' and make it negative on the others, so that it wouldn't work, but this also doesn't work.
    I pasted a small part of my permissionsEX file below, I hope someone can help me, thanks.

    Code:
    groups:
      default:
        default: true
        build: true
        worlds:
          world:
            prefix: '&7[Default] '
            permissions:
            - multiverse.core.spawn.self
            - essentials.kits.pvp
          survival:
            prefix: '&7[Default] '
            Permissions:
            - worldguard.region.wand
            - worldguard.region.addmember.own.*
            - worldguard.region.removemember.own.*
            - essentials.worth
            - essentials.sethome
            - essentials.home
            - essentials.protect
            - essentials.balance
            - coloredsigns.use
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - ChestShop.shop.create
            - essentials.pay
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.delhome
            - essentials.balance
            - essentials.signs.buy.use
            - essentials.signs.use.buy
            - essentials.signs.sell.use
            - essentials.signs.use.sell
            - lockette.user.create.chest
            - lockette.user.create.door
            - preciousstones.benefit.*
            - multiverse.core.spawn.self
            - -essentials.fly
          pvp:
            prefix: '&7[Default] '
            Permissions:
            - essentials.worth
            - essentials.sethome
            - essentials.home
            - essentials.protect
            - essentials.balance
            - coloredsigns.use
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - ChestShop.shop.create
            - essentials.pay
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.delhome
            - essentials.balance
            - essentials.signs.buy.use
            - essentials.signs.use.buy
            - pvp.general
            - essentials.signs.sell.use
            - essentials.signs.use.sell
            - multiverse.core.spawn.self
            - -essentials.fly
          plotworld:
            prefix: '&7[Default] '
            Permissions:
            - essentials.tpaccept
            - essentials.tpdeny
            - multiverse.core.spawn.self
          HungerGames:
            prefix: '&7[Default] '
            Permissions:
            - sg.arena.join
            - sg.arena.vote
            - multiverse.core.spawn.self
            - essentials.kits.pvp
        permissions:
        - modifyworld.*
        - essentials.list
        - essentials.me
        - essentials.msg
        - modifyworld.chat
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.kit
        - essentials.afk
        - creativegates.use
        - serversigns.use
        - -bukkit.command.plugins
        - plotme.use
        - essentials.spawn
        - multiverse.core.spawn.self
        - essentials.kit
        - essentials.kits
        - essentials.tpaccept
        - essentials.tpadeny
        - essentials.give
        - essentials.fly
     
  24. Offline

    zipron

    one thing I do notice on the fly is that your tabs aren't correct: spaces by two in stead of 4:
    Code:
    groups:
        default:
            default: true
            build: true
            worlds:
               world:
                   prefix: '&7[Default] '
                   permissions:
                       - multiverse.core.spawn.self
                       - essentials.kits.pvp
               survival:
                   prefix: '&7[Default] '
                   permissions:
                       - worldguard.region.wand
                       - worldguard.region.addmember.own.*
                       - worldguard.region.removemember.own.*
    ....
    
    Also: don't use capital words (permissions: in stead of Permissions).
    If there are any more errors, they should be listed in server.log. Please do as follow;
    - delete server.log file in your main server folder
    - restart the server
    - copy/paste the whole content of server.log here (you can open it with notepadd++ or just a simple text editor)

    that way I can look for errors.
    regards,
    zip
     
  25. Offline

    boySnowy

    Thanks I replaced the things you told me to, and the permissions seem to work fine per world.
     
  26. Offline

    zipron

    ok glad to hear that =)

    good luck with your server,
    zip
     
  27. Offline

    Acadac1

    Hey Zip,
    i used your guide to set up my PEX permissions file, but every time i use any PEX command i get an internal server error...Could you please have a look to see if i have gotten anything wrong?

    i have attached my server log and PEX permissions files

    Acadac1
     

    Attached Files:

  28. Offline

    EMC22222

    I think it might be because I downloaded and uninstalled it then installed it again. But when I go on my server I chat with the color and prefix I set in my permissions. Also when I uninstalled permissions I could use the commands of the other plugins I had. The message it says on the Multiplayer Menu (where you chose what server you are logging into) it says the message I put. My brother doesn't have a server and my parents definitely don't so I don't know who is using it.
     
  29. Offline

    zipron

    maybe port 25565 isn't forwarded correctly?

    Can't find any attachments?

    regards,
    zip
     
  30. Offline

    EMC22222

    I went to my routers Linksys page ( something like 10.123.20.***) and I went to applications and gaming. Then I went to "single port forwarding." It say "[blank] to [blank]" I put 25565 because that is the Minecraft port and it says "Protocol.' It has 3 options [TCP], [UDP] or [both], I am not sure which, and also what IPv4 I want. I put my Minecraft server's port which is 10.123.20.*** (the stars being numbers I don't want to share). I then tried it with TCP, UDP, and Both and none worked. Do you know what to do ?
     
Thread Status:
Not open for further replies.

Share This Page