Add Missing Command Locales (#331)
* Update lawnmower.lua * Update bonus.lua * Update greetings.lua * Update personal-logistic.lua * Update quickbar.lua * Update personal_logistic.lua * Update tag.lua * Update commands.cfg * Update commands.cfg * Update commands.cfg
This commit is contained in:
@@ -26,7 +26,7 @@ end)
|
||||
--- Set your custom join message
|
||||
-- @command join-message
|
||||
-- @tparam string message The custom join message that will be used
|
||||
Commands.new_command('join-message', 'Sets your custom join message')
|
||||
Commands.new_command('join-message', {'expcom-join-message.description-msg'}, 'Sets your custom join message')
|
||||
:add_param('message', false, 'string-max-length', 255)
|
||||
:enable_auto_concat()
|
||||
:register(function(player, message)
|
||||
@@ -35,9 +35,9 @@ Commands.new_command('join-message', 'Sets your custom join message')
|
||||
return {'join-message.message-set'}
|
||||
end)
|
||||
|
||||
Commands.new_command('join-message-clear', 'Clear your join message')
|
||||
Commands.new_command('join-message-clear', {'expcom-join-message.description-clr'}, 'Clear your join message')
|
||||
:register(function(player)
|
||||
if not player then return end
|
||||
CustomMessages:remove(player)
|
||||
return {'join-message.message-cleared'}
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user