Browse Source

Merge branch 'master' of https://gitlab.com/medlabboulder/modpol

Nathan Schneider 1 year ago
parent
commit
45347e2ac7
4 changed files with 3 additions and 4 deletions
  1. 2 1
      .gitignore
  2. 1 1
      README.md
  3. 0 0
      modpol_core/data/placeholder
  4. 0 2
      modpol_core/storage/storage-local.lua

+ 2 - 1
.gitignore

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

+ 1 - 1
README.md

@@ -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

+ 0 - 0
modpol_core/data/placeholder


+ 0 - 2
modpol_core/storage/storage-local.lua

@@ -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")