As of Jaymod 2.1.0 a new text-based database file structure has been implemented.
Replacing the old data files are new .db files.
These files, when possible, store information in human-readable ASCII format.
![]() | Important |
|---|---|
All .db files are loaded into memory at game-init (map begin) time,
and subsequently saved out to disk (overwriting the files) at game-shutdown (map end) time.
This means any manual edits made to the database files will be lost
at game-shutdown time.
The best practice for manual edits (eg: adding levels to level.db file) is
to first shutdown the server before editing database files.
|
The following table describes the new locations for old data.
Table 8.1. Data Transition
| pre-2.1.0 | 2.1.0 | DATA DESCRIPTION |
|---|---|---|
| shrubbot.cfg | level.db | access levels |
| shrubbot.cfg | user.db | admin and bans |
| xpbackup.dat | user.db | saved xp |
| recspree.dat | map.db | top killing sprees |
| seendb.dat | user.db | admin and bans |
Stores Admin System levels available for promoting users to higher levels of access. Data maintenance on this file should be done with the appropriate Admin System commands.
Stores map related information such as killing-spree data. Data maintenance on this file can only be done with a text editor while the server is shutdown.
Stores Admin System user related information, such as user level assignments, automatic greetings, ban, mute and XP-save data. Data maintenance on this file should be done with the appropriate Admin System commands.