New command /f config [setting] [value] which can be used to change any conf.json setting. This is mainly for people who have trouble editing the file manually, for whatever reason. It even fixes any capitalization errors, and saves the conf.json file immediately after an option is changed. Can be run by player or from server console. Uses new permission node "factions.config".

This commit is contained in:
Brettflan
2011-07-22 07:25:12 -05:00
parent 5dc6dcd9ed
commit c818ddff99
5 changed files with 239 additions and 8 deletions

View File

@@ -147,6 +147,7 @@ public class FCommandHelp extends FBaseCommand {
pageLines.add( new FCommandReload().getUseageTemplate() );
pageLines.add( new FCommandSaveAll().getUseageTemplate() );
pageLines.add( new FCommandVersion().getUseageTemplate() );
pageLines.add( new FCommandConfig().getUseageTemplate() );
helpPages.add(pageLines);
}