mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Merge pull request #159 from Cooldude2606/feature/datastore
Persistent Datastores Including Player Data
This commit is contained in:
@@ -39,12 +39,12 @@ 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 options do
|
||||
for _, option in ipairs(options) do
|
||||
if input == option:lower() then
|
||||
return true
|
||||
return option
|
||||
end
|
||||
end
|
||||
return reject{'reject-string-options',options:concat(', ')}
|
||||
return reject{'expcore-commands.reject-string-options', table.concat(options, ', ')}
|
||||
end)
|
||||
|
||||
Commands.add_parse('string-max-length',function(input, player, reject, max_length)
|
||||
|
||||
@@ -220,6 +220,8 @@ local default = Roles.new_role('Guest','')
|
||||
'command/report',
|
||||
'command/ratio',
|
||||
'command/server-ups',
|
||||
'command/data-preference',
|
||||
'command/set-data-preference',
|
||||
'gui/player-list',
|
||||
'gui/rocket-info',
|
||||
'gui/science-info',
|
||||
|
||||
Reference in New Issue
Block a user