-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Igor edited this page Jan 11, 2024
·
3 revisions
It's very easy to configure and start your own bot, all you need is to follow the steps below.
- Visit https://discord.com/developers/applications.
- Press that button and type name for your application.
- Be sure to toggle all stuff needed for bot to work.
- Copy generated token and insert it in
token
property inside<YOUR_MINECRAFT_PATH>/config/f2d/settings.conf
file. - Copy
id
's of the required text channels usingCopy ID
(make sure that Discord's Developer Mode is enabled) and insert them inchannel
property and specify the categories. Example:channels { "1057728340607377609"=[DEATHS,ADVANCEMENTS] }
- Invite your bot using https://discordtickets.app/invite-url-generator/.
The mod will attempt to automatically create required webhooks for channels that have GAME_CHAT
category.
You might want to see nice messages like this one.
To do that we need to use webhooks, just follow these steps:
- Open server (guild) settings and navigate to
Integrations
page and then pressNew Webhook
button.
- Once you created a webhook you need to choose a chat text channel (same with one in the config) and give it a name.
After this press onCopy Webhook URL
button.
- Paste link somewhere so you can edit it, it should look like
https://canary.discord.com/api/webhooks/935906841974353921/Qx0dxXlS12VQn90IdlxsN1sU5NvRQMEcFuwmObJOO8XNWbHCJxCWI1MVKSln06Nq9NQk
, copy only numbers after/webhooks/
and before/
. You should end up with webhook id (for example:935906841974353921
), now paste it insidewebhook
property in config file.
To disable webhooks simply set webhooks
property to null
, like webhooks=null