Revamp the announcements system.

This commit transforms the announcements system in the following way:
- announcements.yml makes it easier to add missing nodes and remove
  obsolete ones. This way, users don't have to delete their previous
  announcements-file to get the new keys.
- Color codes are supported in the fact that when an announcement
  message is "set()", the string value has all of its &-symbols
  translated.
- No need for a defaults-file, because the enum is very easy to
  compile into a YAML file.
This commit is contained in:
garbagemule
2013-08-15 17:55:21 +02:00
parent 22723d883a
commit ef9fd267c1
63 changed files with 415 additions and 641 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: MobArena
author: garbagemule
main: com.garbagemule.MobArena.MobArena
version: 0.95.5.18
version: 0.95.5.19
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
commands:
ma: