mx-bot
mx-bot copied to clipboard
Features
- Discord Whitelist
- Ban, kick system
- Give / take money
- Can pull the player's information [identifier, firstname, dateofbirth, job and sex]
- Can delete player
- Can show banned players
- Can show the money in the player's account
- Can show the player inventory.
- Can control the ban.
- Can revive
- Can revive for all players
- Can give job
- Can give item
- Can show active players
- Can setcoords for player
- Can start script
- Can stop script
- Can refresh scripts
- Can give a vehicle
- All players can be given vehicles
- Can give a weapon
Images
Requirements
- mx-bansystem (https://github.com/MOXHAFOREVA/mx-bansystem)
How To Install
-
You must give the bot these permissions
-
For start, refresh, stop commands add ur server.cfg >
# Server Management Bot
add_ace resource.mx-bot command.start allow
add_ace resource.mx-bot command.ensure allow
add_ace resource.mx-bot command.stop allow
add_ace resource.mx-bot command.refresh allow
KNOWN ISSUES
- It doesn't work properly on some servers because the discord.js version is outdated.
Config.json
-
Discord Application: https://discord.com/developers/applications/
-
Discord Bot Invite:
-
Go to
https://discord.com/developers/applications/
Join ur account click New Application -
Select
bot
-
Select admin
-
Copy token and go to config.json > token =
ur token
-
Select
OAuth2
-
Copy client id and invite bot https://discord.com/oauth2/authorize?clientid=your_client_id&scope=bot&permissions=8
-
Go to discord > settings > Advanced > Open Developer Mode
-
Copy the id of the admin role and whitelist role
-
Copy ur discord server id
And invite your bot !