-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Additions: * Added missing messages to the `messages.yml` * Ability to customize the output of /crazycrates list * Support for PlaceholderAPI in lores/displaynames for keys * You no longer have to include `https://textures.minecraft.net/texture/` when using custom heads. * You can simply use `1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e` in the `Player` field. * You can find an example in the `examples/crates` directory! * Added a warning if trying to add AIR to a crate using `/crates additem` ## Breaking Changes: ### Permissions: * Command / General Permissions have been updated! * You can find a list of permissions @ https://docs.crazycrew.us/docs/1.20.6/plugins/crazycrates/commands/permissions * They will not change again, but they are easier to type. ### In-game editor: * All previous iterations of the in-game editor **do not** work anymore. All added prizes using the old methods WILL not work. * You **must** update all your prizes as a lot of the internals have changed for **1.20.5-1.20.6** ### Item IDS * All items ids used for potions, materials, blocks, trim materials/patterns and sounds etc. have all been changed. * A list of sounds: https://minecraft.wiki/w/Sounds.json#Java_Edition_values, **Custom Sounds from resource packs are also supported!** * Enchantments instead of `PROTECTION_ENVIRONMENTAL` and `DAMAGE_ALL`, It would be `protection` and `sharpness` * <details> <summary>List of Enchantments</summary> * protection * fire_protection * feather_falling * blast_protection * projectile_protection * respiration * aqua_affinity * thorns * depth_strider * frost_walker * binding_curse * sharpness * smite * bane_of_arthropods * knockback * fire_aspect * looting * sweeping_edge * efficiency * silk_touch * unbreaking * fortune * power * punch * flame * infinity * luck_of_the_sea * lure * loyalty * impaling * riptide * channeling * multishot * quick_charge * piercing * mending * vanishing_curse * soul_speed * swift_sneak </details> * You can find a list of updated trim materials/patterns below! * https://docs.crazycrew.us/docs/1.20.6/plugins/crazycrates/guides/prizes/items/armor-trim ## Other: * [Feature Requests](https://github.com/Crazy-Crew/CrazyCrates/discussions/categories/features) * [Bug Reports](https://github.com/Crazy-Crew/CrazyCrates/issues)
- Loading branch information
1 parent
ca900e5
commit 8e19c5c
Showing
143 changed files
with
5,910 additions
and
6,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
plugins { | ||
id("io.github.goooler.shadow") | ||
|
||
`root-plugin` | ||
`java-plugin` | ||
} | ||
|
||
project.group = "us.crazycrew.crazycrates" | ||
project.version = "1.0-snapshot" | ||
|
||
repositories { | ||
maven("https://repo.papermc.io/repository/maven-public/") | ||
} | ||
project.version = "0.5" | ||
|
||
dependencies { | ||
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") | ||
|
||
compileOnly(libs.config.me) | ||
|
||
compileOnly(libs.vital) | ||
compileOnly("net.kyori", "adventure-api", "4.17.0") | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
val javaComponent: SoftwareComponent = components["java"] | ||
|
||
tasks { | ||
val sourcesJar by creating(Jar::class) { | ||
archiveClassifier.set("sources") | ||
from(sourceSets.main.get().allSource) | ||
} | ||
|
||
val javadocJar by creating(Jar::class) { | ||
dependsOn.add(javadoc) | ||
archiveClassifier.set("javadoc") | ||
from(javadoc) | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
url = uri("https://repo.crazycrew.us/snapshots") | ||
url = uri("https://repo.crazycrew.us/releases") | ||
|
||
credentials { | ||
this.username = System.getenv("gradle_username") | ||
|
@@ -39,11 +39,48 @@ tasks { | |
|
||
publications { | ||
create<MavenPublication>("maven") { | ||
group = project.group | ||
artifactId = project.name | ||
version = "${project.version}" | ||
artifactId = "api" | ||
|
||
artifact(shadowJar) | ||
from(javaComponent) | ||
|
||
artifact(sourcesJar) | ||
artifact(javadocJar) | ||
|
||
versionMapping { | ||
usage("java-api") { | ||
fromResolutionOf("runtimeClasspath") | ||
} | ||
usage("java-runtime") { | ||
fromResolutionResult() | ||
} | ||
} | ||
|
||
pom { | ||
name.set("CrazyCrates API") | ||
description.set("The official API of CrazyCrates") | ||
url.set("https://modrinth.com/plugin/crazycrates") | ||
|
||
licenses { | ||
licenses { | ||
name.set("MIT") | ||
url.set("https://opensource.org/licenses/MIT") | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id.set("ryderbelserion") | ||
name.set("Ryder Belserion") | ||
email.set("[email protected]") | ||
} | ||
} | ||
|
||
scm { | ||
connection.set("scm:git:git://github.com/Crazy-Crew/CrazyCrates") | ||
developerConnection.set("scm:git:ssh://github.com/Crazy-Crew/CrazyCrates") | ||
url.set("https://github.com/Crazy-Crew/CrazyCrates") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.