From a34599b0673212592eaba86239ed1d7c485e4d18 Mon Sep 17 00:00:00 2001 From: spaffel <53013322+Calvinwaran@users.noreply.github.com> Date: Sat, 30 Oct 2021 23:35:38 +0200 Subject: [PATCH] First Release have Fun --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- bot.py | Bin 0 -> 6985 bytes data.csv | 12 ++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 bot.py create mode 100644 data.csv diff --git a/README.md b/README.md index c0a2d21..8f23d46 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,47 @@ -# Minecraft-Serverstats-Discord-Bot -A bot to get Statistics like the Playercount from your Minecraft-Server on your Discord-Server +Hey Thanks for reading me. Warning: My English is not the best + +So the Setup is really easy. + +First install Python3 or make sure it is installed + +First you have to install all Requirements (requirements.txt) + +Then you have to Create a Bot in the Discord-Developer Portal. + +Tutorial: + +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" +port = "25565" +bottoken = "your-bot-token" +``` + +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. + +You can use Screen to run the bot 24/7: + +``` +screen -s Stats-Bot python3 bot.py +``` + +If its running press ctrl + a + d + +**Usage on Discord:** + +After the Setup the bot will take 2-3 Hours to collect the first data. + +After that you can use: + +**!serverstats** To get Statistics about the Playercount and Ping + +**!pcount** to get Information from Now + +I hope this Explains Enough if you have problems feel free to Contact me: Spaffel#0581 \ No newline at end of file diff --git a/bot.py b/bot.py new file mode 100644 index 0000000000000000000000000000000000000000..d9b6c8f6c645ea0b622199c3e945cc00ae0ed525 GIT binary patch literal 6985 zcmeHMTW{Mo6yCD|{|C-NAq905+ilX!fPrGmhV5Zkuy#*D5HKcw=A9jetWh@SGA@N9wY7*XloJ$}c@C20 zkSHoY$cB;1WfAkz>Uf6HQdCr>FiB4A6;vBpg8fr7saoNG%d#No@}nG_Pwt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