Minecraft

A trick to "remove" height building limit in a sever

Submitted by Prscyse, , Thread ID: 143380

Thread Closed
15-09-2019, 07:17 AM
#1
For some of us, the 254 build limit is really annoying. Therefore, I've research around until I found a working way of modifying this. However, this methoddoesn't exactly remove the height, but instead, automatically teleports every player who reaches the 255 height, while saving the same x and y coordinates.

1. First of all, you need the plugin Skrypt, which you can get here:https://dev.bukkit.org/projects/skript

2. Then you create a scrip that looks like this:

Code:
every 1 seconds in "World":
  loop all players in world "World":
    y-coord of loop-player > 256:
      set {_loc} to location of loop-player
      set {_new} to location(x-coord of {_loc}, 2, z-coord of {_loc}, world "World_Atmosphere")
      teleport loop-player to {_new}
  wait a second

Translated, it says that every 1 seconds if the players is located in the world called "World", in a condition that applies to all those players in that world, and only if the y coord, also known as the height, is greater than 256, then his location is saved, while the y coord is changed to 2, and the world to a different one, so he's later teleported to that other world in the same x and z coordinates, but at the height of 2.

3. Create a world with a single glass floor so players don't instantly fall into the void after spawning.

4. Create another script to teleport the players back to the main world when reaching 1 height:

Code:
every 1 seconds in "World_Atmosphere":
  loop all players in world "World_Atmosphere":
    y-coord of loop-player < 2:
      set {_loc} to location of loop-player
      set {_new} to location(x-coord of {_loc}, 256, z-coord of {_loc}, world "World")
      teleport loop-player to {_new}
  wait a second

Users browsing this thread: 2 Guest(s)