Sostituiti parametri ID con table See merge request zughy-friends-minetest/arena_lib!1
Arena_lib
Arena_lib is a library for Minetest working as a core for any arena minigame you have in mind.
It comes with an arena manager and a signs system. The latter creates a bridge inside your own server between the hub and your actual mod (deathmatch, capture the flag, assault, you name it). In other words, you don't have to do the boring job and you can focus exclusively on your minigame :*
Config
-
You DON'T need to create a different folder in your mods path. Instead, create a folder called
arena_lib
inside your specific mod folder and put all the files of this repo there (mind the textures!). -
Add this in your init.lua
dofile(minetest.get_modpath("YOURMODNAME") .. "/arena_lib/api.lua")
-
You can customize the lib calling
arena_lib.settings({
prefix = "[whatever] "
--other parameters
})
in your init.lua.
- For an in-depth understanding of what you can do with the library, have a look at the full documentation.
Dependencies
Default signs_lib by Vanessa Dannenberg
Known conflicts
Beds
or any other mod overriding the default respawn system