SkEdit

  • 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!

Jeroeno_Boy

Active Member
Jun 2, 2017
61
2
8
24
What is SkEdit?
SkEdit is a API that allows you to mainly fill and paste in structures. it is not created to copy Worledit, nor to compete with it. The fill and pasting is based on a delay system, its standart set to (Fill: 20000 blocks per tick, and copy: 1000 blocks per tick).


Commands:
  • /ske
  • /skedit


Features:
  • [?] Copy and paste system
  • [?] Fill system
  • [X] Spheres
  • [?] Schematic system
  • [?] Skript only (no other addons required)
  • [?] Small command system [/ske]
  • [X] Gui System (for settings etc)
  • [?] Api

API:
Code:
Players only:
    GiveWand:
        Syntax:    skeGivewand(player)
        Example: skeGivewand(player)
        Notes:
            Gives the SkEdit wand

    GetPosition:
        Syntax: skePos(position, player)
        Example: set {_Pos} skePos(1, player)
        Returns:
            - postion x of player's selection
            - Nothing (Everything went well)
        Notes:
            Gives the first or second position, can only be 1 and 2

    PlayerCopy:
        Syntax: skePCopy(Location 1, Location 2, player)
        Example: set {_R} to skePCopy(skePos(1, player), skePos(2, player), player)
        Returns:
            - Nothing (Everything went well)
            - Location x not set
            - Player not found
            - Different worlds of positions
        Notes:
            Copies block, its slower than pasting or filling

    PlayerPaste:
        Syntax: skePPaste(player)
        Example: set {_R} to skePPaste(player)
        Returns:
            - Nothing (Everything went well)
            - Clipboard empty
            - Player not found
        Notes:
            Pasts the clipboard of the player

    PlayerSaveSchem:
        Syntax: skePSaveSchem(location 1, location 2, "new Schematic", player)
        Example: set {_R} to skePSaveSchem(skePos(1, player), skePos(2, player), arg 3, player)
        Returns:
            - Nothing (Everything went well)
            - Location x not set
            - Different worlds of positions
            - Schematic already exists
            - Player isnt online
        Notes:
            Saves a schematic relative to the player

    PlayerLoadSchem:
        Syntax: skePLoadSchem("Schematic", player)
        Example: set {_R} to skePLoadSchem(arg 3, player)
        Returns:
            - Schematic does not exist
            - Nothing (Everything went well)
        Notes:
            Loads the schematic to the player's clipboard


Global:
    Fill:
        Syntax:    skeFill(Location 1, Location 2, Blocks)
        Example: set {_R} to skeFill(skePos(1, player), skePos(2, player), "Sand||stone||dirt")
        Returns:
            - Nothing (Everything went well)
            - Location x not set
            - World are different
        Notes:
            - Doesnt check if the block is valid or not
            - There can be multiple blocks, seperatet at "||" example: "Red wool||White wool||Orange wool"

    SaveSchem:
        Syntax: skeSaveSchem(Location 1, Location 2, "new schematic")
        Example: set {_R} to skeSaveSchem({_Loc1}, {_Loc2}, "Tower_Tier_1")
        Returns:
            - Nothing (Everything went well)
            - Position x not set
            - Different worlds
            - Schematic already exist
        Notes:
            Saves the schematic relative to location 1

    PasteSchem:
        Syntax: skeSchemPaste(Center location, world, "schematic")
        Example: set {_R} to skeSchemPaste(location of player, world of player, arg 3)
        Returns:
            - Nothing (Everything went well)
            - Center not set
            - Schematic doesnt exists
            - World does not exist
        Notes:
            Pastes from where the schematic has been created

    ShowSchems:
        Syntax: skeShowSchems()
        Example: set {_list::*} to skeShowSchems()
        Returns:
            - List of all schems
            - No schematic set (No schematics exist)

    DeleteSchem:
        Syntax: skeDeleteSchem("schematic")
        Example: set {_R} to skeDeleteSchem("Lol")
        Returns:
            - Nothing (All went succesful)
            - Invalid schematic (Schematic doesnt exist)

Note: this is work in progress, please dont judge on what is currently available

Need help or found a bug? Join the discord! dont leave in the revieuw. https://discord.gg/cNcxs7n