Pseudo Code: a notation resembling a simplified programming language, used in program design. Basically all Pseudo code is, is writing code into...
Check if the slot is null first, and have your registered your events?
The paste has been removed? Just put code quote in your post
if(event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK){ //Do stuff :) }
Check if the player actually has a UHC kit first (i.e check if it is not null), and why have ==true? When you use an if statement, it checks if it...
Also don't forget to check if tp is null
I hope nobody is going to just spoon feed you code, you wont learn anything. You will need to get the custom player first, by checking if the...
www.youtube.com/helloitscookie Look at the custom config tut :)
Just use @EventHandler public void usePearl(PlayerInteractEvent event){ Player p = (Player) event.getPlayer();...
private final public Map<UUID, Location> locs = new HashMap<UUID, Location>(); private final public? o.O You drunk or haha. Just kidding mate,...
The fact of the matter is, that factions save the chunk in say a format like ChunkX:ChunkZ, and that format goes throughout the plugin with,...
if(is == null){ return; } Simple :)
When accessing the config in different classes, you want to have an instance in the class of your Main class. private final Main plugin; public...
@16davidjm6 Static is just yucky if it is not needed and in this case it really isn't. @JarFile All you really need to do is make a config...
The only reason I suggested using itemID's instead of Item names, is since he asked for it. Or I would of stuck with using item names. So lets...
Separate names with a comma.