Skip to content

2.1

Choose a tag to compare

@Ontey6 Ontey6 released this 30 May 10:12
· 10 commits to master since this release

2.1

  • Added cooldowns to Commands
  • Added a class DurationFormatter in base API
  • Removed @NotLoaded as loaded classes require @AutoRegistered since 2.0, making it obsolete
  • OnteyPlugin now only registers serializables that extend ontey.api.serialization.ConfigSerializable which connect OnteyAPI and Bukkit serializables by extending both.
    Also made serializables require @AutoLoaded to be ... autoloaded.
  • Added more registerSerializable and made them understandable: registerSerializable for ontey.api.serialization.ConfigSerializable, registerBukkitSerializable and registerOnteySerializable.
  • Deprecated OnteyPlugin#registerSerializable(ConfigurationSerializable)
  • Added a check for @AutoLoaded in Loaders#createSubclassLoader.