In this bot, the prefix is set to be "Age of Empires X" or "\" (a backslash).
\
Examples
\aoe4
\help
(or)
@Age of Empires X
Examples
@Age of Empires Xaoe4
@Age of Empires Xhelp
*mentionable don't function when copied and pasted
You can add your player ID to the bot's database by using this command.
*if you dont know your unique player ID, here is how to Get your player ID from www.aoe4world.com
\aoe4 add
Once you have your player ID, apply to the command like shown blow.
\aoe4 add 123456
*Replace the player ID with your own ID
With this command, all of your data is deleted from the bot's records..
Copy and paste the command below; *your player ID is not required.
\aoe4 rm
Example: If the URL is https://aoe4world.com/players/1234567, your player ID is 1234567.
Replace 1234567 in the example with the actual number that appears in the URL of your profile page on aoe4world.com to locate your player ID.
Only server administrators can execute any of the commands listed below.
To add a user, you need their Discord userid and player ID.
*How to get the userid*Get player ID from www.aoe4world.com
\aoe4 admin add 123456 12345678
*replace the actual playerid and userid
*Note The userid is optional, if you opt for below method user will not get the roles.
(or)
You can add player ID to the bot's database by using this command.
\aoe4 admin add
Once you have your player ID, the command appears like this.
\aoe4 admin add 123456
Users can be removed using either their userid or their player ID.
use player ID to delete the user from database.
\aoe4 admin removeplayer
\aoe4 admin removeplayer 123456
Users can be removed using either their userid or their player ID.
use userid to delete the user from database.
\aoe4 admin removeuser
\aoe4 admin removeuser 12345678
Lists user from database.
\aoe4 admin list
This command used to set the channel id where the pre and post game summary are posted.
Go to the desired channel and execute the command
\aoe4 admin set
To change or remove the channel from the database.
use this command to produce leaderboard
\aoe4 admin leaderboard
*The leaderboard will update every 24 hours at 3:00 UTC. "If you wish to exclude a specific leaderboard, you may delete its corresponding message.
*Note Please attempt to utilize this feature in an empty channel to prevent the leaderboard from moving to the top.
use this command to remove leaderboard data from database.
\aoe4 admin delleaderboard
use this command to roles, this will create like 19 roles
\aoe4 admin createroles
*Don't change bot role postion below any of the role created
*Don't delete any of the roles created.
The generated rank role permission can be changed to your preference, including the color scheme.
Execute this command to delete created role data from the database and remove all associated roles.
\aoe4 admin delleaderboard
This command shows the list of player ID in cache
\aoe4 admin process
This command clears the cache while leaving the database unchanged. Instructions for this action are displayed in the warnings.
\aoe4 admin clear
What Does This Feature Do?
This feature informs players about their spawn location (e.g., corner or middle) and nearby opponents' civilizations.
This command enable and disable myspawn function.
\aoe4 myspawn
Disclaimer
* A few maps are not yet added to the database, some may occasionally provide incorrect information.
How Does It Work?
V2
V2.1- updated myspawn, Added most of maps(some may provide incorrect info because of more than one pattern).
V2.11 - updated Error handling.
V2.12 - Added random flag for Ongoing and Completed game summary. 3/12/2024
V2.2 - Added maps for Ongoing and Completed game summary. update its visuals
changes on how leaderboard works, to exclude a specific leaderboard, you may delete its corresponding message. 5/12/2024
V2.21 - Added social badges. changed MMR to rating so it provide info rather then NONE. 6/12/2024
V2.22 - updated Error handling, dm user who create annocement channel, leaderboard in case of error and stops the fuction. To active again use the command again. 10/12/2024
V2.3 - Advance game summary which update rating gain and lose of player.NOTE this only for KOFI supports this feature will continue update player rating changes for 2hrs. discard it 16/12/2024
V2.4 - DLC-Knights of Cross and Rose, Added new civ flag emoji , 10 new dlc map image + 2 free maps image .
2.5 - DLC-Dynasties of the East, Added new civ flag emoji. 8 new dlc map image.
Hi, I'm Karthik. I used to play multiplayer games, including Age of Empires IV. My journey into the world of programming began when I aimed to enhance the fun and competitive spirit between our friends. I wanted to add features like rank roles and a leaderboard to make the gaming experience more exciting.
Although I had no prior experience, my interest in creating a Discord bot drove me forward. I owe a huge thanks to the Red Bot community for their support and guidance. Additionally, I'm grateful to aoe4world for providing a public API that made this project possible.
Let's build an engaged Age of Empires IV community together!