Skip to content

Releases

2.3

Choose a tag to compare

@Ontey6 Ontey6 released this 10 Aug 22:06

Changes:

  • Fixes some files having the wrong line seperators
  • Various additions and fixes to ConfigSection
  • Added missing nullability annotations.
  • Made defaults not able to be the same object as config to prevent infinite recursion when getting default values.
  • Removed many deprecated methods
  • Renamed ontey.api.serialization.ConfigSerializable to CombinedConfigSerializable to avoid confusion.
  • Fixed description not being nullable in CommandConfig
  • Moved away from NamedLogger. the replacement is the SLF4J logger.
  • Deleted ToolComponentBuilder, FoodComponentBuilder and JukeboxPlayableComponentBuilder.
  • Made ItemBuilder completely switch from ItemMeta to data components to improve performance and modernize.
  • Added various FinderOptions factory methods for more code clarity.
  • Removed deprecation from some special color codes in JavaColor and just added a warning that they often don't work.

2.2.5

Choose a tag to compare

@Ontey6 Ontey6 released this 09 Aug 19:25

Changes:

  • ConfigSection:
    • Added missing nullability annotations to some methods.
    • Added getEnumList and getEnumSet methods
    • Fixed a bug where get...List methods (like getStringList) didn't return defaults

2.2.3

Choose a tag to compare

@Ontey6 Ontey6 released this 05 Aug 14:19

Added getCommandsRegistrar() and getCommandDispatcher() methods in CommandRegistry.

2.2.2

Choose a tag to compare

@Ontey6 Ontey6 released this 04 Aug 20:58

Removed CommandRegistrationEvent

2.2.1

Choose a tag to compare

@Ontey6 Ontey6 released this 04 Aug 16:01
2.2.1

2.2

2.2

Choose a tag to compare

@Ontey6 Ontey6 released this 10 Jun 20:20

2.2

  • Added an Input and PlayerInput interface and an implementation for dialogs (DialogPlayerInput)
    It makes getting text and other kinds of input easy and has support for custom types.
  • ItemBuilder API:
    • Removed convertsTo(), effect() and effects() from FoodComponentBuilder as these methods don't exist
      anymore in 26.1.2.
    • Deprecated customModelData() and fireResistant() for removal as they don't exist anymore in minecraft and are
      deprecated in paper.
    • Added itemModel() methods. Item models replaced custom model data (some time ago already...).
    • Added customModelDataComponent() and useCooldownComponent() methods (see docs for more information)
    • Made name() use meta.customName() as meta.displayName() is obsolete.
    • Added more documentation
    • Deprecated methods that use Strings where Components could be used instead for removal.
  • Removed previously deprecated color classes LegacyColor, LegacyHexColor, MinecraftColor and RgbTagColor
    as they all use an old API which uses section signs (§) that only allow a few preset colors and are less readable
  • Added a currently unused enum SynchronizationType for sync and async operations
  • Added a new formatter API that uses mini-message's TagResolver system.
  • Updated paper dependency to version 26.1.2
  • Now uses paperweight-userdev for possible NMS access
  • Deprecated the CommandRegistrationEvent. Read its documentation for the reason.
  • Removed the recommendation to use paper-plugin.yml in README.md as it's irrelevant for this project;
    doesn't specifically need it or have any (optional) features that require it
  • Reformatted entire project using IntelliJ's Reformat Code tool.
  • Added TagAPI in formatting package

2.1

2.1

Choose a tag to compare

@Ontey6 Ontey6 released this 30 May 10:12

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.

2.0.4

Choose a tag to compare

@Ontey6 Ontey6 released this 29 May 20:49

2.0.4

  • CommandConfig#deserialize(ConfigSection):
    • Added a null-check (and throws IllegalStateException) for the name
    • Made enabled default to true instead of false (which didn't make sense)
    • Added documentation
  • Added getEnum and isEnum methods to ConfigSection
  • Added a getter for context in Javascript
  • Minor code cleanup

2.0.3

Choose a tag to compare

@Ontey6 Ontey6 released this 25 May 07:46

2.0.3

  • Added static method deserialize(ConfigSection) in CommandConfig
  • Modified static method deserialize(Map<String, Object>) to create a new Config and then call deserialize(ConfigSection)

2.0.2

Choose a tag to compare

@Ontey6 Ontey6 released this 24 May 17:02

2.0.2

  • Changed :paper module to include the Config & YAML API in the fat JAR.