World Border Work Around.

Milso

New Member
Jul 29, 2019
36
0
0
With out a proper world border mod i have found a work around I figured i would share.

First you need to enable command blocks in you server config.
Second place a command block to the right of a computer close to 0,0
then do a short program in the computer to output a redstone signal every so often.
Code:
while true do
  redstone.setOutput("right",true)
  sleep(.2)
  redstone.setOutput("right",false)
  sleep(300)
end

then in the command block enter the following line.

Code:
/tp @a[rm=3000] 0 64 0

rm is minimum range anyone outside of this range would be teleported back to 0 64 0 (or what ever point you like)
this scans every 5 [sleep(300)]mins for some one outside of the border.

The scan seams to work for all Mystcraft ages at once so you can not set different ranges for different ages. Have not tested with nether or twilight forest.

more info on command blocks: http://www.minecraftwiki.net/wiki/Command_Block
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
wow, i never thought of that.
Command blocks can be so useful.
There are several people working on forge based world borders, so hopefully we will get a proper one soon.
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
The Forge Essentials Dev's are working on full world border and even a world fill option to pre render your world.
 

Moonz0r

New Member
Jul 29, 2019
10
0
0
Thanks for posting this Milso! I implemented this on my magic world server without using a computer by building a simple 5 second clock to send a redstone pulse to 2 command blocks. One warns players at 3k blocks range, and the other TPs them at 3010 blocks range.