Just pushed out an update to all the nodes. I've updated Support_FixAddonSorting to add an assortment of functions that should make certain management actions much easier from now on. (Note: You will need to do the 'Update/Repair server' action in the main menu to receive the update)
Here is a list of the functions added
- help(); (Shows a list of essential commands)
- addSuperAdmin(ID); (Makes someone a super admin)
- addAdmin(ID); (Promotes/Demotes someone to admin)
- removeAdmin(ID); (Demotes an admin)
- listAdmins(); (Prints out both admin lists)
- reload("Add-on_Name"); (Hotloads an add-on of the given name. Use at your own risk.)
- doCommand("command"); (Performs a 'slash command' as admin without needing a client. Command arguments are separated by commas like in most functions)
Other functions added:
- smp(); (Shorthand for setModPaths(getModPaths());)
- fcbn(); (Shorthand for findClientByName();)
- fpbn(); (Like fcbn but returns the player instead of the client)
- addToFieldList(); (String function)
- removeFromFieldList(); (String function)
To be clear, this means that all these functions will be available on newly deployed servers by default, which should make the process of initially setting up admins and getting used to the console much faster.
On top of this, the anti connection spam filter has been updated a bit to be a bit more clear about what it is doing. Also added a purgeSpamIPList(); command which can be done if any legitimate users complain about getting 403 errors.