mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
feat(addons): implement nukeprotect
This commit is contained in:
@@ -51,6 +51,7 @@ return {
|
||||
'modules.addons.report-jail',
|
||||
'modules.addons.protection-jail',
|
||||
'modules.addons.deconlog',
|
||||
'modules.addons.nukeprotect',
|
||||
|
||||
--- Data
|
||||
'modules.data.statistics',
|
||||
|
||||
@@ -223,7 +223,8 @@ Roles.new_role('Regular','Reg')
|
||||
'command/go-to-spawn',
|
||||
'command/me',
|
||||
'standard-decon',
|
||||
'bypass-entity-protection'
|
||||
'bypass-entity-protection',
|
||||
'bypass-nukeprotect'
|
||||
}
|
||||
:set_auto_assign_condition(function(player)
|
||||
if player.online_time >= hours3 then
|
||||
|
||||
11
config/nukeprotect.lua
Normal file
11
config/nukeprotect.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
ammo = {
|
||||
["atomic-bomb"] = true
|
||||
}, -- @setting ammo The items to not allow in the player's ammo inventory
|
||||
armor = {}, -- @setting armor The items to not allow in the player's armor inventory
|
||||
gun = {}, -- @setting gun The items to not allow in the player's gun inventory
|
||||
main = {
|
||||
["atomic-bomb"] = true
|
||||
}, -- @setting main The items to not allow in the player's main inventory
|
||||
ignore_permisison = "bypass-nukeprotect" -- @setting ignore_permisison The permission that nukeprotect will ignore
|
||||
}
|
||||
Reference in New Issue
Block a user