JEDI Comport » ((JEDI RolePlay Mod/RPMod)) » Suggestions
-
Notifications ()
Notifications Settings
- You have no notifications
Auto Prunning
-
- Exiled
- Posts: 1807
- Joined: Sat Aug 28, 2004 12:25 am
Auto Prunning
I have come to think of this :
Auto deletion of unused accounts after a CVar controlled period of time, default being 6 months.
That means that if there is no log/activity within a said account for 6 months or CVar setting, the account will be deleted from the data base.
That would be to prevent the stacking of useless accounts, and since there is a limit, it would be best that way.
¬ Axem
Auto deletion of unused accounts after a CVar controlled period of time, default being 6 months.
That means that if there is no log/activity within a said account for 6 months or CVar setting, the account will be deleted from the data base.
That would be to prevent the stacking of useless accounts, and since there is a limit, it would be best that way.
¬ Axem
Indeed this will be needed at some point.
Note though that the limit on the number of accounts (128 but this can be changed) only concerns the JKA server, not the database. At worse, the accounts.dat file can be deleted from the server and accounts will be re-downloaded as needed (i.e. when logging in). And of course we can delete accounts manually in the database (/rpdeleteaccount command, or Web Interface), so they will also be deleted from the JKA server.
To sum up:
- auto-pruning of the JKA server accounts cache will be needed and done soon (but probably not for the first mod release)
- auto-pruning of the database would probably be useful, but deleting accounts manually isn't really a problem
Note though that the limit on the number of accounts (128 but this can be changed) only concerns the JKA server, not the database. At worse, the accounts.dat file can be deleted from the server and accounts will be re-downloaded as needed (i.e. when logging in). And of course we can delete accounts manually in the database (/rpdeleteaccount command, or Web Interface), so they will also be deleted from the JKA server.
To sum up:
- auto-pruning of the JKA server accounts cache will be needed and done soon (but probably not for the first mod release)
- auto-pruning of the database would probably be useful, but deleting accounts manually isn't really a problem
You may not even want to bother implementing a feature like that into the mod itself. For instance, many jk2 servers have a perl script to auto trim banlists and so on. So, taking that example, you could just set up a perl script to auto clean the accounts that are out of date, not used or whatever.