forked from Crazy-Crew/CrazyCrates
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
113 changed files
with
2,463 additions
and
2,565 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
time: "12:00" | ||
timezone: "America/Sao_Paulo" | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "12:00" | ||
timezone: "America/Sao_Paulo" |
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,32 @@ | ||
name: Build and Upload | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
check-latest: true | ||
cache: 'gradle' | ||
- name: Run chmod to make gradlew executable | ||
run: chmod +x ./gradlew | ||
- name: Build with Gradle | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: build | ||
- name: Upload Plugin | ||
uses: actions/[email protected] | ||
with: | ||
name: CrazyCrates | ||
path: jars/paper/*.jar |
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,18 @@ | ||
## Additions: | ||
* Added the ability to override the menu button functionality to use your own menu through DeluxeMenus and any other gui plugin. | ||
* The config options have been automatically added to your config.yml and default to false, They can be found where you edit what the menu button looks like. | ||
|
||
* Added the ability to override the menu button functionality to use your own menu through DeluxeMenus and any other gui | ||
plugin. | ||
* The config options have been automatically added to your config.yml and default to false, They can be found where | ||
you edit what the menu button looks like. | ||
|
||
## Enhancements: | ||
* Re-did how /crate admin handles giving keys, It expands the size of the inventory to 54 slots and adds a button at the bottom explaining how to get keys. | ||
* At the same time, This fixed an issue where the lore of the keys given were different. Will it be paginated? Someday | ||
|
||
* Re-did how /crate admin handles giving keys, It expands the size of the inventory to 54 slots and adds a button at the | ||
bottom explaining how to get keys. | ||
* At the same time, This fixed an issue where the lore of the keys given were different. Will it be paginated? | ||
Someday | ||
|
||
## Other: | ||
|
||
* [Feature Requests](https://github.com/Crazy-Crew/CrazyCrates/issues) | ||
* [Bug Reports](https://github.com/Crazy-Crew/CrazyCrates/issues) |
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,33 +1,46 @@ | ||
# Contributing to CrazyCrates | ||
|
||
Contributions to the project are always welcome, Pull Requests do have some guidelines before being approved. | ||
|
||
## You should always create the fork as a personal repository not in an organization. | ||
Any pull request made by a fork in an organization prevents modifications. Everyone has their own way of doing things and rather asking you to change that. A personal fork lets us change the things | ||
that we have a tick about. | ||
|
||
If you do not use a personal fork, We have to manually merge your pull request which means it's marked as closed instead of merged. | ||
Any pull request made by a fork in an organization prevents modifications. Everyone has their own way of doing things | ||
and rather asking you to change that. A personal fork lets us change the things | ||
that we have a tick about. | ||
|
||
If you do not use a personal fork, We have to manually merge your pull request which means it's marked as closed instead | ||
of merged. | ||
|
||
## Requirements | ||
* `git` | ||
* Java 17 ( Adoptium is recommended ) | ||
|
||
* `git` | ||
* Java 17 ( Adoptium is recommended ) | ||
|
||
Pull Requests must be labeled properly according to if it's a bug fix, a new feature or enhancements to the code base. | ||
* `git checkout -b fix/your_fix` | ||
* `git checkout -b feature/your_feature` | ||
* `git checkout -b quality/your_enhancement` | ||
* Commit your changes using `git commit -m 'your commit'` | ||
* Push to your branch using `git push` | ||
* Open a pull request to the `main` branch on our repository to add your change. | ||
|
||
You must explain what your pull request is changing and if needed, Supply a video of your change as Pull Requests are a way to get feedback. | ||
* `git checkout -b fix/your_fix` | ||
* `git checkout -b feature/your_feature` | ||
* `git checkout -b quality/your_enhancement` | ||
* Commit your changes using `git commit -m 'your commit'` | ||
* Push to your branch using `git push` | ||
* Open a pull request to the `main` branch on our repository to add your change. | ||
|
||
You must explain what your pull request is changing and if needed, Supply a video of your change as Pull Requests are a | ||
way to get feedback. | ||
|
||
## Api Additions | ||
Additions to our API are much more delicate as they can directly impact end users much more than adding a new feature or fixing a bug. | ||
|
||
Adding new methods is perfectly fine as it won't break current plugins depending on our plugin. Replacing methods is also fine as long as you keep the old around but deprecated. | ||
Additions to our API are much more delicate as they can directly impact end users much more than adding a new feature or | ||
fixing a bug. | ||
|
||
Adding new methods is perfectly fine as it won't break current plugins depending on our plugin. Replacing methods is | ||
also fine as long as you keep the old around but deprecated. | ||
|
||
Under no circumstance is existing methods suppose to have a change to the variables in the methods. You can change | ||
anything inside the method. | ||
|
||
Under no circumstance is existing methods suppose to have a change to the variables in the methods. You can change anything inside the method. | ||
* i.e. UUID cannot become Player in `getKeys`, You should create a new method and deprecate the old one. | ||
* i.e. UUID cannot become Player in `getKeys`, You should create a new method and deprecate the old one. | ||
|
||
If trying to expose internal hashmap's or arraylists using the API, It is best instead of directly returning the hashmap or arraylist. You return an unmodifiable version or clone them. | ||
If trying to expose internal hashmap's or arraylists using the API, It is best instead of directly returning the hashmap | ||
or arraylist. You return an unmodifiable version or clone them. | ||
All internals should be accessed through proper means rather than just allowing anyone to cripple the plugin. |
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
Oops, something went wrong.