Update README
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m3s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m3s
This commit is contained in:
26
README.md
26
README.md
@@ -29,7 +29,7 @@ A feature-rich Discord bot for monitoring and managing Pterodactyl game servers
|
||||
### Core Functionality
|
||||
- **Real-time Server Monitoring**: Auto-updating embeds showing server status (online/offline) and detailed resource usage
|
||||
- **Power Management**: Start, stop, and restart servers directly from Discord with button controls
|
||||
- **Connection Information**: One-click display of server IP addresses and ports
|
||||
- **Connection Information**: One-click display of server addresses and ports
|
||||
- **Multi-channel Support**: Status embeds can be placed in any channel with proper permissions
|
||||
|
||||
### Intelligent Updates
|
||||
@@ -71,7 +71,7 @@ The system uses aiohttp for asynchronous HTTP requests and discord.py for Discor
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://git.serendipity.systems/yourusername/pterodactyl-discord-bot.git
|
||||
git clone https://git.serendipity.systems/k.eaven/pterodactyl-discord-bot.git
|
||||
cd pterodactyl-discord-bot
|
||||
```
|
||||
|
||||
@@ -89,27 +89,33 @@ The system uses aiohttp for asynchronous HTTP requests and discord.py for Discor
|
||||
|
||||
### Docker Installation
|
||||
|
||||
1. Build the Docker image:
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
docker build -t pterodactyl-bot .
|
||||
git clone https://git.serendipity.systems/k.eaven/pterodactyl-discord-bot.git
|
||||
cd pterodactyl-discord-bot
|
||||
```
|
||||
|
||||
2. Create a directory for configuration:
|
||||
2. Build the Docker image:
|
||||
```bash
|
||||
docker build -t pterodisbot .
|
||||
```
|
||||
|
||||
3. Create a directory for configuration:
|
||||
```bash
|
||||
mkdir -p bot-config
|
||||
```
|
||||
|
||||
3. Create a `config.ini` file in the `bot-config` directory with your settings
|
||||
4. Create a `config.ini` file in the `bot-config` directory with your settings
|
||||
|
||||
4. Run the container with the config mounted:
|
||||
5. Run the container with the config mounted:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name pterodactyl-bot \
|
||||
--name pterodisbot \
|
||||
-v $(pwd)/bot-config:/app \
|
||||
pterodactyl-bot
|
||||
pterodisbot
|
||||
```
|
||||
|
||||
5. For Docker Compose, create a `docker-compose.yml` file:
|
||||
6. For Docker Compose, create a `docker-compose.yml` file:
|
||||
```yaml
|
||||
services:
|
||||
pterodisbot:
|
||||
|
Reference in New Issue
Block a user