The path is defined when it gets the Strings. Someone please help! People need an update for this and because of this problem I can't update my...
Bump!
Pattern.quote(spamletterword) + ",}\\s){" + Pattern.quote(spamnumberword) + ",})");[/CODE] I need to make a spam detection regex which can be...
It would throw errors if you didn't check it was a player before casting.
Rather than closing the thread just put solved at the top and if anyone else comes across the same problem they can find a solution.
Here: public class PearlManListener implements listener { @EventHandler public void onPearlThrow(PlayerInteractEvent event){ //do stuff } }
Try using player names and comparing strings instead.
Shouldn't this be in plugin requests? If so, don't put pm me for details since it specifically says not to.
Yep update to java 7 and java jdk 1.7
what about: for(Player player : Bukkit.getServer().getOnlinePlayers{ //give items to players in here eg: player.getInventory().addItem(new...
I believe this could be done with a for statement: public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){...
If i do that the items will have identical data and therefor if the axe is used the axe in the chest will have the same durability
Which line is 123?
You see the thing is this is the way I want to do it, for a reason i have tried to get across, but people have not been listening. I want it to...
To check for null, because if you don't you get a NPE when an item has a gap between the previous item, like a space between two letters.
Separate names with a comma.