Jump to content

limits are not changing

Not a Bug 2.0.3

Hey,

I made huge changes at config file and saved it, but everytime I reload plugin or restart server, it rewrites my config to default values. All the time. Can you advise? thanks a lot

I changed my config to these values:

{

  "Enable GameTip notifications": true,

  "Enable notifications in chat": false,

  "Chat steamID icon": 0,

  "Commands list": [

    "limits",

    "limit"

  ],

  "Warn about less then % of limit": 0.2,

  "Permissions": [

    {

      "Permission": "limitentities.default",

      "Priority": 0,

      "Limits Global": {

        "Limit Total": 15000,

        "Limits Entities": {

          "assets/prefabs/deployable/playerioents/lights/simplelight.prefab": 50,

          "assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab": 10,

          "assets/prefabs/deployable/campfire/campfire.prefab": 8,

          "assets/prefabs/deployable/furnace/furnace.prefab": 15,

          "assets/prefabs/deployable/furnace.large/furnace.large.prefab": 15,

          "assets/prefabs/deployable/search light/searchlight.deployed.prefab": 5,

          "assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab": 50,

          "assets/prefabs/deployable/windmill/windmillsmall/electric.windmill.small.prefab": 8,

          "assets/prefabs/deployable/oil jack/mining.pumpjack.prefab": 2,

          "assets/prefabs/deployable/oil refinery/refinery_small_deployed.prefab": 15,          

          "assets/prefabs/deployable/ceiling light/ceilinglight.deployed.prefab": 100,

          "assets/prefabs/deployable/quarry/mining_quarry.prefab": 2          

        }

      },

      "Limits Building": {

        "Limit Total": 15000,

        "Limits Entities": {

          "assets/prefabs/deployable/search light/searchlight.deployed.prefab": 5,

          "assets/prefabs/deployable/windmill/windmillsmall/electric.windmill.small.prefab": 8

        }

      }

    },

    {

      "Permission": "limitentities.vip",

      "Priority": 1,

      "Limits Global": {

        "Limit Total": 5000,

        "Limits Entities": {

          "assets/prefabs/building core/foundation.triangle/foundation.triangle.prefab": 500,

          "assets/prefabs/building core/foundation/foundation.prefab": 500,

          "assets/prefabs/building core/roof.triangle/roof.triangle.prefab": 400,

          "assets/prefabs/building core/roof/roof.prefab": 400

        }

      },

      "Limits Building": {

        "Limit Total": 2000,

        "Limits Entities": {

          "assets/prefabs/deployable/search light/searchlight.deployed.prefab": 15,

          "assets/prefabs/deployable/windmill/windmillsmall/electric.windmill.small.prefab": 15

        }

      }

    },

    {

      "Permission": "limitentities.elite",

      "Priority": 1,

      "Limits Global": {

        "Limit Total": 10000,

        "Limits Entities": {

          "assets/prefabs/building core/foundation.triangle/foundation.triangle.prefab": 2000,

          "assets/prefabs/building core/foundation/foundation.prefab": 2000,

          "assets/prefabs/building core/roof.triangle/roof.triangle.prefab": 1000,

          "assets/prefabs/building core/roof/roof.prefab": 1000

        }

      },

      "Limits Building": {

        "Limit Total": 5000,

        "Limits Entities": {

          "assets/prefabs/deployable/search light/searchlight.deployed.prefab": 20,

          "assets/prefabs/deployable/windmill/windmillsmall/electric.windmill.small.prefab": 20

        }

      }

    }

  ],

  "Log Level (Debug, Info, Warning, Off)": "Off"

}

Share this comment


Link to comment

Yes. Just in case, it's best to always unload the plugin before making changes to the configuration file. And, of course, create backups.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.6k

Files Sold

Total number of files sold.

1.6m

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.