@ShaneCraftDev Talking about your way to comparing materials of things with: is.getType() == Material.WOOD How would I check if it's gold then,...
This is my main plugin: http://pastebin.com/KsEqyjMB The method in particular not working is: public String...
@mythbusterma I'm trying to put all materials into a config file so I can set their values at which they can be sold/bought. I couldn't think of...
Current Error: [20:48:23] [Server thread/INFO]: WatermellonLOL issued server command: /setupshop [20:48:23] [Server thread/ERROR]: null...
So far I've got this down: package watermellonlol.tower; import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import...
I would like to create a plugin that would be used for a board game in Minecraft. It would function similarly to the example below: - /joingame...
I am making a roulette-like minigame which shuffles through various colors and stops after a second or so. How I want it to function: [IMG]...
I want to make my plugin function where once I trigger the PlayerInteractEvent it wont cause the effects to happen on the player, only other...
@Oxyorum Sorry, I fixed my own issue. Thanks for your help anyways.
@Oxyorum I've tried doing this: for (Entity e : loc.getWorld().getEntities()) { if (e.getLocation().distance(loc)...
@Oxyorum I am targeting all entities that can take damage such as other players, hostile, and passive mobs. Pretty much as broad as you can be.
It won't let me set the health of the entity in this bit of code: @EventHandler public void onPlayerInteract(PlayerInteractEvent event) {...
@letsgo00 Thanks very much for pointing out my rookie mistake. :)
I was wondering, I've looked through multiple posts similar to my issue and I was unable to fix my problem. package watermellonlol.currency;...
@CrystallFTW I think I am going to abandon this project, I cannot seem to get it to work.
@CrystallFTW I don't want to get the item in the player's hand. I want to get the item in the entities hand. EDIT: If you were wondering e...
@CrystallFTW if (weaponEnchant == 1) e.getItemInHand().addUnsafeEnchantment(swordEnchants[random.nextInt(7)], weaponLevel);
Thank you. @megamichiel I've ran into another issue, I get this crash message. [12:07:13] [Server thread/ERROR]: Could not pass event...
I am attempting to add an enchantment to an item that has a level higher than the 1 - 4 it says are valid. Is there anyway to work around this?...
@mythbusterma Enter the game. Hold the item you want to compact. /compact (item amount you want to compact) Removes the amount of the item in...
Separate names with a comma.