Merge branch 'master' of https://gitlab.com/medlabboulder/modpol
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
*/data
|
*/data/*
|
||||||
|
!*/data/placeholder
|
@@ -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`.
|
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
|
## Standalone Version on the Command Line
|
||||||
|
0
modpol_core/data/placeholder
Normal file
0
modpol_core/data/placeholder
Normal file
@@ -11,8 +11,6 @@ modpol.file_ledger = modpol.datadir .. "/ledger.dat"
|
|||||||
modpol.file_orgs = modpol.datadir .. "/orgs.dat"
|
modpol.file_orgs = modpol.datadir .. "/orgs.dat"
|
||||||
modpol.file_old_ledgers = modpol.datadir .. "/old_ledgers.dat"
|
modpol.file_old_ledgers = modpol.datadir .. "/old_ledgers.dat"
|
||||||
|
|
||||||
os.execute ("mkdir -p " .. modpol.datadir)
|
|
||||||
|
|
||||||
modpol.ocutil.setlogdir (modpol.datadir)
|
modpol.ocutil.setlogdir (modpol.datadir)
|
||||||
modpol.ocutil.setlogname ("modpol.log")
|
modpol.ocutil.setlogname ("modpol.log")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user