The source code of Cartoland Bot, a discord bot developed for a server named Cartoland. Join Cartoland here: https://discord.gg/UMYxwHyRNE
For performance reasons, this bot won't verify if all the necessary paths and files exist. If you want to run the bot yourself, you must have the following folders and files:
- 📁
dms/
- 📁
lang/
with all.json
files found in thelang/
folder of this repository. - 📁
logs/
- 📁
serialize/
with these following files:- 📄
all_members.ser
serialized from aHashSet
which useLong
as value. - 📄
birthday_map.ser
serialized from aHashMap
which useLong
as key andcartoland.utilities.TimerHandle.Birthday
as value. - 📄
introduction.ser
serialized from aHashMap
which useLong
as key andString
as value. - 📄
lottery_data.ser
serialized from aHashMap
which useLong
as key andcartoland.utilities.CommandBlocksHandle.LotteryData
as value. - 📄
private_to_underground.ser
serialized from aHashMap
which useLong
as key and value. - 📄
scheduled_events.ser
serialized from aHashMap
which useString
as key andcartoland.utilities.TimerHandle.TimerEvent
as value. - 📄
temp_ban_list.ser
serialized from aHashSet
which usecartoland.commands.AdminCommand.BanData
as value. - 📄
unresolved_questions.ser
serialized from aHashSet
which useLong
as value. - 📄
users.ser
serialized from aHashMap
which useLong
as key andString
as value.
- 📄
Start the bot by running the following command in your terminal:
java -jar Cartoland.jar <token>
Replace the <token>
argument with the token of your own bot. Make sure you have all the required folders and files before launching.