No, they are not in creative and they have a regular bow (I tested it myself).
So I give players 1 arrow: p.getInventory().addItem(new ItemStack(Material.ARROW, 1)); But when they fire the arrow out of the bow...the arrow...
So, I've seen the countless threads asking how to load and save hashmaps into and from configs but I haven't found how to load a hashmap when the...
When I go to set a players scoreboard when they login I get an "IllegalStateException: Cannot set scoreboard yet" at this line:...
xTrollxDudex So if I have this //Marry being the object HashMap<String, Marry> mList = new HashMap<String, Marry>(); How would I get the values...
xTrollxDudex This is a little delayed, but, when you add a object to the hashmap doesn't it just add the reference to the object? Not the actual...
I know how to use hashmaps, but that doesn't look like the most efficient way to do things; also I want to store the values under a pair of...
Okay, so I have a plugin that allows players to become married and under the 2 players I want to be able to store a location and a int and was...
Hello, So I have a plugin where you marry another player and the first command would be /marry <playername> which then sends a request to the...
HerobrineLivesHere So do you want the ender dragon egg to spawn randomly? Or have a set spawn? And are you sure you want which ever player hits...
C0LD_K453 http://dev.bukkit.org/bukkit-plugins/thunderwave/
DailyPvP I found this, is this somewhat like what you are looking for? http://dev.bukkit.org/bukkit-plugins/marriage-reloaded/
Wow, guess I need to take a break q.q
So in my code to determine if when 2 players hit each other they don't take damage public class PartnershipListener implements Listener {...
Thanks guys ^.^ It works
Do you want me to just make it getName()? Because it won't let me use getName() along with getPlayer(), player, or getServer()
So in a plugin that stores a value in someones name in a config such has Playername: Requested By: Red So if the command was /accept player...
So whenever I do the line String s = Material.getMaterial(plugin.ID).name(); It underlines the word "Material" and it says "Material cannot be...
Ah, thank you it works!
The batch file contains: @echo off java -Xms1500M -Xmx1500M -jar craftbukkit.jar nogui pause I did not uninstall all other java-related processes...
Separate names with a comma.