Spigot Configuration
Provides the basic infrastructure to load and save the Spigot configuration file, spigot.yml By: md_5 <git@md-5.net>
This commit is contained in:
@ -134,6 +134,14 @@ public class Main {
|
||||
this.acceptsAll(Main.asList("demo"), "Demo mode");
|
||||
|
||||
this.acceptsAll(Main.asList("initSettings"), "Only create configuration files and then exit"); // SPIGOT-5761: Add initSettings option
|
||||
|
||||
// Spigot Start
|
||||
this.acceptsAll(Main.asList("S", "spigot-settings"), "File for spigot settings")
|
||||
.withRequiredArg()
|
||||
.ofType(File.class)
|
||||
.defaultsTo(new File("spigot.yml"))
|
||||
.describedAs("Yml file");
|
||||
// Spigot End
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user