Advertisement
Guest User

Error2 - MyCommand

a guest
Feb 23rd, 2013
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. # MyCommand Commands Config File
  2. # commandsnumber (default 20) it's number of command you want make
  3. # Don't forget the '/' on runcmd line , example command: /myhelp
  4. # type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole , runcommand-perm-broadcast-text , runcommand-random , runasoperator
  5. # Additional type accept if you use Spoutplugin = spout-text , spout-notification.\n" +
  6. # runcommand type example -> If command: /l and runcmd: /list,when you type /l mycommand execute /list
  7. # runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Example - runcmd : /time $arg1
  8. # For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
  9. # Set delay time with delaytimer: 5 (5 = seconds)
  10. # Use the dot . for decimal cost Example = cost : 5.5
  11. # http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
  12. options:
  13. commandsnumber: 1
  14. '1':
  15. command: /vote
  16. type: text
  17. text:
  18. - '&6Vote hier: lachemvote.tk'
  19.  
  20. ________________________________________Error______________________________________
  21.  
  22. 2013-02-23 14:33:18 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.8.1
  23. org.bukkit.event.EventException
  24. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
  25. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
  26. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
  27. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
  28. at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:972)
  29. at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898)
  30. at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853)
  31. at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
  32. at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
  33. at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113)
  34. at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
  35. at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
  36. at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
  37. at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
  38. at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
  39. at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
  40. at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
  41. Caused by: java.lang.NullPointerException
  42. at it.mri.mycommand.mycommandPlayerListener.onPlayerCommandPreprocess(mycommandPlayerListener.java:109)
  43. at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
  44. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  45. at java.lang.reflect.Method.invoke(Unknown Source)
  46. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
  47. ... 16 more
  48.  
  49. _______________________
  50.  
  51. 2013-02-23 14:33:10 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.8.1
  52. org.bukkit.event.EventException
  53. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
  54. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
  55. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
  56. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
  57. at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:972)
  58. at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898)
  59. at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853)
  60. at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
  61. at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
  62. at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113)
  63. at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
  64. at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
  65. at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
  66. at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
  67. at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
  68. at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
  69. at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
  70. Caused by: java.lang.NullPointerException
  71. at it.mri.mycommand.mycommandPlayerListener.onPlayerCommandPreprocess(mycommandPlayerListener.java:109)
  72. at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
  73. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  74. at java.lang.reflect.Method.invoke(Unknown Source)
  75. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
  76. ... 16 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement