Exaroton Server Util
A mod that adds some useful commands for servers hosted on exaroton.com
介绍
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 forsecondsToWaitBeforeRestart(set in the config file), before requesting for Exaroton to restart the server./restart <delayTimeSeconds>– Waits fordelayTimeSecondsbefore 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.
常见问题
Exaroton Server Util 支持哪些 Minecraft 版本?
Exaroton Server Util 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Exaroton Server Util 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分