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

Supported Minecraft Versions
  1. 1.12
Fawesk - By LimeGlass

Github: https://github.com/TheLimeGlass/Fawesk

bStats metrics: https://bstats.org/plugin/bukkit/Fawesk
Report bugs: https://github.com/TheLimeGlass/Fawesk/issues

A Skript addon to add full support for FAWE/WorldEdit.

All of the syntax for this Skript addon are generated in a Syntax.yml found in the plugin folder. Each syntax can be disabled along with some information about the syntax.

Syntax.yml:
code_language.skript:
Syntax:
  PropertyExpressions:
    ExprCuboidRegionCount:
      enabled: true
      description: Returns the size/amount of items in the Cuboid region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (size|count|amount) (of|from) cuboid[[ ]region[s]]
        %cuboidregions%'
      - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (size|count|amount)'
    ExprCuboidRegionSubregions:
      enabled: true
      description: Returns either the region(s) wall(s) or region(s) face(s) of the
        cuboid(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (1¦wall[s]|2¦face[s]) [region][s] (of|from)
        [(world[ ]edit|cuboid)][[ ]region[s]] %cuboidregions%'
      - '[Fawesk] %cuboidregions%[''s] [(world[ ]edit|cuboid)][[ ]region[s]] (1¦wall[s]|2¦face[s])
        [region][s]'
    ExprCuboidRegionYCoordinate:
      enabled: true
      description: Returns the highest or lowest y-coordinat of the cuboid region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (1¦max[imum] [(point|pos[ition])]|2¦min[imum]
        [(point|pos[ition])])[s] (of|from) cuboid[[ ]region[s]] %cuboidregions%'
      - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (1¦max[imum] [(point|pos[ition])]|2¦min[imum]
        [(point|pos[ition])])[s]'
    ExprCuboidRegionPositions:
      enabled: true
      changers: '[SET]'
      description: Returns either the first or second position vector(s) of the cuboid
        region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (point|pos[ition])][( |-)](1¦1|2¦2) (of|from)
        cuboid[[ ]region[s]] %cuboidregions%'
      - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (point|pos[ition])][(
        |-)](1¦1|2¦2)'
    ExprRegionWorld:
      enabled: true
      description: Returns the world(s) of the worledit region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] world[s] (of|from) (world[ ]edit|cuboid)[[
        ]region[s]] %worldeditregions%'
      - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] world[s]'
    ExprRegionVectors:
      enabled: true
      description: Returns either the center/max/min/chunks vector location(s) of
        the worldedit region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (1¦center|2¦max[imum] [(point|pos[ition])]|3¦min[imum]
        [(point|pos[ition])]|4¦chunk [cube[s]])[s] (of|from) (world[ ]edit|cuboid)[[
        ]region[s]] %worldeditregions%'
      - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] (1¦center|2¦max[imum]
        [(point|pos[ition])]|3¦min[imum] [(point|pos[ition])]|4¦chunk [cube[s]])[s]'
    ExprRegionNumbers:
      enabled: true
      description: Returns either the area/width/length/height of the worldedit region(s).
      syntax:
      - '[Fawesk] [(all [[of] the]|the)] (1¦area [size]|2¦width|3¦length|4¦height)[s]
        (of|from) (world[ ]edit|cuboid)[[ ]region[s]] %worldeditregions%'
      - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] (1¦area
        [size]|2¦width|3¦length|4¦height)[s]'
  Conditions:
    CondCuboidRegionGlobal:
      enabled: true
      description: Check if a cuboid region is global.
      syntax:
      - '[(all [[of] the]|the)] [world[ ]edit][ ]region[s] %regions% (1¦(is|are)|2¦(is|are)(n''t|
        not)) global'
    CondRegionContains:
      enabled: true
      description: Check if the worldedit region(s) contains the location(s).
      syntax:
      - '[(all [[of] the]|the)] [world[ ]edit][ ]region[s] %regions% (1¦[does] (ha(s|ve)|contain[s])|2¦do[es](n''t|
        not) (have|contain)) %locations/vectors%'
    CondCuboidRegionContains:
      enabled: true
      description: Check if the cuboid region(s) contains the location(s).
      syntax:
      - '[(all [[of] the]|the)] cuboid[[ ]region][s] %cuboidregions% (1¦[does] (ha(s|ve)|contain[s])|2¦do[es](n''t|
        not) (have|contain)) %locations/vectors%'
  Expressions:
    ExprCuboidRegionCountOf:
      enabled: true
      description: Returns how many of the defined block(s) are in the Cuboid region(s).
      syntax:
      - (size|count|amount) (of|1¦[of] excluding) %itemtypes/baseblocks% (in|within|from)
        cuboid[[ ]region[s]] %cuboidregions%
    ExprBaseBlocks:
      enabled: true
      description: Returns the different baseblocks between two locations. Returning
        only one of each item.
      syntax:
      - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks from %location% [(on|towards)]
        %direction%'
      - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks (within|from) %worldeditregion%'
      - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks (within|between|from) %block%
        (and|to) %block%'
    ExprItemTypes:
      enabled: true
      description: |-
        Returns the baseblocks between two locations. This is not designed to SET blocks, only to get the ItemTypes of blocks within, locations are not included.
        WorldEdit/FAWE saves block objects with locations internally for performance.
      syntax:
      - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] from %location% [(on|towards)]
        %direction%'
      - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] (within|from) %worldeditregion%'
      - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] (within|between|from)
        %block% (and|to) %block%'
    ExprCuboidRegion:
      enabled: true
      description: Returns the CuboidRegion between two locations. This is also defined
        as a worldeditregion.
      syntax:
      - '[fawe[sk]] (world[ ]edit|cuboid)[[ ]region] from %location% [(on|towards)]
        %direction%'
      - '[fawe[sk]] (world[ ]edit|cuboid)[[ ]region] (within|between|from) %block%
        (and|to) %block%'
  Effects:
    EffCuboidRegionExpand:
      enabled: true
      description: Expands the Cuboid region(s)
      syntax:
      - expand [(all [[of] the]|the)] [cuboid[[ ]region][s]] %cuboidregions% (to|by)
        [the] [vector] %vectors%
    EffBlocks:
      enabled: true
      description: Sets all the blocks within two points to a block/itemtype.
      syntax:
      - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
        (within|between|from) %block% (and|to) %block% to %string/itemtypes%
      - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
        from %location% [(on|towards)] %direction% to %string/itemtypes%
      - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
        (within|from) %worldeditregion% to %string/itemtypes%
If anyone runs into any issues/bugs or would like help, please private message a developer of Fawesk or use the report tracker https://github.com/TheLimeGlass/Fawesk/issues. Provide as much information as you can about the issue/bug. Thanks.
  • Like
Reactions: Uzumaki
Author
LimeGlass
Downloads
1,729
Views
1,729
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LimeGlass

Latest updates

  1. Added support for biome swapping

    change biome of [the] [cuboid[[ ]region][s]] %cuboidregions% to [biome] %string% New syntax to...