https://github.com/maskalix/craftybot
Crafty Controller Bot - Discord Bot to control (turn on/off; restart) server and display basic info
https://github.com/maskalix/craftybot
crafty-controller docker python
Last synced: 2 months ago
JSON representation
Crafty Controller Bot - Discord Bot to control (turn on/off; restart) server and display basic info
- Host: GitHub
- URL: https://github.com/maskalix/craftybot
- Owner: maskalix
- License: apache-2.0
- Created: 2025-02-06T15:04:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-23T16:16:54.000Z (over 1 year ago)
- Last Synced: 2025-04-06T03:28:18.505Z (about 1 year ago)
- Topics: crafty-controller, docker, python
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crafty Controller Bot | Discord Bot to control (turn on/off; restart) server and display basic info
*Unofficial, fan project, not affiliated with Crafty Controller*
- used to control https://craftycontrol.com servers
- docker image on [maskalicz/craftybot](https://hub.docker.com/r/maskalicz/craftybot)
## How it works?
- slash command /serverinfo in any Discord channel you invited your bot to :)
## What is needed?
- crafty username
- crafty password
- crafty URL/IP (with http(s), port if IP and without / at the end)
- crafty server ID (found in URL when you go to server overview - server_detail?id=XXXXXXXXX)
- discord bot token
## Usage
docker-compose.yml
```
services:
discord-bot:
image: maskalicz/craftybot:latest
container_name: craftybot
restart: unless-stopped
env_file:
- .env
```
.env
```
BOT_TOKEN=
CRAFTY_API_BASE_URL= # with protocol (http://), without end slash (/), if IP use port also
CRAFTY_SERVER_ID=
CRAFTY_USERNAME=
CRAFTY_PASSWORD=
CRAFTY_SERVER_URL= # Info for users, IP/URL of the server
CRAFTY_SERVER_TYPE= # Info for users, fill here Forge, Spigot or whatever you running
```
then just ``docker compose up -d``