Nathan Salapat 13b934557a Refreshed the goat model, added a pig. | 1 سال پیش | |
---|---|---|
.. | ||
default | 4 سال پیش | |
lib | 4 سال پیش | |
models | 4 سال پیش | |
textures | 4 سال پیش | |
LICENSE | 4 سال پیش | |
README.md | 4 سال پیش | |
custom.recipes.lua | 4 سال پیش | |
init.lua | 1 سال پیش | |
mod.conf | 4 سال پیش | |
notify.lua | 4 سال پیش | |
storage.lua | 1 سال پیش |
A teleporter-pads mod for Minetest
Developed and tested on Minetest 0.4.16 - try in other versions at your own risk :)
WIP mod forum discussion: https://forum.minetest.net/viewtopic.php?f=9&t=20081
Table of Contents
The recipe can be customized altering the file custom.recipes.lua
, created in the mod's folder on first run and never overwritten.
W = any wood planks
B = bronze ingot
WBW
BWB
WBW
With these pads players can build their own Local Network and collaborate to build a Global Network shared among all players.
Pads are sorted by name in the lists, the Global Network list groups them by owner name first.
This is how a pad looks like when placed against a wall or on the floor (they can be placed under the ceiling as well):
Each pad can be set as one of these three types:
Private
(default): only accessible to its owner or by an adminPublic
: accessible to anyone from any Public pad of the owner's Local NetworkGlobal
: accessible to anyone from any Public padA pad can be edited and destroyed only by its owner or by an admin.
Issue /tpad
on the chat to get a waypoint to the closest of your pads.
Issue /tpad off
to remove the waypoint from the HUD - it will also be removed when you teleport from any pad.
A tpad_admin
privilege is available, players with such privilege can access, alter and destroy any pad, they can set the max number of total / global pads a player can create and they can also place any amount of pads regardless of those limits.
Limits can be edited by admins directly in the admin interface (reachable from the "Global Network" dialog of any pad); limits get stored on a per-world basis in the file /mod_storage/tpad.custom.conf
. By default a player can place up to 100 pads, and of these, only 4 can appear in the Global Network.
A public pad's interface seen by a visitor:
The same interface seen by its owner or by an admin (notice the highlighted "private" pad, which was hidden in the previous interface):
The Global Network interface seen by a non-admin:
Same as above, but the admins can see an "Admin" button:
Admin settings interface: