@_Cookie_ I didn't mean that I was changing it to pseudo code.
Ok let me correct it then. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {...
@FisheyLP I know. I didn't type that to be correct or to be used anywhere. I just showed a quick example.
@Hawktasard @samyounes03 I think he means something like sender.sendMessage(); Sender is default in the onCommand boolean if you set it up...
@I Al Istannen I can't believe I didn't think of that. You are a genius.
Can anyone help with the delay? Thanks.
@AdityaTD Hopefully it works for you. If you don't understand anything feel free to ask.
This is what I'm using in one of my plugins: Setting the spawn... String world = p.getWorld().getName().toString(); Location loc =...
@TheDiamond06 That isn't a problem.
Yes, that will be for saving the locations. For getting them, I would recommend using the following within your event. int x =...
@Rascal Two Thanks, I'll test it out. @Rascal Two Ok so I got everything working. The only problem is that the broadcast comes before the message...
@Rascal Two Ok thanks. What do I set i equal to?
@Konato_K Ok I understand the enhanced for loop now. But how do I get which integer it is in the list and then broadcast the same integer of the...
What is String word?
Hello Bukkit! What I'm trying to create is a plugin where if a player types a certain phrase in chat, it will broadcast a certain message....
@teej107 So what do I need to use the Set interface for then? @teej107 So, something like this then? I still don't understand how the Set is...
So I'm using my getter to get what the array list contains. Are you saying I need to use the setter? Or set some information somehow?
@teej107 Can you explain number 2 a bit better please? This is what I have now: public class EntityDamage implements Listener { public Main...
@TGRHavoc Yeah, I know, but I really need to fix this. Can you help me through this one, then I won't post again until I learn proper Java? :P
Ok, so it's plugin.getGods()! Thanks! Everything makes sense now! Edit: Still isn't working. Just creates a lot of lag whenever I'm being...
Separate names with a comma.