This repo is specifically for use with Servers Linux / Docker with generally small amounts of RAM / CPU power,
Want to know how to run a bot for 24 hours a day? Sure, I can show you.
- First of all I'd recommened setting up a Digital Ocean account, or any other cloud provider. You can set an account for Digital Ocean here
(Make sure you install docker if you're going outside of DO)
-
Once you've signed up to Digital Ocean simply create a droplet. You can install docker straight to it via the marketplace so i'd suggest doing that. (You can use any droplet, this will work on the smallest $5 A month one)
-
Connect into the droplet, you can do this via going to the Access Console or alternatively SSH into the droplet.
-
Once you're in type in
docker build https://github.com/jackbayliss/MissionChiefBot-linux.git
, let it run it'll set up the image for the bot. -
Once the image is done simply copy the ID which is after
Successfully built [ID]
OR alternatively rundocker images
only one should appear, and copy the ID. -
Run the command
docker run -it [your image id]
for exampledocker run -it 9592340fbaf1
-
You should be brought straight into a container, all you'll need to do is
cd missionchief/config
and then dovim config.ini
You'll want to press theI
key to edit the document, and add your username, password and region. Once done pressESC
and type:wq
this will save the document. -
Run
cd ../ && bash run-d.sh
if you require the despatcher orcd ../ && bash run-d.sh
-
To exit the docker container press
CTRL + D
, if you typedocker ps -a
you'll see your container is now off. To get it to start just rundocker ps -a
and copy the name of your container, then rundocker container start [container name]
this will keep your container running- and to get access into it you can dodocker exec -it [container name] bash
and simply runcd missionchief
and do step 8 😃
Did you find this useful? Why not buy me a beer!? donate
This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License see license here
Please be aware, this is simply a guide on how to get the bot running using docker to make it simple. I hold no responsibility on what you do with it.
Section 7.2 of the MissionChief official rules state:
Use of tools, scripts, bots or other computer programs:Users are not allowed to use tools, scripts, bots or other computer programs which are suitable for the automatic execution of actions in a game.
No developers of this bot hold any responsibility for your use of it. We make no warranties about the effectiveness, or performance of this bot. If you're banned, that's on you.
USE AT YOUR OWN RISK