Command to remove greeting

This commit is contained in:
oof2win2
2021-02-13 13:50:32 +00:00
parent b6056544ae
commit 74bca08eb4
3 changed files with 10 additions and 1 deletions

View File

@@ -33,4 +33,11 @@ Commands.new_command('join-message', 'Sets your custom join message')
if not player then return end
CustomMessages:set(player, message)
return {'join-message.message-set'}
end)
Commands.new_command('join-message-clear', 'Clear your join message')
:register(function(player, message)
if not player then return end
CustomMessages:remove(player)
return {'join-message.message-cleared'}
end)