Config.yml
This is the config.yml help page. If you need any help, feel free to send in a ticket.
# |||||||||| || || # | \ | | | | # | | | | | | # | | | | | | # | / | | | | # | / | | | # ||||||||| | | # | \ | | # | | | | # | | | | # | / | | # ||||||||/ etter | |OTD # # BetterMOTD will replace certain character combinations with other words. # &p will be replaced with the sender's name. # &w will be replaced with the world the sender is in. # &s will be replaced with the server the sender is on. # Color codes to match those of essential's are coming soon. MOTD: Welcome, &p! You are in world &w, and on server &s! serverName: (server name here)
So, what does this mean? As of v2, this config.yml is inaccurate. Version 2 added color codes and greatly improved the comprehensiveness of the plugin. For one, if you ar running, say SpaceBukkit, as a control panel if you have a remotely hosted server, if available, it will tell you authors, websites, descriptions, so on. But I'm getting off topic. Some of you may be wondering why the config asks for a server name. This is because the original
getServer().getName()
should've been able to grab the server name from the server.properties file. Instead, it printed "craftbukkit." So, I had to use a
getConfig().getString("serverName")
command. Of course, this was part of a larger
.replace("&s", getConfig().getString("serverName"));
So that's the story of the serverName string in the config.
Anyways, that's all. I think. :)
Comments