{"_id":"@admon-dev/screepsmod-admin-utils","_rev":"8-65daf11469c11045b3f9e4a4f9dfc8d6","name":"@admon-dev/screepsmod-admin-utils","dist-tags":{"dev":"1.31.4-dev.0","latest":"1.31.9"},"versions":{"1.31.2":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.2","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.2","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/screepsmod-admin-utils#readme","bugs":{"url":"https://github.com/admon84/screepsmod-admin-utils/issues"},"dist":{"shasum":"aaa67e59aaa87c69dc5dc553ca84e67bb685642b","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.2.tgz","fileCount":43,"integrity":"sha512-59xdYmSFf2rKZKS0WljGE9vu1YsPikEd4rI8u0xog5RiCXHASfkbCe/fNTcJ9DhWLhJ0Hcu/Vq4RxObAQvbHxQ==","signatures":[{"sig":"MEUCIQCwCLs31NFIek1zJkQos//8ZhGZwmjUbE+1yXi1Wl8a8wIgFPQJRK11YNNdYY+n/stPGO3JRify9f/ufZSV8DZ7hQ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72807},"main":"index.js","gitHead":"f467eccc7d521034e99b0bc6773ba5611140f841","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/screepsmod-admin-utils.git","type":"git"},"_npmVersion":"9.7.2","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.3.1","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.2_1706238800471_0.4352607368541497","host":"s3://npm-registry-packages"}},"1.31.3":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.3","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.3","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/screepsmod-admin-utils#readme","bugs":{"url":"https://github.com/admon84/screepsmod-admin-utils/issues"},"dist":{"shasum":"1639b0646b65271ede75543cfab50497f0908de3","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.3.tgz","fileCount":45,"integrity":"sha512-GBXi+qwvq//6OPJFB7QdWtrhEg5uO6dVJW1WGcMLzEoahKn3nSOpsazq9XqhfuEcZnu4yGwwI+dh4eZ6JeScMg==","signatures":[{"sig":"MEUCIQCODSPDC+AILaWlcudyKmL4Ezw9HAmODsHL7qG3nT4S9wIgTcdpNdzvfEhcKenqX+KlmpQvmS+AOV9fp0uwPjJ+vCY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182614},"main":"index.js","_from":".","_shasum":"1639b0646b65271ede75543cfab50497f0908de3","gitHead":"fbcd856582a861d2db9a1ce04b971a7fcb7cef59","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/screepsmod-admin-utils.git","type":"git"},"_npmVersion":"2.15.12","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.3.1","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.3_1706241455662_0.26916366182504325","host":"s3://npm-registry-packages"}},"1.31.4-dev.0":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.4-dev.0","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.4-dev.0","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"dist":{"shasum":"44f6622af21759518d029bc7c826be7c89aabc98","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.4-dev.0.tgz","fileCount":43,"integrity":"sha512-dL/AYcjWy733vNG12YmRvuyrHJkEz6LNoZJhmZI9vAky6GqZNjVCjYoK5Nm8wLJQIv0niz1dJsTZ1DrvEdnsYw==","signatures":[{"sig":"MEYCIQCqvwc5+P7h48YldedlPARwvYfJcSEwKe+Pt3uy4fXtdwIhAP4Jn3LgyhAWMw3AB3WYmLysUNYC1SwkYLwoXn9zxGyB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72261},"main":"index.js","gitHead":"a30895bb5f82aa6339e90e5c6f3bb2f158ad1390","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.4-dev.0_1716614662119_0.06385645011051189","host":"s3://npm-registry-packages"}},"1.31.4":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.4","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.4","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"dist":{"shasum":"1697fb5b5f7912fd86a0b88f053b7164cdde33a0","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.4.tgz","fileCount":43,"integrity":"sha512-b+AnXGNYGgHcmYmuFVBVWBYhhLOAVrKOlIlDH0aZ1TnIwSb5g6ux/XuKwsz9CtQqhuCKRdYQDOISDlUeUZ8htQ==","signatures":[{"sig":"MEUCICKBe8vTyVURiopTJK9Fwk2IfK7Cj4fNWrapQYE+sKN5AiEAxBhWPCK1E/2x543eS3PjznPG92M+07H9P92ufGLDPxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72255},"main":"index.js","gitHead":"e9d5d6139039e948bad7862b2b2ba9b053a28f6a","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.4_1716615024032_0.6331276072081744","host":"s3://npm-registry-packages"}},"1.31.5":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.5","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.5","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"dist":{"shasum":"97552f4f14f4cd222ad3850b2a4e8cd3a72ee290","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.5.tgz","fileCount":43,"integrity":"sha512-aE1SNq5iehjJKJYvVZPDkBNiu9FVpF3iSrE8sSY5TGMbxC/XajYU+sJjwl01j2YnKfyRPxN7Rydt7g2DGvVaKQ==","signatures":[{"sig":"MEUCIFXB75z9XIyvyMMDabfP2uEv61TiE1D4yJiJdgw3N9dBAiEAn3j9scY4lzNCWWRRs+bMacCGwPzhWFM+hy8W11BEAtU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72244},"main":"index.js","gitHead":"5005c0ad57d0a83203ffcfdc4368565083001858","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.5_1716616002407_0.6128673907407636","host":"s3://npm-registry-packages"}},"1.31.6":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.6","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.6","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"dist":{"shasum":"a99801e5a1cee06fab21c4f46bfb1db07ed079d7","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.6.tgz","fileCount":43,"integrity":"sha512-ZZGhdicBGuKe9va8eN3hXSINXA0f/BdisLpgrSohtyNotif5/zj7bjI0TqaJYbsKTtnFU+IRiEd2dEoD+s+atA==","signatures":[{"sig":"MEQCIAHisn+xGx0z/s0SGD5w2r7qdHwe71RfkyVsQMwhzvDBAiBK0oMcAopd7ca3huap9FrdpM7Gocdp0l1k1VrLPYXYtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72067},"main":"index.js","gitHead":"a8f1c0299e604665310e6d2585d8bfe161536425","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.6_1716659005508_0.8875952603380892","host":"s3://npm-registry-packages"}},"1.31.7":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.7","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.7","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"dist":{"shasum":"ba6f8541e08441908e2c2e48b484c143c3740fbb","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.7.tgz","fileCount":43,"integrity":"sha512-nkaW4S5bI9iqTg62wgTeaKzaJTPwzxVq+Gmu1puhc2BlP8kzCfr4mLjfhBd/HUB0KViFp5CkBSkh6r/peesRcw==","signatures":[{"sig":"MEQCIHAem574VPaef5J5Z9QbZQxCYZoQ2ceREImlZxEIzo7jAiA+cgbUQ6+zr8NoimAzUliWZchOC23U8pZLwIw22+rNtw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72046},"main":"index.js","gitHead":"732238c63cf3e13994ee9bfbe70e52aed769b8e9","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.7_1716676989760_0.6700197841483997","host":"s3://npm-registry-packages"}},"1.31.8":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.8","keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","_id":"@admon-dev/screepsmod-admin-utils@1.31.8","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/screepsmod-admin-utils","dist":{"shasum":"9e7175167f8453d1474270f6cd341b1bf8d0c037","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.8.tgz","fileCount":43,"integrity":"sha512-aq2YYl9flVVKVKAdtIPnCY4tbadL1UKgGAA+cA12gIfF9VqjdDuTIVodKvNhpeXWEZTB1oypiXPIQE9DKvZD9Q==","signatures":[{"sig":"MEUCICuUrD40XYpkwZ5cDxTb81idinkmQBHpYsa6hVYVMUdMAiEAx8jWDYuif/Gau3psd7z3bfNywTanrr7MIE3JFjQv8+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71703},"main":"index.js","gitHead":"58f4a7323b6aa2a477799c83278f653ddae9476a","scripts":{"2npm":"publish","test":"standard"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"_npmVersion":"10.5.0","description":"A screeps mod with utils for private server admins.","directories":{},"screeps_mod":true,"_nodeVersion":"20.12.2","dependencies":{"axios":"^0.19.0","ramda":"^0.27.1","lodash":"^4.17.21","yamljs":"^0.3.0","body-parser":"^1.19.0","screepsmod-admin-utils-ui":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"publish":"^0.6.0","standard":"*","@screeps/backend":"^3.2.3"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"_npmOperationalInternal":{"tmp":"tmp/screepsmod-admin-utils_1.31.8_1716678305857_0.34015316251966143","host":"s3://npm-registry-packages"}},"1.31.9":{"name":"@admon-dev/screepsmod-admin-utils","version":"1.31.9","description":"A screeps mod with utils for private server admins.","homepage":"https://github.com/admon84/screepsmod-admin-utils","main":"index.js","scripts":{"test":"standard","2npm":"publish"},"devDependencies":{"@screeps/backend":"^3.2.3","publish":"^0.6.0","standard":"*"},"screeps_mod":true,"keywords":["screeps","mod"],"author":{"name":"Alina Shumann"},"license":"MIT","dependencies":{"axios":"^0.19.0","body-parser":"^1.19.0","lodash":"^4.17.21","ramda":"^0.27.1","screepsmod-admin-utils-ui":"^0.4.0","yamljs":"^0.3.0"},"peerDependencies":{"@screeps/backend":">=3.2.3"},"gitHead":"207e93d025ecaed7d50ad729109bfe15248726a4","_id":"@admon-dev/screepsmod-admin-utils@1.31.9","_shasum":"0033950ce684039624a0c96ad2e150a2740d1877","_from":".","_npmVersion":"2.15.12","_nodeVersion":"20.12.2","_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"dist":{"shasum":"0033950ce684039624a0c96ad2e150a2740d1877","tarball":"https://registry.npmjs.org/@admon-dev/screepsmod-admin-utils/-/screepsmod-admin-utils-1.31.9.tgz","integrity":"sha512-wJoAV+1vS1hyb0cpib1sS7I7HxPNzbfhAdNR8MJkj9pYnHwPQdacREClKfCX03tO3UIjJ05Uc9dVzSUcSvg8DQ==","fileCount":45,"unpackedSize":201121,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJvb8ldILU97pP3jPiJjej8e14glhHTUPPvu0iL8WxwAiEAtjPH3npGXZEaZQHgicYYnGVAbTEC5WTtw8FX8Onb5+M="}]},"directories":{},"maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/screepsmod-admin-utils_1.31.9_1723601650758_0.8622382944322853"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-26T03:13:20.399Z","modified":"2024-08-14T02:14:11.162Z","1.31.2":"2024-01-26T03:13:20.615Z","1.31.3":"2024-01-26T03:57:35.852Z","1.31.4-dev.0":"2024-05-25T05:24:22.289Z","1.31.4":"2024-05-25T05:30:24.165Z","1.31.5":"2024-05-25T05:46:42.553Z","1.31.6":"2024-05-25T17:43:25.696Z","1.31.7":"2024-05-25T22:43:09.927Z","1.31.8":"2024-05-25T23:05:06.039Z","1.31.9":"2024-08-14T02:14:10.951Z"},"author":{"name":"Alina Shumann"},"license":"MIT","homepage":"https://github.com/admon84/screepsmod-admin-utils","keywords":["screeps","mod"],"description":"A screeps mod with utils for private server admins.","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"readme":"# @admon-dev/screepsmod-admin-utils\n\n[![Code Style](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![License](https://img.shields.io/npm/l/@admon-dev/screepsmod-admin-utils.svg)](https://npmjs.com/package/@admon-dev/screepsmod-admin-utils)\n[![NPM](https://img.shields.io/npm/v/@admon-dev/screepsmod-admin-utils.svg)](https://npmjs.com/package/@admon-dev/screepsmod-admin-utils)\n\nThis is a Collection of utilities for Screeps Private Server admins.\n\n> [!CAUTION]\n> Experimental version. Use official [screepsmod-admin-utils](https://github.com/screepsmods/screepsmod-admin-utils) for the best experience.\n\n## Import Maps\n\n> [!IMPORTANT]\n> [screepsmod-mongo](https://github.com/screepsmods/screepsmod-mongo) is required for map imports.\n\nAfter importing a map, restart the server and use `system.resumeSimulation()` to unpause (start) game ticks.\n\n### `utils.importMap(urlOrMapId)`\n\nImports a map from a url or [maps.screepspl.us](https://maps.screepspl.us)\n\nIf the id is `random` or `random_WxH` a map will be randomly selected.\n1x1 is assumed if size isn't specified.\n\n### `utils.importMapFile(filePath)`\n\nImports a map from a json file.\n\n### `utils.addNPCTerminals(interval = 10)`\n\nCreates NPC Terminals.\n\nThe `interval` defines how often they are added, with the default value of `10` matching the behavior of the public server.\n\nA simple way to understand the `interval` is that it will place rooms where `x % interval === 0 && y % interval === 0`.\n\n### `utils.removeNPCTerminals()`\n\nRemoves all NPC Terminals.\n\n### `utils.removeBots()`\n\nRemoves all Bots.\n\n### `utils.setSocketUpdateRate(value)`\n\nSets socket update rate (in ms)\n\n### `utils.getSocketUpdateRate()`\n\nReturns current socket update rate\n\n### `utils.setShardName(value)`\n\nSets the shard name\n\n### `utils.getCPULimit(username)`\n\nReturns current cpu limit for username.\n\n### `utils.setCPULimit(username, value)`\n\nSets cpu limit to value for username. Will be overriden if GCLToCPU scaling is enabled.\n\n### `utils.enableGCLToCPU([maxCPU], [baseCPU], [stepCPU])`\n\nEnables GCLToCPU scaling which raises all user's CPU limit based on their GCL. The formula is `Math.min((gclLevel * stepCPU + baseCPU), maxCPU)`. Parameters are optional and default to maxCPU: 300, baseCPU: 20, stepCPU: 10. Enabling through the CLI will not persist after a server restart. Update the values in your config.yml to persist the settings.\n\n### `utils.disableGCLToCPU()`\n\nDisables GCLToCPU scaling. Disabling through the CLI will not persist after a server restart. Update the values in your config.yml to persist the setting.\n\n### `utils.reloadConfig()`\n\nReloads the serverConfig section of a screeps-launcher config.yml\n\nconfig.yml example: (This can be the same file as screeps-launcher's config.yml)\n```yaml\n# Most of these fields will live reload on save. \n# Values set here will override any saved via CLI on server startup\nserverConfig: \n  map: random_1x2 # utils.importMap will be called automatically with this value, see utils.importMap above\n  tickRate: 200\n  socketUpdateRate: 200\n  whitelist: # Does not restrict login, only restricts spawning\n  - ags131\n  - zeswarm\n  shardName: 'screepsplus1'\n  constants:\n    UPGRADE_POWER: 10\n    POWER_CREEP_SPAWN_COOLDOWN: 3600000 # 1 Hour\n    POWER_CREEP_DELETE_COOLDOWN: 3600000\n  welcomeText: |\n    <h1>Welcome</h1>\n    <div>Powered by screepsmod-admin-utils</div>\n  statsToken: ...splusToken... # This enables submitting stats to S+ Grafana. Note: shardName MUST be set\n  gclToCPU: true\n  maxCPU: 100\n  baseCPU: 20\n  stepCPU: 10\n```\n\n## Endpoints\n\nA few extra endpoints are implemented enabling some extra debuging and tools.\n\n- `GET /stats` Lots of useful stats on server performance.\n- `GET /api/user/world-start-room` Dynamically returns a start room for the client.\n- `GET /api/experimental/pvp` Same as on mmo, returns active pvp rooms.\n- `GET /api/experimental/nukes` Same as on mmo, returns nukes.\n","readmeFilename":"README.md"}