World Border

World Border

Mod

🌎 Allows the creation of a configurable world border, limiting the world size.

Server ManagementUtility

16.7k downloads
68 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Requires the library mod Collective.

World Border is a minimalistic configurable mod which allows the creation of a configurable world border, limiting the world size. This can prevent infinitely large file sizes or keep a community of players closer together. You can also loop around the world when hitting a world border, configurable in the config. This will teleport you to the negative coordinate if you hit the positive border and vice versa. Makes for infinitely looping worlds while still limiting the size.


Configurable: ( how do I configure? )
enableCustomOverworldBorder
 (default = true): When enabled, uses the overworldBorderCoords to set the border.
enableCustomNetherBorder (default = false): When enabled, uses the netherBorderCoords to set the border.
enableCustomEndBorder (default = true): When enabled, uses the endBorderCoords to set the border.

shouldLoopToOppositeBorder (default = true): When enabled, instead of teleporting the player inside near where they were, teleports them from the positive to the negative x/z coord and vice versa.
distanceTeleportedBack (default = 10, min 0, max 1000): The amount of blocks the player is teleported inside after hitting the border.

nearBorderMessage (default = "You're getting close to the world border!"): The message which will be sent to the player when they are within 'distanceTeleportedBack' to the world border.
hitBorderMessage (default = "You've hit the world border, and were teleported inside!"): The message which will be sent to the player when they hit the world border.
loopBorderMessage (default = "You've hit the world border, and have looped around the world!"): The message sent to the player when they hit the border and 'shouldLoopToOppositeBorder' is enabled.

overworldBorderPositiveX (default = 5000, min 0, max 100000): The overworld border located at the positive x coordinate.
overworldBorderNegativeX (default = -5000, min -100000, max 0): The overworld border located at the negative x coordinate.
overworldBorderPositiveZ (default = 5000, min 0, max 100000): The overworld border located at the positive z coordinate.
overworldBorderNegativeZ (default = -5000, min -100000, max 0): The overworld border located at the negative z coordinate.

netherBorderPositiveX (default = 625, min 0, max 100000): The nether border located at the positive x coordinate.
netherBorderNegativeX (default = -625, min -100000, max 0): The nether border located at the negative x coordinate.
netherBorderPositiveZ (default = 625, min 0, max 100000): The nether border located at the positive z coordinate.
netherBorderNegativeZ (default = -625, min -100000, max 0): The nether border located at the negative z coordinate.

endBorderPositiveX (default = 5000, min 0, max 100000): The end border located at the positive x coordinate.
endBorderNegativeX (default = -5000, min -100000, max 0): The end nether border located at the negative x coordinate.
endBorderPositiveZ (default = 5000, min 0, max 100000): The end nether border located at the positive z coordinate.
endBorderNegativeZ (default = -5000, min -100000, max 0): The end nether border located at the negative z coordinate.



When getting close to the border, players will receive the following message:

The message when hitting the world border and enableLoop enabled.


On hitting the border with enableLoop disabled, players will receive a message and be teleported 10 blocks inside the border.


Looping works like this:

Looping in the nether uses clever code to not end up in lava or on the nether roof.


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!



Project members

Serilum

Owner

Details

Licensed ARR
Created 2 years ago
Updated 19 days ago