Minor tweaks #37
@ -5,7 +5,11 @@ from java.util.UUID import fromString as juuid
|
||||
toggle_dict = {}
|
||||
permission = "utils.pmtoggle"
|
||||
|
||||
@hook.command("tm")
|
||||
@hook.command("tm",
|
||||
aliases = ["tmsg", "mt", "msgt"],
|
||||
usage = "/<command> [player]",
|
||||
description = "Toggle automatic sending of messages"
|
||||
)
|
||||
def on_toggle_message_command(sender, command, label, args):
|
||||
if not sender.hasPermission(permission) or not is_player(sender):
|
||||
noperm(sender)
|
||||
|
Reference in New Issue
Block a user