hello I am using the minereset plugin and after installing PurePerms or some other pluging Mine Reset was somehow corrupted. I have a lot of mines, so I would like to either fix this error or reinstall the .phar and keep my mines somehow? I dont mind reinstalling I just want to use the Mines.yml to restore the "backup" Plugin Errors Code: Server thread/CRITICAL TypeError: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in phar:///plugins/MineReset.phar/src/minereset/MineReset.php on line 198" (EXCEPTION) in "/MineReset.phar/src/minereset/Mine" at line 13 I dont know if this is useful but here it is anyway Mines.YML Code: --- mine01: - 580 - 1602 - 14 - 15 - 452 - 453 - "21:0": "0.01" "56:0": "0.01" "1:0": "19.19" "14:0": "0.4" "4:0": "77.1947" "129:0": ".0003" "15:0": "1.0" "16:0": "2.495" - Mining mine02: - 580 - 1601 - 14 - 15 - 458 - 459 - "21:0": "0.01" "56:0": "0.005" "1:0": "19.59" "14:0": "0.4" "4:0": "78.7947" "129:0": ".0003" "15:0": "0.6" "16:0": "0.6" - Mining mine03: - 580 - 1601 - 14 - 15 - 463 - 464 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine04: - 580 - 1605 - 14 - 15 - 468 - 469 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine05: - 580 - 1601 - 14 - 15 - 473 - 474 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine06: - 580 - 1606 - 14 - 15 - 478 - 479 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine07: - 580 - 1601 - 14 - 15 - 483 - 484 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine08: - 580 - 1601 - 14 - 15 - 488 - 489 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine09: - 580 - 1603 - 14 - 15 - 493 - 494 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine10: - 580 - 1601 - 14 - 15 - 498 - 499 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine11: - 580 - 1601 - 14 - 15 - 503 - 504 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine12: - 580 - 1601 - 14 - 15 - 508 - 509 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine13: - 580 - 1602 - 14 - 15 - 513 - 514 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine14: - 580 - 1601 - 14 - 15 - 518 - 519 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine15: - 580 - 1601 - 14 - 15 - 523 - 524 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine16: - 580 - 1602 - 14 - 15 - 528 - 529 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine17: - 580 - 1602 - 14 - 15 - 533 - 534 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine18: - 580 - 1602 - 14 - 15 - 538 - 539 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine19: - 580 - 1604 - 14 - 15 - 543 - 544 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining mine20: - 580 - 1602 - 14 - 15 - 548 - 549 - "21:0": "0.01" "56:0": "0.0005" "1:0": "19.59" "14:0": "0.4" "4:0": "79.9995" - Mining ...
so I noticed that this may be an issue with my hosting company's PocketMine.YML Hosting Company PocketMine.YML Code: aliases: null anonymous-statistics: enabled: true host: stats.pocketmine.net auto-report: enabled: true host: crash.pocketmine.net send-code: true send-phpinfo: false send-settings: true chunk-generation: population-queue-size: 8 queue-size: 8 chunk-sending: cache-chunks: false max-chunks: 192 per-tick: 5 spawn-threshold: 56 chunk-ticking: clear-tick-list: true light-updates: false per-tick: 40 tick-radius: 3 debug: commands: true level: 1 disable-block-ticking: - 51 - 79 golem: iron-golem-enabled: false snow-golem-enabled: false hunger: enable: true level-settings: always-tick-players: false auto-tick-rate: true auto-tick-rate-limit: 20 base-tick-rate: 1 chunk-radius: 5 convert-format: false default-format: mcregion log: enable: true memory: check-rate: 20 continuous-trigger: true continuous-trigger-rate: 30 garbage-collection: collect-async-worker: true low-memory-trigger: true period: 36000 global-limit: 1536M main-hard-limit: 1536M main-limit: 1536M max-chunks: low-memory-trigger: true trigger-chunk-collect: true trigger-limit: 96 world-caches: disable-chunk-cache: true low-memory-trigger: true network: async-compression: false batch-threshold: 256 compression-level: 7 upnp-forwarding: false settings: async-workers: auto deprecated-verbose: true enable-profiling: false force-language: false incompatible-plugins: true language: eng profile-report-trigger: 20 query-plugins: true shutdown-message: Server closed. Thanks for playing on an ImagicalMin server! spawn-limits: ambient: 15 animals: 15 monsters: 70 water-animals: 5 ticks-per: animal-spawns: 400 autosave: 6000 cache-cleanup: 900 monster-spawns: 1 weather-settings: enable-weather: true weather-minutes: random worlds: null I tried changing "worlds:null" to; Code: Worlds: worldname1: [] worldname2: [] This setting did not work and still loaded "null" I am thinking it is a server limitation set by the company or my implementation of world loading is incorrect. I have contacted the Hosting company and will reply when I get an answer from them
After trying to set the Default world to the World that contains the mines I get the following error Code: ServerThread/CRITICAL TypeError: "Argument 5 passed to minereset\Mine::__construct() must be of the type array, boolean given, called in phar:///plugins/MineReset.phar/src/minereset/MineReset.php on line 198" (EXCEPTION) in "/MineReset.phar/src/minereset/Mine" at line 13
Code: 21.03 00:23:34 [Server] Server thread/INFO This server is running PocketMine-MP 1.6.2dev 「Unleashed」 implementing API version 3.0.0-ALPHA4 for Minecraft: PE v1.0.4.11 (protocol version 102)
ahhhh I did not add the space Code: Worlds: worldname1: [] worldname2: [] Should Actually Be; Code: Worlds: worldname1: [] worldname2: [] I will see if this works and post back
I am using the Latest Mine Reset Phar file Found here Mine Reset Plugin formatting the world the correct way like the example you gave did in fact load the worlds at start up, except now no matter what default world I select I still get "error arguments 5" Boolean given EDIT: I have found This Thread that details how to fix level not loading Arguments 4 but I have loaded the worlds and now receiving a new error. Although maybe the modified code provided here could fix my issue? Newest Error Arguments 5 Passed MineReset Plugin Code: ServerThread/CRITICAL TypeError: "Argument 5 passed to minereset\Mine::__construct() must be of the type array, boolean given, called in phar:///plugins/MineReset.phar/src/minereset/MineReset.php on line 198" (EXCEPTION) in "/MineReset.phar/src/minereset/Mine" at line 13
This issue has been fixed. I reuploaded my old Mines.yml and it worked fine, I can only assume Argument 5 was cause because I was trying to test the plugin and see if it worked if I set new mines and I did not use the /mine set [MineName] command Mines.YML broken config Code: mine-test: - 0 - 0 - 0 - 0 - 0 - 0 - false - Mining