Skip to content

Release 2.7.1

Compare
Choose a tag to compare
@tastybento tastybento released this 31 Jul 05:36
· 24 commits to master since this release
92016ed

This reverts the changes in 2.7.0 because structures were not actually being placed and there was a bug. This version fixes the placement of structures, but they will be placed gradually when a new box is made, so the lag protection is not yet optimal. This will be improved in future versions. If players did make a box with 2.7.0 then they won't have any structures, so sorry about that.

Compatibility

✔️ BentoBox API 2.4.x
✔️ Minecraft 1.20.4, 1.20.6, 1.21
✔️ Java 21
❌ Multiverse - not compatible! It does not work after a reboot.

Introduction

Boxed gives each player the same play area and they start within a tiny 2x2 box world border. By completing Advancements they can expand the box.

This game mode can also be used just to give each player the same survival world area to play in and the advancement option can be turned off in config.yml.

This release reduces the number of seed worlds so that start up is a lot faster. However, it is still recommend to ensure your server has enough RAM dedicated to your JVM, so use the correct flags during startup. Here is my start.sh for running on Paper:

#!/bin/sh
java -Xms12G -Xmx12G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true  -jar paper.jar nogui

In addition to Boxed, be sure to use InvSwitcher and Border otherwise the game will be a bit odd!

Boxed Worlds

Boxed makes one set of seed worlds and one set of game worlds. The seed world is what is used to copy and paste when when the player starts an island. Please do not delete these worlds, otherwise boot up will take a long time again.

Boxed currently supports the overworld and the nether, but not the End.

New Island/Area

Once a new area is made for a player, Boxed will then start to place down vanilla structures, like villages, shipwrecks, pillager outposts, etc. These are placed after the player arrives in their box over a span of time to avoid lagging the server. The templates to set can be found in the structures.yml file. The x and z coordinates are relative to the starting point of the player and the y coordinate is absolute. Admins can edit this file, or use the admin boxadmin place command to place additional vanilla structures/templates. If you do, then the file will be automatically updated so that the next player to make an island will have that structure. If you accidentally place something in the wrong spot, you can either delete the line in the structures.yml file or edit to coordinates manually. In the future, there may be an undo option.

The boxed place command is very similar to the /place command except that it registers the placement and uses it for new players.

Unfortunately, there are some structures that cannot be placed: fortresses, underwater monuments are two of them. I think this is because they use legacy code to place them rather than the more recent templates system. It is possible that a fortress may spontaneously generate in either the seed world or the player's world, but right now, it's not possible to explicitly place one (yet).

Installing

  1. Install BentoBox
  2. Place Boxed into your Addons folder
  3. Add Border and InvSwitcher as well
  4. Start the server
  5. Wait for about 8 to 10 minutes for it to pre-generate the worlds! Yes, it will take a while.
  6. Log in and type /box to start
  7. Have fun!

What's Changed

Full Changelog: 2.7.0...2.7.1