Vanilla Minecraft has a bug where the buried treasure search is so slow that it can sometimes freeze your game. It also happens in multiplayer, if anyone opens a buried treasure search, the server can sometimes crash. Contrary to what the bug tracker says, as of Minecraft 1.20.1, this is not fixed.
This plugin fixes these types of crashes by replacing the vanilla buried treasure search with a custom, faster and simpler one: it just picks a random beach within reasonable distance and places the treasure there. Since this is mostly asynchronous, it won't cause lag.
- Placing a treasure won't override player builds, it'll only place a treasure if the top block of the location is sand, and if there's a certain number of sand blocks below where it can be buried
- OkTreasures does not work in non-vanilla worlds (e.g. worlds generated using plugins)
- The plugin picks totally different treasure locations than vanilla Minecraft would. While you can still use
/locateto find buried treasures (not recommended), you won't find any maps in shipwreck chests pointing to these
- The map the plugin gives you looks different from vanilla maps
Image made with Bing Image Creator