Details on making PvP zonesSolved
So i have true pve, and zone manager.
I have the default rules set to pve rules, but want to make some pvp zones. I am sure this comes up a lot, but I have tried making a few zones, and none of the options available in the flags, allow for pvp. its like a logic problem, where pvp is reversed out of the options.
the server itself has pvp set, then true pve takes over and nulls that out. but when i make a zone, and want pvp, i dont see how to add flags that allow it.

Please help.
  "Mappings": {
     "default": "default",
     "12345": "pvp",
     "67890": "pvp",
     "23456": "pvp",
  },

you need to add mappings, like shown above. change the numbers above to their zone numbers

  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources"
      ]
    },
    {
      "name": "pvp",
      "enabled": true,
      "defaultAllowDamage": true,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": [
        "players cannot hurt buildings"
      ]
    }	
  ],

add the pvp ruleset below the default ruleset. add any rules to prevent damage where needed, since allowDefaultDamage is true and will allow anything to take damage if a rule is not added.

    {
      "name": "buildings",
      "members": "BuildingBlock, SimpleBuildingBlock",
      "exclusions": ""
    },

the entity group for buildings

Thank you so much, works perfectly. would be a nice addition to have this as a "flag" option in the cui one day. Thanks again

Im having an issue where my players die instantly when entering a pvp zone i made. Here is my config and im not sure what is incorrect?

{
  "Config Version": "1.2.0",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": true
  },
  "Mappings": {
    "default": "default",
    "27962380": "pvp"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [{
    "name": "default",
    "enabled": true,
    "defaultAllowDamage": false,
    "flags": "TurretsIgnorePlayers, SamSitesIgnorePlayers, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
    "rules": [
      "anything can hurt dispensers",
      "anything can hurt players",
      "players cannot hurt players",
      "anything can hurt traps",
      "traps cannot hurt players",
      "players can hurt barricades",
      "barricades cannot hurt players",
      "highwalls cannot hurt players",
      "anything can hurt heli",
      "anything can hurt npcs",
      "fire cannot hurt players",
      "anything can hurt resources"
    ]
  }],
  "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",
      "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",
      "exclusions": ""
    },
    {
      "name": "heli",
      "members": "BaseHelicopter",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "NPCPlayerApex, BradleyAPC",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity",
      "exclusions": ""
    }
  ]
}

Merged post

Can someone please have alook at my config file and let me know what I did wrong? I made a PVP zone using zone manager, and i think i got my setting to match Nivex's but its still not working right, everyone die instantly from RAds when they enter the zone!

{
  "Config Version": "1.2.0",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": true
  },
  "Mappings": {
    "default": "default",
    "27962380": "pvp"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [{
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "TurretsIgnorePlayers, SamSitesIgnorePlayers, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources"
      ]
    },
    {
      "name": "pvp",
      "enabled": true,
      "defaultAllowDamage": true,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": []

    }

  ],
  "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",
      "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",
      "exclusions": ""
    },
    {
      "name": "heli",
      "members": "BaseHelicopter",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "NPCPlayerApex, BradleyAPC",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity",
      "exclusions": ""
    }
  ]
}​

remove the rads

Nivex I cant find where to remove Rads, Is it a rule set I must make under PVP? I only made a small PVP zone on a island on the map, why are rads there anyway?thanks again!

Merged post

Also when a player enters the pvp zone insta death and deathnotes says frooze to death, or player turned into ice statue!

Hi there, we seem to be having the same issue as OP, we have copies teh same config but we just dont take damage in the PVP made zone, any help? Below is the config




{
  "Config Version": "1.2.0",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": false
  },
  "Mappings": {
    "default": "default",
    "37325537": "pvp"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources",
        "players cannot loot players"
      ]
  },
  {
    "name": "pvp",
    "enabled": true,
    "defaultAllowDamage": true,
    "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
    "rules": [
      "players cannot hurt buildings"
    ]
  }
  ],
Zulg

Nivex I cant find where to remove Rads, Is it a rule set I must make under PVP? I only made a small PVP zone on a island on the map, why are rads there anyway?thanks again!

Merged post

Also when a player enters the pvp zone insta death and deathnotes says frooze to death, or player turned into ice statue!

that would be another plugin killing them

S34N1981

Hi there, we seem to be having the same issue as OP, we have copies teh same config but we just dont take damage in the PVP made zone, any help? Below is the config




{
  "Config Version": "1.2.0",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": false
  },
  "Mappings": {
    "default": "default",
    "37325537": "pvp"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources",
        "players cannot loot players"
      ]
  },
  {
    "name": "pvp",
    "enabled": true,
    "defaultAllowDamage": true,
    "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
    "rules": [
      "players cannot hurt buildings"
    ]
  }
  ],

you need to set useZones to true... it won't do anything if it's false

nivex

that would be another plugin killing them

you need to set useZones to true... it won't do anything if it's false

Thank you so much Nivex, such an easy fix - we have been putting a map together and a stack of other plugins - completel;y missed that. Appreciate the help and thank you for the awesome plugin. 

What plugin interfered with the TRuePVE plugin? Would be nice to know ;)