Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjmustard1452/pocketcord
PocketMine-MP To Discord Chat Logging.
https://github.com/cjmustard1452/pocketcord
discord php plugin pocketmine pocketmine-mp webhook
Last synced: 4 months ago
JSON representation
PocketMine-MP To Discord Chat Logging.
- Host: GitHub
- URL: https://github.com/cjmustard1452/pocketcord
- Owner: CJMustard1452
- License: mit
- Created: 2022-09-12T22:19:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T03:31:33.000Z (10 months ago)
- Last Synced: 2024-10-12T15:23:43.281Z (4 months ago)
- Topics: discord, php, plugin, pocketmine, pocketmine-mp, webhook
- Language: PHP
- Homepage: http://vorium.org
- Size: 55.7 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome To PocketCord
![]()
![]()
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.
## Features
- Broadcast in-game events using discord webhooks
- Customizable message formatting
- Simple in game setup
- Supports multiple webhook URLs## Configuration
**plugin_data/pocketcord/config.yml**
```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}."
```## Installation
To install PocketCord, follow these steps:
1. Download the latest version of PocketCord from the [GitHub repository](https://github.com/CJMustard1452/PocketCord/releases/tag/Newest).
2. Place the `PocketCord.phar` file in your server's `plugins` folder.
3. Restart your server to load the plugin.## Usage
To set up PocketCord, you need to provide a Discord webhook URL. To do this, run the following command in-game:
```/pocketcord```
## Support
If you need help with PocketCord or have any questions, feel free to create an issue on this git!