The plugin is for my own server, if something breaks, i can change it, but i don't pretend to update my server that soon. Good idea about the...
On the EventHandler, even if i setted status to true and palavra (word in portuguese) to something, they always return the initialization value....
I'm creating a plugin for my server. Basically, when someone types /eventospeed, it broadcasts a word from config and the first person who types...
Maybe "[B ][/B ]" infront of if?
You can spawn the skeleton, and listen to EntityTargetEvent. If the entity that is targetting is your skeleton, then cancel the event.
If you dont care about people using & on the messages, you could simply do .replace("&", "§")
How can i get JSON text from web and then get a specific value from it? Example: Read everything from...
Is there any way to print that in the chat so i can see whats happening?
Wich kind of gui? You can listen to PlayerInteractEvent and check the type of the block. @EventHandler public void...
The value that i want. Like "online" I added exeptions, and the error looks to be in the 6th line of the second piece of code
Try with this method public static Location generateRandomLocationAround(Location l, int maxdistance) { Random rnd = new Random();...
Try to put this into your code: public static int scheduleRepeatAtTime(Plugin plugin, Runnable task, int hour) { Calendar cal =...
How can I get information from a web api like this one? http://mcping.net/api/jogar.stormcraft.com.br/online,max I'm using this code to get the...
Try that snippet of code: ItemStack item = new ItemStack(Material.AIR); ItemMeta meta = item.getItemMeta(); meta.setDisplayName("§c§lColored...
I will try to make this.
Separate names with a comma.