From f66ea7b751e3fa60c2e4a80c256da85bd2dd9c36 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Tue, 30 Jul 2024 10:38:31 -0400 Subject: [PATCH] [ci-skip] update HISTORY.md --- HISTORY.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ build.gradle.kts | 2 +- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 4e5879c10..6e1b08b97 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,66 @@ ## Update History Date format: (YYYY-MM-DD) +
+ v3.6 (1.21) - 2024-07-30 + +### Added: +- Added missing configurable messages to places around the plugin, all messages should now be configurable. +- Added a new config option where you can decide to send messages in chat or in the actionbar. + - Messages that send a list to chat will by default never be sent to actionbar as it would not look pretty. +- Added a new placeholder, `{required_amount}` to `crates.requirements.not-enough-keys` +- Added another new placeholder, `{key}` to `crates.requirements.not-enough-keys`, [#756](https://github.com/Crazy-Crew/CrazyCrates/issues/756) + - This placeholder returns the name of the key. +- Added a new migration type which converts deprecated fields in the crate files. +- Added 2 new toggles to the `config.yml` which you can find at the top of the file. + - The `use-old-editor` requires `use-minimessage` to be false as it's uses legacy color codes. +- Added per prize broadcast, this will send a message to every player on the server. +```yml + '5': + # The display name of the item. + DisplayName: "$1,000" + # The item to display in the gui. + # The enchanted book will function with the enchants properly in an anvil. + DisplayItem: "sunflower" + # Prize settings + Settings: + # The custom model data of the item, -1 is disabled. + Custom-Model-Data: -1 + # Broadcast a message to the server + Broadcast: + # If the messages should be sent. + Toggle: false + # The messages to broadcast. + Messages: + - '%player% won the prize %reward%.' + # If the player has this permission, they don't get the broadcast. + Permission: 'your_permission' +``` +- Added optional arg for `Player` with crazycrates debug, so you can use it in console. +- Added missing message notifying an item was added using /crates additem + +### Changes: +- The permission check for whether a player can open a crate has been changed. + - `crazycrates.open.` is now `crazycrates.deny.open.` + - The crate name is case-sensitive, so it must match exactly the crate name in the `crates` folder + - If the file name is CrateBeans.yml, it must be `crazycrates.deny.open.CrateBeans` +- If a message in the `messages.yml` is blank, it will not send the message. +- Update default message for `crates.crate-no-permission` +- Update some comments because of grammar. +- Update logger message when the `CrateOpenEvent` is cancelled to be more verbose. + +### Fixed: +- Wheel Crate animation now spins properly. [#764](https://github.com/Crazy-Crew/CrazyCrates/pull/764) +- Roulette Crate inventory size is now normal. [#765](https://github.com/Crazy-Crew/CrazyCrates/pull/765) +- Don't give 2 prizes if the editor items isn't empty. +- Casino/Cosmic crate tier previews would share total items causing pagination to appear despite the inventory not being full. + +### Deprecations: +- Deprecated `{key_amount}` and replaced it with `{required_amount}` in `crates.requirements.not-enough-keys` + - `{key_amount}` will stop working in the next major version of Minecraft. + +
+
v3.5.9 (1.21) - 2024-07-23 diff --git a/build.gradle.kts b/build.gradle.kts index 61b697dd7..65a57d260 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ val buildNumber: String? = System.getenv("BUILD_NUMBER") rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "3.6" -val isSnapshot = true +val isSnapshot = false val content: String = rootProject.file("CHANGELOG.md").readText(Charsets.UTF_8)