Help. an internal error occurred while attempting to perform this command

Discussion in 'Bukkit Help' started by Now1z3, Dec 21, 2011.

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

    Now1z3

    same internal error as last time
    on the /help and /setrank thingis .. i use a plugin called HELP becuse i don't have the code in Command book
     
  2. @pyraetos, Are you sure you're thinking of the correct permissions plugin? PEX using modifyworld permissions to stop building as far as I'm aware, not an info category with build in.
     
  3. Offline

    pyraetos

    I'm just going off of what he's giving me.
    @Now1z3
    Try removing the ~ character in the imbecile's inheritance, that could be causing the regex error.
     
  4. Offline

    Now1z3

    Same. This is the PermissionEX i have atm and console
    Code:
    groups:
        Surviver:
            Default: false
            info:
                prefix: '&c'
                build: true
                suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
                - commandbook.back.ondeath: true
                - commandbook.warp.list: true
                - commandbook.broadcast: true
                - commandbook.suicide: true
        Moderator:
            default: false
            info:
                prefix: '&c'
                build: true
                suffix: Moderator
            inheritance:
                - Surviver
            permissions:
                - commandbook.tp: true
                - commandbook.jail: true
                - commandbook.gamemode: true
                - commandbook.butcher: true
                - commandbook.gamemode.others: true
                - commandbook.kick: true
                - commandbook.weather: true
                - commandbook.spawnmob: true
                - commandbook.bring: true
        Admin:
            prefix: '&b[Admin]&f '
            permissions:
                - commands.here: true
                - never.use.tabs: true
            inheritance:
                - Moderator
        Inbesil:
            default: true
            info:
                prefix: '&f'
                build: true
                suffix: Inbesil
            inheritance:
            options:
                rank: "3"
            permissions:
                - commandbook.depth: true
                - commandbook.help: true
                - commandbook.warp: true
                - commandbook.getpos: true
                - commandbook.compass: true
                - commandbook.back: true
                - commandbook.tpaccept: true
                - commandbook.tpdeny: true
                - commandbook.home: true
                - commandbook.sethome: true
                - commandbook.warp: true
                - commandbook.msg: true
                - commandbook.afk: true
                - commandbook.list: true
                - commandbook.mail: true
                - commandbook.mail.send: true
                - commandbook.kit: true
                - commandbook.help: true
                - commandbook.rules: true
                - commandbook.motd: true
                - commandbook.me: true
                - commandbook.helpop: true
                - commandbook.spawn: true
                - ichat.color: true
        Co-owner:
            prefix: '&c[Co-Owner]&f '
            permissions:
                - commandbook.thor: true
                - srpex.setrank: true
                - srpex.reload: true
                - srpex: true
                - WordRank.remove: true
                - WordRank.remove.all: true
                - WordRank.say: true
                - commandbook.setspawn: true
                - WordRank.rankup: true
                - WordRank.add: true
                - commandbook.unthor: true
                - commandbook.group: true
            inheritance:
                - Admin
        Owner:
            prefix: '&4[Owner]&f '
            inheritance:
                - Co-owner
    Code:
    00:22:39 [INFO] Whitelist: Player Now1z3 is trying to join...
    00:22:39 [INFO] allow!
    00:22:39 [INFO] Now1z3 [/85.230.126.235:52706] logged in with entity id 165 at
    [world] 33.65625, 71.0, -572.09375)
    00:22:48 [ALLVARLIG] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'set
    ank' in plugin SetRankPEX v1.3.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:1
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:
    64)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler
    java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.util.regex.PatternSyntaxException: Illegal repetition
    {commandbook\.depth=true}
            at java.util.regex.Pattern.error(Unknown Source)
            at java.util.regex.Pattern.closure(Unknown Source)
            at java.util.regex.Pattern.sequence(Unknown Source)
            at java.util.regex.Pattern.expr(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at java.util.regex.Pattern.<init>(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at ru.tehkode.permissions.PermissionEntity.isMatches(PermissionEntity.j
    va:571)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:508)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:503)
            at ru.tehkode.permissions.PermissionUser.getMatchingExpression(Permissi
    nUser.java:884)
            at ru.tehkode.permissions.PermissionEntity.has(PermissionEntity.java:13
    )
            at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:
    7)
            at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:
    7)
            at me.Irock23.SRPEX.SetRankPEX.hasSetRank(SetRankPEX.java:146)
            at me.Irock23.SRPEX.SetRankPEX.onCommand(SetRankPEX.java:85)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    00:22:51 [ALLVARLIG] Could not pass event PLAYER_CHAT to ChatManager
    java.util.regex.PatternSyntaxException: Illegal repetition
    {commandbook\.depth=true}
            at java.util.regex.Pattern.error(Unknown Source)
            at java.util.regex.Pattern.closure(Unknown Source)
            at java.util.regex.Pattern.sequence(Unknown Source)
            at java.util.regex.Pattern.expr(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at java.util.regex.Pattern.<init>(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at ru.tehkode.permissions.PermissionEntity.isMatches(PermissionEntity.j
    va:571)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:508)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:503)
            at ru.tehkode.permissions.PermissionUser.getMatchingExpression(Permissi
    nUser.java:884)
            at ru.tehkode.permissions.PermissionEntity.has(PermissionEntity.java:13
    )
            at ru.tehkode.chatmanager.bukkit.ChatListener.onPlayerChat(ChatListener
    java:93)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.j
    va:295)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.ja
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.
    ava:339)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    00:22:51 [INFO] <Now1z3> Help
    00:22:54 [ALLVARLIG] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'hel
    ' in plugin Help v0.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:1
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:
    64)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler
    java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.util.regex.PatternSyntaxException: Illegal repetition
    {commandbook\.depth=true}
            at java.util.regex.Pattern.error(Unknown Source)
            at java.util.regex.Pattern.closure(Unknown Source)
            at java.util.regex.Pattern.sequence(Unknown Source)
            at java.util.regex.Pattern.expr(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at java.util.regex.Pattern.<init>(Unknown Source)
            at java.util.regex.Pattern.compile(Unknown Source)
            at ru.tehkode.permissions.PermissionEntity.isMatches(PermissionEntity.j
    va:571)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:508)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permis
    ionEntity.java:503)
            at ru.tehkode.permissions.PermissionUser.getMatchingExpression(Permissi
    nUser.java:884)
            at ru.tehkode.permissions.PermissionEntity.has(PermissionEntity.java:13
    )
            at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:
    7)
            at ru.tehkode.permissions.compat.PermissionHandler.permission(Permissio
    Handler.java:79)
            at ru.tehkode.permissions.compat.PermissionHandler.permission(Permissio
    Handler.java:70)
            at me.taylorkelly.help.HelpPermissions.permission(HelpPermissions.java:
    1)
            at me.taylorkelly.help.HelpEntry.playerCanUse(HelpEntry.java:48)
            at me.taylorkelly.help.HelpList.getSortedHelp(HelpList.java:38)
            at me.taylorkelly.help.Lister.setPage(Lister.java:32)
            at me.taylorkelly.help.Help.onCommand(Help.java:77)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
     
  5. Offline

    pyraetos

  6. Now, did you use a different permissions plugin before PEX?

    PEX does not use true/false at all, it's true if it's there, and false if there's a - before the permission.
    On my server, I don't put my prefix/suffix inside an "info" category either.
     
  7. Offline

    pyraetos

    Makes sense to me. I have never used PEX so I wouldn't know if they use true or false.
     
  8. My permission for guest is like this, so there's no way this permissions file is for PEX:

    Code:
    groups:
        guest:
            default: true
            prefix: '&8[&7Guest&8] &7'
            permissions:
            - modifyworld.*
            - essentials.spawn
            - essentials.help
            - essentials.helpop
            - multiverse.portal.access.*
            - multiverse.access.*
            - '-mcmmo.motd'
            options:
                rank: '100'
     
  9. Offline

    Now1z3

    ok the - commandbook.depth wasent the problem but hey . im going to try another command plugin to see if it's better.
    Essentials is just problem, Commandbook i don't know, I going to test Commandbin if that dosent work i go test sidekick. Give advice on good Vanilla/Survival plugins if you wan't
     
  10. Offline

    pyraetos

    Pretty sure your PEX formatting is the problem.
     
  11. Now, remove all the permissions, and read on how to setup a PEX permissions file. You've formatted it wrong.
     
  12. Offline

    Now1z3

    is this wrong? i made it now
    Code:
    groups:
        Surviver:
            Default: false
            info:
                prefix: '&c'
                build: true
                suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
        Moderator:
            default: false
            info:
                prefix: '&c'
                build: true
                suffix: Moderator
            inheritance:
                - Surviver
            permissions:
                - CommandBin.teleport.tphere
                - CommandBin.teleport.tp
                - CommandBin.teleport.tp2p
                - CommandBin.teleport.tpall
                - CommandBin.general.creative
                - CommandBin.general.creative.others
                - CommandBin.general.survival
                - CommandBin.general.survival.others
                - CommandBin.general.time
                - CommandBin.general.weather
                - CommandBin.general.kick
                - CommandBin.general.ban
                - CommandBin.general.unban
                - CommandBin.general.feed
                - CommandBin.general.feed.others
                - CommandBin.general.heal
                - CommandBin.general.heal.others
                - CommandBin.general.mute
                - CommandBin.general.unmute
                - CommandBin.general.mob
                - CommandBin.general.help
                - CommandBin.general.jail
                - CommandBin.general.unjail
        Admin:
            prefix: '&b[Admin]&f '
            permissions:
                - commands.here: true
                - never.use.tabs: true
            inheritance:
                - Moderator
        Inbesil:
            default: true
            info:
                prefix: '&f'
                build: true
                suffix: Inbesil
            inheritance:
            options:
                rank: "3"
            permissions:
                - CommandBin.general.sethome
                - CommandBin.general.home
                - CommandBin.general.warp
                - CommandBin.general.spawn
        Co-owner:
            prefix: '&c[Co-Owner]&f '
            permissions:
                - CommandBin.general.setspawn
                - CommandBin.general.setjail
                - CommandBin.general.setunjail
            inheritance:
                - Admin
        Owner:
            prefix: '&4[Owner]&f '
            inheritance:
                - Co-owner
     
  13. You need to remove the "info" bit, and put the prefixes and suffixes inline with the "permissions" and "inheritance" categories, like this:

    Code:
    groups:
        Surviver:
            Default: false
            prefix: '&c'
            suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
    I'd also suggest, to enable/disable building, you need to use "modifyworld.build" to allow it or "-modifyworld.build" to deny it.
    In my permissions, I just give the bottom rank "modifyworld.*", and it does the trick. If you don't have the ModifyWorld plugin, re-download PEX and put it in, this is what PEX uses to allow/disallow what users can do in-game.
     
  14. Offline

    Now1z3

    is this right? and ok i download modify world .. shall i just download it put it in the Plugin folder and fix the inbesil to get the permission and all other will get it to?

    Code:
    groups:
        Surviver:
            Default: false
            prefix: '&c'
            suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
        Moderator:
            Default: false
            prefix: '&c'
            suffix: Moderator
            inheritance:
                - Surviver
            permissions:
            permissions:
                - CommandBin.teleport.tphere
                - CommandBin.teleport.tp
                - CommandBin.teleport.tp2p
                - CommandBin.teleport.tpall
                - CommandBin.general.creative
                - CommandBin.general.creative.others
                - CommandBin.general.survival
                - CommandBin.general.survival.others
                - CommandBin.general.time
                - CommandBin.general.weather
                - CommandBin.general.kick
                - CommandBin.general.ban
                - CommandBin.general.unban
                - CommandBin.general.feed
                - CommandBin.general.feed.others
                - CommandBin.general.heal
                - CommandBin.general.heal.others
                - CommandBin.general.mute
                - CommandBin.general.unmute
                - CommandBin.general.mob
                - CommandBin.general.help
                - CommandBin.general.jail
                - CommandBin.general.unjail
        Admin:
            Default: false
            prefix: '&b'
            suffix: Admin
            inheritance:
                - Moderator
            permissions:
                - commands.here: true
                - never.use.tabs: true
        Inbesil:
            Default: true
            prefix: '&f'
            suffix: Inbesil
            inheritance:
            permissions:
                - CommandBin.general.sethome
                - CommandBin.general.home
                - CommandBin.general.warp
                - CommandBin.general.spawn
        Co-owner:
            Default: false
            prefix: '&c'
            suffix: Co-owner
            inheritance:
                - Admin
            permissions:
                - CommandBin.general.setspawn
                - CommandBin.general.setjail
                - CommandBin.general.setunjail
        Owner:
            Default: false
            prefix: '&4'
            suffix: Owner
            inheritance:
                - Co-owner
            permissions:
     
  15. If you want Insebil to be able to speak, break things, PvP etc.. Just give it "modifyworld.*" but yeah, it looks right to me.
     
  16. Offline

    Now1z3

    ok going to download modfi world first and then test it. Hope it works :p
     
  17. If you get any errors, tell me and I'll get back to you ASAP.
     
  18. Offline

    Now1z3

    Can you send me the modifyworld link i can't find it :S
     
  19. Download PermissionsEx, it's in the RAR file.
     
  20. Offline

    Now1z3

    ok thx :)

    im just asking is this right?
    Code:
    groups:
        Surviver:
            Default: false
            prefix: '&c'
            suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
        Moderator:
            Default: false
            prefix: '&c'
            suffix: Moderator
            inheritance:
                - Surviver
            permissions:
            permissions:
                - CommandBin.teleport.tphere
                - CommandBin.teleport.tp
                - CommandBin.teleport.tp2p
                - CommandBin.teleport.tpall
                - CommandBin.general.creative
                - CommandBin.general.creative.others
                - CommandBin.general.survival
                - CommandBin.general.survival.others
                - CommandBin.general.time
                - CommandBin.general.weather
                - CommandBin.general.kick
                - CommandBin.general.ban
                - CommandBin.general.unban
                - CommandBin.general.feed
                - CommandBin.general.feed.others
                - CommandBin.general.heal
                - CommandBin.general.heal.others
                - CommandBin.general.mute
                - CommandBin.general.unmute
                - CommandBin.general.mob
                - CommandBin.general.help
                - CommandBin.general.jail
                - CommandBin.general.unjail
        Admin:
            Default: false
            prefix: '&b'
            suffix: Admin
            inheritance:
                - Moderator
            permissions:
                - commands.here: true
                - never.use.tabs: true
        Inbesil:
            Default: true
            prefix: '&f'
            suffix: Inbesil
            inheritance:
            permissions:
                - CommandBin.general.sethome
                - CommandBin.general.home
                - CommandBin.general.warp
                - CommandBin.general.spawn
                - modifyworld.*
        Co-owner:
            Default: false
            prefix: '&c'
            suffix: Co-owner
            inheritance:
                - Admin
            permissions:
                - CommandBin.general.setspawn
                - CommandBin.general.setjail
                - CommandBin.general.setunjail
        Owner:
            Default: false
            prefix: '&4'
            suffix: Owner
            inheritance:
                - Co-owner
            permissions:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  21. There's 2 "permissions" for moderator :p
    Other than that, it looks right to me! :)
     
  22. Offline

    Now1z3

    Hmm i got some problems .. when i try write /setspawn i get the internal error and /spawn . /help . etc
     
  23. They're CommandBin errors, although I'd recommend Essentials, try using /pex, if this works, then it's definitely a CommandBin error.
     
  24. Offline

    Now1z3

    but last time i tryed enssentials it dident come up anything in the chat tho but i can try again

    I have put in the Essentials , Essentials chat and spawn now going to fix the permissions

    Does this look good?
    Code:
    groups:
        Surviver:
            Default: false
            prefix: '&c'
            suffix: Surviver
            inheritance:
                - Inbesil
            permissions:
        Moderator:
            Default: false
            prefix: '&c'
            suffix: Moderator
            inheritance:
                - Surviver
            permissions:
                - essentials.tphere
                - essentials.tp
                - CommandBin.teleport.tp2p
                - essentials.gamemode
                - essentials.gamemode.others
                - essentials.time
                - essentials.time.set
                - essentials.weather
                - essentials.kick
                - essentials.ban
                - essentials.tempban
                - essentials.tempban.offline
                - essentials.unban
                - CommandBin.general.feed
                - CommandBin.general.feed.others
                - essentials.unbanip
                - CommandBin.general.heal
                - CommandBin.general.heal.others
                - essentials.mute
                - essentials.unmute
                - essentials.mob
                - essentials.help
                - essentials.jail
                - essentials.unjail
                - essentials.jails
                - essentials.ban.offline
                - essentials.spawner.[mob]
        Admin:
            Default: false
            prefix: '&b'
            suffix: Admin
            inheritance:
                - Moderator
            permissions:
                - commands.here: true
                - never.use.tabs: true
        Inbesil:
            Default: true
            prefix: '&f'
            suffix: Inbesil
            inheritance:
            permissions:
                - essentials.sethome
                - essentials.back
                - essentials.back.ondeath
                - essentials.help
                - essentials.home
                - essentials.warp
                - essentials.spawn
                - essentials.tpa
                - essentials.tpaccept
                - essentials.tpdeny
                - essentials.protect
                - essentials.protect.admin
                - essentials.protect.alerts
                - essentials.afk
                - essentials.motd
                - essentials.rules
                - essentials.suicide
                - modifyworld.*
        Co-owner:
            Default: false
            prefix: '&c'
            suffix: Co-owner
            inheritance:
                - Admin
            permissions:
                - essentials.setspawn
                - essentials.setjail
                - essentials.setunjail
        Owner:
            Default: false
            prefix: '&4'
            suffix: Owner
            inheritance:
                - Co-owner
            permissions:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  25. Looks good to me, if you're not using CommandBin, remove the perms :p
     
  26. Offline

    Now1z3

    when i write a code in chat . nothing happens at all
     
  27. Have you got modifyworld? You'll need to give your rank the modifyworld.* permission
     
  28. Offline

    Now1z3

    i have modifyworld in plugins yes and if you look in the permissionsEX i sent you the Inbesil has the thing - Modfiyworld but i havent set ranks becuse i havent done it yet

    are you there?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  29. You need to set all the inheritence, for example, mod will need:

    - Insebil
    - Surviver
     
  30. Offline

    Now1z3

    ok now i understand tho

    still aint working .. i write a code . nothing happends

    still there?

    Can't write any code becuse nothing happens :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
Thread Status:
Not open for further replies.

Share This Page