-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix event command and add more events.
- Add specific events for game/deathmatch pre/post countdowns - Fix "/ssg event" logic. More improvements needed - Command blocks with "/ssg event InternalEvent" actually restored. - Bug fix: no longer attempt to clean players from a ssg world.
- Loading branch information
1 parent
a173577
commit 1f3c2e2
Showing
11 changed files
with
173 additions
and
72 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pluginGroup=io.github.m0pt0pmatt.survivalgames | ||
pluginId=survivalgames | ||
pluginVersion=1.1.8 | ||
pluginVersion=1.2.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
9 changes: 9 additions & 0 deletions
9
src/main/java/io/github/m0pt0pmatt/survivalgames/event/DeathmatchPostCountdownEvent.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,9 @@ | ||
package io.github.m0pt0pmatt.survivalgames.event; | ||
|
||
import io.github.m0pt0pmatt.survivalgames.game.SurvivalGame; | ||
|
||
public class DeathmatchPostCountdownEvent extends PostCountdownEvent { | ||
public DeathmatchPostCountdownEvent(SurvivalGame survivalGame) { | ||
super(survivalGame); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/io/github/m0pt0pmatt/survivalgames/event/DeathmatchPreCountdownEvent.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,9 @@ | ||
package io.github.m0pt0pmatt.survivalgames.event; | ||
|
||
import io.github.m0pt0pmatt.survivalgames.game.SurvivalGame; | ||
|
||
public class DeathmatchPreCountdownEvent extends PreCountdownEvent { | ||
public DeathmatchPreCountdownEvent(SurvivalGame survivalGame) { | ||
super(survivalGame); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/io/github/m0pt0pmatt/survivalgames/event/GameStartedPostCountdownEvent.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,9 @@ | ||
package io.github.m0pt0pmatt.survivalgames.event; | ||
|
||
import io.github.m0pt0pmatt.survivalgames.game.SurvivalGame; | ||
|
||
public class GameStartedPostCountdownEvent extends PostCountdownEvent { | ||
public GameStartedPostCountdownEvent(SurvivalGame survivalGame) { | ||
super(survivalGame); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/io/github/m0pt0pmatt/survivalgames/event/GameStartedPreCountdownEvent.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,9 @@ | ||
package io.github.m0pt0pmatt.survivalgames.event; | ||
|
||
import io.github.m0pt0pmatt.survivalgames.game.SurvivalGame; | ||
|
||
public class GameStartedPreCountdownEvent extends PreCountdownEvent { | ||
public GameStartedPreCountdownEvent(SurvivalGame survivalGame) { | ||
super(survivalGame); | ||
} | ||
} |
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