-
Notifications
You must be signed in to change notification settings - Fork 1
V1 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V1 #1
Conversation
Server object is not finished, missing some methods for scheduler/other.
TODO: Set getStatus and getKeepOnline to return enums instead of an int, currently missing API documentation to do so
Recursing over the single command execution method
Added getServers() method, returns ArrayList - Added parsing of JSON response (took so long) - Added error handling - Added iterator on the API response
ServerStatus can be Online, Offline, Filter, None Used for getServerCount, can be used for Server.getStatus if values get confirmed
Added Scheduler object Added Task object Added TaskType Enum Added InvalidTaskDetails exception (thrown when API returns 409)
Unable to SET repeat for now, blocked by API
Thrown when api key is missing rights to access a specific function
Next up -> Complete redo of the server class
|
Next commit will be a big one, major rewrite of the server class. |
|
FINAL STRETCH As a note, this won't technically be V1, but I'll use the same version number of the base MCSS api for the wrapper version, to keep stuff simple ya know. |
|
@all-contributors |
|
@vaio2005 I've put up a pull request to add @vaio2005! 🎉 I've put up a pull request to add @LostAndDead! 🎉 |
Don't merge for now, waiting for an update to MCSS internal API