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.

Addon Fawesk 1.0.0

A Skript addon dedicated to hooking into FAWE/WorldEdit.

  1. LimeGlass
    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.

    Code (Skript):
    2. Syntax:
    3.   PropertyExpressions:
    4.     ExprCuboidRegionCount:
    5.       enabled: true
    6.       description: Returns the size/amount of items in the Cuboid region(s).
    7.       syntax:
    8.       - '[Fawesk] [(all [[of] the]|the)] (size|count|amount) (of|from) cuboid[[ ]region[s]]
    9.         %cuboidregions%'
    10.       - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (size|count|amount)'
    11.     ExprCuboidRegionSubregions:
    12.       enabled: true
    13.       description: Returns either the region(s) wall(s) or region(s) face(s) of the
    14.         cuboid(s).
    15.       syntax:
    16.       - '[Fawesk] [(all [[of] the]|the)] (1¦wall[s]|2¦face[s]) [region][s] (of|from)
    17.         [(world[ ]edit|cuboid)][[ ]region[s]] %cuboidregions%'
    18.       - '[Fawesk] %cuboidregions%[''s] [(world[ ]edit|cuboid)][[ ]region[s]] (1¦wall[s]|2¦face[s])
    19.         [region][s]'
    20.     ExprCuboidRegionYCoordinate:
    21.       enabled: true
    22.       description: Returns the highest or lowest y-coordinat of the cuboid region(s).
    23.       syntax:
    24.       - '[Fawesk] [(all [[of] the]|the)] (1¦max[imum] [(point|pos[ition])]|2¦min[imum]
    25.         [(point|pos[ition])])[s] (of|from) cuboid[[ ]region[s]] %cuboidregions%'
    26.       - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (1¦max[imum] [(point|pos[ition])]|2¦min[imum]
    27.         [(point|pos[ition])])[s]'
    28.     ExprCuboidRegionPositions:
    29.       enabled: true
    30.       changers: '[SET]'
    31.       description: Returns either the first or second position vector(s) of the cuboid
    32.         region(s).
    33.       syntax:
    34.       - '[Fawesk] [(all [[of] the]|the)] (point|pos[ition])][( |-)](1¦1|2¦2) (of|from)
    35.         cuboid[[ ]region[s]] %cuboidregions%'
    36.       - '[Fawesk] %cuboidregions%[''s] cuboid[[ ]region[s]] (point|pos[ition])][(
    37.         |-)](1¦1|2¦2)'
    38.     ExprRegionWorld:
    39.       enabled: true
    40.       description: Returns the world(s) of the worledit region(s).
    41.       syntax:
    42.       - '[Fawesk] [(all [[of] the]|the)] world[s] (of|from) (world[ ]edit|cuboid)[[
    43.         ]region[s]] %worldeditregions%'
    44.       - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] world[s]'
    45.     ExprRegionVectors:
    46.       enabled: true
    47.       description: Returns either the center/max/min/chunks vector location(s) of
    48.         the worldedit region(s).
    49.       syntax:
    50.       - '[Fawesk] [(all [[of] the]|the)] (1¦center|2¦max[imum] [(point|pos[ition])]|3¦min[imum]
    51.         [(point|pos[ition])]|4¦chunk [cube[s]])[s] (of|from) (world[ ]edit|cuboid)[[
    52.         ]region[s]] %worldeditregions%'
    53.       - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] (1¦center|2¦max[imum]
    54.         [(point|pos[ition])]|3¦min[imum] [(point|pos[ition])]|4¦chunk [cube[s]])[s]'
    55.     ExprRegionNumbers:
    56.       enabled: true
    57.       description: Returns either the area/width/length/height of the worldedit region(s).
    58.       syntax:
    59.       - '[Fawesk] [(all [[of] the]|the)] (1¦area [size]|2¦width|3¦length|4¦height)[s]
    60.         (of|from) (world[ ]edit|cuboid)[[ ]region[s]] %worldeditregions%'
    61.       - '[Fawesk] %worldeditregions%[''s] (world[ ]edit|cuboid)[[ ]region[s]] (1¦area
    62.         [size]|2¦width|3¦length|4¦height)[s]'
    63.   Conditions:
    64.     CondCuboidRegionGlobal:
    65.       enabled: true
    66.       description: Check if a cuboid region is global.
    67.       syntax:
    68.       - '[(all [[of] the]|the)] [world[ ]edit][ ]region[s] %regions% (1¦(is|are)|2¦(is|are)(n''t|
    69.         not)) global'
    70.     CondRegionContains:
    71.       enabled: true
    72.       description: Check if the worldedit region(s) contains the location(s).
    73.       syntax:
    74.       - '[(all [[of] the]|the)] [world[ ]edit][ ]region[s] %regions% (1¦[does] (ha(s|ve)|contain[s])|2¦do[es](n''t|
    75.         not) (have|contain)) %locations/vectors%'
    76.     CondCuboidRegionContains:
    77.       enabled: true
    78.       description: Check if the cuboid region(s) contains the location(s).
    79.       syntax:
    80.       - '[(all [[of] the]|the)] cuboid[[ ]region][s] %cuboidregions% (1¦[does] (ha(s|ve)|contain[s])|2¦do[es](n''t|
    81.         not) (have|contain)) %locations/vectors%'
    82.   Expressions:
    83.     ExprCuboidRegionCountOf:
    84.       enabled: true
    85.       description: Returns how many of the defined block(s) are in the Cuboid region(s).
    86.       syntax:
    87.       - (size|count|amount) (of|1¦[of] excluding) %itemtypes/baseblocks% (in|within|from)
    88.         cuboid[[ ]region[s]] %cuboidregions%
    89.     ExprBaseBlocks:
    90.       enabled: true
    91.       description: Returns the different baseblocks between two locations. Returning
    92.         only one of each item.
    93.       syntax:
    94.       - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks from %location% [(on|towards)]
    95.         %direction%'
    96.       - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks (within|from) %worldeditregion%'
    97.       - '[(all [[of] the]|the)] [fawe[sk]] base[ ]blocks (within|between|from) %block%
    98.         (and|to) %block%'
    99.     ExprItemTypes:
    100.       enabled: true
    101.       description: |-
    102.         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.
    103.         WorldEdit/FAWE saves block objects with locations internally for performance.
    104.       syntax:
    105.       - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] from %location% [(on|towards)]
    106.         %direction%'
    107.       - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] (within|from) %worldeditregion%'
    108.       - '[(all [[of] the]|the)] [fawe[sk]] item[[ ]type][s] (within|between|from)
    109.         %block% (and|to) %block%'
    110.     ExprCuboidRegion:
    111.       enabled: true
    112.       description: Returns the CuboidRegion between two locations. This is also defined
    113.         as a worldeditregion.
    114.       syntax:
    115.       - '[fawe[sk]] (world[ ]edit|cuboid)[[ ]region] from %location% [(on|towards)]
    116.         %direction%'
    117.       - '[fawe[sk]] (world[ ]edit|cuboid)[[ ]region] (within|between|from) %block%
    118.         (and|to) %block%'
    119.   Effects:
    120.     EffCuboidRegionExpand:
    121.       enabled: true
    122.       description: Expands the Cuboid region(s)
    123.       syntax:
    124.       - expand [(all [[of] the]|the)] [cuboid[[ ]region][s]] %cuboidregions% (to|by)
    125.         [the] [vector] %vectors%
    126.     EffBlocks:
    127.       enabled: true
    128.       description: Sets all the blocks within two points to a block/itemtype.
    129.       syntax:
    130.       - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
    131.         (within|between|from) %block% (and|to) %block% to %string/itemtypes%
    132.       - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
    133.         from %location% [(on|towards)] %direction% to %string/itemtypes%
    134.       - set [(all [[of] the]|the)] [fawe[sk]] ((item|block)[ ]types|[base[ ]]blocks)
    135.         (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.
    Uzumaki likes this.