Skip to the content.

Eggwars

What this is

This mod is inspired by the Minecraft mod of the same name and has similar features.

Each player’s goal is to defend their egg and be the last person standing. If a player dies either from being killed by another player or falling off, they will re-spawn whilst their egg is intact, if it has been destroyed, they experience match death and enter into spectator mode.

When there is one player left standing in a match, they are declared the winner.

Features

Install

This mod is designed to run on a server with the map running in a ram disk. There is no requirement for persistence of the map data so you should arrange to delete it on every restart, the memory requirements are low with the default arena taking ~5MB all 8 arenas should fit within 56MB.

First copy MTG to a new folder in minetest/games called eggwars and either extract the zip file to mods/ or use git clone https://github.com/shivajiva101/eggwars from within the mods directory.

Example bash script for a server using levelDb:

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.

License

This project is licensed under AGPL v3. This is similar to the GPLv3, but requires any code modifications to be available on request.

Contributors

This project was originally started by wilkgr, but after years of inactivity handed over to shivajiva.

Media Attribution & Licenses

Sounds:
Textures:
Models:
Schematics: