9 downloads ยท 0 stars
Published 4 Feb 2026 from CelticTrinculo/wsRCON at e23e0e679748d36af4b9e0a0358405e073020273, after moderator review.
Plugin description
WebSocket Console Plugin for PocketMine-MP
A complete WebSocket implementation for remote server console access with zero external dependencies.
๐ Features
- ๐ Password Authentication - Secure your console access
- ๐ก Real-time Communication - Instant command execution and responses
- ๐ฏ Event Broadcasting - Player joins, quits, chat, deaths, and server commands
- ๐ฅ Multiple Clients - Support for concurrent WebSocket connections
- โ๏ธ Configurable - Easy setup via config.yml
- ๐ก๏ธ Session Management - Secure authentication per connection
- ๐ Debug Logging - Optional detailed logging for troubleshooting
- ๐ง Pure PHP - No external libraries or Composer packages required
๐ Online interface:
I've made an interface for this plugin, that can be found over at https://hbidamian.github.io/wsRCON/.
Important Note: SSL/TLS isn't set up in the plugin, and I quite honestly cba setting it up. So if you wish to use the WSRcon, you must self host it, and make sure the url protocol is "HTTP", not "HTTPS" in order for it to connect to ws://Your.Server.
If you want to self host your own interface, you can grab it from https://github.com/HBIDamian/wsRCON/tree/webconsole
โ๏ธ Configuration
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: ""
๐ก Supported Events
The plugin broadcasts the following server events to all authenticated clients:
- ๐ Player Join/Quit - When players connect or disconnect
- ๐ฌ Player Chat - All chat messages
- ๐ Player Deaths - Death messages
- โจ๏ธ Console Commands - Commands executed in server console
๐ ๏ธ Troubleshooting
Plugin Won't Start
- Port in use : Change
websocket-portin config.yml - Permission denied : Check server file permissions
- Firewall : Ensure the port is open
Can't Connect
- Wrong host/port : Verify connection settings
- Firewall : Check if port is blocked
- Authentication : Verify password is correct
Commands Not Working
- Not authenticated : Check password
- Insufficient permissions : Plugin runs with OP permissions
- Invalid command : Use
helpto see available commands
๐ Debug Mode
This 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:
- Connection attempts
- Authentication events
- Message broadcasts
- Client disconnections
๐ค Contributing
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!
๐ License
Apache License 2.0 - See LICENSE file for details.
Made with โค๏ธ for the PocketMine community
Installing it
Drop the phar into plugins/ and restart the server. If the API version below does not match your server, the plugin will refuse to load, which is the check working as intended.
Releases
| Version | API | Built |
|---|---|---|
| 1.1.0 | 5.0.0 | 4 Feb 2026 ยท 26 KB |
SHA-256 of 1.1.0b333b48cdff1600140daece5fbc866f010ae0d15c3c5f41feda93a8135528007
Reviewed by a moderator before publishing. Built from CelticTrinculo/wsRCON at e23e0e679748d36af4b9e0a0358405e073020273. Nobody reviews plugin code here: read the source before running it on a server you care about.
Sign in with GitHub to star this plugin or leave a comment.
No comments yet.