@EventHandler(priority = EventPriority.HIGHEST) public void playerLeave(VehicleExitEvent event){ if(condition){...
What does MainPlugin extend? Also, can you post the static method of getInstance()
public boolean changedBlock(PlayerMoveEvent event) { Block current = event.getPlayer().getLocation().getBlock(); Block last =...
Well I wouldn't be giving them access to the file system. Unix can take away r/w/x privileges to users based on user permissions. So, I basically...
Admin being a root created user with a higher access level for security purposes of only using the minecraft ( I like user security). For...
int argsTillMessage = 0; for(String message : args) { if(argsTillMessage < 2){ argsTillMessage++;...
@gloryfades You could also 1. Check if they're on the hashmap if(cooldowns.containsKey(player.getName()){ 2. If they are not, put them on the...
@JarFile You're also going to want to skip over the first argument (arg[0]) as the message will contain the players name if you don't. If this...
@Skionz Thanks man. For everyone else that wanted this, //Create a new ItemStack of Podzol ItemStack is = new...
//Doesn't seem to be temporary; Block block; //Sets the block to dirt; block.setType(Material.DIRT);...
Can I make it so that it won't be an ocean biome?
I want to add a function, where I generate a new world. I will also want to delete the world afterwards. How would I go about doing this?
Alright, thanks man. I didn't really mean you were purposely evading me. I was basically saying, we were on at different times and that was...
I just wrote this, so I don't really know if any of it will work. It looks fine, from what I can remember of bukkit programming. (I've been...
I want a code to check if a player has a potion effect. If the player has a said type of potion effect, I want my code to execute. (I'll be...
Separate names with a comma.