mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Added command find
This commit is contained in:
@@ -22,6 +22,7 @@ return {
|
||||
'modules.commands.reports',
|
||||
'modules.commands.spawn',
|
||||
'modules.commands.warnings',
|
||||
'modules.commands.find',
|
||||
-- QoL Addons
|
||||
'modules.addons.chat-popups',
|
||||
'modules.addons.damage-popups',
|
||||
|
||||
@@ -184,7 +184,7 @@ return {
|
||||
['command/report'] = {
|
||||
auth=function(player,action_player_name)
|
||||
if not Roles.player_allowed(player,'command/give-warning') then
|
||||
return auth_lower_role(player,action_player_name)
|
||||
return not Roles.player_has_flag(action_player_name,'report-immune')
|
||||
end
|
||||
end,
|
||||
reason_callback=report_player_callback,
|
||||
|
||||
@@ -182,6 +182,7 @@ local default = Roles.new_role('Guest','')
|
||||
'command/tag-clear',
|
||||
'command/chelp',
|
||||
'command/list-roles',
|
||||
'command/find-on-map',
|
||||
'command/report',
|
||||
'gui/player-list',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user