mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-09 06:17:37 +01:00
Add "enable_immediate_teleport"
With this function enabled, players with "tp_admin" privilege teleport immediately to the specified player. Otherwise, it will send a request to the specified player.
This commit is contained in:
parent
5e2d1cbaa8
commit
65cad92d7d
@ -27,6 +27,9 @@ local S, NS = dofile(MP.."/intllib.lua")
|
|||||||
timeout_delay = 60
|
timeout_delay = 60
|
||||||
version = "1.5"
|
version = "1.5"
|
||||||
|
|
||||||
|
-- Enable teleporting immediately to the player with "tp_admin" privilege.
|
||||||
|
enable_immediate_teleport = true
|
||||||
|
|
||||||
local chatmsg, source, target, name2, target_coords, pos
|
local chatmsg, source, target, name2, target_coords, pos
|
||||||
|
|
||||||
-- Set the values of the positions of your places, players will be able to teleport to them (no matter if it is protected, or not).
|
-- Set the values of the positions of your places, players will be able to teleport to them (no matter if it is protected, or not).
|
||||||
|
Loading…
Reference in New Issue
Block a user