Windwaker Thanks for this helpful tutorial :) But I have got a question: I want my Plugin to save the default config.yml to the plugins folder...
Is it possible to use your libraries to execute own Java methods when a Player clicks on a text in chat?
So I cant avoid adding the plugin to my libraries and therefore need to keep track of every update the globalchat plugin gets? But thank you :)
Lets say there is a network of servers and there is a plugin that manages a global chat. I want to modify the global chat with my own plugin. In...
Okay i might try it somwhere else then..
I wrote a plugin for bukkit and it worked fine. Almost all bukkit plugins work for Spigot too, so I just used it for an Spigot-Server to test it....
a yaml file can also handle Strings with colorcodes like "&6". just put the whole String inbetween ' [String] '
well you can do it like this: String s = "&9Hi this is a &6Test"; String output = ChatColor.translateAlternateColorCodes('&', s); and your result...
Mine works aswell Set<Player> recipients = event.getRecipients(); //.... for(Player p : recipients){ if("p needs to be removed")...
okay thank you - I got my plugin to work now :)
Okay, I think I get what you mean :) But how about creating additional ChatEvents? I that even possible?
How? there isnt any method like setRecipients(). And I need to send multiple messages to different recipients based on one chat event
or private static boolean isArea = false; //in addition to public boolean getIsArea(){ return isArea }
like this? String s = plugin.getConfig().getString("name"); if(s.equalsIgnoreCase("bomb")){ //your code }
First of all I am not that experienced with bukkit, so please tell me if I understood the behavior of ChatEvents wrong :) For my plugin I want to...
Separate names with a comma.