Add commands to control configuration
cooperuser opened this issue ยท 0 comments
Only necessary for servers, because in order to change a config setting you have to manually edit the .cfg
file and restart the server. Whereas in singleplayer, all you have to do is use Forge's built in config screen and modify the settings you desire.
Command usage should look something like: /filter <list|add|remove|edit|config>
Command | Usage |
---|---|
/filter list |
shows the indexed current filter list |
/filter add <item> |
appends <item> to the list |
/filter remove <index> |
removes item with id <index> from the list |
/filter edit <index> <item> |
edits item with id <index> so that it now equals <item> |
/filter config <field> <value> |
Modifies the config with name <field> 's data to <value> |