diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-02 19:57:09 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-02 19:57:09 -0400 |
commit | bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037 (patch) | |
tree | ccfd4ac7d441b521bb0bed8092f2373903199d23 /markers/config.lua | |
parent | 1ab193199e3b4bdfbb35ddc52222c7439afd6343 (diff) | |
download | dreambuilder_modpack-bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037.tar dreambuilder_modpack-bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037.tar.gz dreambuilder_modpack-bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037.tar.bz2 dreambuilder_modpack-bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037.tar.xz dreambuilder_modpack-bd87d37e189fc8cf5b7a1a4df9320cb83d8bb037.zip |
removed Sokomine's old markers mod
Diffstat (limited to 'markers/config.lua')
-rw-r--r-- | markers/config.lua | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/markers/config.lua b/markers/config.lua deleted file mode 100644 index f29e46e..0000000 --- a/markers/config.lua +++ /dev/null @@ -1,36 +0,0 @@ - --- stores up to 4 marker positions for each player -markers.positions = {} - --- store the positions of that many markers for each player (until server restart) -markers.MAX_MARKERS = 50; - --- the protection against digging of the marker by other players expires after this time -markers.EXPIRE_AFTER = 60*60*24; - --- self-protected areas can not get higher than 100 blocks -markers.MAX_HEIGHT = 100; - --- only areas up to this size (in square meters) can be protected -markers.MAX_SIZE = 1024; -- 32m * 32m = 1024 m^2 - --- show only areas withhin this range when showing the list of ALL areas --- (else it does get too crowded on multiplayer servers) --- set to something >60000 in order to view all areas; set to a smaller --- value (i.e. 500) on multiplayer servers with many protected areas - -if( #areas.areas > 1000 ) then - markers.AREA_RANGE = 100; -elseif( #areas.areas > 100 ) then - markers.AREA_RANGE = 1000; -else - markers.AREA_RANGE = 100000; -end - --- for most cases, the default values ought to work ---markers.AREA_RANGE = 100000; - -if( io.open(minetest.get_worldpath().."/markers_settings.txt","r")) then - io.close() - dofile(minetest.get_worldpath().."/markers_settings.txt") -end |