Dirnei/CommandPay — Issue #1: Needs update to 1337 + Minecraft version 1
Author: Awesomebilly
Created: 2011-12-03 23:10:46+00:00
State: open

Plugin is outdated.

Getting errors: + My config is listed below:

15:09:15 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to CommandPay
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at me.dirnei.commandpay.CommandPayPlayerListener.onPlayerCommandPreproc
ss(CommandPayPlayerListener.java:61)
at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.j
va:288)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.ja
a:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.
ava:339)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler
java:749)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.jav
:179)
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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.jav
:546)
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)
15:09:15 [INFO] [PLAYER_COMMAND] awesomeisaacruiz: /spawn

enabled: true
message:
pay: true
free: false
notenough: true
messages:
pay: You have paid %money for this command.
free: This command was for free.
notenough: You don't have enough money to do that.
commands:
list:
- '/ma (join) | 300'
- '/warp (*) | 1'
- '/home | 30'
- '/spawn | 30'
- '/back | 30'
- '/pwarp | 100'
- '/tpa (*) | 50'
- '/tpaccept | 20'
- '/tp (player2 player1, player2 player1) | 350'