-
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2573 from BentoBoxWorld/develop
Release 3.1.1
- Loading branch information
Showing
28 changed files
with
912 additions
and
293 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,46 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# !!! Make sure to select the correct Java version for your project !!! | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: adopt | ||
cache: maven | ||
|
||
# This step will take the version tag from the release and replace it in `pom.xml` before building. | ||
- name: Set version from release tag | ||
run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false | ||
|
||
- name: Build and package with Maven | ||
run: mvn -B clean package --file pom.xml | ||
|
||
- name: Upload to Modrinth | ||
uses: cloudnode-pro/[email protected] | ||
with: | ||
# Configure the action | ||
# api-domain: staging-api.modrinth.com | ||
token: ${{ secrets.MODRINTH_TOKEN }} | ||
project: aBVLHiAW | ||
name: ${{ github.event.release.name }} | ||
version: ${{ github.event.release.tag_name }} | ||
changelog: ${{ github.event.release.body }} | ||
loaders: |- | ||
paper | ||
spigot | ||
game-versions: |- | ||
1.21.3 | ||
1.21.4 | ||
files: target/BentoBox-${{ github.event.release.tag_name }}.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
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
20 changes: 14 additions & 6 deletions
20
src/main/java/world/bentobox/bentobox/api/addons/package-info.java
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,20 @@ | ||
/** | ||
* This package covers all addon-specific API | ||
* <p> | ||
* The Addon class and the associated Pladdon are like Bukkit plugins | ||
* but contain extra API specific for BentoBox games. | ||
* </p> | ||
* This package contains classes and interfaces related to BentoBox addons. | ||
* | ||
* Addons are modular extensions that enhance BentoBox functionality. Game-specific | ||
* addons (e.g., BSkyBlock, AcidIsland) as well as generic addons (e.g., Challenges, Warps) | ||
* are supported by this system. Developers can create custom addons to introduce | ||
* new features or gamemodes. | ||
* | ||
* Since BentoBox was created, server tech has changed and code remapping is done and that | ||
* is usually only applied when a Plugin is loaded, so developers should use Pladdons | ||
* which are a wrapper for Addons in a Plugin. | ||
* | ||
* Key components: | ||
* - AddonLoader: Manages the lifecycle of addons. | ||
* - AddonConfig: Handles addon-specific configurations. | ||
* | ||
* @since 1.0 | ||
* @author tastybento | ||
* | ||
*/ | ||
package world.bentobox.bentobox.api.addons; |
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
4 changes: 3 additions & 1 deletion
4
src/main/java/world/bentobox/bentobox/api/configuration/package-info.java
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,4 +1,6 @@ | ||
/** | ||
* Contains API related to configurations. | ||
* Provides classes and interfaces for managing configuration settings within the BentoBox API. | ||
* This package enables the definition, access, and manipulation of configuration options, | ||
* facilitating the customization and extension of BentoBox's functionality. | ||
*/ | ||
package world.bentobox.bentobox.api.configuration; |
13 changes: 10 additions & 3 deletions
13
src/main/java/world/bentobox/bentobox/api/events/package-info.java
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
10 changes: 10 additions & 0 deletions
10
src/main/java/world/bentobox/bentobox/api/package-info.java
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,10 @@ | ||
/** | ||
* This package provides the core API for interacting with the BentoBox framework. | ||
* | ||
* It enables developers to integrate their custom plugins or addons with BentoBox, | ||
* offering simplified access to common functionalities like: | ||
* - Island management (creation, deletion, permissions). | ||
* - Player interactions within island-based games. | ||
* - Events and hooks for extending core behavior. | ||
*/ | ||
package world.bentobox.bentobox.api; |
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.