https://github.com/defnot001/simplechatbridge
https://github.com/defnot001/simplechatbridge
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/defnot001/simplechatbridge
- Owner: defnot001
- License: mit
- Created: 2024-01-21T13:57:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-22T18:50:20.000Z (9 months ago)
- Last Synced: 2025-02-02T04:27:32.667Z (4 months ago)
- Language: Kotlin
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleChatbridge
This minecraft fabric mod lets you send and receive messages between a MC Server and a Discord channel. This mod only works on the server.
## Configuration
On first startup a config file will be created, which can be found at `.minecraft/config/simple_chatbridge/simple_chatbridge.json`. The server will not launch and you can fill out the values in the JSON file.
Things you will need for this mod to work:
- Discord Bot with Message Content Intent
- Discord Webhook### How to get a discord bot with the right intents
1. Go to https://discord.com/developers/applications.
1. Click `new Application` and give your bot a name.
1. After you have created your bot, go to the `Bot` Navigation and reset its token.
1. Grab the token and put it in the config file. (**Make sure to not show your token to anyone!**)
1. In the section `Privileged Gateway Intents`, enable the `Message Content Intent`.
1. Go to `OAuth2 -> URL Generator` and click the `bot` scope.
1. Select the `Read Messages/View Channels` permission and copy/paste the url in a new browser tab.
1. Make the bot join your Discord Server and make sure that it can actually see the channel.
1. Turn on the `developer mode` in your Discord Client and copy/paste the chatbridge channel ID into the config file.
1. Create a webhook in your channel (give it a nice name and picture) and paste the URL in the config aswell.If you are having issue with this mod, please open an issue or reach out to me in my [Discord](https://discord.gg/wmJ3WBYcZF) or send me an [Email](mailto:[email protected]).