Skip to content

WorldAPI 2.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 20:43

WorldAPI goes public: MIT-licensed, on Modrinth and Hangar, with releases made by hand from GitHub Actions.

  • Pick your database. SQLite stays the default and needs no setup. PostgreSQL, MySQL, and MariaDB work too: set the new database section in config.yml. An existing worldapi.db keeps working with no data lost.
  • Find things nearby with GET /worlds/{world}/search: the nearest blocks of some types in loaded chunks, or the nearest biome. Block search always needs a token, since it would work as an x-ray.
  • Recipes with GET /recipes: what makes an item, and what uses it.
  • The console log with GET /server/logs, for admin tokens, with tokens blanked out.
  • Restart with a countdown with POST /server/restart: it warns players in chat, saves, and stops the server; DELETE calls it off. Something must start the server again, such as Docker鈥檚 restart policy.
  • Clear entities in bulk with DELETE /worlds/{world}/entities: by type and area, sparing players, named mobs, and pets, with a dry run.
  • Find lag faster: GET /worlds/{world}/chunks?sort=entities puts the busiest chunks first, and GET /server/performance names each world鈥檚 most common entity types.
  • A world鈥檚 time now says how many ticks are left until night and whether beds work.
  • Advancements name their parent, so the list of unfinished ones reads as what to do next.
  • New limits: maxBlockSearchRadius, maxBiomeSearchRadius, maxEntityRemoval, consoleLines. Older configs load as they are.

No field was renamed or removed, so 1.x clients keep working.