public String prefix = ChatColor.RED + "[" + ChatColor.GOLD + "Chesty" + ChatColor.RED + "] "; public ArrayList<Player> chestymode = new...
I'm writing a random loot chest plugin. The plugin will spawn loot inside of chests based on what's in the config file. I can set a chest to spawn...
I've been trying to make a plugin that creates a GUI when a player joins the server and it allows them to choose from three different texture...
@iceblue1188 what version are you on?
@iceblue1188 I updated the file. Just waiting to be approved. Tnt will not do damage to players either!
@iceblue1188 I'm sorry! I'll fix it for you!
@timtower wow you're fast. Haha, I was editing my response. @iceblue1188 https://dev.bukkit.org/projects/blastprotectionplus
Done @iceblue1188 I'll post it on my bukkitdev. It'll take a little while to get approved but after that it should be fine. Let me know...
@Zombie_Striker how would I make it to where the user could just set the amount of minutes of the chest despawn in the config instead of having to...
Wouldn't you have a InventoryOpenEvent and see if it's a horse's inventory being opened and then cancel it? Haven't tested it.
I've been trying to make it to where I can set the amount of ticks of a chest de-spawn from the config of my plugin but it keeps giving me errors....
@MrGriefer_ You're not supposed to cast ItemStack and Inventory together. It still gives the same errors... Errors say: java.util.HashMap cannot...
Okay cool. But how would I be able to use inventory when it says I need to cast ItemStack. When i do that it tells me ItemStack and Inventory...
How would I call the inventory from the Listener that creates the NPC and use it in the Listener for when it dies.
I'm trying to make a plugin to where when a player is hit and tries to log out it creates an NPC that allows the person they were fighting to...
You're correct. I'm gonna do that! Thanks a lot for the help! It's working now. :)
@AlvinB private static Plugin instance; ?
@AlvinB Sorry, I know I'm asking a lot. I've just got back into coding with Java and Bukkit recently. Could you give me an example on how to do that?
public class Main extends JavaPlugin implements Listener{ private static Plugin plugin; @Override public void onEnable()...
@Kermit_23 @Omer H. Everytime I try to schedule the task in my listener it gives me an error and says plugin cannot = null. I create a...
Separate names with a comma.