Why didn't you test your own API before posting it? It seems to me like one of the most obvious things to do... You may be distributing broken...
@teej107 Very interesting ideas in here! It opened my eyes to the fact that we can extend the Events API. What you can do with this: a better...
@guitargun The skin and the name of a player and NPC can be changed and do not need to match, but the skin must be an actual player's skin.
@YourTacticalCoder We have no idea what you're even trying to do. An explanation of the plugin, as well as the role of each class, their relation...
@Eos Cannot pass? What do you mean?
@Eos You're looking at the wrong part of the stacktrace. Here's what's relevant: Caused by: java.lang.ClassCastException:...
I have multiple suggestions for you. Write code that passes to the compiler. The code you have here will not, because for some reason, the field...
@TekxWolf The method you mentioned will make a CommandSender execute a certain command. The first argument stands for the CommandSender...
@TekxWolf Why not just use config.getConfigurationSection("Item"+a) ? It will give you the section of item#, or null if there isn't any. What I...
@YourTacticalCoder You are completely mixing your two classes: Game and GameType. What is the purpose of the GameType class?
@TekxWolf The variable material is null, which causes an NPE in ItemStack's constructor. Material.getMaterial() failed because you passed a null...
@Maxx_Qc No idea. It seems like the .jar you are using does not match the source code posted on Github. Perhaps they've made all the methods...
@teej107 That is not a for-each loop though
@ImSxYN The error is caused because an element was removed from the list while you were iterating on it. for (Player player : players) { if...
@Rockinredross867 Get the NPC's Navigator, set the target. Listen for NavigationCompleteEvent, update Navigator's target. Repeat.
@Maxx_Qc Assuming you are trying to get a Faction instance by it's name, using the Factions plugin/API by Massive Craft: - Use...
@ContextCreator If you did yet the class cannot be found then perhaps Citizens failed to load? Check the logs. You can make sure Citizens is...
@WesJD That is not relevant. @ContextCreator You did not add the Citizens implementation to your server's plugins.
You should check out the wiki, it contains everything you need to know.
...edit the amount of the ItemStack you're giving to the players? The amount is not related to the Material.
Separate names with a comma.