If you wanted to sort the pages using Java rather than SQL, I'd say create a 'SQLTable' object which stores all the information you need, and...
Main represents the core of your plugin. If you create a new instance every time you want to reference the class, it's like creating a new plugin,...
@SwagStarX To set an item in slot 9, you must put 8 in the setItem() method. This is because Java starts counting at 0. You get an error because...
Try messaging yourself the value of player.getInventory().getTitle(), to see if that is the same as what you have in config under 'InventoryTitle'.
I believe that pitch and yaw are the measures of the player's direction that you'll need to use here.
Try debugging your code, by adding p.sendMessage("Debug #1"); for example, at certain points in the code so you can see what is and isn't being...
Here's an example. This is based on one I used in an interact event, but you could easily apply this to a command or something else. // inside...
Use System.currentTimeMillis(); It's a long value which stores the current time in milliseconds. Check this every time a player performs an action...
p.playEffect(location, Effect.POTION_BREAK, 0);
This looks like a weird main class path (from plugin.yml) main: me.zeinaty.MainClass Shouldn't it be structured more like main: x.x.x.MainClass ?
Looking at your code, it seems as if 'Kitconfig' is null on line 43, as you only assign it a non null value if there are 0 arguments. Also please...
What message comes up when you hover over the error? Is 'player' a Player variable? Have you cast the sender as a player?
Did you compile your plugin using the same version of Java as your server? Have you checked latest.log and searched for any errors?
found character '\t' that cannot start any token This means that somewhere in your plugin.yml you've used tab instead of a space
Of course we need to see the plugin.yml, as the stack trace states there is an issue with it.
Separate names with a comma.