Exaroton Server Util

A mod that adds some useful commands for servers hosted on exaroton.com

7

Exaroton Server Util

Exaroton Server Util

This Fabric mod aims to provide useful commands to owners of Exaroton Minecraft servers, using the official _Exaroton API_ Java library. These commands are likely to just be in-game ways of doing stuff you can already do via the web interface.

Instructions

For full instructions on setup and usage of this mod, see the wiki.

Disclaimer

BE AWARE THAT BY USING THIS MOD, YOUR API TOKEN WILL BE STORED IN PLAIN TEXT IN A CONFIG FILE.

THIS MEANS THAT ANY EXAROTON USER YOU GIVE ACCESS TO THE 'FILES' PAGE OF YOUR SERVER DASHBOARD COULD POTENTIALLY GAIN UNWANTED ACCESS TO YOUR ACCOUNT, USING THE API.

IF YOU KNOW YOUR TOKEN IS COMPROMISED - OR IF YOU DON'T HAVE A TOKEN YET - YOU CAN RESET IT HERE.

Dependencies

This mod currently depends on owo-lib; the specific version depends on which version of this mod you are using, and it will always be listed on that version's page.

Functionality

Currently, the mod provides the following commands: - `/credits` - Returns how many Exaroton credits the server has left, and uses the server RAM to calculate the number of hours remaining (`credits ÷ RAM`). Only functions through credit pools. - `/restart` - Waits for `secondsToWaitBeforeRestart` (set in the config file), before requesting for Exaroton to restart the server. - `/restart <delayTimeSeconds>` - Waits for `delayTimeSeconds` before restarting, ignoring the config file completely.

Legal

This mod and its source code are covered by the ``LGPL-3.0-only`` license, which can be found here.

The Exaroton API Java library is covered by a different (``MIT``) license to the rest of this project, which can be found here.

ADS