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.
Adding the items is not a problem
Sure thing: package me.jne.AngelStarterChest; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileNotFoundException;...
What do you mean itterate through the chest, could you show some example code please, because atm i am just getting the contents and itterating...
ARGH, people aren't reading, please read, LOOK AT MY CODE, I DON'T NEED A METHOD I just need something to stop the itterator. The reason i have it...
Yes, but It needs to come from the chest and needs to clone the items so books and such can be given out, my only problem i want to solve is the...
Separate names with a comma.