Hello SpigotMC. I need your help with something. In my config.yml file, I want there to be a list of lines: message: - "Welcome to the server!" - "Random" - "More randomness" That way someone who sets up the plugin can add or remove lines the way they see fit. I believe you do this with "list string" or something of the sort, can someone clarify. Thanks!
This is correct, here is a non quote for people seeing this later: Code (Text): for(String msg : getConfig().getStringList("someStringList")) { p.sendMessage(ChatColor.translateAlternateColorCodes('&', msg)); }
Quick question. Where would this go? I would like it were the TODO is. http://i.imgur.com/B2SlPMX.png Sorry if this is amateur question.