PocketMine-MP To Discord Chat Logging.
MIT License
PocketCord is a PocketmineMP plugin that allows you to broadcast in-game events to a Discord webhook. With PocketCord, you can easily keep your players updated with announcements and events, even when they are not online.
plugin_data/pocketcord/config.yml
database-name: 'webhooks.db'
webhook-send-rate: 5
# {time}
start-format: "{time} => The server has started."
stop-format: "{time} => The server has stopped."
# {time} {player_name}
join-format: "{time} => {player_name} has joined the server."
leave-format: "{time} => {player_name} has left the server."
death-format: "{time} => {player_name} has died."
# {time} {player_name} {messsage}
chat-format: "{time} => {player_name} just said {message}."
command-format: "{time} => {player_name} just ran {message}."
# {time} {killer_name} {dead_name}
kill-format: "{time} => {killer_name} killed {dead_name}."
To install PocketCord, follow these steps:
PocketCord.phar
file in your server's plugins
folder.To set up PocketCord, you need to provide a Discord webhook URL. To do this, run the following command in-game:
/pocketcord
If you need help with PocketCord or have any questions, feel free to create an issue on this git!