-
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.
Fully working version just not all features i wanna implement. - Added PanelAPIClient for the ease of implementing new API's from different Panels. - Added PelicanAPIClient for the support of the Pelican Panel - Add new variable to the ConfigurationManager to atomaticly detect what Panel is beeing used using the API key - updated config.yml Took 3 hours 29 minutes
- Loading branch information
Showing
11 changed files
with
161 additions
and
84 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
7 changes: 7 additions & 0 deletions
7
src/main/java/de/tubyoub/velocitypteropower/api/PanelAPIClient.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,7 @@ | ||
package de.tubyoub.velocitypteropower.api; | ||
|
||
public interface PanelAPIClient { | ||
void powerServer(String serverId, String signal); | ||
boolean isServerOnline(String serverId); | ||
boolean isServerEmpty(String serverName); | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/de/tubyoub/velocitypteropower/api/PanelType.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,6 @@ | ||
package de.tubyoub.velocitypteropower.api; | ||
|
||
public enum PanelType { | ||
pterodactyl, | ||
pelican | ||
} |
Oops, something went wrong.