Solved PermissionsEX Not Working

Discussion in 'Plugin Help/Development/Requests' started by iRev0lution, Jun 27, 2016.

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

    iRev0lution

    I recently tried to change some things in my PermissionseEX permissions.yml, and then it ended up breaking the whole plugin... I have tried multiple ways to get my plugin back and working again, and it hasn't worked. If you know how to fix this, please tell me, all help will be appreciated.

    PermisisonsEX permissions.yml:
    Code:
    groups:
      default:
        options:
          default: true
        permissions:
        - essentails.signs.use.free
        - essentials.kits.starter
        - essentials.kit
        - essentials.kits
        - essentials.warps.shop
        - essentials.spawn
        - essentials.balance
        - essentials.balancetop
        - essentials.pay
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.info
        - essentials.itemdb
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.realname
        - essentials.seen
        - essentials.whois
        - essentials.home
        - essentials.delhome
        - essentials.sethome.multiple.default
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpadeny
        - essentials.tptoggle
        - essentials.warp
        - essentials.warp.list
        - essentials.warps.*
        - -essentials.warps.vip
        - essentials.signs.use.*
        - askyblock.island.*
        - askyblock.team.create
        - askyblock.team.kick
        - askyblock.team.makeleader
        - askyblock.team.join
        - askyblock.coop
      helper:
        inheritance:
        - default
        permissions:
        - essentials.signs.use.free
        - essentials.afk
        - essentials.nick.*
        - -essentials.nick.others
        - essentials.fly
        - essentials.repair
        - essentials.msg.*
        - -essentials.msg.multiple
        - essentials.near
        - essentials.tp
        - essentials.helpop.receive
      mod:
        inheritance:
        - helper
        - default
        permissions:
        - essentials.nick
        - essentials.gamemode
        - essentials.fly
        - sw.*
        - essentials.ban
        - essentials.ban.*
        - -esssentials.ban.exempt
        - essentials.tempban
        - essentials.kick
        - essentials.mute
        - essentials.feed
        - essentials.heal
        - essentials.god
        - essentials.skull.*
        - essentials.speed
        - essentials.helpop.receive
        - essentials.msg.*
        - essentials.broadcast
        - essentials.signs.color
        - essentials.signs.format
        - essentials.signs.magic
        - essentials.nick.*
        - -esssentials.nick.others
        - essentials.seen.banreason
        - essentials.invsee
        - essentials.socialspy
        - essentials.sudo
        - essentials.unban
        - essentials.unbanip
        - essentials.banip
        - essentials.sethome.multiple.unlimited
        - essentials.tphere
        - essentials.top
        - essentials.tpall
        - essentials.warps.*
        - essentials.chat.*
        - essentials.joinfullserver
      admin:
        inheritance:
        - default
        - helper
        - mod
        - builder
        - dev
        permissions:
        - essentials.*
        - worldedit.*
      builder:
        inheritance:
        - default
        permissions:
        - essentials.signs.use.free
        - essentials.fly
        - worldedit.*
      dev:
        inheritance:
        - default
        permissions:
        - permissions.*
    
    
    My plugins: WorldEdit, SkyBlockOres, BukkitHiddenSyntaxBlocker, Vault, EmptyWorldGenerator, PermissionsEX (not working), ViaVersion, WorldGuard, SimpleWarnings, Commandspy, SilkSpawners, Punishmental, ArchonCrates, ASkyblock, ChestShop, ProtocolLib, PlayerVaults, Votifier, GaListener, Essentials, EssentialsSpawn, EssentialsGeoIP, Multiverse-Core, EchoPet, EssentialsChat, HolographicDisplays, Multiverse-Portals

    All help would be appreciated :). Sorry if I am wasting your time with some simple little problem lol.
     
  2. Offline

    OTF Catastrophe

    Could you post a log if there is an error that comes up? There's nothing wrong parsing wise with your PEX file so I'd need to see a log to determine if anythings actually wrong.

    Also there's an alternative, clearly you know how to set the file up so you should know how to use this. Theres a website from PEX that allows you a VERY SIMPLE way of setting up a permissions.yml file.

    Link: http://pex.treedb.tk/ (Its pretty self explanatory :D)
     
  3. Offline

    SirGregg

    @iRev0lution
    You misspelled essentials as essentails. You did this every time :)
    You left 2 blank lines at the end. This is not something that breaks it, but it is bad practice.
    Like OTF said, please post the FULL error code!
     
  4. Offline

    iRev0lution

    I fixed all my spelling errors, but PEX still doesn't work...

    Oh yeah and for the 'Error code' I don't really know what you mean by that... I checked console and all I could find was 'server's permissions.yml is empty, ignoring it', yet it's not empty. Again, sorry if I'm acting stupid im new to this whole permissionsEX thing.

    I went onto that website, and I found out that it's basically the same method I used for the ranks section... could it be that I made an error in the 'users' section?

    Code:
      users:
      6a9328c6-4032-482d-96d3-771c612a829f:
        group:
        - owner
        options:
          name: iRev0lution
      a49a057d-0817-4496-b560-967db6fd77e3:
        group:
        - dev
        options:
          name: Angel_Scarz
      9bfc62d8-a1c2-45fd-99be-bdda5bd5f6af:
        group:
        - darkcombatant
        options:
          name: DarkCombatant
      41dd4215-48ef-4a2e-8481-a26a2414b437:
        group:
        - darkdragonragez
        options:
          name: DarkDragonRagez
      145257e8-113e-47de-9a70-c56d26289abc:
        options:
          name: Happy__YT
        group:
        - mod
      4a4af6c2-962d-409e-93f0-f6991fdfc4a8:
        group:
        - mod
        options:
          name: C4son_GamingYT
      7912cc60-eb16-4891-8395-894b6555e8e7:
        group:
        - mod
        options:
          name: eagle_warrior
      ee8084a4-ec58-4099-a742-878ca458c5a8:
        group:
        - admin
        options:
          name: noWee7
      30a0156d-947c-46ba-86d4-c8f4bf3044e2:
        group:
        - mod
        options:
          name: xOh_
      73b5852a-bef7-4d1f-b379-37b0dc0fe56a:
        group:
        - builder
        options:
          name: _Dylqn
    
    schema-version: 1
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 28, 2016
  5. Offline

    OTF Catastrophe

    When it comes to the users section inside the permissions.yml file you should absolutely NEVER manually handle it yourself.

    Post a paste bin of your new permissions.yml file(The whole thing) and I'll put it through a yaml parser check and test it out on a test server to make sure it's working for you.
     
  6. Offline

    SirGregg

    @iRev0lution
    When the server says the the permissions.yml file is empty, it is referring to the default one that is produced by Bukkit. It should be in the main server directory (/). It is ONE HUNDRED PERCENT safe to ignore this message. If you are inexperienced in PeX, you should NOT mess with the users section.

    I, personally, would delete the users section by deleting everything from users: to the end of the document.
    Then, use /pex user <username> group add <groupname> to add people to a group and /pex user <username> add <permission> to add additional permissions per player.

    I'm going to take your original code and plug it into a test server to see if I can spot anything.

    For future reference, what is your bukkit and PeX version?
     
  7. Offline

    iRev0lution

  8. Offline

    OTF Catastrophe

    Its never a waste of time, just glad your issue is resolved! :)
     
Thread Status:
Not open for further replies.

Share This Page