Jump to content

LightsOn-Zones.json

Closed 2.0.4 2.0.6

Paddington
Paddington

Posted

Hey, Just wondering what I need to put in the LightsOn-Zones.json file. I only want the plugin to affect the zones I have defined. I don't know if I have the file set up correctly. But I do know that the plugin seems to still effect players buildings outside of these zones Here is my .json 

{
    "definitions": [
        {"Id": "39394533"
    },
        {"Id": "43510535"
    },
        {"Id": "21929206"
    }
    ]
}

 

  • Moderator
Mals

Posted

It should look like this:

["supermarket_1","supermarket_2","gas_station_1","miningoutpost_1","miningoutpost_2","supermarket_3","gas_station_2","gas_station_3","miningoutpost_3","sphere_tank","launch_site"]

But in my retesting it is doing all zones.  I am taking a look at a fix.

  • Moderator
Mals

Posted

Changed Status from Pending to Work in Progress

  • Moderator
Mals

Posted

Please check that the fix works on your server.

Thanks for letting me know.

Paddington

Posted (edited)

Seems to still be affecting bases outside of the zones. here is my json:

["39394533","43510535","21929206","supermarket_1","supermarket_2","gas_station_1","miningoutpost_1","miningoutpost_2","supermarket_3","gas_station_2","gas_station_3","miningoutpost_3","sphere_tank","launch_site"]

 

Edited by Paddington
  • Moderator
Mals

Posted

Shoot me your configuration.  Which lights is it affecting?

You did set this setting to true, correct?

"Use Zone Manager Plugin": true

Paddington

Posted

Here is the config! Thanks

{
  "Hats do not use fuel (a-always d-day n-night i-ignore)": "i",
  "BBQs (a-always d-day n-night i-ignore)": "i",
  "Campfires (a-always d-day n-night i-ignore)": "i",
  "Candles (a-always d-day n-night i-ignore)": "n",
  "Cauldrons (a-always d-day n-night i-ignore)": "i",
  "CCTVs (a-always d-day n-night i-ignore)": "i",
  "Ceiling Lights (a-always d-day n-night i-ignore)": "n",
  "Deluxe Light Strings (a-always d-day n-night i-ignore)": "i",
  "Elevators (a-always d-day n-night i-ignore)": "i",
  "Fire Pits (a-always d-day n-night i-ignore)": "i",
  "Fireplaces (a-always d-day n-night i-ignore)": "n",
  "Flasher Lights (a-always d-day n-night i-ignore)": "i",
  "FluidSwitches (a-always d-day n-night i-ignore)": "i",
  "Fog Machines (a-always d-day n-night i-ignore)": "i",
  "Furnaces (a-always d-day n-night i-ignore)": "i",
  "Hobo Barrels (a-always d-day n-night i-ignore)": "n",
  "Heaters (a-always d-day n-night i-ignore)": "i",
  "Igniters (a-always d-day n-night i-ignore)": "i",
  "Lanterns (a-always d-day n-night i-ignore)": "n",
  "Mixing Tables (a-always d-day n-night i-ignore)": "i",
  "Reactive Targets (a-always d-day n-night i-ignore)": "i",
  "RF Broadcasters (a-always d-day n-night i-ignore)": "i",
  "RF Receivers (a-always d-day n-night i-ignore)": "i",
  "Refineries (a-always d-day n-night i-ignore)": "i",
  "SAM Sites (a-always d-day n-night i-ignore)": "i",
  "Search Lights (a-always d-day n-night i-ignore)": "n",
  "Signs (a-always d-day n-night i-ignore)": "i",
  "Simple Lights (a-always d-day n-night i-ignore)": "n",
  "Siren Lights (a-always d-day n-night i-ignore)": "i",
  "Smart Alarms (a-always d-day n-night i-ignore)": "i",
  "Smart Switches (a-always d-day n-night i-ignore)": "i",
  "SnowMachines (a-always d-day n-night i-ignore)": "i",
  "SpookySpeakers (a-always d-day n-night i-ignore)": "i",
  "Storage Monitor (a-always d-day n-night i-ignore)": "i",
  "Strobe Lights (a-always d-day n-night i-ignore)": "i",
  "Telephones (a-always d-day n-night i-ignore)": "i",
  "VehicleLifts (a-always d-day n-night i-ignore)": "i",
  "Water Pumps (a-always d-day n-night i-ignore)": "i",
  "Water Purifiers (powered and unpowered) (a-always d-day n-night i-ignore)": "i",
  "Protect BBQs (true/false)": true,
  "Protect Campfires (true/false)": true,
  "Protect Cauldrons (true/false)": false,
  "Protect Fire Pits (true/false)": false,
  "Protect Fireplaces (true/false)": false,
  "Protect Furnaces (true/false)": true,
  "Protect Hobo Barrels (true/false)": false,
  "Protect Mixing Tables (true/false)": true,
  "Protect Refineries (true/false)": true,
  "Console Output (true/false)": true,
  "Check Frequency (in seconds)": 300,
  "Dusk Time (HH in a 24 hour clock)": 18.00,
  "Dawn Time (HH in a 24 hour clock)": 8.00,
  "Use Zone Manager Plugin": true
}

 

  • Moderator
