gaminggnimag Posted June 26 Share Posted June 26 so i have this server where a random chunk gets generated and then its pretty much last one standing, but i'm having trouble with the skript, i'm pretty new to this here is my current skript: command generateisland: trigger: import com.sk89q.worldedit.EditSession import com.sk89q.worldedit.Vector import com.sk89q.worldedit.WorldEdit import com.sk89q.worldedit.bukkit.BukkitAdapter import com.sk89q.worldedit.function.operation.Operations import com.sk89q.worldedit.world.World set {_world} to world("world") # Replace "world" with your world name if different set {_x} to 100 set {_y} to 50 set {_z} to 100 set {_min} to new Vector({_x * 16}, 0, {_z * 16}) # Adjusting z to _z and setting min height to 0 set {_max} to new Vector({_x * 16 + 15}, 255, {_z * 16 + 15}) # Adjusting z to _z and setting max height to 255 set {_worldedit} to WorldEdit.getInstance() set {_session} to {_worldedit}.newEditSessionBuilder() .world(BukkitAdapter.adapt({_world})) .build() {_session}.makeCuboidWalls({_min}, {_max}) send "Island generated from bedrock to height limit at X: {_x}, Z: {_z}" Link to comment Share on other sites More sharing options...
rosabel Posted June 26 Share Posted June 26 Moved to Skript Category. Please keep Skript-help posts in the Skript category. RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRi code, animate, develop, UI design, learn, and adapt, as well as make servers, of courseJoined Minehut sometime in 2014VIP sometime in 2018Legend in January 2021Helper on 4/11/2021♥ (Retired) on 5/17/2021 Moderator on 8/18/2023 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now