Compatibility
Minecraft: Java Edition
1.21.2–1.21.5
Platforms
Links
Creators
Details
Licensed MIT
Published 3 months ago
Updated 3 months ago
Based off of an idea suggest by This Reddit Post
The world border will be set to:
min(MaxSize, max(MinSize, PlayerCount * Multiplier))
at all times, and a chat message will be sent every time the size is updated.
Uploaded onto here for easier sharing. There are 3 settings:
- Multiplier (How much the size will increase per player) Default: 40
- Minimum Size (What the minimum size will be, regardless of player count) Default: 20
- Maximum Size (What the maximum size will be, regardless of player count) Default: 1000
There are 5 commands: (250 is just an example number)
- /function borderman:bordy/set_maximum {"value":250}
- /function borderman:bordy/set_minimum {"value":250}
- /function borderman:bordy/set_multiplier {"value":250}
- /function borderman:bordy/reset_datapack
- /function borderman:bordy/help
The first 3 just set scoreboard variables to the included value - scoreboard "worldBorderSize" each editing values MaxSize, MinSize, and multiplier respectively.
reset_datapack will change the flag which prevents the datapack from doing a fullsetup upon a reboot, and then trigger a reload, re-initializing all scoreboards and values back to default.
help will bring up a list of the other 4 commands to make the value syntax easier to access.