Egg Repository

Pterodactyl Community Egg Repository

fragbot

The fragforce discord bot. located at https://github.com/fragforce/fragbot

Read Me

fragbot

Their Github

The golang based discord bot for fragforce.

Runs the fragforce @fragbot

Server Ports

There are no ports required for fragbot

Yolks
NameTag
ghcr.io/ptero-eggs/yolks:alpineghcr.io/ptero-eggs/yolks:alpine
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Discord Bot TokenThe token that is to be used for the bot.DISCORD_TOKENThisNeedsToBeChangedYesYes
Install Script
#!/bin/ash
# fragbot Installation Script
#
# Server Files: /mnt/server
export GOPATH=$HOME/go
export PATH=$GOROOT/bin:$GOPATH/bin:$PATH

cd

apk add --no-cache --update git

echo "pulling the fragbot repo"

git clone https://github.com/fragforce/fragbot.git

cd fragbot/

go mod download

echo "building fragbot"

go build 

echo "build complete copying parkertron and example configs over"

cp fragbot /mnt/server/

if [ -f /mnt/server/config.json ]; then
    echo "config file exists already"
else
    cp -r /root/fragbot/config.example.json /mnt/server/config.json
fi

echo "Install complete. If you watched this. Congrats."