TeamUlysses / ulib

ULib: A Lua library for more rapid development on Garry's Mod servers
http://ulyssesmod.net
Other
105 stars 55 forks source link

Need new method of resetting groups/users to defaults #4

Closed Nayruden closed 8 years ago

Nayruden commented 8 years ago

Historically, to reset groups back to defaults we would simply delete the groups.txt and change maps. With CAMI, it seems that DarkRP makes some change to the groups just as the server is changing maps. Thus, everything is written out again.

Nayruden commented 8 years ago

Changed my mind on this; current method is fine. DarkRP is saving all custom groups into its own database, which then gets shared back with ULX on map change. But, all details of the groups are flushed, so the current solution is "good enough" for a reset.