Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Paddington

LightsOn-Zones.json

Closed 2.0.4 2.0.6

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"
    }
    ]
}

 

Share this comment


Link to comment

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.

Share this comment


Link to comment

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

Share this comment


Link to comment

Shoot me your configuration.  Which lights is it affecting?

You did set this setting to true, correct?

"Use Zone Manager Plugin": true

Share this comment


Link to comment

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
}

 

Share this comment


Link to comment

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

Share this comment


Link to comment

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

 

Share this comment


Link to comment

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.

 

Share this comment


Link to comment

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

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

2066 files sold to 246 customers and $26890.44 of payments processed this year!

×
×
  • 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.