Boxed-3.5.0.jar
What's new
Boxed 3.5.0 brings Boxed up to Paper 26.3, BentoBox 3.23 and Java 25. It makes new boxes much less laggy to set up, and fixes several permission problems. It also adds options to disable teams and to turn individual vanilla structures on or off.
- 🔺 Java 25 required: Boxed is now built for Java 25 and BentoBox 3.23. It will not load on an older Java, even on Minecraft 1.21.x servers.
- ⚙️ Smoother structure placement in new boxes: the villages, shipwrecks, ruins and other structures in a new box now appear within seconds instead of over several minutes. They no longer make the server generate chunks during a tick, which caused the biggest lag spikes.
- 🔺 Structures are no longer placed twice: after a restart, structures could be placed again on top of a player's box, overwriting builds and spawning extra mobs. This is fixed, and leftovers from older versions are cleaned up automatically.
- ⚙️ Disable teams: the new
area.teams-disabledoption turns off team invites, joining, kicking and ownership changes in Boxed. - ⚙️ Control vanilla structures: the new
world.structure-settingsoption turns individual vanilla structures off, or forces them on, in Boxed worlds. - 🔺 Permission fixes: players can now list, rename and delete their homes without extra permissions, and
/boxadmin placehas a correct permission node.
[PR #141]
The structures listed in structures.yml used to be placed one every 3 seconds. A new box's ~70 structures therefore took about 3½ minutes to appear, and the player was usually standing in the box the whole time. Structures are now placed in a per-tick time budget. Boxed places as many as fit in the budget each tick, so a new box gets its structures within a few seconds, and each tick's cost stays capped.
The budget is set by the new boxed.structure-time-budget option, in milliseconds per tick (default 10; a tick is 50 ms). Lower it if structure placement causes lag. 0 places one structure per tick.
Profiling also showed that most of the remaining lag came from structures that reached into chunks that weren't loaded yet. That made the server generate those chunks on the spot, holding up the tick. A structure is now placed only once every chunk it could touch is loaded. Otherwise it waits until the server loads those chunks anyway, usually when a player comes near. On a test server, this removed every chunk load caused by structure placement, cut the time spent placing structures by about 40%, and left no ticks over 50 ms caused by structures.
⚙️ Behaviour change: a structure near the edge of a box now appears when a player first comes close to it, instead of straight after the box is created.
[PR #138]
New option area.teams-disabled (default false). When true, team invite, accept, kick, leave, promote and setowner are blocked in Boxed. Trust and coop still work. If you turn this on with existing teams, run /boxadmin team disbandall afterwards.
[PR #138]
New option world.structure-settings (default {}). Boxed worlds use vanilla generation, so this lets you turn individual vanilla structures off (false) or force them on (true), overriding BentoBox's global world.disabled-structures list. Disabled structures are also removed from /locate, Eyes of Ender, explorer maps and dolphin searches.
[PR #141]
Placed structures were never removed from Boxed's saved to-do list. After a restart, every box created since the previous restart had its structures placed a second time when a player visited, overwriting builds and spawning extra mobs. Structures are now removed from the list once placed. Before placing anything, Boxed checks whether that structure is already recorded at that spot, which also cleans up lists saved by older versions. Entries for boxes that no longer exist are dropped at startup.
[PR #141]
If a structure couldn't be loaded, no further structures were placed until the server restarted. A missing structure name in structures.yml also skipped every structure listed after it. Now only the missing structure is skipped.
[PR #139]
boxed.island.homes, boxed.island.renamehome and boxed.island.deletehome were not declared, so only operators had them. They now default to true, matching BSkyBlock, AOneBlock and AcidIsland. Island-rank limits from the Command Ranks panel still apply. To keep a command operator-only, negate its permission.
[PR #140]
The command checked the doubled node boxed.boxed.commands.boxadmin.place, which was not declared, so only operators could use it. It now uses boxed.admin.place (default op), like the other admin commands.
-
Paper 26.3, BentoBox 3.23.7 and Java 25: Boxed is now built against Paper 26.3 and BentoBox 3.23.7 (
api-version3.23.0). The jar now tells Paper it uses Mojang mappings, so Paper loads it without remapping. Boxed has no NMS code, so nothing needed remapping. [PR #138] - Underwater ruins: water is filled in without block updates, which is faster. [PR #141]
- Tests: new tests for structure placement; 183 tests in total. [PR #141]
✔️ BentoBox 3.23.0 or newer (built against 3.23.7) ✔️ Paper 1.21.5 – 26.3 ✔️ Java 25
- Take a backup.
- Stop your server.
- 🔺 Make sure the server runs Java 25 and BentoBox 3.23.0 or newer.
- Replace the old
Boxedjar inplugins/BentoBox/addonswith this release. - Start the server. The new options (
boxed.structure-time-budget,area.teams-disabled,world.structure-settings) are added toconfig.ymlwith their defaults. - 🔺 If you granted
boxed.boxed.commands.boxadmin.placeto staff who aren't operators, grantboxed.admin.placeinstead.
🔺 Homes permissions: players now get
boxed.island.homes,boxed.island.renamehomeandboxed.island.deletehomeby default. Negate them in your permissions plugin if you don't want that.
💡 Tip: if creating a box causes lag, try BentoBox's chunk pre-generation (
island.pregeneration.enabled: truein BentoBox'sconfig.yml, BentoBox 3.14.0 and newer). It generates the chunks for the next few boxes in the background, before anyone needs them.
- 🔡 locale files may need to be regenerated or updated.
- ⚙️ config options have been removed, renamed, or added.
- 🔺 special attention needed.
- 🔺⚙️ Update to Paper 26.3 / BentoBox 3.23.7 / Java 25 by @tastybento in https://github.com/BentoBoxWorld/Boxed/pull/138
- 🔺 Declare home command permissions so players can manage their homes by @tastybento in https://github.com/BentoBoxWorld/Boxed/pull/139
- 🔺 Fix /boxadmin place permission by @tastybento in https://github.com/BentoBoxWorld/Boxed/pull/140
- ⚙️ Place structures within a per-tick time budget and stop duplicate placements by @tastybento in https://github.com/BentoBoxWorld/Boxed/pull/141
- Release 3.5.0 by @tastybento in https://github.com/BentoBoxWorld/Boxed/pull/142
Full Changelog: https://github.com/BentoBoxWorld/Boxed/compare/3.4.1...3.5.0
This mod has no additional files