Go to file
entuland d62fb59884 use storage backend instead of Settings() for max global / total pads 2022-06-19 14:01:35 +02:00
default support custom recipes 2018-06-26 13:17:37 +02:00
lib fix bug returning escaped data from getSelectedItem() 2018-06-28 02:30:42 +02:00
models Converted to using a mesh instead of a flat texture 2018-05-10 18:56:49 +02:00
screenshots two more screenshots 2018-06-28 18:38:40 +02:00
textures Converted to using a mesh instead of a flat texture 2018-05-10 18:56:49 +02:00
.gitattributes Initial commit 2018-05-09 16:39:26 +02:00
LICENSE Initial commit 2018-05-09 16:39:26 +02:00
README.md typo 2018-06-28 18:39:57 +02:00
init.lua use storage backend instead of Settings() for max global / total pads 2022-06-19 14:01:35 +02:00
mod.conf mod.conf added 2018-05-09 16:49:02 +02:00
notify.lua use notify.lua facilities instead of chat_send_player 2018-06-27 01:07:12 +02:00
storage.lua use storage backend instead of Settings() for max global / total pads 2022-06-19 14:01:35 +02:00

README.md

tpad

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

Recipe

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

Crafting

Features

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.

Appearance

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):

Pads

Pad types

Each pad can be set as one of these three types:

  • Private (default): only accessible to its owner or by an admin
  • Public: accessible to anyone from any Public pad of the owner's Local Network
  • Global: accessible to anyone from any Public pad

A pad can be edited and destroyed only by its owner or by an admin.

Pad interaction

  • place a pad down, it will be immediately active and set as "Private"
  • right click a pad edit its name/type and to access the Networks
  • select a pad from a list and hit "Teleport", or doubleclick on the list item
  • delete any remote pad by selecting it on the Local Network list and clicking "Delete"

Closest pad waypoint

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.

Pad admin

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.

Screenshots

A public pad's interface seen by a visitor:

Local Network Visitor

The same interface seen by its owner or by an admin (notice the highlighted "private" pad, which was hidden in the previous interface):

Local Network

The Global Network interface seen by a non-admin:

Global Network

Same as above, but the admins can see an "Admin" button:

Global Network Admin

Admin settings interface:

Admin Settings