Name: EnergizeRanks Description: I want the plugin to have 1 command. /ranks - No permissions. Universal. I want a config.yml which you can use color codes like &l and &4 and &n. So the /ranks just displays what's in the config. So &f[&4A&f] &7$50,000 to buy! B C D E ETC. So /ranks does nothing unless there's you know.. words in the config.yml, must allow color codes please. THANK YOU
I'll try my best I couldn't make it so it only gets the lines that are filled in. I cannot do this for you sorry
Yes all the text i add in the config. Must understand color codes please like &5 etc. Also if i click enter it adds a new line of text and puts that on the next line etc.
There are plugins which you can create commands to result in text, would that not be a better overall solution?
I'm having difficulty with colorcodes atm.....I tried .replaceAll but that method isn't in 1.7.2 i think. Anyone else on here know? Code: public class rnaks extends JavaPlugin{ public static rnaks plugin; Logger l = Logger.getLogger("Minecraft"); public void onEnable(){ l.info("[RANKS] Ranks has been enabled!"); } public void onDisable(){ l.info("[RANK] Ranks has been disabled!"); } public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) { Player p = (Player) sender; if(commandLabel.equalsIgnoreCase("ranks")){ p.sendMessage("Ranks: " + getConfig().getStringList("Ranks")); } return true; } }
ZakPvP dev.bukkit.org/bukkit-plugins/infoman/ This plugin is exactly what you want. I use it and it works great.
ZakPvP How so? It allows for color formatting, its simple, and you can make your own commands. it only displays text