Feature Update (#237)

See PR for details, there are too many to be included here.
This commit is contained in:
phidias authored and GitHub committed 2023-08-15 18:47:34 +01:00
1 parent cdd34ebaea
commit 46f6215d94
64 files changed
+4417 -289

No files matched your search

+4 -1
View File
@@ -25,7 +25,10 @@ Event.add(Protection.events.on_repeat_violation, function(event)
end
-- Jail if needed
if repeat_count[player.index] < 3 then return end
if repeat_count[player.index] < 3 then
return
end
local player_name_color = format_chat_player_name(player)
Jail.jail_player(player, '<protection>', 'Removed too many protected entities, please wait for a moderator.')
game.print{'protection-jail.jail', player_name_color}