Skip to content

Releases: anvilpowered/anvil

Anvil v0.3.0

27 Nov 21:08
6b0aef9
Compare
Choose a tag to compare

This release has breaking changes. Exercise caution when updating as Anvil v0.2 plugins will not work with Anvil v0.3

New features

  • RegEdit
    • You can now edit the config with commands! Use /anvil[b|v] regedit start <env>
    • Requires permission anvil.admin.regedit, and access to sensitive settings (such as hostnames, passwords) is disabled by default
  • RestrictionService: you can freeze players via the api now. Pick from movement, interaction, inventory, commands and damage (or any combination thereof)
  • Added appendPrefix() in TextService that uses the bound PluginInfo
  • Added TIME_ZONE to config, used by the TimeFormatService
  • Added some useful methods to UserService

Changes

  • Bumped configurate to v3.7
  • Moved from kyori text to adventure for velocity
  • TimeFormatService now parses and returns formatted strings with weeks
  • Key stuff
    • Keys are now constructed with Key.builder() instead of anonymous class through protected constructor.
    • Primarily thanks to type erasure, Key no longer extends TypeToken
  • Flattened some unnecessarily nested packages

Fixes

  • Tab completion fixes on spigot/bungee
  • Fixed some bugs with load order in the BaseRegistry
  • Many more that aren't listed here

Anvil v0.2.1

03 Aug 15:00
fee5dab
Compare
Choose a tag to compare

Squashed bugs

  • Command suggestions work properly now
  • Fixed an NPE
  • Small code cleanups

Anvil v0.2.0

19 Jul 13:53
3bfe3ca
Compare
Choose a tag to compare

This release has breaking API changes.

New in this version:

  • Important! Registering a listener to a registry now requires you to add .register(); at the end of the call. Plugins will fail silently if this is not done. This was done to make it simpler to specify the scope and order for a listener.
  • Added ordering to registry listeners.
  • Added @RegistryScoped annotation.
  • Keys now require a namespace to register, this is to make inter-plugin data access easier and pave the way for future placeholder stuff.
  • TimeFormatService now uses FormatResult for some return types. Use toString() to capture the current state of the FormatResult as a String.
  • Updated MongoDB drivers
  • Started using checker framework

Removed in this version:

  • Nuked the Plugin interface. This interface added unnecessary weight to the API and wasn't being used anywhere.
  • The PermissionService no longer has a generic type. This service only has one boolean method to check a permission for the provided subject. Checking the type of this parameter is now done at runtime.

Anvil v0.1.3

27 May 17:25
a395eec
Compare
Choose a tag to compare

Fixed a critical bug preventing banning and muting with Xodus.

Anvil v0.1.2

28 Apr 14:35
f09bc41
Compare
Choose a tag to compare

Fixed bug in BaseManager causing silent failure during DB access.

Anvil v0.1.1

28 Apr 14:29
9107213
Compare
Choose a tag to compare

This release fixes an issue where Anvil would sometimes load after plugins that depend on it.

Anvil v0.1.0

28 Apr 14:20
b2d64eb
Compare
Choose a tag to compare

This is the first release for Anvil. While stable, please note that Anvil is still under heavy development.