mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Merge pull request #167 from Cooldude2606/feature/external
Added external server list
This commit is contained in:
@@ -27,6 +27,7 @@ return {
|
||||
'modules.commands.warnings',
|
||||
'modules.commands.find',
|
||||
'modules.commands.home',
|
||||
'modules.commands.connect',
|
||||
|
||||
--- Addons
|
||||
'modules.addons.chat-popups',
|
||||
|
||||
@@ -38,13 +38,8 @@ end)
|
||||
|
||||
Commands.add_parse('string-options',function(input, player, reject, options)
|
||||
if not input then return end -- nil check
|
||||
input = input:lower()
|
||||
for _, option in ipairs(options) do
|
||||
if input == option:lower() then
|
||||
return option
|
||||
end
|
||||
end
|
||||
return reject{'expcore-commands.reject-string-options', table.concat(options, ', ')}
|
||||
local option = _C.auto_complete(options, input)
|
||||
return option or reject{'expcore-commands.reject-string-options', table.concat(options, ', ')}
|
||||
end)
|
||||
|
||||
Commands.add_parse('string-max-length',function(input, player, reject, max_length)
|
||||
|
||||
@@ -49,6 +49,7 @@ Roles.new_role('Administrator','Admin')
|
||||
:allow{
|
||||
'gui/warp-list/bypass-cooldown',
|
||||
'gui/warp-list/bypass-proximity',
|
||||
'command/connect-all',
|
||||
}
|
||||
|
||||
Roles.new_role('Moderator','Mod')
|
||||
@@ -75,6 +76,7 @@ Roles.new_role('Moderator','Mod')
|
||||
'command/home-set',
|
||||
'command/home-get',
|
||||
'command/return',
|
||||
'command/connect-player',
|
||||
'gui/rocket-info/toggle-active',
|
||||
'gui/rocket-info/remote_launch',
|
||||
'fast-tree-decon',
|
||||
@@ -223,6 +225,7 @@ local default = Roles.new_role('Guest','')
|
||||
'command/save-data',
|
||||
'command/preference',
|
||||
'command/set-preference',
|
||||
'command/connect',
|
||||
'gui/player-list',
|
||||
'gui/rocket-info',
|
||||
'gui/science-info',
|
||||
|
||||
Reference in New Issue
Block a user