Raid allowed

Hello.Can you help with a config?
I need help in couple of things like to allow players to be able to raid and pvp in that moment(if possible) And only allow PVP in the zones.
Thank you,

hi, this has already been answered in other threads. two of them are pinned

nivex

hi, this has already been answered in other threads. two of them are pinned

Can you link me to the config please?

read the pinned messages. they're at the top of the truepve forum. and you have to make your own config

nivex

read the pinned messages. they're at the top of the truepve forum. and you have to make your own config

will this config work ?

{
  "Config Version": "1.2.1",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": true
  },
  "Mappings": {
    "default": "default",
    "raid": "raid"
  },
  "Schedule": {
    "enabled": true,
    "useRealtime": true,
    "broadcast": true,
    "entries": [
      "0.00:00 raid Raiding enabled!",
      "1.00:00 raid Raiding enabled!",
      "2.00:00 raid Raiding enabled!",
      "3.00:00 raid Raiding enabled!",
      "4.00:00 raid Raiding enabled!",
      "5.00:00 raid Raiding enabled!",
      "6.00:00 raid Raiding enabled!"
    ]
  },
  "RuleSets": [{
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "AuthorizedDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, TrapsIgnorePlayers, TurretsIgnorePlayers, CupboardOwnership, MiniCopterIsImmuneToCollision, SamSitesIgnorePlayers, CarsImmunity",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt traps",
        "anything can hurt heli",
        "anything can hurt npcs",
        "anything can hurt players",
        "anything can hurt resources",
        "players can hurt barricades",
        "players cannot hurt players",
        "fire cannot hurt players",
        "traps cannot hurt players",
        "barricades cannot hurt players"
      ]
    },
    {
      "name": "raid",
      "enabled": true,
      "defaultAllowDamage": true,
      "flags": "AuthorizedDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, SelfDamage",
      "rules": [
        "players can hurt players",
        "fire can hurt players",
        "traps can hurt players",
        "barricades can hurt players"
      ]
    }
  ],
  "Allow Killing Sleepers": false,
  "Entity Groups": [{
      "name": "barricades",
      "members": "Barricade, icewall, GraveYardFence",
      "exclusions": ""
    },
    {
      "name": "dispensers",
      "members": "BaseCorpse, HelicopterDebris, PlayerCorpse, NPCPlayerCorpse",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall, FlameExplosive, FlameThrower, BaseOven, FlameTurret, rocket_heli_napalm, napalm",
      "exclusions": ""
    },
    {
      "name": "heli",
      "members": "BaseHelicopter",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "BradleyAPC, ch47scientists.entity, HTNAnimal, HTNPlayer, HumanNPC, NPCMurderer, NPCPlayer, Scientist, ScientistNPC, Zombie",
      "exclusions": ""
    },
    {
      "name": "players",
      "members": "BasePlayer",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity, LootContainer",
      "exclusions": ""
    },
    {
      "name": "samsites",
      "members": "sam_site_turret_deployed",
      "exclusions": "sam_static"
    },
    {
      "name": "traps",
      "members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor",
      "exclusions": ""
    }
  ]
}

you need to add zone exclusions if you want to limit pvp/raiding to specific zones. this is answered in the 2 pinned thread