Medieval Realms 0.2.1

Feb 16, 2024

Hey everyone! The latest update for Medieval Realms is here! 🎉

This new version brings improved functionality, minor tweaks, and a long-awaited overhaul to the Land Management Menu. Plus, we’ve introduced some fun updates for the bot and even managed to squeeze in some bug fixes. Let’s dive into the details!

New in This Update:

  • Deed management improvements
  • Deed name length increased from 30 to 60 characters
  • The bot now progresses time to 7:00 AM when a player sleeps after 10:00 PM
  • New bot death messages
  • Minor bug fixes

Land Management Menu Enhancements

The Land Management Menu, accessed via the B key, has received a significant upgrade. Behind the scenes, I created a custom algorithm to manage land deeds efficiently. This wasn’t your typical “flood fill” operation—it had to work in three dimensions and be lightning-fast.

The result? During testing, I successfully renamed over 5,000 connected land deeds and saved them to the database in under 50 milliseconds ⚡—all on a workstation, not even server-grade hardware!

While it might not look flashy, this update was a challenging but essential step. Land deeds are the backbone of protecting your builds, and I take that responsibility very seriously. Thanks to this update, managing your deeds has never been easier.

Also, a reminder: Medieval Realms has dual backup systems, so as long as you protect your builds with deeds, they’re safe. And don’t worry—there are no server resets here!

Updated Deed Management Options

Here’s what’s new in the Deed Management Menu:

  • Rename Single Deed: Set the name for one deed as before.
  • Rename All Connected Deeds: Rename the deed you’re standing in and all vertically and horizontally connected deeds, no matter how far they extend.
  • Rename All Unconnected Deeds: Rename all your deeds that aren’t connected to the one you’re standing in. Perfect for renaming remote builds!
  • Rename All Deeds: Rename every deed you own across the server.
  • Sell Single Deed: Sell an individual deed, just like before.
  • Sell All Connected Deeds: Sell the cluster of connected deeds you’re standing in with one command.
  • Sell All Unconnected Deeds: Sell all unconnected deeds while keeping the deeds tied to your current base. Great for clearing out unused land.
  • Sell All Deeds: Start fresh by selling everything in one go.
  • Set Default Deed Name: Save time by setting a default deed name. This won’t rename anything immediately, but it will autofill rename options for future edits.

I’ve also standardized and streamlined dialogue boxes across the plugin, making them more user-friendly.

Bot Updates

The bot now:

  • Advances time to 7:00 AM when any one player sleeps after 10:10 PM. No need to wait for everyone to hop into bed when it gets dark.
  • Features new death messages (but let’s not test them too often, okay? 😉).

Update Video

I made a short video showcasing this update! Fair warning: I was running on caffeine and deadlines, so the result may be a little chaotic—or should I say… “deed-y”? 🤪

Either way, I hope you enjoy it!

A Huge Thanks! 🥳

This version is dedicated to some amazing players: Solveign, Bamse, Shadow Warrior, Disco, HDSoares, Xottel, MommaT, and Hexa. Your support and feedback mean the world to me. Thank you! ❤

What’s Next?

While this post focuses on the current update, here’s a sneak peek: the bank is coming back! 🤫 Stay tuned for details in the next update.

As always, if you spot any bugs, let me know so I can fix them. Thanks for being part of this incredible journey.

Skål!
Yahwho

Changelog 0.2.1 (16-02-2024)

  • [New] Improved Land Management
  • [Change] Code cleanup