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:
phidias authored and GitHub committed 2024-09-24 14:41:27 +01:00
1 parent 00fb38fdc5
commit 2f13aa7e11
10 files changed
+84 -25

No files matched your search

+3 -3
View File
@@ -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)