01-07-2014, 05:12 AM
(01-07-2014, 04:32 AM)daniel0916 Wrote: Is it possible to reload the groups.ini without restart the server? Is it hard to add a reload function?
Currently it is impossible to reload without a restart. A reload function will be moderately difficult to write. The main difficulty is that each cPlayer holds a pointer to all the groups they are currently in. So a reload will have to:
1, Load the new group.ini into a new structure (but keep the old structures)
2, For each world, for each player walk their (old) groups and assign new groups based on the name
3, For each world, for each player re-resolve their permissions