UaVxChallenge Throw this above your onCommand method. public cmdclassname(mainclassname instance) { plugin = instance; } You will still have...
I have not seen any, but it shouldn't be too hard to make.
arreyazat, I will do my best on this. I will not guarantee anything but I will try for you. [email protected] to contact me. EDIT:...
Alright, so my question is... How do I call a method from another class? So that I can have all my code for doing something in a separate class...
What am I doing wrong then?
Hey guys, what am I doing wrong? I've rearranged my code like 50 times and I just can't get it... The command is called(shows up in console)...
@bazzolol Idk if you still need help with this but, in your root folder of your server. There is a bukkit.yml file. Within it, there are ways to...
sgavster Whys use that? To get rid of the deprecation? If so, does it make any real difference? Why is it better?
No, you were right, thank you! I forgot to change the player.getworld, getlocation etc to p and it was still player. It works now! Love it thanks!...
Not a one... Heres what I've got: @EventHandler public void onNameMention(PlayerChatEvent event) { Player player = event.getPlayer(); for...
That would be fine, however, it did not work...
Thanks you, ima go test it.
public void onNameMention(PlayerChatEvent event) { Player player = event.getPlayer(); for (Player p : Bukkit.getOnlinePlayers()) {...
Hello! So I am trying to make a plugin that if a player who is online's full ign is mentioned in the chat that it will send the player who's name...
RealDope That is not true, the problem was that I was giving the player the item then also setting that same item as their armor. I thought that...
DailyLove Thank you! Your's was the one that got it working! Now I just have to fix up some of the issues with things it gives incorrectly...
I cannot find anything returning null... Here is the method: public void givekitHOFFA(Player player) { final String hoffaplayer =...
DailyLove "plugin.givekitHOFFA(event.getPlayer());" RealDope When I try your method, and I added the "final EFPVPMGR instance = this;" to the on...
Just tried @BungeeTheCookie's method and It still said the same error. I just opened the server.log and pulled this error:
With both of your methods, I have had to rework some of the code to get rid of errors, however with yours RealDope I cannot get passed one. It...
Separate names with a comma.