@bignose956 args.length is 0 when there are no arguments. When there is 1 argument args.length will give you 1.
@bignose956 Check all your args.length checks because maybe you got confused. Sometimes you check if the args.length is 0 meaning no arguments but...
@atank You can search for Spigot's BuildTools and there will be instructions on how to set it up too on their website.
@bignose956 It looks like you are trying to grab the third argument when there is only two. Index numbers for Arrays start at 0. So the first...
Hey! I think it would be more helpful if you also post how you are whitelisting/unwhitelisting players and your functionality of your whitelist.
@Badwolf330 Try to refrain from using static variables. I see no reason for the inventory to be static. You have to check if the item is null and...
@henderry2019 p can be null.
@bwfcwalshy @DigiDuncan I don't believe wildcard imports have any significant performance losses than specific imports, if any. But it is good...
@Weiyuane Please post full Foo class please.
@Marcohan You need to set the ItemMeta to the ItemStack with setItemMeta.
@Marcohan setDisplayName is a method of the class ItemMeta. An ItemStakc is NOT an ItemMeta. You can get the ItemMeta of an ItemStack with...
@Marcohan You are trying to cast an ItemStack to an ItemMeta.
@Chromify Basic knowledge of Java is a prerequisite in making Bukkit plugins. You can get started here from the official Bukkit wiki:...
Separate names with a comma.