Update README.md

master
shivajiva101 2020-09-03 00:49:40 +01:00 committed by GitHub
parent 55ff846637
commit c24e001510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -32,9 +32,11 @@ First copy MTG to a new folder in minetest/games called eggwars and either extra
* 3D armor [ https://github.com/minetest-mods/3d_armor ]
* Bows [ https://notabug.org/TenPlus1/bows ]
###### Example bash script for your server using levelDb:
###### Example bash script for a server using levelDb:
![](screenshots/ramdisk.png)
Use ``sudo sh eggwars.sh`` to run the script as root for ramdisk management, sudo commands in the script perform actions as the user to keep things secure.
## Adding your own arena
Adding your own arena is easy via the API function ``eggwars.register_arena(def) ``
the default definition can be found in ``register_arena.lua `` and should be used as the reference template for creating your own arenas, it's a keypair table proliferated with comments to help understand what data each key requires. This design concept allows you to use your own schematics for islands, arena hubs and spawner satellites, controlling the positions of all current arena elements. See API.md for more details on this mods API functions and how to use them.