Cauthon Info Hoster
The plugin provides server monitoring via HTTP requests, allowing you to track key performance metrics and interact with in-game chat.
Main Features
- Server Statistics: Server performance information available through web interface
- Chat History: Storage and display of recent messages from in-game chat
- Discord Integration: Ability to send messages from Discord directly to Minecraft
Plugin Configuration
To get started, navigate to the plugins/CauthonInfo/ folder and edit the config.yml file. The default port is 8080, but you can specify any other port of your choice.
How to Use the Functionality
Getting Server Statistics
After configuring the plugin, open the following address in your browser:
http://<your-server-ip>:<port>/tps
This page will show:
- Current TPS: Server tick processing speed
- CPU Usage: Percentage of CPU resources being used
- Memory Usage: Amount of occupied RAM
- Disk Usage: Amount of disk space being used
- Uptime: Server operation duration since startup
- Unique Players: Number of different players who have joined the server
Viewing Chat
The latest message from the game chat is available at:
http://<your-server-ip>:<port>/chat
Sending Messages from Discord
To send messages from Discord to Minecraft, set up a bot or program to send POST requests to:
http://<your-server-ip>:<port>/discord