Make help dialogue only show commands you have perms to #23
@ -19,7 +19,8 @@ def print_help(sender):
|
||||
msg(sender, " &2/rp tp <id> &eTeleport to report's location & show details")
|
||||
msg(sender, " &2/rp close <id> &eResolve an open report")
|
||||
msg(sender, " &2/rp reopen <id> &eReopen a resolved report")
|
||||
msg(sender, " &2/rp del <id> &eDelete a report (admin only)")
|
||||
if sender.hasPermission(rp_permission + ".del"):
|
||||
msg(sender, " &2/rp del <id> &eDelete a report")
|
||||
|
||||
|
||||
def print_list(sender, closed):
|
||||
@ -197,4 +198,4 @@ def get_reports(closed):
|
||||
def get_reporter(report):
|
||||
return server.getOfflinePlayer(juuid(report["uuid"]))
|
||||
|
||||
thread.start_new_thread(reports_reminder, ())
|
||||
thread.start_new_thread(reports_reminder, ())
|
||||
|
Reference in New Issue
Block a user