WebSocket remote console for PocketMine (an RCON Alternative)
A complete WebSocket implementation for remote server console access with zero external dependencies.
I've made an interface for this plugin, that can be found over at https://hbidamian.github.io/wsRCON/.
If you want to self host your own interface, you can grab it from https://github.com/HBIDamian/wsRCON/tree/webconsole
After the first startup, the plugin will create a config file at:
plugins/wsRCON/config.yml
Edit this file to customize your settings:
#═══════════════════════════════════════════════════════════════════════════════
# WebSocket Console Configuration
#═══════════════════════════════════════════════════════════════════════════════
# 🔐 Authentication Password
# This will be automatically generated on first run for security
websocket-password: "change_this_password_123"
# 🌐 Server Port
# Set to "default" (with quotations) to use the server's current port, or specify a port number (Ex: 19132)
websocket-port: "default"
# 🏠 Server Host
# Default: 0.0.0.0 for all interfaces
websocket-host: "0.0.0.0"
# 🐛 Debug Mode
# Enable debug logging (useful for troubleshooting)
debug-logging: false
# 👥 Connection Limit
# Maximum number of concurrent WebSocket connections
max-connections: 10
#═══════════════════════════════════════════════════════════════════════════════
# Notes
#═══════════════════════════════════════════════════════════════════════════════
# ⚠️ IMPORTANT: Restart your PocketMine server after changing this configuration
#───────────────────────────────────────────────────────────────────────────────
# Password Examples
#───────────────────────────────────────────────────────────────────────────────
# 💡 Strong password examples:
# websocket-password: "Random_Words-789"
# websocket-password: "WebSocket@Admin#2025"
# websocket-password: "WA%5e6vPF3JHL!"
# ⚠️ For no authentication (SECURITY RISK):
# websocket-password: ""
The plugin broadcasts the following server events to all authenticated clients:
websocket-port in config.ymlhelp to see available commandsThis is meant for troubleshooting and development purposes. You most likely need to use it unless you like to tinker with the code directly
debug-logging: true
This will log:
This plugin is open source and contributions are welcome! Or if you have a better implementation idea, feel free to share it, and overtake this plugin with your own!
Apache License 2.0 - See LICENSE file for details.
Made with ❤️ for the PocketMine community