SkWE

An addon for Skript which adds some WorldEdit and FAWE syntax.

GPL-3.0 License

Stars
6

Bot releases are hidden (Show)

SkWE - v1.1.2 Latest Release

Published by cheeezburga about 1 month ago

Additions

  • Delete schematic effect - deletes a schematic (this can't be undone!)
  • Forest effect - generates a forest in a region, with a specific tree species and density

Other (pretty boring) stuff

  • Internally changes how versioning is done. Now only needs to be changed in the gradle build file, instead of in all three files where the version was included.

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.1.1...1.1.2

SkWE - v1.1.1

Published by cheeezburga 2 months ago

Fixes

  • Fixed an issue where trying to paste a non-Sponge schematic would throw an error in the console. Before, skript-worldedit would assume this format, but it should now be able to accurately identify the format of any given schematic.
    • Note that trying to paste schematics created before Minecraft 1.13.2 might not work. If this happens to you, try loading and pasting the schematic using WorldEdit or FAWE commands in-game before making an issue on the GitHub.

Changes

  • The string in the schematic paste effect/section which used to denote the name can now be given a whole path. This means that you can now use stuff like "plugins/NotWorldEdit/someSchematics/example.schem"!
    • If a path is entered, but no file is found at it's destination, skript-worldedit will assume the path is actually the name, and will look for a schematic named the path.
    • If a name is entered, skript-worldedit will still look in WorldEdit/FAWE's default schematics folder, just like before.

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.1.0...1.1.1

SkWE - The Schematic Update

Published by cheeezburga 3 months ago

This is the first big update that skript-worldedit has had, and it brings an important feature that's been missing since the initial release: schematics!

Additions

  • Schematics - save and paste schematics with ease! There is both an effect and a section for each, the latter of which is recommended, as you can take full advantage of all the configurable options they offer. For more information on this new feature, check out the dedicated wiki page, which takes a slightly deeper dive!

Other (pretty boring) stuff

  • The EmptyAnnotationAdder will now work with sections

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.0.4...1.1.0

SkWE - v1.0.4

Published by cheeezburga 3 months ago

Additions

  • Block count expression - gets the number of blocks in a region that match a certain mask or itemtype
  • Expand/contract effect - expands or contracts a region in a given direction by a given amount. Also optionally can expand in the opposite direction
  • Inset/outset effect - insets or outsets a region by a given amount. Can optionally only perform the operation vertically or horizontally

Other (pretty boring) stuff

  • The RegionWrapper#getDistribution method now returns a map with String keys instead of BlockData
  • Adds SimpleExpression as a target class in the EmptyAnnotationAdder

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.0.3...1.0.4

SkWE - v1.0.3

Published by cheeezburga 3 months ago

Additions

  • Biome effect - an effect to change the biome in a region
  • Spline effect - an effect which takes a set of locations and creates a line (rigid) or spline (curved) between them all using a given pattern. Can take a hollow and thickness parameter

Changes

  • Updated the dimensions expression to avoid conflicts with Skript's length expression

Other (pretty boring) stuff

  • Changes and adds some new BlockVector3 util methods
  • Adds an EmptyAnnotationAdder gradle task and class

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.0.2...1.0.3

SkWE - v1.0.2

Published by cheeezburga 3 months ago

Additions

  • A region dimensions expression - can be used to get the height, width, and length of a given region.

Changes

  • Patterns - updated some of the patterns to be more flexible
  • Pattern prefix - updated the pattern prefix (the use we to bit at the start of some patterns) to now allow for FAWE as well

Other (pretty boring) stuff

  • Removed the star imports from some effects, which will be the standard moving forward
  • Changes some of the colour codes in the onEnable method
  • The jar for this release also contains some early schematic save implementations, which do not work, and shouldn't be used

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.0.1...1.0.2

SkWE - v1.0.1

Published by cheeezburga 3 months ago

Changes

  • How effects are executed - in the initial release, any effect calls would just let Skript continue in the file, without waiting for the effect to be completed. This is no longer the case, and Skript should now finish executing a given effect before moving on. This is how Skript itself handles effects, and should be more familiar, however if you'd like to continue using the effects in a non-blocking way, you can! The patterns for all the effects now include an optional lazily word at the end, which will do just that.

Other (pretty boring) stuff

  • All syntax now includes the Skript doc annotations for better and easier documenting
  • This version also includes a commit which fixes EffReplace only registering on FAWE servers. This was committed after 1.0.0, but the jar was updated to include this anyway.

Full Changelog: https://github.com/cheeezburga/SkWE/compare/1.0.0...1.0.1

SkWE - Initial release

Published by cheeezburga 3 months ago

🚀 skript-worldedit is here! This new Skript addon brings WorldEdit and FAWE support to Skript, offering numerous effects and expressions for efficient world manipulation. As this is the initial release, and a shockingly small amount of testing was done, it may have some bugs. Please report any issues on the GitHub. Happy scripting!

For more information on the syntax included in this release, see the syntax.md file in the repository. At a later time, the syntax will be on SkriptHub's docs, and hopefully SkUnity's too, but for the time being, the file will have to do.

Features

  • Region elements - use regions to perform operations, such as setting/replacing blocks, along with a plethora of other effects and expressions.
  • Shapes - create shapes in the world, with custom parameters for maximum freedom.
  • Efficiently and easily manipulate your Minecraft world

Coming soon

  • Schematic support to save, paste and delete
  • More region syntax
  • More flexibility for already existing syntax
  • A bunch more (the syntax.md file goes into a tiny bit more detail)

Special thanks to @IronApollo for always helping out, and contributing!

Full Changelog: https://github.com/cheeezburga/SkWE/commits/1.0.0