eggwars/README.md

3.7 KiB
Executable File

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

  • Lobby
  • Multiple match instances
  • Island NPC Trader shops
  • Island NPC Spawner Upgrades
  • Coloured match chat
  • API for adding content

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.

  • Do NOT use an existing world - this will overwrite the mapgen and cause destruction.
  • Do NOT use a different mapgen mod. This will also cause issues
  • Delete the mods you don't need like beds, boats, bucket, butterflies, carts, dungeon_loot, fireflies, give_initial_stuff, sethome, spawn, vessels, weather
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:
  • Textures by shivajiva, created with Gimp (CC BY-NC 4.0)
Models:
  • Egg mesh by shivajiva, created with Blender (CC BY-NC 4.0)
  • NPC Character model sourced from minetest_game v0.4.17 (CC BY-SA 3.0) see minetest_game/mods/default/license.txt
Schematics:
  • created in MT by shivajiva (CC BY-NC 4.0)