Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tp snipe complex #49

Merged
merged 12 commits into from
Oct 23, 2023
6 changes: 6 additions & 0 deletions commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ minetest.register_chatcommand("tpn", {
func = tp.tpr_deny
})

minetest.register_chatcommand("tpf", {
description = S("Show all teleport requests, made by you or to you, that are still active"),
privs = {interact = true, tp = true},
func = tp.list_requests
})

minetest.register_chatcommand("tpr_mute", {
description = S("Mutes a player: denies them from sending you teleport requests"),
params = S("<playername> | leave playername empty to see help message"),
Expand Down
Loading