This commit is contained in:
Nathan Schneider 2022-08-13 17:02:58 -06:00
commit 45347e2ac7
4 changed files with 3 additions and 4 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
*/data
*/data/*
!*/data/placeholder

View File

@ -28,7 +28,7 @@ To use this in Minetest, simply install it in your `mods/` or `worldmods/` folde
In the game, open the Modpol dashboard with the command `/mp`.
For testing purposes, players with the `privs` privilege (generally admins) can use the `/mp` command, which resets all the orgs and opens a dashboard.\
For testing purposes, players with the `privs` privilege (generally admins) can use the `/mptest` command, which resets all the orgs and opens a dashboard.\
## Standalone Version on the Command Line

View File

View File

@ -11,8 +11,6 @@ modpol.file_ledger = modpol.datadir .. "/ledger.dat"
modpol.file_orgs = modpol.datadir .. "/orgs.dat"
modpol.file_old_ledgers = modpol.datadir .. "/old_ledgers.dat"
os.execute ("mkdir -p " .. modpol.datadir)
modpol.ocutil.setlogdir (modpol.datadir)
modpol.ocutil.setlogname ("modpol.log")