Mals

Posted

Which lights are coming on?

Paddington

Posted

Outside the zone, the Fireplace is coming on. 

  • Moderator
Mals

Posted

BTW if an item is set to i it does not need to be protected.  IDK if that could be an issue.

  • Moderator
Mals

Posted

I'll give it a test.  thanks.  Only at night, correct?

Paddington

Posted (edited)

Correct only at night. I just changed all the i's to protect false. Thanks!

 

{
  "Hats do not use fuel (a-always d-day n-night i-ignore)": "i",
  "BBQs (a-always d-day n-night i-ignore)": "i",
  "Campfires (a-always d-day n-night i-ignore)": "i",
  "Candles (a-always d-day n-night i-ignore)": "n",
  "Cauldrons (a-always d-day n-night i-ignore)": "i",
  "CCTVs (a-always d-day n-night i-ignore)": "i",
  "Ceiling Lights (a-always d-day n-night i-ignore)": "n",
  "Deluxe Light Strings (a-always d-day n-night i-ignore)": "i",
  "Elevators (a-always d-day n-night i-ignore)": "i",
  "Fire Pits (a-always d-day n-night i-ignore)": "i",
  "Fireplaces (a-always d-day n-night i-ignore)": "n",
  "Flasher Lights (a-always d-day n-night i-ignore)": "i",
  "FluidSwitches (a-always d-day n-night i-ignore)": "i",
  "Fog Machines (a-always d-day n-night i-ignore)": "i",
  "Furnaces (a-always d-day n-night i-ignore)": "i",
  "Hobo Barrels (a-always d-day n-night i-ignore)": "n",
  "Heaters (a-always d-day n-night i-ignore)": "i",
  "Igniters (a-always d-day n-night i-ignore)": "i",
  "Lanterns (a-always d-day n-night i-ignore)": "n",
  "Mixing Tables (a-always d-day n-night i-ignore)": "i",
  "Reactive Targets (a-always d-day n-night i-ignore)": "i",
  "RF Broadcasters (a-always d-day n-night i-ignore)": "i",
  "RF Receivers (a-always d-day n-night i-ignore)": "i",
  "Refineries (a-always d-day n-night i-ignore)": "i",
  "SAM Sites (a-always d-day n-night i-ignore)": "i",
  "Search Lights (a-always d-day n-night i-ignore)": "n",
  "Signs (a-always d-day n-night i-ignore)": "i",
  "Simple Lights (a-always d-day n-night i-ignore)": "n",
  "Siren Lights (a-always d-day n-night i-ignore)": "i",
  "Smart Alarms (a-always d-day n-night i-ignore)": "i",
  "Smart Switches (a-always d-day n-night i-ignore)": "i",
  "SnowMachines (a-always d-day n-night i-ignore)": "i",
  "SpookySpeakers (a-always d-day n-night i-ignore)": "i",
  "Storage Monitor (a-always d-day n-night i-ignore)": "i",
  "Strobe Lights (a-always d-day n-night i-ignore)": "i",
  "Telephones (a-always d-day n-night i-ignore)": "i",
  "VehicleLifts (a-always d-day n-night i-ignore)": "i",
  "Water Pumps (a-always d-day n-night i-ignore)": "i",
  "Water Purifiers (powered and unpowered) (a-always d-day n-night i-ignore)": "i",
  "Protect BBQs (true/false)": false,
  "Protect Campfires (true/false)": false,
  "Protect Cauldrons (true/false)": false,
  "Protect Fire Pits (true/false)": false,
  "Protect Fireplaces (true/false)": false,
  "Protect Furnaces (true/false)": false,
  "Protect Hobo Barrels (true/false)": false,
  "Protect Mixing Tables (true/false)": false,
  "Protect Refineries (true/false)": false,
  "Console Output (true/false)": true,
  "Check Frequency (in seconds)": 300,
  "Dusk Time (HH in a 24 hour clock)": 18.00,
  "Dawn Time (HH in a 24 hour clock)": 8.00,
  "Use Zone Manager Plugin": true
}

 

 

Edited by Paddington
  • Moderator
Mals

Posted

I tested with my zone set up, your config.  Fireplace came on at Launch, but did not in a random base.  What other plugins are you running?  It could be zone manager lights setting or some other plugin causing this?  Happy to chat on discord and help you debug this.  MalS#2641

 

Paddington

Posted

Thanks, i'll check a few things and let you know. for the Zone Manager are you using the Zone name or Zone ID?

  • Moderator
Mals

Posted

I used the auto zone plugin and the id it generated which are names not numbers.

I figured out why stuff was not turning on when place with zone enables and I am fixing that.

 

  • Moderator
Mals

Posted

Having discussed this we determined the root cause outside the plugin.  It is resolved and working as intended now.  Thanks for your patience and working with me Paddington.

  • Love 1
  • Moderator
Mals

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 2.0.6

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.