PermissionsEx

PermissionsEx

14M Downloads

Error

CuriousCoder1232 opened this issue ยท 0 comments

commented

Description

[Insert description of issue here]

What PEX Saw

Reason: While CONSOLE was executing /pex

Stacktrace:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1967)
	at ru.tehkode.permissions.commands.CommandsManager$CommandSyntax.getMatchedArguments(CommandsManager.java:199)
	at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:93)
	at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:159)
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
	at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
	at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512)
	at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262)
	at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
	at net.minecraft.server.v1_5_R3.MinecraftServer.q(Unknown Source)
	at net.minecraft.server.v1_5_R3.MinecraftServer.run(Unknown Source)
	at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)

PEX configuration

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

Permissions database

groups:
  default:
    default: true
    permissions:
    - modifyworld.*
  Owner:
    prefix: Owner
  owner1:
    prefix: Owner"
users:
  Fiizy:
    group:
    - owner1
    worlds:
      '1':
        group:
        - Owner

.