Update README.md
This commit is contained in:
99
README.md
99
README.md
@@ -1,47 +1,56 @@
|
|||||||
Hey Thanks for reading me. Warning: My English is not the best
|
Hey Thanks for reading me. Warning: My English is not the best
|
||||||
|
|
||||||
So the Setup is really easy.
|
So the Setup is really easy.
|
||||||
|
|
||||||
First install Python3 or make sure it is installed
|
First install Python3 or make sure it is installed
|
||||||
|
|
||||||
First you have to install all Requirements (requirements.txt)
|
First you have to install all Requirements on your Server:
|
||||||
|
```
|
||||||
Then you have to Create a Bot in the Discord-Developer Portal.
|
pip install matplotlib
|
||||||
|
pip install numpy
|
||||||
Tutorial: <https://www.youtube.com/watch?v=ibtXXoMxaho>
|
pip install asyncio
|
||||||
|
pip install discord.py
|
||||||
than you need to invite the bot to your Discord.
|
pip install pathlib
|
||||||
|
```
|
||||||
So its time to edit the bot.py
|
|
||||||
|
If this command dont work try to replace "pip" with "pip3"
|
||||||
Just Enter Your Server-Ip, Port and the Bot-Token:
|
|
||||||
|
Then you have to Create a Bot in the Discord-Developer Portal.
|
||||||
```
|
|
||||||
|
Tutorial: <https://www.youtube.com/watch?v=ibtXXoMxaho>
|
||||||
|
|
||||||
|
than you need to invite the bot to your Discord.
|
||||||
|
|
||||||
|
So its time to edit the bot.py
|
||||||
|
|
||||||
|
Just Enter Your Server-Ip, Port and the Bot-Token:
|
||||||
|
|
||||||
|
```
|
||||||
serverip = "play.spaffel.de"
|
serverip = "play.spaffel.de"
|
||||||
port = "25565"
|
port = "25565"
|
||||||
bottoken = "your-bot-token"
|
bottoken = "your-bot-token"
|
||||||
```
|
```
|
||||||
|
|
||||||
Move all Files (also data.csv) to your Server. (Linux Server to run the bot on)
|
Move all Files (also data.csv) to your Server. (Linux Server to run the bot on)
|
||||||
|
|
||||||
Grab your Terminal and cd to the Directory of the Bot.
|
Grab your Terminal and cd to the Directory of the Bot.
|
||||||
|
|
||||||
You can use Screen to run the bot 24/7:
|
You can use Screen to run the bot 24/7:
|
||||||
|
|
||||||
```
|
```
|
||||||
screen -s Stats-Bot python3 bot.py
|
screen -s Stats-Bot python3 bot.py
|
||||||
```
|
```
|
||||||
|
|
||||||
If its running press ctrl + a + d
|
If its running press ctrl + a + d
|
||||||
|
|
||||||
**Usage on Discord:**
|
**Usage on Discord:**
|
||||||
|
|
||||||
After the Setup the bot will take 2-3 Hours to collect the first data.
|
After the Setup the bot will take 2-3 Hours to collect the first data.
|
||||||
|
|
||||||
After that you can use:
|
After that you can use:
|
||||||
|
|
||||||
**!serverstats** To get Statistics about the Playercount and Ping
|
**!serverstats** To get Statistics about the Playercount and Ping
|
||||||
|
|
||||||
**!pcount** to get Information from Now
|
**!pcount** to get Information from Now
|
||||||
|
|
||||||
I hope this Explains Enough if you have problems feel free to Contact me: Spaffel#0581
|
I hope this Explains Enough if you have problems feel free to Contact me: Spaffel#0581
|
||||||
|
|||||||
Reference in New Issue
Block a user