@bramhaag Sorry, I apparently missed a line in the tutorial. Thanks for pointing this out, it has been added:
@Ethan Rocks 365 Wouldn't the use of inv.removeItem(item) be more suitable rather than setting the slot to null?
@jusjus112 What happens when you change the single-quote to double-quotes before and after the table name, like so:...
10/10 feedback That's called an error, I believe. If you hover over it, it'll tell you why! Also, you are executing "e.setCancelled()" in a...
@Adelin Now, how the hell did you get your hands on a private plugin made by a server network? This plugin is most probably copyrighted and/or...
@Ethan Rocks 365 Although the previous fine gents certainly do not appreciate your probable lack of Java experience from what I can see, I will...
You should not be using the Player object as a key inside a Map. Instead, you should be using the player's Unique ID, as per convention, to link...
Hello everyone, this is a simple tutorial on how to build your plugins and run your local server directly inside IntelliJ IDEA's console. This...
@Rexcantor64 Okay, just tested it myself, but it does in fact work correctly on my end. It is most certainly not related to the given code, but...
@Super10Gamer Just to clarify what @I Al Istannen just said, this is what you should be doing: You need to this that the variable "args" is an...
@Rexcantor64 Could you please ensure player.getKits() returns an array containing at least a positive value? Please debug the array at first so...
@Rexcantor64 Can you please give us any stacktraces you get when executing the code, as well as the line(s) they could be pointing too?
@GoogleMaps Please provide more details, such as a stacktrace from your console (and the code related to it), so we can assist you further.
@Lightspeed //Offtopic onCommand(...) will only fire when the command is registered as part of the current plugin.
What exactly is at line 161 of your "main" class?
I believe you should replace: if(p.hasPermission("googlemaps.join.istaff") || p.isOp()) { with: if(ps.hasPermission("googlemaps.join.istaff") ||...
//Offtopic... Isn't the UMP a SubMachine Gun? :}
@meguy26 He does not want to play songs in game, he is trying to display the name of the song that is "Now Playing" from that website. That being...
@mythbusterma Darnit, I assumed he copy-pasted the code he was spoonfed... you know, people seem to do that here, usually... ;)
@Gonmarte Try adding some debug just in case you are checking something wrong: @EventHandler public void...
Separate names with a comma.