[Bleeding] Implement Mojang command fallback system. Adds BUKKIT-5385

By: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2014-02-07 18:40:59 -05:00
parent f65068829e
commit 8227c52d3f
7 changed files with 347 additions and 15 deletions

View File

@@ -100,6 +100,12 @@ public class Main {
.defaultsTo(new File("bukkit.yml"))
.describedAs("Yml file");
acceptsAll(asList("C", "commands-settings"), "File for command settings")
.withRequiredArg()
.ofType(File.class)
.defaultsTo(new File("commands.yml"))
.describedAs("Yml file");
acceptsAll(asList("nojline"), "Disables jline and emulates the vanilla console");
acceptsAll(asList("noconsole"), "Disables the console");