Skip to content

Releases: IntellectualSites/fastasyncvoxelsniper

3.2.1

29 Sep 13:02
736ce5b
Compare
Choose a tag to compare

📦 Dependency updates

3.2.0

30 Jun 16:27
ac54aca
Compare
Choose a tag to compare

🐛 Fixes

📦 Dependency updates

  • Update dependency gradle to v8.8 @renovate (#363)
  • Update crowdin/github-action action to v2 @renovate (#362)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.45 @renovate (#361)
  • Update crowdin/github-action action to v1.20.4 @renovate (#360)
  • Update crowdin/github-action action to v1.20.3 @renovate (#359)
  • Update dependency xyz.jpenilla.run-paper to v2.3.0 @renovate (#358)
  • Update dependency xyz.jpenilla.run-paper to v2.2.4 @renovate (#357)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.44 @renovate (#356)

3.1.1

21 Apr 09:12
118dd63
Compare
Choose a tag to compare

📦 Dependency updates

  • Update gradle/wrapper-validation-action action to v3 @renovate (#355)
  • Update dependency io.github.gradle-nexus.publish-plugin to v2 @renovate (#354)
  • Update crowdin/github-action action to v1.20.2 @renovate (#353)
  • Update crowdin/github-action action to v1.20.1 @renovate (#352)
  • Update dependency gradle to v8.7 @renovate (#351)
  • Update crowdin/github-action action to v1.20.0 @renovate (#350)
  • Update dependency gradle to v8.6 @renovate (#347)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.43 @renovate (#349)
  • Update release-drafter/release-drafter action to v6 @renovate (#348)
  • Update gradle/wrapper-validation-action action to v2 @renovate (#344)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.42 @renovate (#341)
  • Update dependency xyz.jpenilla.run-paper to v2.2.3 @renovate (#346)
  • Update crowdin/github-action action to v1.19.0 @renovate (#343)
  • Update dependency io.papermc.hangar-publish-plugin to v0.1.2 @renovate (#345)

3.1.0

22 Dec 17:04
b6a6878
Compare
Choose a tag to compare

🐛 Fixes

📦 Dependency updates

3.0.0

15 Nov 15:17
6e6c704
Compare
Choose a tag to compare

💥 Breaking changes

🐛 Fixes

✨ Features

✅ Chore

📦 Dependency updates

  • Update dependency com.modrinth.minotaur to v2.8.5 @renovate (#323)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.39 @renovate (#324)
  • Update dependency org.jetbrains:annotations to v24.1.0 @renovate (#325)
  • Update crowdin/github-action action to v1.15.1 @renovate (#320)
  • Update dependency gradle to v8.4 @renovate (#321)
  • Update crowdin/github-action action to v1.13.1 @renovate (#310)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.38 @renovate (#311)

3.0.0-SNAPSHOT-3

03 Nov 14:49
3541802
Compare
Choose a tag to compare
3.0.0-SNAPSHOT-3 Pre-release
Pre-release

3.0.0-SNAPSHOT-2

21 Oct 15:59
0fbd929
Compare
Choose a tag to compare
3.0.0-SNAPSHOT-2 Pre-release
Pre-release

3.0.0-SNAPSHOT

15 Oct 14:25
c00f4ee
Compare
Choose a tag to compare
3.0.0-SNAPSHOT Pre-release
Pre-release

💥 3.0.0 switches from a custom command framework to cloud.

If you notice, a command doesn't work, acts differently compared to 2.x or something else may be wrong, don't hesitate to file an issue.

General Command Management

I have opted to use the annotations extension of the cloud command system. In my opinion, this is better suited to the current brush format handling which is all done inside brush classes.

Executors have been kept and brush & performer command are still handled inside their classes.

  • Snipe class has been extended for a usage as a commander, because FAVS relies on a lot on this class.
  • CommandRegistry is the main place for the whole handling behind the scenes. Otherwise, commands are registered as usually done in cloud, with some specific annotations when needed.

SniperCommander class is the commander to use with cloud command system. If the player exists, it returns its sniper. Otherwise, it returns a simple SniperSender, similar to CommandSender.

Command Manager

FAVS uses the paper command manager, when available, to enjoy some improvements. Falls back to bukkit command manager otherwise.

  • Async tab-completions are enabled if available.
  • Snipe, PerformerSnipe & Toolkit classes are registered into the injector in order to be injected in command methods.
  • Command exceptions are adapted and customized with the FAVS message syntax.

Command Post-Processor

FAVS requires the command post-processor ins order handle specific FAVS behavior.

  • Handles the @RequireToolkit annotation, makes sure the toolkit is available and the value stored.
  • Handles the @DynamicRange annotation, used to define a range from non-constant variables, using reflection.
  • Prepares the brush & performer when needed, their Snipe and stores them.

Annotations & Parser

FAVS uses some annotations to facilitate development, based on common rules and behaviors.

  • Handles the @RequireToolkit annotation, modifies the command meta.
  • Handles the custom command execution method handler, which should differ for brush & performer. Cloud commands are designed to live in a class instance, this is not suitable to the current management of brush & performer. I have opted for a custom execution method which uses the brush & performer instance from the execution context instead of the base instance. This avoid extra parameters for each command method.

Arguments

FAVS needs a lot of custom arguments for either factories, registries, custom types, custom needs, etc.

Suggestions & parsers are also declared via annotations in custom classes.

Other Changes

  • Fixes #286
  • Fixes #288
  • Fixes #291
  • Fixes #294
  • Fixes #305
  • Re-add meteor as an alias of the comet brush.

  • All classes related to internal command managing from VS have been removed.
  • FastAsyncVoxelSniper class has been removed. As far as I know, this class was useless and is now for sure.
  • Some classes and methods have been added or refactored, but the overall code base is the same to try keeping maximum compatibility.
  • Some translations have been reorganized or removed.
  • Some code format has been modified, there will be another pull request next year hopefully to unify comments format.
  • Improvements to brush properties loading. Previously, all aliases were loaded, subsequently loading the same brush several times.
  • Modern switch syntax has replaced old ones.
  • General improvements.

Known Problems:

### Submitter Checklist
- [x] Make sure you are opening from a topic branch (**/feature/fix/docs/ branch** (right side)) and not your main branch.
- [x] Ensure that the pull request title represents the desired changelog entry.
- [x] New public fields and methods are annotated with `@since TODO`.
- [x] I read and followed the [contribution guidelines](https://github.com/IntellectualSites/.github/blob/main/CONTRIBUTING.md).

2.9.4

15 Sep 20:56
8d8d34a
Compare
Choose a tag to compare

🐛 Fixes

✨ Features

📦 Dependency updates

  • Update dependency com.modrinth.minotaur to v2.8.4 @renovate (#302)
  • Update crowdin/github-action action to v1.13.0 @renovate (#303)
  • Update actions/checkout action to v4 @renovate (#304)
  • Update dependency io.papermc.hangar-publish-plugin to v0.1.0 @renovate (#283)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.37 @renovate (#281)
  • Update dependency gradle to v8.3 @renovate (#282)

2.9.3

02 Aug 21:58
ba640cd
Compare
Choose a tag to compare

🐛 Fixes

📦 Dependency updates

  • Update plugin com.modrinth.minotaur to v2.8.3 - autoclosed @renovate (#275)
  • Update crowdin/github-action action to v1.12.0 @renovate (#276)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.34 @renovate (#277)
  • Update plugin com.modrinth.minotaur to v2.8.2 @renovate (#274)
  • Update dependency gradle to v8.2.1 @renovate (#273)
  • Update crowdin/github-action action to v1.11.0 @renovate (#266)
  • Update dependency com.intellectualsites.bom:bom-newest to v1.31 @renovate (#267)
  • Update dependency gradle to v8.2 @renovate (#268)
  • Update dependency net.minecrell.plugin-yml.bukkit to v0.6.0 @renovate (#269)