/muserver-discord-bot

Python Discord Bot for any MuServer Version (Mu Online Private Servers).

Primary LanguagePython

MU Server Discord Bot

Developer

About

This is a simple discord bot made in python 3.8 to help developers with your own MU Server exclusive functions without use sites or other softwares. I create this for use with my friends in a custom private server for MU Online MMORPG. with this my friends and I can use commands like !ranking and !pk to see our progress without any other dependencies and we can use only discord to interact with the server.

This is a simple version, you can customize and modify wehatever you want. Any questions let me know and follow my youtube channel and discord and if you want to play with us send me a message, we have a classic MU Server version 1.0M+ (GMO Client) Old but gold!

Thanks for use my code. :D

Requirements

  • Discord APP Token
  • SQL Server working remotely
  • ODBC Driver for SQL Server instances
  • Python 3.8
  • Tested on MU Server 1.0M DarksTeam Build 13

Informations

In this bot app I just create two functions (Top 50 Resets, Top 50 PKs), but you can customize with other query's or mechanics like registration, other top rankings, ban accounts, give itens etc...

Install and Run

Install all dependencies

pip install -r requirements.txt

Change your SQL Server config and your discord token

# Discord Token
TOKEN = ''

# Server configurations
DB_HOST = ''
DB_PORT = ''
DB_USER = ''
DB_PASS = ''

Run

python bot.py

Commands

Top 50 players and Top 50 Pks

!ranking
!pk

Screens

img1