@Skionz @teej107 @Konato_K But can you guys help me with my issue? It doesn't display anything?
@mythbusterma @teej107 @Skionz When I paste the code it automatically spaces it, and i'm sorry about the indentations, but it removes them too...
@Skionz This is the onCommand part, worth noting that this is at the very bottom of the class. @SuppressWarnings("deprecation") public boolean...
@Skionz if you mean the plugin.yml, yes, of course, but when you type the command in-game, it displays absolutely nothing, not a single message.
@Skionz @pookeythekid Sorry for the delay, the debug line doesn't work, which means that Bukkit cannot get through to the command.
@Skionz I will put a debug line in after the command and see if it sends a message to the console when the command is executed.
@pookeythekid There's only one command(/republics) and yeah... it's not working. @teej107 well you helped with my last post, I thought you'd might...
@pookeythekid oh, thanks for that, that will come useful. I'll update the original thread.
@pookeythekid No, the command registers in Bukkit, you can type the command in-game, but when you do, it does nothing. @Skionz I could try, but...
Hello. I am creating a plugin similar to Factions. Everything is going great, the code gives no errors at all. The problem is that when I go in...
Would this work? @EventHandler public void onChat(AsyncChatEvent e) { e.setFormat(yourPrefixHere + " " + e.getPlayer().getName() + " " +...
@teej107 I was trying to, I needed classes to access the JavaPlugin methods so I was using stuff in my other classes like: private static Main...
@teej107 @mythbusterma i've tried every single method I can think of. If I can't instantiate the JavaPlugin class, how can I get its methods...
@teej107 I saw the instantiation, I was a little iffy with it but went with it anyway. Now it makes sense. I'll try that constructor now, thanks....
@teej107 @mythbusterma @1Rogue Ugh I tried the singleton way, still won't register my plugin in bukkit. Probably something to do with my main...
@1Rogue @mythbusterma So singletons or constructors? I think the singleton might work better.
Translation: ArrayIndexOutOfBoundsException at line 19 of your SAOWarpGate.java class.
Ok thanks, will try that out!
@mythbusterma K, so it would be ok to use the singleton? It wouldn't impact Bukkit?
@teej107 @1Rogue I've looked through a ton of posts on both links lol- I saw in one of Rogue's posts where it said that it is good to use static...
Separate names with a comma.