Trouble with PermissionsEX!

Discussion in 'Bukkit Help' started by Jackrushton, Jul 21, 2012.

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

    Jackrushton

    So I've just bought a server and over the past few days I've been trying to prepare it so I can make it public. I just have a couple of problems with a couple of plugins.

    So whenever I try to use a /pex command ingame I get the message, "An internal error occurred while attempting to perform this command"

    This is what appears in console when I attempt to use a command
    Code:
    21.07 03:13:41 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:110)
    21.07 03:13:41 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:121)
    21.07 03:13:41 [Server] SEVERE at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71)
    21.07 03:13:41 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:221)
    21.07 03:13:41 [Server] SEVERE at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.reinjectAll(PermissiblePEX.java:101)

    This is what is in the config.yml file for permissions

    Code:
    permissions:
      backend: file
      backends:
        file:
          file: permissions.yml
      superperms: {}
    

    And this is what is in the permissions.yml file

    Code:
    groups:
      default:
        default: false
        permissions:
        - commandsigns.use.*
        - essentials.help
        - essentials.helpop
        - essentials.motd
        - essentials.rules
        - multiverse.access.*
        - scs.use
        - -alphachest.*
        - -boseconomy.*
        - -bukkit.command.*
        - -cgm.*
        - -commandsigns.*
        - -creativegates.*
        - -essentials.*
        - -fd.*
        - -lab.*
        - -lagmeter.*
        - -lockette.*
        - -mcmmo.*
        - -mobdisguise.*
        - -modifyworld.*
        - -multiverse.*
        - -mv.*
        - -mvinv.*
        - -mycommand.*
        - -nocheat
        - -nolagg
        - -nostarvation.*
        - -openinv
        - -permissions.*
        - -residence.create
        - -scs.*
        - -vanish.*
        - -worldborder.*
        - -worldedit.*
        - -worldguard.*
      member:
        default: true
        info: {prefix: '&f', build: true}
        inheritance: default
        permissions:
        - -modifyworld.items.(craft|have).46
        - -modifyworld.items.(craft|have).(328|342|343)
        - -scs.create.unlimited
        - boseconomy.common.*
        - bukkit.command.plugins
        - bukkit.command.version
        - creativegates.use
        - essentials.afk
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.chat.shout
        - essentials.chat.question
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.ignore
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.pay
        - essentials.ping
        - essentials.seen
        - essentials.signs.use.*
        - essentials.signs.create.disposal
        - essentials.signs.create.mail
        - essentials.signs.create.protection
        - essentials.signs.create.trade
        - essentials.signs.break.disposal
        - essentials.signs.break.mail
        - essentials.signs.break.protection
        - essentials.signs.break.trade
        - essentials.suicide
        - essentials.time
        - essentials.who
        - essentials.worth
        - fd.monitor
        - hsp.home.bedsethome
        - jobs.use
        - lagmeter.*
        - lockette.user.*
        - mcmmo.ability.*
        - mcmmo.item.*
        - mcmmo.motd
        - mcmmo.commands.*
        - mcmmo.skills.*
        - modifyworld.*
        - multiverse.access.*
        - residence.create
        - scs.create.*
        - scs.manage
        - scs.remove
        - scs.use
        - worldedit.selection.*
      vip:
      default: false
      info: {prefix: '&6', build: true}
      inheritance: member
      permissions:
        - alphachest.*
      vip2:
      default: false
      info: {prefix: '&6', build: true}
      inheritance: vip
      permissions:
        - hsp.command.home
        - hsp.command.sethome
      mod:
        default: false
        info: {prefix: '&2', build: true}
        inheritance: vip2
        permissions:
        - -hawkeye.preview
        - -hawkeye.rollback
        - -vanish.fakeannounce
        - -vanish.list
        - -vanish.nochat
        - -vanish.joinwithoutannounce
        - -vanish.joinvanished
        - essentials.back
        - essentials.back.ondeath
        - essentials.ban
        - essentials.ban.notify
        - essentials.banip
        - essentials.clearinventory
        - essentials.helpop.recieve
        - essentials.home.others
        - essentials.jump
        - essentials.kick
        - essentials.kick.notify
        - essentials.kill
        - essentials.setwarp
        - essentials.signs.create.*
        - essentials.signs.break.*
        - essentials.top
        - essentials.tp
        - essentials.tp.others
        - essentials.tphere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - hawkeye.*
        - mcmmo.chat.adminchat
        - mycommand.cmd.5
        - mycommand.cmd.6
        - vanish.hooks.essentials.hide
        - vanish.nointeract
        - vanish.nofollow
        - vanish.nopickup
        - vanish.standard
        - vanish.toggle
        - vanish.vanish
    admin:
        default: false
        info: {prefix: '&4', build: true}
        inheritance: mod
        permissions:
        - hawkeye.preview
        - hawkeye.rollback
    users:
        Jackrushton
          permissions:
          - -modifyworld.mobtarget.*
          - -vanish.nointeract
          - vanish.effects.smoke
          group:
          -member
      ImHarryN
          group:
          -mod
    



    So if anybody could possibly help me out with this I'd be very grateful!

    Another problem I have is with the Jobs plugin

    Whenever I install it it doesn't seem to work and shows up red in the plugins list.

    I was wondering if it may be conflicting with another plugin,
    Here is my full list of plugins currently on server: NoEntityGrief, LagMeter, Jobs, WolrdBorder, AlphaChest, WorldEdit, BigBrother, safeExplosions, Multiverse-Core, PermissionsEx, Guardian, WorldGuard, Hawkeye, OpenInv, Lockette, ColorMe, NoCheat, AutoSaveWorld, EssentialsProtect, EssentialsSpawn, CreativeGates, EssentialsGeoIP, VanishNoPacket, BOSEconomy, EssentialsChat, Residence, Factions, ShowCaseStandalone.

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

    Magi1053

    I have no idea where you got your example permissions setup from but it is 70% WRONG. I fixed all that i saw and tested it and got no errors. I also see alot of master nodes .* so make sure they are legit master/parent nodes from the plugin maker, because some plugins might use different ones. Also you have some nodes that are neither a parent nor a child node, such as nochat and nolagg, so you might wanna fix those
    Code:
    groups:
      default:
        permissions:
        - commandsigns.use.*
        - essentials.help
        - essentials.helpop
        - essentials.motd
        - essentials.rules
        - multiverse.access.*
        - scs.use
        - -alphachest.*
        - -boseconomy.*
        - -bukkit.command.*
        - -cgm.*
        - -commandsigns.*
        - -creativegates.*
        - -essentials.*
        - -fd.*
        - -lab.*
        - -lagmeter.*
        - -lockette.*
        - -mcmmo.*
        - -mobdisguise.*
        - -modifyworld.*
        - -multiverse.*
        - -mv.*
        - -mvinv.*
        - -mycommand.*
        - -nocheat
        - -nolagg
        - -nostarvation.*
        - -openinv
        - -permissions.*
        - -residence.create
        - -scs.*
        - -vanish.*
        - -worldborder.*
        - -worldedit.*
        - -worldguard.*
      member:
        default: true
        prefix: '&f'
        inheritance:
        - default
        permissions:
        - -modifyworld.items.(craft|have).46
        - -modifyworld.items.(craft|have).(328|342|343)
        - -scs.create.unlimited
        - boseconomy.common.*
        - bukkit.command.plugins
        - bukkit.command.version
        - creativegates.use
        - essentials.afk
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.chat.shout
        - essentials.chat.question
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.ignore
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.pay
        - essentials.ping
        - essentials.seen
        - essentials.signs.use.*
        - essentials.signs.create.disposal
        - essentials.signs.create.mail
        - essentials.signs.create.protection
        - essentials.signs.create.trade
        - essentials.signs.break.disposal
        - essentials.signs.break.mail
        - essentials.signs.break.protection
        - essentials.signs.break.trade
        - essentials.suicide
        - essentials.time
        - essentials.who
        - essentials.worth
        - fd.monitor
        - hsp.home.bedsethome
        - jobs.use
        - lagmeter.*
        - lockette.user.*
        - mcmmo.ability.*
        - mcmmo.item.*
        - mcmmo.motd
        - mcmmo.commands.*
        - mcmmo.skills.*
        - modifyworld.*
        - multiverse.access.*
        - residence.create
        - scs.create.*
        - scs.manage
        - scs.remove
        - scs.use
        - worldedit.selection.*
      vip:
        prefix: '&6'
        inheritance:
        - member
        permissions:
        - alphachest.*
      vip2:
        prefix: '&6'
        inheritance:
        - vip
        permissions:
        - hsp.command.home
        - hsp.command.sethome
      mod:
        prefix: '&2'
        inheritance:
        - vip2
        permissions:
        - -hawkeye.preview
        - -hawkeye.rollback
        - -vanish.fakeannounce
        - -vanish.list
        - -vanish.nochat
        - -vanish.joinwithoutannounce
        - -vanish.joinvanished
        - essentials.back
        - essentials.back.ondeath
        - essentials.ban
        - essentials.ban.notify
        - essentials.banip
        - essentials.clearinventory
        - essentials.helpop.recieve
        - essentials.home.others
        - essentials.jump
        - essentials.kick
        - essentials.kick.notify
        - essentials.kill
        - essentials.setwarp
        - essentials.signs.create.*
        - essentials.signs.break.*
        - essentials.top
        - essentials.tp
        - essentials.tp.others
        - essentials.tphere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - hawkeye.*
        - mcmmo.chat.adminchat
        - mycommand.cmd.5
        - mycommand.cmd.6
        - vanish.hooks.essentials.hide
        - vanish.nointeract
        - vanish.nofollow
        - vanish.nopickup
        - vanish.standard
        - vanish.toggle
        - vanish.vanish
      admin:
        prefix: '&4'
        inheritance:
        - mod
        permissions:
        - hawkeye.preview
        - hawkeye.rollback
    users:
      Jackrushton:
        permissions:
        - -modifyworld.mobtarget.*
        - -vanish.nointeract
        - vanish.effects.smoke
        group:
        - member
      ImHarryN:
        group:
        - mod
    
     
  3. Offline

    Jackrushton

    Thank you ever so much! Admittedly I was a bit lazy with this, as well as completely new to permissions so instead of properly learning I tried to copy someone else's config who was using similar plugins to me.

    However when I try to use any commands other than /pex such as /pex help, I get the message "Error in command syntax. Check command help." Was wondering if you may know what this is? And do I have to install another plugin to give people permissions in game?

    Oh dw I realise how derpy I was being.

    But I put myself into group admin and am opped on the server, but when I try to put a person into a group using /pex user <user> group set <group> it gives me the message "Don't have enough permission for group member"

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

    Magi1053

    Then you need to search the permissionsex github wiki for the the pex permission nodes
     
  5. Offline

    Jackrushton

    So I thought I'd gathered what to do, and I tried to add extra permissions, but am now getting "An internal error occurred while attempting to perform this command"


    Code:
    groups:
      default:
        permissions:
        - commandsigns.use.*
        - essentials.help
        - essentials.helpop
        - essentials.motd
        - essentials.rules
        - multiverse.access.*
        - scs.use
        - -alphachest.*
        - -boseconomy.*
        - -bukkit.command.*
        - -cgm.*
        - -commandsigns.*
        - -creativegates.*
        - -essentials.*
        - -fd.*
        - -lab.*
        - -lockette.*
        - -mcmmo.*
        - -mobdisguise.*
        - -modifyworld.*
        - -multiverse.*
        - -mv.*
        - -mvinv.*
        - -mycommand.*
        - -nostarvation.*
        - -openinv
        - -permissions.*
        - -residence.create
        - -scs.*
        - -vanish.*
        - -worldborder.*
        - -worldedit.*
        - -worldguard.*
        - modifyworld.usebeds
      member:
        default: true
        prefix: '&f'
        inheritance:
        - default
        permissions:
        - -modifyworld.items.(craft|have).46
        - -modifyworld.items.(craft|have).(328|342|343)
        - -scs.create.unlimited
        - boseconomy.common.*
        - bukkit.command.plugins
        - bukkit.command.version
        - creativegates.use
        - essentials.afk
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.chat.shout
        - essentials.chat.question
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.ignore
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.pay
        - essentials.ping
        - essentials.seen
        - essentials.signs.use.*
        - essentials.signs.create.disposal
        - essentials.signs.create.mail
        - essentials.signs.create.protection
        - essentials.signs.create.trade
        - essentials.signs.break.disposal
        - essentials.signs.break.mail
        - essentials.signs.break.protection
        - essentials.signs.break.trade
        - essentials.suicide
        - essentials.time
        - essentials.who
        - essentials.worth
        - fd.monitor
        - hsp.home.bedsethome
        - jobs.use
        - lockette.user.*
        - mcmmo.ability.*
        - mcmmo.item.*
        - mcmmo.motd
        - mcmmo.commands.*
        - mcmmo.skills.*
        - modifyworld.*
        - multiverse.access.*
        - residence.create
        - scs.create.*
        - scs.manage
        - scs.remove
        - scs.use
        - worldedit.selection.*
      vip:
        prefix: '&6'
        inheritance:
        - member
        permissions:
        - alphachest.*
      vip2:
        prefix: '&6'
        inheritance:
        - vip
        permissions:
        - hsp.command.home
        - hsp.command.sethome
      mod:
        prefix: '&2'
        inheritance:
        - vip2
        permissions:
        - -vanish.fakeannounce
        - -vanish.list
        - -vanish.nochat
        - -vanish.joinwithoutannounce
        - -vanish.joinvanished
        - essentials.back
        - essentials.back.ondeath
        - essentials.ban
        - essentials.ban.notify
        - essentials.banip
        - essentials.clearinventory
        - essentials.helpop.recieve
        - essentials.home.others
        - essentials.jump
        - essentials.kick
        - essentials.kick.notify
        - essentials.kill
        - essentials.setwarp
        - essentials.signs.create.*
        - essentials.signs.break.*
        - essentials.top
        - essentials.tp
        - essentials.tp.others
        - essentials.tphere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - guardian.tools.toolname
        - guardian.lookup
        - mcmmo.chat.adminchat
        - mycommand.cmd.5
        - mycommand.cmd.6
        - vanish.hooks.essentials.hide
        - vanish.nointeract
        - vanish.nofollow
        - vanish.nopickup
        - vanish.standard
        - vanish.toggle
        - vanish.vanish
      admin:
        prefix: '&4'
        inheritance:
        - mod
        permissions:
        - guardian.rollback
    users:
      Jackrushton:
      prefix: '&9' 'King'
        permissions:
        - -modifyworld.mobtarget.*
        - -vanish.nointeract
        - vanish.effects.smoke
        - multiverse.core.create
        - multiverse.access.*
        - multiverse.help
        - multiverse.teleport.self.NAME
        - multiverse.core.confirm
        - multiverse.core.coord
        - multiverse.core.info
        - multiverse.core.list.environments
        - multiverse.core.list.who
        - multiverse.core.list.worlds
        - multiverse.core.import
        - multiverse.core.modify
        - multiverse.core.modify.add
        - multiverse.core.modify.clear
        - multiverse.core.modify.modify
        - multiverse.core.modify.remove
        - multiverse.core.modify.set
        - multiverse.core.reload
        - multiverse.core.spawn.other
        - multiverse.core.spawn.self
        - multiverse.core.spawn.set
        - multiverse.core.delete
        - multiverse.core.purge
        - multiverse.core.remove
        - multiverse.core.unload
        - multiverse.core.anchor
        - multiverse.core.config
        - multiverse.core.debug
        - multiverse.core.generator
        - multiverse.core.load
        - multiverse.core.sleep
        - multiverse.core.tp.*
        - multiverse.core.tp.self
        - multiverse.core.version
        - permissions.debug
        - permissions.manage.Jackrushton
        - permissions.manage.membership.mod
        - permissions.manage.groups.permissions.mod
        group:
        - admin
      ImHarryN:
        group:
        - mod
    
    If somebody could tell me where I've gone wrong again I'd be very grateful.

    Bump

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

    jacklin213

Thread Status:
Not open for further replies.

Share This Page