{"_id":"@bdsx/realtimedaycycle","name":"@bdsx/realtimedaycycle","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bdsx/realtimedaycycle","version":"1.0.0","description":"Minecraft Bedrock Server with an almost lifelike day/night cycle (requires bdsx)","main":"src/index.js","keywords":[],"author":{"name":"NotoriousPyro"},"homepage":"https://github.com/NotoriousPyro","repository":{"type":"git","url":"git+https://github.com/NotoriousPyro/realtimedaycycle.git"},"license":"ISC","bdsxPlugin":true,"scripts":{"build":"tsc","watch":"tsc -w","prepare":"tsc || exit 0"},"devDependencies":{"@types/node":"^12.20.36","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","bdsx":"file:../bdsx","eslint":"^7.32.0","typescript":"^4.7.4"},"gitHead":"1b8a0b582e0627db0e3bbbd5c239c4a20d83aef1","bugs":{"url":"https://github.com/NotoriousPyro/realtimedaycycle/issues"},"_id":"@bdsx/realtimedaycycle@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-E5Heyid2K5gZfdOumWBKlBtWoA6a2Q2kEjWfJdf4eM7gLDhJ/Uibp4e6nOQPayjeV/hRs6zl/++nkNrTXng3fQ==","shasum":"f8c42867b3c481a2f87430a94247522de54a9947","tarball":"https://registry.npmjs.org/@bdsx/realtimedaycycle/-/realtimedaycycle-1.0.0.tgz","fileCount":6,"unpackedSize":13061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCng1qY1OWNtCuYnm9MjiqRwukXK7zCgp9iG+Ta07qFLQIgOrJ2Sy5lacxl3x0/BTCsN8X7nWPgjq8bOEC8CMMrhc4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1bEAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9ChAAjHRO7YAzCYnlEvkX8xptNRgmZcBn3PPVqB2QB30x+/Pqpszb\r\nKAq0wiVw8WdCG0p5f+hFMhQhKu5vHy7cTgkei/jRfNhLgBAHNLND5+Yt9Dx/\r\niUFxdMLCvozqe/0hRLj1KBOzGSEEdtXuqIXSpJe7hu0s7KnpXqxC+ojovQ4I\r\n58xUMpDgxVvcWM7c8SImVyQgeYlQu5NHzzTPEL5Djcdyc3CyeaT8SuW58dUZ\r\nBKZZ5vK1wON91FR9El3mX6sMDcG16+gzn465BVuFrXR346+T8zT1gwrYMBBM\r\nAX5DLje/N1AuSAb8pGr5CfePFnjZj3kc9H1MmSXqE476tGWIjm+ZH18eYxle\r\nVOSJTfanLUzXUAeXvyIsBcKgAG5EqmGN079Slamux3vP2u2J8lBa/KaC+l/G\r\nLUMeFB3JM4VMQB9H4av59ATLUvOp6C+sq5FntFRTQPjUTkHfMUOwPAkuo3Qd\r\nv1/fBBHPblxTIh9SW9vVFiXl5eS3C3TYIFcLjb1HlLS2JEtV3rjd0iBGBQB4\r\na9SxIT5YbL0AV3JJa7i53PAY/D9W8Q9DDZzJaFd2kDExt/EdmPDfKUkp8jil\r\n07A1Yt7Zy+w04plC4EMnBEA6pbqpjcOmzM7Z2lHUAMcqJn72L9VuaGX1azSR\r\nsN2+hwivuL+zpcZPRc+Eu84JEIZKDs93IIQ=\r\n=t/Bc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"notoriouspyro","email":"craigcrawford1988@gmail.com"},"directories":{},"maintainers":[{"name":"notoriouspyro","email":"craigcrawford1988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtimedaycycle_1.0.0_1658171648472_0.4157689719875992"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-18T19:14:08.411Z","1.0.0":"2022-07-18T19:14:08.680Z","modified":"2022-07-18T19:14:08.871Z"},"maintainers":[{"name":"notoriouspyro","email":"craigcrawford1988@gmail.com"}],"description":"Minecraft Bedrock Server with an almost lifelike day/night cycle (requires bdsx)","homepage":"https://github.com/NotoriousPyro","keywords":[],"repository":{"type":"git","url":"git+https://github.com/NotoriousPyro/realtimedaycycle.git"},"author":{"name":"NotoriousPyro"},"bugs":{"url":"https://github.com/NotoriousPyro/realtimedaycycle/issues"},"license":"ISC","readme":"\n# Real Time Day Cycle Plugin\nMinecraft Bedrock Server with an almost lifelike day/night cycle (requires bdsx)\n\n## Configuration\nWhen the plugin is run, it will try to read (or create if it doesn't yet exist), the `config.json` file, loading all the plugin's configuration.\n\nThis file is created relative to the current executing process: `../config/RealTimeDayCycle`.\n\nThis executing process is expected to be `bedrock_server` or `bedrock_server.exe` running with bdsx, thus you can expect to find `config/RealTimeDayCycle` relative to the root of bdsx.\n\nThe config options are described as follows:\n\n* `recalculation-interval`\n\n    How often (in ms) to calculate the ingame time.\n\n    Setting this too LOW will reduce performance (more recalculations).\n    \n    Setting this too HIGH will result in \"jerkiness\" of day/night cycles.\n\n    *Default: `1000` (1 second).*\n\n* `timecycle-multiplier`\n\n    Multiplier to which real days relate to Minecraft days.\n\n    Setting this too low or high will possibly have unexpected effects.\n\n    *Default: `1.0` (1 real day = 1 Minecraft day).*\n\n    *Recommended minimum: `0.10`.*\n\n    *Recommended maximum: `72.0` (minecraft default).*\n\n    Examples:\n    * `0.25` means 1 real day = 6 Minecraft hours\n    * `0.5` means 1 real day = 12 Minecraft hours\n    * `1.0` means 1 real day = 1 Minecraft day\n    * `2.0` means 1 real day = 2 Minecraft days\n    * `3.0` means 1 real day = 3 Minecraft days\n\n* `reference-date`\n\n    Epoch date which the ingame time will be referenced from.\n    \n    Since minecraft `24000` is equal to `06:00:00`, it is most realistic to set this to the same time, e.g: `2022-07-16T05:00:00.000Z`\n\n    The day is less relevant, but the daytime will be based on this date.\n    \n    Setting this too far in the past could have unexpected effects.\n\n    Setting this to a future date could have unexpected effects.\n\n    There are no ill effects of bringing this date closer to the current time even in previous worlds.\n\n    Date parsing is done by built-in JS [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date) constructor. While you can use any format supported by the Date constructor, but only the documented formats here are officially supported.\n\n    *Default: based on the current date when `config.json` was generated*\n\n    Examples (assuming all other settings are their default):\n\n    | `reference-date`           | Current real time          | Minecraft `daytime`          |\n    | -------------------------- | -------------------------- | ---------------------------- |\n    | `2022-07-16T05:00:00.000Z` | `2022-07-16T05:00:00.000Z` | `0`                          |\n    | `2022-07-16T05:00:00.000Z` | `2022-07-17T05:00:00.000Z` | `24000` (1 Minecraft day)    |\n    | `2022-07-16T05:00:00.000Z` | `2022-07-17T00:00:00.000Z` | `18000` (Minecraft midnight) |\n    | `2022-07-16T06:00:00.000Z` | `2022-07-16T05:08:00.000Z` | `1000` (1 Minecraft hour)    |\n","readmeFilename":"README.md"}