I was wondering how do I add pex colors in chat I already somehow managed to get pex prefix and now I need colors My code: @EventHandler...
Now color codes doesn't work
I changed this: e.setFormat(Vault ChatColor.GREEN + player.getDisplayName() + ChatColor.DARK_GRAY + " ยป " + ChatColor.RESET...
Can you give me an example?
Its already changed in my plugin: @EventHandler public void onChatOrMute(AsyncPlayerChatEvent e) { Player player = e.getPlayer();...
Ok I made class Chat and pasted that code in there. Can you give an example how to add prefix? EDIT: Its already changed in my plugin:...
How do I add PermissionsEx prefix to my chat plugin?
So I have to change this } else if (args[0].equals("1")) { int lenght = args.length; if (lenght == 1) { Into this...
package me.arbata; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.command.Command; import...
So I have to change to args[1], args[2], etc?
When I use my command with args it works without errors but when I type the command without argument error pops up an internal error occurred...
Thanks!
Hell0 I was wondering how do I code command that will start rain or stop it?
Line 35: getCommand("plugins").setExecutor(new PluginsCmdWithPerms()); EDIT: I removed line 35 and everything works fine! Thank you!
Yes plugin is mine. But when I removed this code: getCommand("night").setExecutor(new ORAI());...
Separate names with a comma.