Skip to content

radeeyate/discord-aternos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-aternos

⚠️ WARNING ⚠️ Using this has a chance of getting you permanently banned from Aternos. I highly recommend that you use backups. Also, this bot is outdated and will not work with newer version of Python-Aternos. I'll probably fix this in the future.

I made a little Discord bot that allows control of an Aternos Minecraft server.

This bot uses the wonderful Python-Aternos package and discord.py.

It can only allows certain commands to be by non-administrators, including start and info (including your set prefix, of course), while allowing commands such as restart, cancel, and more.

You can set it up by running this:

git clone https://github.com/radeeyate/discord-aternos.git
cd discord-aternos
pip install python-aternos discord.py python-dotenv

You will need to edit the .env file since I don't really want to give you my Aternos credentials. The following need to be edited:

  • Your bot token
  • Aternos username & password
  • Aternos server domain
  • Admin discord tag
  • Prefix

This is also availble as a Docker image that you can run containerized. To use build the image by running this: docker build -t discordaternos . You can of course replace discordaternos is that command to whatever you want to image to be called. You can then run the image, and you can probably figure that out. As extra, you should probably set an hourly cron job to restart the Docker container since the Discord gateway sometimes likes to randomly disconnect.

If you don't want to build it yourself, you can get it from Dockerhub. To use it, run

docker pull radeeyate/discord-aternos
docker run --env-file /path/to/env/file radeeyate/discord-aternos

About

A discord bot for controlling aternos servers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published