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.

Script skript-edit 1.0

Edit blocks with Skript like worldedit. Proof of concept and for learning purposes only.

  1. LimeGlass
    Supported Minecraft Versions:
    • 1.16
    Skript is slow at block placement and SHOULD NOT be ran on a public server. This script only exists for learning purposes and to showcase the awesome potential Skript has when it comes to parsing ItemTypes in commands and functions directly. Use WorldEdit or FAWE as they have been optimized using reflection to achieve the best performing block placement.

    What is skript-edit?


    skript-edit is a new clone of WorldEdit. It can do //replace //set //select //wand //undo and //redo. This script also saves all edit sessions.

    Commands:
    • //set <text>
      • permission: skript-edit.set
    • //replace <item> <text>
      • permission: skript-edit.replace
    • //select [<items>] or //sel [<items>]
      • permission: skript-edit.select
    • //redo [<number>] [<offlineplayer>]
    • permission: skript-edit.redo.others for others
    • //undo [<number>] [<offlineplayer>]
    • permission: skript-edit.undo.others for others
    • //pos1 or //position1
    • permission: skript-edit.position
    • //pos2 or //position2
    • permission: skript-edit.position
    Plugins Needed:
    - Skript 2.5.2+ (Obviously)
    - SkQuery

    Usage:

    selecting blocks: use //select <items> example //select diamond block and iron block. Then you can use //set air and it will only mask those types of blocks. Typing just //sel will clear the selection

    setting blocks: //set stone for single blocks, if you want to do multiple blocks you will have to define a percentage to fill with. Such as //set 50%stone;25%dirt;25%diamond block

    undo and redo: when resetting a player's selection you must define the amount of undo or redo sections to complete //undo 1 LimeGlass

    Please do not post any errors in the review section!
    Ayham Alali likes this.

Recent Reviews

  1. Ghostfish_
    Ghostfish_
    5/5,
    Version: 1.0
    Amazing! Did you try rotation yet? I tried once last year but it failed. If you need it, send me a message, we could figure it out together.
  2. Sinclay
    Sinclay
    1/5,
    Version: 1.0
    The idea is good and I did not get any errors, however, the blocks which i selected with //pos1 and //pos2 are not replaced in my case. For example, in chat it says: "10 blocks have been changed in 0.02 seconds" but nothing happens.
    Commands i tried: //replace stone cobblestone and //set stone

    Minecraft Version 1.16.5
    Skript Version: 2.5.3
    SkQuery Version: 4.1.4

    I hope you have a solution for me.
  3. SkriptStorm
    SkriptStorm
    5/5,
    Version: 1.0
    Amazing and my staff loves it! I use it on my server and the
    spawn is going very well.