PLEASE READ CAREFULY AS I FOUND AN "EXPLOIT".
When you're outside the zone, you can damage entities inside the zone (I already reported this issue, the new one is similar).
People are throwing c4/satchel in the protected zone (ie on a door), then they F1 kill, then they spawn in another zone that allow damage. When the c4/satchel blow, it will break the door. (you can delete my comment so less people see this)
What I try to achieve and it's working so far is:
- I want people that own the entity to be able to destroy them
- Anyone could be able to destroy twig
- Anyone could be able to destroy entities if they have cupboard ownership
- Entities should be protected by the cupboard radius
This is my config file, I changed defaultAllowDamage to false
Thank you for your work!
{
"Config Version":"1.2.0",
"Default RuleSet":"default",
"Configuration Options":{
"handleDamage":true,
"useZones":true
},
"Mappings":{
"default":"default",
"pve":"pve"
},
"Schedule":{
"enabled":false,
"useRealtime":false,
"broadcast":false,
"entries":[
]
},
"RuleSets":[
{
"name":"default",
"enabled":true,
"defaultAllowDamage":true,
"flags":"HumanNPCDamage",
"rules":[
"anything can hurt players"
]
},
{
"name":"pve",
"enabled":true,
"defaultAllowDamage":false,
"flags":"HumanNPCDamage, AuthorizedDamage, TwigDamage, CupboardOwnership",
"rules":[
"players cannot hurt buildings",
"players cannot hurt traps",
"players cannot hurt barricades",
"players cannot hurt highwalls",
"players cannot hurt vehicles",
"players cannot hurt pvestuff",
"players cannot hurt electricity",
"fire cannot hurt buildings",
"fire cannot hurt pvestuff",
"fire cannot hurt electricity",
"fire cannot hurt traps",
"fire cannot hurt barricades",
"fire cannot hurt highwalls",
"fire cannot hurt vehicles"
]
}
],
"Allow Killing Sleepers":false,
"Entity Groups":[
{
"name":"dispensers",
"members":"BaseCorpse, HelicopterDebris",
"exclusions":""
},
{
"name":"players",
"members":"BasePlayer",
"exclusions":""
},
{
"name":"traps",
"members":"AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor, SamSite",
"exclusions":""
},
{
"name":"barricades",
"members":"Barricade",
"exclusions":""
},
{
"name":"highwalls",
"members":"wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood, IceFence, barricade.cover.wood",
"exclusions":""
},
{
"name":"heli",
"members":"BaseHelicopter",
"exclusions":""
},
{
"name":"npcs",
"members":"NPCPlayerApex, BradleyAPC",
"exclusions":""
},
{
"name":"fire",
"members":"FireBall",
"exclusions":""
},
{
"name":"resources",
"members":"ResourceEntity, TreeEntity, OreResourceEntity",
"exclusions":""
},
{
"name":"buildings",
"members":"BuildingBlock, SimpleBuildingBlock, cupboard.tool.deployed, Door, StabilityEntity, ShopFront, BaseLadder",
"exclusions":""
},
{
"name":"vehicles",
"members":"_base_car_chassis.entity, 2module_car_spawned.entity, 3module_car_spawned.entity, 4module_car_spawned.entity, car_chassis_2module.entity, car_chassis_3module.entity, car_chassis_4module.entity, 1module_cockpit, 1module_cockpit_armored, 1module_cockpit_with_engine, 1module_engine, 1module_flatbed, 1module_rear_seats, 1module_storage, 2module_flatbed, 2module_fuel_tank, 2module_passengers, randommodular.entity, testridablehorse.prefab, testridablehorse, ridablehorse, rhib, rowboat, hotairballoon, scraptransporthelicopter, minicopter",
"exclusions":""
},
{
"name":"pvestuff",
"members":"GraveyardFence, Candle, StaticInstrument, ChineseLantern, StrobeLight, CeilingLight, ceilinglight.deployed, ElectricBattery, AudioAlarm, SolarPanel, ComputerStation, VendingMachine, Composter, WorkBench, workbench3.deployed, workbench2.deployed, workbench1.deployed, NeonSign, xmas.lightstring.deployed, watchtower.wood, LiquidContainer, WaterPurifier, PoweredWaterPurifier, sofa.deployed, RepairBench, ResearchTable, DropBox, BaseVehicule, DecorDeployable, SleepingBag, SpinnerWheel, BaseOven, PlanterBox, Locker, MixingTable, BaseChair, BaseFuelLightSource, hobobarrel.deployed, WaterCatcher, SearchLight, FuelGenerator, ElectricWindmill, Signage, PhotoFrame, HitchTrough, BaseArcadeMachine, BoxStorage, Mailbox, skullspikes.deployed, PaddlingPool, SurvivalFishTrap",
"exclusions":""
},
{
"name":"electricity",
"members":"rfreceiver, rfbroadcaster, electric.sprinkler.deployed, elevator, smartalarm, doorcontroller.deployed, igniter.deployed, laserdetector, teslacoil.deployed, xorswitch.entity, hbhfsensor.deployed, electrical.memorycell.deployed, electric.flasherlight.deployed, electrical.branch.deployed, andswitch.entity, electrical.blocker.deployed, button, counter, orswitch.entity, splitter, electric.sirenlight.deployed, electrical.heater, electrical.random.switch.deployed, switch, timer, smartswitch, WaterPump",
"exclusions":""
}
]
}