Error mistery: all listeners ignored

Discussion in 'Plugin Development' started by TheA13X, Aug 3, 2013.

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

    TheA13X

    The title says everything but the source code.
    And here is it:

    Code:java
    1. ...
    2. public void onEnable()
    3. { String version=this.getDescription().getVersion();
    4. loadConfig();
    5. setStaffCreative();
    6. System.out.println("[tryone] plugin&out v"+version+" l\344uft!");
    7. this.getCommand("free").setExecutor(new FREECommand(this));
    8. this.getCommand("service").setExecutor(new SERVICECommand(this));
    9. this.getCommand("armor").setExecutor(new ARMORCommand(this));
    10. this.getCommand("zustand").setExecutor(new ZUSTANDCommand(this));
    11. this.getCommand("kill").setExecutor(new KILLCommand(this));
    12. this.getCommand("killall").setExecutor(new KILLALLCommand(this));
    13. this.getCommand("mime").setExecutor(new MIMECommand(this));
    14. this.getCommand("mjoin").setExecutor(new MJOINCommand(this));
    15. this.getCommand("mleave").setExecutor(new MLEAVECommand(this));
    16. this.getCommand("warn").setExecutor(new WARNCommand(this));
    17. this.getCommand("wlist").setExecutor(new WLISTCommand(this));
    18. this.getCommand("apply").setExecutor(new APPLYCommand(this));
    19. this.getCommand("tell").setExecutor(new TELLCommand());
    20. this.getCommand("upgrade").setExecutor(new UPGRADECommand(this));
    21. this.getCommand("optemp").setExecutor(new OPTEMPCommand(this));
    22. this.getCommand("new").setExecutor(new NEWCommand(this));
    23. this.getCommand("delnew").setExecutor(new DELNEWCommand(this));
    24. this.getCommand("tp").setExecutor(new TPCommand(this));
    25. this.getCommand("plugin").setExecutor(new PLUGINSCommand(this));
    26. this.getCommand("flash").setExecutor(new BLITZCommand(this));
    27. this.getCommand("mute").setExecutor(new MuteCommand(this));
    28. this.getCommand("unmute").setExecutor(new UnmuteCommand(this));
    29. this.getCommand("quitmsg").setExecutor(new SetMessageCommand(this));
    30. this.getCommand("mute").setExecutor(new MuteCommand(this));
    31. this.getCommand("reload").setExecutor(new ReloadCommand(this));
    32.  
    33. this.getServer().getPluginManager().registerEvents(new TPLeave(this), this);
    34. this.getServer().getPluginManager().registerEvents(new TPJoinEvent(this),this);
    35. this.getServer().getPluginManager().registerEvents(new TPClick(), this);
    36. this.getServer().getPluginManager().registerEvents(new TPChat(this), this);
    37. this.getServer().getPluginManager().registerEvents(new TPPreprocess(), this);
    38. }...


    No errors.Neither in the config, nor in my IDE
    Everything is okay!
    But there's still this problem
     
  2. Offline

    xTrollxDudex

    TheA13X
    Look inside your jar file, maybe there was an export error
     
Thread Status:
Not open for further replies.

Share This Page