-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Some PAFBungeecord Fixes (#442) fix PAFBungeecord adapter * Register Indonesia Languange on start up (#452) * fix env var passing * Enhance levelling system (#448) * Updated Levelling System * Fixed if with Java convention * Change BED_DESTROYED to BED_DESTROY * pliz * oh gosh * workflow update * Update readme to link to wiki for addons/setups (#462) * band-aid fix for ConcurrentModificationException on disable (#460) * [enhancement] Fix Invisibility Potions on 1.8 and some cosmetic changes (#408) * Make titles smoothly fade out * What was the point for such long cooldown? * Fix english grammar error * Fix Invisibility Potion not working on 1_8_R3 * Revert "What was the point for such long cooldown?" This reverts commit f66e035. Co-authored-by: MarcelDutko <[email protected]> * Implement command for set max build Y (#428) * TeamEliminatedEvent (#465) * Update deprecated versions (#495) * fix arenaGroup list command requiring unnecisary args (#484) * register forgotten listener * allow enabling of hunger (#485) * Reload command in console (#506) * Make reload command executable by console * Inline the Player casting * update #canSee so console sees the command i find really no need to retest this but whatever * Remove unused import + fix a typo * Italian Language Update (#501) * Fix traps not activating when someone is on island (#546) * Update stuff (#545) * Update Repos/Maven Plugins and fix some build warning * Remove old Gitlab stuff * 17.0.3 Workflow * Didn't mean to remove this * Java 11 Minimum Requirement (#541) * Fix Players sometimes can't Pickup items (#530) Fixes #520 * Remove Support for: (#538) 1.9.4 (v1_9_R2) 1.10 - 1.10.2 (v1_10_R1) 1.11 (v1_11_R1) 1.13.1 - 1.13.2 (v1_13_R2) 1.14 - 1.14.2 (v1_14_R1) 1.15 - 1.15.2 (v1_15_R1) 1.16.1 - 1.16.3 (v1_16_R1/2) * Fix Red not auto-scanning (#519) * Fix Red not auto-scanning * Fix Red not auto-scanning Co-authored-by: Bart <[email protected]> Co-authored-by: DevSolaris <[email protected]> Co-authored-by: J.T. McQuigg <[email protected]> Co-authored-by: JektDV <[email protected]> Co-authored-by: Xxyuri2005xX <[email protected]> Co-authored-by: ajgeiss0702 <[email protected]> Co-authored-by: Marcelektro <[email protected]> Co-authored-by: MarcelDutko <[email protected]> Co-authored-by: Ricardo <[email protected]> Co-authored-by: iiAhmedYT <[email protected]> Co-authored-by: Memexurer <[email protected]> Co-authored-by: IIHERO4 <[email protected]> Co-authored-by: DevSolaris <[email protected]> Co-authored-by: Bart <[email protected]> Co-authored-by: DevSolaris <[email protected]>
- Loading branch information
1 parent
10d9535
commit e7d5322
Showing
79 changed files
with
414 additions
and
7,872 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,35 @@ | ||
name: Compile snapshot with Maven | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
- development | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: development | ||
url: https://repo.andrei1058.dev | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 17.0.3 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '17.0.3' | ||
distribution: 'adopt' | ||
- name: Deploy snapshot with Maven | ||
env: | ||
MVN_REPO_USER: ${{ secrets.MVN_REPO_USER }} | ||
MVN_REPO_PASS: ${{ secrets.MVN_REPO_PASS }} | ||
ANDEV_RES_ID: 1 | ||
run: | | ||
sudo apt install jq -y | ||
curl -X GET https://api.andrei1058.dev/v1/resources/$ANDEV_RES_ID/versioning/current -H "Accept: application/json" >> version.json | ||
export UPDATE_VERSION=`jq '.version' version.json | tr -d '"'` | ||
mvn versions:set -DnewVersion=$UPDATE_VERSION-SNAPSHOT | ||
mvn versions:update-child-modules | ||
mvn clean install -s ci_settings.xml | ||
echo "UPDATE_VERSION=$UPDATE_VERSION" >> $GITHUB_ENV |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Deploy snapshot with Maven | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- development | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: development | ||
url: https://repo.andrei1058.dev | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 17.0.3 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '17.0.3' | ||
distribution: 'adopt' | ||
- name: Deploy snapshot with Maven | ||
env: | ||
MVN_REPO_USER: ${{ secrets.MVN_REPO_USER }} | ||
MVN_REPO_PASS: ${{ secrets.MVN_REPO_PASS }} | ||
ANDEV_RES_ID: 1 | ||
run: | | ||
sudo apt install jq -y | ||
curl -X GET https://api.andrei1058.dev/v1/resources/$ANDEV_RES_ID/versioning/current -H "Accept: application/json" >> version.json | ||
export UPDATE_VERSION=`jq '.version' version.json | tr -d '"'` | ||
mvn versions:set -DnewVersion=$UPDATE_VERSION-SNAPSHOT | ||
mvn versions:update-child-modules | ||
mvn clean deploy -s ci_settings.xml | ||
echo "UPDATE_VERSION=$UPDATE_VERSION" >> $GITHUB_ENV |
This file was deleted.
Oops, something went wrong.
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
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
38 changes: 38 additions & 0 deletions
38
bedwars-api/src/main/java/com/andrei1058/bedwars/api/events/team/TeamEliminatedEvent.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,38 @@ | ||
package com.andrei1058.bedwars.api.events.team; | ||
|
||
import com.andrei1058.bedwars.api.arena.IArena; | ||
import com.andrei1058.bedwars.api.arena.team.ITeam; | ||
import org.bukkit.event.Event; | ||
import org.bukkit.event.HandlerList; | ||
|
||
public class TeamEliminatedEvent extends Event { | ||
private static final HandlerList HANDLERS = new HandlerList(); | ||
|
||
private final IArena arena; | ||
private final ITeam eliminated; | ||
|
||
/** | ||
* Called when all Team gets killed and Bed is broken during the game. | ||
* | ||
* | ||
*/ | ||
|
||
public TeamEliminatedEvent(IArena arena, ITeam eliminated) { | ||
this.arena = arena; | ||
this.eliminated = eliminated; | ||
} | ||
|
||
public IArena getArena() { | ||
return arena; | ||
} | ||
|
||
public ITeam getTeam() {return eliminated;} | ||
|
||
public HandlerList getHandlers() { | ||
return HANDLERS; | ||
} | ||
|
||
public static HandlerList getHandlerList() { | ||
return HANDLERS; | ||
} | ||
} |
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.