Skip to content

v1.1.0 - Database & Async Improvements

Choose a tag to compare

@dinization dinization released this 01 Nov 15:43
· 14 commits to main since this release

🚀 Features

  • Persistent Database: Introduced wolves.yml to track level, XP, ranks, and location of all wolves.
  • Async Wolf Calling: /wolfs call now works across worlds and unloaded chunks! It asynchronously loads the chunk, fetches the wolf, and teleports it without lagging the server.
  • Global Wolf List: /wolfs list now reads from the database, showing all your wolves (and their current world) even if they are unloaded.
  • Autosave System: The plugin now automatically saves wolf data periodically and on server shutdown to prevent data loss.
  • Admin Shortcut: Added /wolfs admin frm as a shortcut for force-removing wolves.

🛠️ Improvements

  • Database-Driven Limit: The max_wolves limit and name generation now check the database instead of scanning the worlds, making it faster and globally accurate.
  • Safe Removal: Added a warning message if a player tries to remove an unloaded wolf, suggesting they use /wolfs call first.