Webchat
A simple but powerful (in configuration) plugin to allow players to chat via a webserver with players on the server
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Webchat
WebChat
Webchat allows players to chat with players that are on the server via a webpage
![]()
Features
- Port and bind address config - Custom web-to-game and game-to-web message format - Very customizable config - Modifiable page files
Config
Config
```
WebChat Configuration
Minecraft <-> Web chat bridge
Web server settings
webserver:
Port the built-in HTTP server listens on
port: 8765
Bind address (0.0.0.0 = all interfaces, 127.0.0.1 = localhost only)
bind-address: "0.0.0.0"
Secret token required for POST requests (change this!)
secret-token: "change-me-please"
Chat settings
chat:
Format for messages sent from the web to in-game
Placeholders: {username}, {message}
web-to-game-format: "&7[&bWeb&7] &f{username}&7: &f{message}"
Format for messages sent from in-game shown on web
Placeholders: {username}, {message}
game-to-web-format: "{username}: {message}"
Maximum message length allowed from web clients
max-message-length: 256
Maximum username length for web clients
max-username-length: 16
Minimum username length for web clients
min-username-length: 3
How many messages to keep in history (shown to new web visitors)
history-size: 100
Usernames that web clients are NOT allowed to use
(to prevent impersonation of admins, etc.)
blocked-usernames: - "Console" - "Server" - "Admin" - "Notch" - "Herobrine"
Long-polling timeout in seconds (how long the server holds open a poll request)
poll-timeout-seconds: 30 ```
Demo
