-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05d2bf5
commit 20d548b
Showing
132 changed files
with
841 additions
and
819 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
plugins { | ||
id("crates.base") | ||
id("root-plugin") | ||
|
||
`maven-publish` | ||
} | ||
|
||
project.group = "us.crazycrew.crazycrates" | ||
project.description = "The official API for CrazyCrates!" | ||
project.version = "0.8" | ||
|
||
dependencies { | ||
compileOnly(libs.bundles.adventure) | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
url = uri("https://repo.crazycrew.us/releases/") | ||
|
||
credentials { | ||
this.username = System.getenv("gradle_username") | ||
this.password = System.getenv("gradle_password") | ||
} | ||
} | ||
} | ||
} |
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,11 +1,9 @@ | ||
plugins { | ||
id("crates.base") | ||
id("root-plugin") | ||
} | ||
|
||
val buildNumber: String? = System.getenv("BUILD_NUMBER") | ||
rootProject.group = "com.badbones69.crazycrates" | ||
|
||
rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "5.0.0" | ||
val buildNumber: String? = System.getenv("BUILD_NUMBER") | ||
|
||
subprojects.filter { it.name != "api" }.forEach { | ||
it.project.version = rootProject.version | ||
} | ||
rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "4.5.0" |
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,3 +1,7 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
dependencies { | ||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import org.gradle.accessors.dm.LibrariesForLibs | ||
|
||
// Hack which exposes `libs` to this convention plugin | ||
val libs = the<LibrariesForLibs>() | ||
|
||
|
||
plugins { | ||
id("root-plugin") | ||
} | ||
|
||
repositories { | ||
maven("https://repo.papermc.io/repository/maven-public/") | ||
} | ||
|
||
dependencies { | ||
compileOnly(libs.paper) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import org.gradle.accessors.dm.LibrariesForLibs | ||
|
||
// Hack which exposes `libs` to this convention plugin | ||
val libs = the<LibrariesForLibs>() | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
repositories { | ||
maven("https://repo.codemc.io/repository/maven-public/") | ||
|
||
maven("https://repo.crazycrew.us/libraries/") | ||
maven("https://repo.crazycrew.us/releases/") | ||
|
||
maven("https://jitpack.io/") | ||
|
||
mavenCentral() | ||
} | ||
|
||
java { | ||
toolchain.languageVersion.set(JavaLanguageVersion.of(21)) | ||
|
||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
tasks { | ||
compileJava { | ||
options.encoding = Charsets.UTF_8.name() | ||
options.release.set(21) | ||
} | ||
|
||
javadoc { | ||
options.encoding = Charsets.UTF_8.name() | ||
} | ||
|
||
processResources { | ||
filteringCharset = Charsets.UTF_8.name() | ||
} | ||
} |
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,10 +1,5 @@ | ||
- Added direct support for Nexo/ItemsAdder/Oraxen furniture. | ||
- A new config option was added in the config.yml letting you choose which plugin to use. | ||
- If you leave it blank, or as "None"... The plugin will pick whichever it finds first. | ||
- If you find an issue with one of the other plugins, Set the option in the config.yml to `None` then restart your server. | ||
- Updated misleading comment on Prize Commands. | ||
- Added /cc as an alias. | ||
- Updated /crates editor. | ||
- The new format is /crates editor -c/--crate <crate_name> or -e/--exit (if you want to leave the mode), This will put you an editor mode for this specific crate. | ||
- While in this mode, If you right-click a block, You will add a crate location. If you left-click a block, You will remove a crate location. | ||
- You no longer need to shift click, or be in creative mode. | ||
- `Flags` has been removed from being a configuration option for Prizes | ||
- If you used `Flags`, as long as it's not empty. It will simply hide everything, but lore/displayname. | ||
- `HideItemFlags: true/false` will now function, it will hide all, but lore/displayname. | ||
- `hide-tool-tip:true/false` is now an option for the `Items` section in Prizes. | ||
- Updated to 1.21.4 |
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,12 +1,13 @@ | ||
plugins { | ||
id("crates.base") | ||
id("root-plugin") | ||
} | ||
|
||
dependencies { | ||
compileOnly(libs.fusion.core) | ||
|
||
compileOnly(libs.jetbrains) | ||
|
||
api(projects.crazycratesApi) | ||
api(project(":crazycrates-api")) | ||
|
||
api(libs.jalu) | ||
} |
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,11 +1,11 @@ | ||
plugins { | ||
id("crates.base") | ||
id("paper-plugin") | ||
|
||
alias(libs.plugins.shadow) | ||
} | ||
|
||
dependencies { | ||
implementation(projects.crazycratesApi) | ||
implementation(project(":crazycrates-api")) | ||
|
||
compileOnly(libs.paper) | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
website=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
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.