ChatToDiscord
Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'ChatToDiscord': Incompatible API version (plugin requires one of: 3.0.0, 3.0.0-ALPHA6) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
ChatToDiscord
send messages from your PMMP server to Discord
Setting It Up
-
Download from Poggit.
-
Add plugin to your plugins folder.
-
Start and stop your server (so config is created).
-
Open plugins\ChatToDiscord\config.yml and start customizing.
-
add your webhooks webhooks: ['https://discordapp.com/api/webhooks/123/456789']. How do I get a webhook? (skip the Github Integration at the end of the article)
-
change the username username: 'My Server'.
-
change the avatar/icon avatar: 'http://example.com/myserverslogo.png'.
-
change the format message_format: '{player} said {message}'.
-
Save plugins\ChatToDiscord\config.yml.
-
Restart your server
My Setup
Config:
Discord:
To Do
-
Add async so it doesn't lag main thread
-
Add multiple webhook support
-
Add ability to send messages of events
-
on join
-
on quit
-
on death