Mabicord AIO is a Discord bot that handles MMORPG Mabinogi's raid messages and bugle messages, designed to serve a single Discord server.
APACHE-2.0 License
Also available in:
Mabicord AIO is a Discord bot that handles MMORPG Mabinogi's raid messages and bugle messages, designed to serve a single Discord server.
config-example.json
to config.json
.Copy config-example.json
to config.json
.
Edit the following options.
Name | Description |
---|---|
prefix | Prefix of command used to control Mabicord AIO. |
token | Bot token issued from Discord Developer Portal. |
owner | ID of bot owner. |
client_id | Application ID issued from Discord Developer Portal. |
test_guild_id | Server ID of bot’s test server. It’s highly recommended to have a dedicated test server for your bot. |
guild_id | Server ID of bot’s main server. Mabicord AIO is designed to server a single server. |
channel_log | ID of channel for logging bugle horn messages. |
channel_alert | ID of channel for mentioning users when a keyword is matched in a bugle horn message. |
channel_raid | ID of channel to log world raid events. |
channel_command | ID of channel to accept commands from. Setting this value to "ANY" will allow bot to accept command from anywhere. |
bugle_collect | Whether to use raid alert feature on not. Choose between ON or OFF. Defaults to ON. |
raid_collect | Whether to use raid alert feature on not. Choose between ON or OFF. Defaults to OFF to avoid collision in multi-server Discord servers. |
role_raid | ID of role to mention when a world raid occurs. |
device_address | Address of device used to capture network packets. Use deviceList.js to find your device address. |
cap_filter | Partial IP address to listen to for incoming packets. IP defaults to official Korean Lute server. |
patch_url | Address of patch information text file. Defaults to official Korean server. |
language | Language Mabicord AIO will send messages in. Supports english and korean. Language defaults to Korean. |
config.css | Message style Mabicord sends in. Toggles between CSS and plain styles. |
config.bugle_style | Bugle horn message log style. Choose between css, plain and webhook. Using webhook will send the message as if the user has send the message. |
config.webhookID | ID part of webhook URL. A webhook URL is constructed as https://discord.com/api/webhooks/ID/Token. |
config.webhookToken | Token part of webhook URL. A webhook URL is constructed as https://discord.com/api/webhooks/ID/Token. |
npm run start
.
forever
or pm2
to start bot.js
.Command | Description |
---|---|
!help | Sends all commands/help message via DM |
!add keyword | Adds a keyword. Add multiple keywords, separated by space. |
!remove keyword | Remove a keyword. You can only remove one at a time. |
!list | Lists currently registered keywords. |
!reset | Remove all keywords. |
device_address
Use IP address assigned by your router. It is recommended to use static DHCP by configuring in your router settings. If you don't know your IP address issued by your router, you have three options.
Hardware properties
of your network device.node deviceList.js
to confirm and use the addr
assigned by your router.cap_filter
values for my game server?If you have configured device_address
correctly, running node findChannel.js
will log valid Channel IP address and data to the terminal if it includes <ALL_CHANNELS>
in the message while running Mabinogi.
If you have successfully logged your channel IP, log all IP addresses by channel hopping. To make the process faster, you may send bugle messages yourself.
Once you have collected all IP addresses, find common value and substitute 211.218.233
appropriately. Leaving out values will automatically match source IP partially.
Feel free to contribute via issues or pull requests! If you need to contact me, reach out at Lx#2909 on Discord.