-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show teams when match is created, customisable message if you do not …
…have permissions to request a private server, sync matches with API when connecting to Redis, add /bolt staff command, code and file size optimisations and bug fixes
- Loading branch information
Showing
29 changed files
with
611 additions
and
145 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
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
2 changes: 1 addition & 1 deletion
2
.../java/rip/bolt/nerve/api/MatchStatus.java → ...lt/nerve/api/definitions/MatchStatus.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,4 @@ | ||
package rip.bolt.nerve.api; | ||
package rip.bolt.nerve.api.definitions; | ||
|
||
public enum MatchStatus { | ||
|
||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ public Participation(User user) { | |
} | ||
|
||
public Participation() { | ||
|
||
} | ||
|
||
public User getUser() { | ||
|
39 changes: 39 additions & 0 deletions
39
src/main/java/rip/bolt/nerve/api/definitions/QueueUpdate.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,39 @@ | ||
package rip.bolt.nerve.api.definitions; | ||
|
||
import java.util.List; | ||
import java.util.UUID; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class QueueUpdate { | ||
|
||
protected Action action; | ||
protected User user; | ||
protected int limit; | ||
protected List<UUID> players; | ||
|
||
public Action getAction() { | ||
return action; | ||
} | ||
|
||
public User getUser() { | ||
return user; | ||
} | ||
|
||
public int getLimit() { | ||
return limit; | ||
} | ||
|
||
public List<UUID> getPlayers() { | ||
return players; | ||
} | ||
|
||
public static enum Action { | ||
|
||
JOIN, | ||
LEAVE; | ||
|
||
} | ||
|
||
} |
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.