@Assist Yeah it's all sorted now thanks, i'll mark the thread solved. Thanks for your help, I appreciate it :)
@Assist I think that .getPluginCommand() only works for plugin commands not bukkit commands but I did use the HelpTopic idea and I created this...
Hi, thanks @Assist for the reply. I've tried using that: Map<String, String[]> aliasesOfAll = plugin.getServer().getCommandAliases();...
Hi, I just need some help on how to get the aliases of any command (bukkit and plugin commands) Thanks
djyee You need to alter the code a little or give us the error that it gave you.
NLGamingBross I think you need to check args[0] here first to check if its buy. }else if(args.length == 2){ switch(args[1]){ case "1":...
djyee I think you want to do something like this: public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {...
Assist If your not getting the error messages, have you registered your events? Edit: Ignore this, didn't see the bottom of your post!!
Hey jflory7 . I was looking at your code and I noticed this: if(enabledPlayers.contains(p.getName())); //The semi-colon on this line...
Kaperly I think you can just call getConfig().set("Players." + p.getName() + "class", className); . And when you call it just use the...
jojohnson1 Thanks so much! I can't believe I missed that! Thanks anyway works now!
Hello, I am having problems with my ranks info giver. When you click a sign with certain text it should tell you information about it, but it...
Garris0n Thank you! Errors all fixed! Paper Sorry about that! Didn't read it properly. EDIT by Moderator: merged posts, please use the edit...
Paper plugin.cmm.setServerPREFIX(ChatColor.translateAlternateColorCodes("&", args[1])); New Error on it: ChatColor.translateAlternateColorCodes...
Okay so I have created a method like this: public String colourizeText(String message){ message.replaceAll("&0", ChatColor.BLACK + "");...
Cybermaxke Do I put that in my ...server/plugins folder?
Cybermaxke Any idea when the new updated TagUtils will come out? I really want to try this API! By the way, thanks for making it so simple to use!
kreashenz Maybe generate a random number between 1 and 20 and then checking if the number generated is x. If it's x then assign it a spawn and do...
xXTh3B3astXxify Try doing just Main plugin; That's how I do it, I can't do the public static Main plugin; just won't work for me!
xXTh3B3astXxify Um... try adding: FileConfiguration cfg = plugin.getConfig(); Add that in your setJoinMessage(PlayerJoinEvent event) method
Separate names with a comma.