1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Arena Clear Skript

Discussion in 'Requests' started by ZedDaMagnificent, Jan 26, 2022.

  1. ZedDaMagnificent

    Joined:
    Jan 26, 2022
    Messages:
    1
    Likes Received:
    0
    Suggested name: Arena Clear

    Spigot/Skript Version: Skript: 2.6 MC 1.17

    What I want: I want a Skript that will run automatically every 15mins that will clear all the block of a certain region automatically

    Ideas for commands: /arenaclear

    Ideas for permissions: skript.arenaclear
     
  2. Tenfont

    Tenfont Member

    Joined:
    Mar 28, 2021
    Messages:
    24
    Likes Received:
    2
    this is a bit general topic, so it can't be created in one script as I'm guessing you would prefer to edit the regions yourself, so I'll split this up into parts:

    1 Create a 'structure' using SkBee, this would be the region that would get cleared.
    Code (Skript):
    1. save structure between {_location1} and {_location2} as "MyRegion"


    2 Every 15 minutes, load the region at the bottom corner block of the structure. Press F3 and use the cursor in the center to locate the corner block of the structure. Otherwise, the structure may be loaded in the wrong direction.
    Code (Skript):
    1. every 15 minutes:
    2.     load structure "MyRegion" at location(xx, yy, zz, world("YOUR_WORLD"))

    Alternatively you can also simply rotate the structure to load it correctly, example:
    Code (Skript):
    1. load structure "MyRegion" at location(xx, yy, zz, world("YOUR_WORLD)) with rotation 180
     

Share This Page

Loading...