Jump to content

Unable to set force PVE mode in a Zone.

Closed 1.3.9

.Nathaniel.
.Nathaniel.

Posted (edited)

Hi there, I'm using Zone Manager & ZoneManagerAutoZones (to create zones automatically around Monuments.) My desired goal is:

1. Players join the server, and are defaulted to PVE mode (This isn't working.)
2. Players can switch between PVE & PVP (This is working.)
3. When Players go into a Monument, it switches them to PVE. (This isn't working.)

In addition, we're using MonumentOwner for monument ownership.
The zones were created automatically and put into ZoneManager's data file, but when referencing them in the WarMode config and forcing players to PVE mode, their mode does not change.

This is the current section of WarMode:

"ZoneManager": {

    "ForceModeInZone": {

      "id=lighthouse_1": "pve",

      "id=lighthouse_2": "pve",

      "id=oilrig_1": "pve",

      "id=oilrig_2": "pve",

      "id=miningoutpost_1": "pve",

      "id=miningoutpost_2": "pve",

      "id=radtown_1": "pve",

      "id=gas_station_1": "pve",

      "id=supermarket_1": "pve",

      "id=gas_station_2": "pve",

      "id=miningoutpost_3": "pve",

      "id=supermarket_2": "pve",

      "id=supermarket_3": "pve",

      "id=swamp_c": "pve",

      "id=swamp_b": "pve",

      "id=mining_quarry_b": "pve",

      "id=sphere_tank": "pve",

      "id=mining_quarry_c": "pve",

      "id=satellite_dish": "pve",

      "id=mining_quarry_a": "pve",

      "id=radtown_small_3": "pve",

      "id=water_treatment_plant_1": "pve",

      "id=military_tunnel_1": "pve",

      "id=powerplant_1": "pve",

      "id=airfield_1": "pve",

      "id=junkyard_1": "pve",

      "id=excavator": "pve",

      "id=nuclear_missile_Silo": "pve",

      "id=launch_site": "pve",

      "id=arctic_research_base_a": "pve",

      "id=desert_military_base_b": "pve",

      "id=harbor_2": "pve",

      "id=harbor_1": "pve",

      "id=ferry_terminal_1": "pve",

      "id=swamp_a": "pve"

    }

  },


And this is the ZoneManager Data:

 

{

  "definitions": [

    {

      "Id": "lighthouse_1",

      "Name": "Lighthouse #1",

      "Radius": 80.0,

      "Location": "-1712.945 0 1206.177",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "lighthouse_2",

      "Name": "Lighthouse #2",

      "Radius": 80.0,

      "Location": "-1176.894 0 -1665.434",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "oilrig_1",

      "Name": "Large Oil Rig",

      "Radius": 165.0,

      "Location": "2331.064 0 -1545.684",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "oilrig_2",

      "Name": "Small Oil Rig",

      "Radius": 100.0,

      "Location": "-1220.802 0 2349.22",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "miningoutpost_1",

      "Name": "Mining Outpost #1",

      "Radius": 50.0,

      "Location": "798.0087 2.291796 1257.655",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "miningoutpost_2",

      "Name": "Mining Outpost #2",

      "Radius": 50.0,

      "Location": "-715.8998 7.883282 -369.6763",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "radtown_1",

      "Name": "Radtown",

      "Radius": 85.0,

      "Location": "525.2145 38.69331 233.9919",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "gas_station_1",

      "Name": "Oxum's Gas Station #1",

      "Radius": 50.0,

      "Location": "-1231.948 10.50484 -1164.681",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "supermarket_1",

      "Name": "Abandoned Supermarket #1",

      "Radius": 50.0,

      "Location": "-207.1307 25.85077 -1161.048",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "gas_station_2",

      "Name": "Oxum's Gas Station #2",

      "Radius": 50.0,

      "Location": "1388.443 7.027921 842.0827",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "miningoutpost_3",

      "Name": "Mining Outpost #3",

      "Radius": 50.0,

      "Location": "1056.747 49.25236 -750.8012",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "supermarket_2",

      "Name": "Abandoned Supermarket #2",

      "Radius": 50.0,

      "Location": "-752.1011 4.288074 1196.625",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "supermarket_3",

      "Name": "Abandoned Supermarket #3",

      "Radius": 50.0,

      "Location": "-50.32587 7.520017 1127.586",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "swamp_c",

      "Name": "Abandoned Cabins",

      "Radius": 80.0,

      "Location": "-1065.219 12.47278 1505.188",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "swamp_b",

      "Name": "Wild Swamp #2",

      "Radius": 80.0,

      "Location": "1087.26 17.93569 -338.0053",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "mining_quarry_b",

      "Name": "Stone Quarry",

      "Radius": 50.0,

      "Location": "1604.844 23.99329 9.186983",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "sphere_tank",

      "Name": "The Dome",

      "Radius": 80.0,

      "Location": "175.7305 28.27285 557.2228",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "mining_quarry_c",

      "Name": "HQM Quarry",

      "Radius": 50.0,

      "Location": "1329.632 38.42345 1439.941",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "satellite_dish",

      "Name": "Satellite Dish",

      "Radius": 100.0,

      "Location": "-541.492 36.37234 -1139.141",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "mining_quarry_a",

      "Name": "Sulfur Quarry",

      "Radius": 50.0,

      "Location": "1418.039 33.15088 -1190.029",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "radtown_small_3",

      "Name": "Sewer Branch",

      "Radius": 80.0,

      "Location": "-285.3346 7.438068 -1374.274",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "water_treatment_plant_1",

      "Name": "Water Treatment Plant",

      "Radius": 175.0,

      "Location": "-737.686 32.49 -877.4548",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "military_tunnel_1",

      "Name": "Military Tunnel",

      "Radius": 115.0,

      "Location": "487.0622 11.75 580.1168",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "powerplant_1",

      "Name": "Power Plant",

      "Radius": 150.0,

      "Location": "1344.729 20.42 609.6399",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "airfield_1",

      "Name": "Airfield",

      "Radius": 200.0,

      "Location": "144.4097 41.436 -1098.903",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "junkyard_1",

      "Name": "Junkyard",

      "Radius": 165.0,

      "Location": "-1518.374 5.421516 -922.3628",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "excavator",

      "Name": "Giant Excavator Pit",

      "Radius": 205.0,

      "Location": "-574.12 35.1 829.7",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "nuclear_missile_Silo",

      "Name": "Missile Silo",

      "Radius": 100.0,

      "Location": "1539.722 22.09915 1300.159",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "launch_site",

      "Name": "Launch Site",

      "Radius": 295.0,

      "Location": "585.8669 48.96 -679.0169",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "arctic_research_base_a",

      "Name": "Arctic Research Base",

      "Radius": 100.0,

      "Location": "834.6317 24.32157 -1385.259",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "desert_military_base_b",

      "Name": "Abandoned Military Base #1",

      "Radius": 100.0,

      "Location": "1052.311 12.03005 1189.836",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "harbor_2",

      "Name": "Small Harbor",

      "Radius": 145.0,

      "Location": "-37.2681 0.73 -1744.048",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "harbor_1",

      "Name": "Large Harbor",

      "Radius": 150.0,

      "Location": "-1585.583 1.446 -1309.402",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "ferry_terminal_1",

      "Name": "Ferry Terminal",

      "Radius": 125.0,

      "Location": "-486.3431 1.25 1387.445",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    },

    {

      "Id": "swamp_a",

      "Name": "jungle swamp #1",

      "Radius": 95.0,

      "Location": "-991.1664 12.4848 746.2306",

      "Size": "0 0 0",

      "Rotation": "0 0 0",

      "EnterMessage": "",

      "LeaveMessage": "",

      "Flags": "AutoLights"

    }

  ]

}

 

Edited by .Nathaniel.
better code formatting.
.Nathaniel.

Posted

Alright Update: I restarted the server and now the zones are working. Unsure if the new join PVE is working. Will let you know.

.Nathaniel.

Posted

Nevermind, we all good. This can be closed now.

  • Like 1
Mr01sam

Posted

Awesome, glad it's working out, thanks for letting me know it's resolved!

Mr01sam

Posted

Changed Status from Pending to Closed

1.8m

Downloads

Total number of downloads.

8.5k

Customers

Total customers served.

127.9k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.