▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Better With Discord
Better With Discord

Better With Discord

https://github.com/SajmonOriginal/better-with-discord

50
0

text_logo

A Discord integration mod for Better Than Adventure 7.3 running on Babric mod loader.

Features

  • Bidirectional Chat - Messages sync between Minecraft and Discord
  • Join/Leave Notifications - Know when players connect or disconnect
  • Death Messages - Death announcements posted to Discord
  • Sleep Notifications - See when players go to bed
  • Server Status - Server start/stop messages
  • Player Avatars - Messages show player skins via webhooks

Installation

  1. Download better_with_discord-1.0.0.jar from releases
  2. Place the JAR in your server's mods/ folder
  3. Start the server once to generate the config file
  4. Configure the mod (see below)
  5. Restart the server

Configuration

Edit config/better_with_discord.json:

{
  "enable": true,
  "token": "YOUR_BOT_TOKEN",
  "channel": "CHANNEL_ID",
  "serverpfp_url": "https://i.imgur.com/dJUId0O.png",
  "servername": "Server"
}
OptionDescription
enableEnable/disable the Discord integration
tokenYour Discord bot token
channelThe Discord channel ID for chat messages
serverpfp_urlAvatar URL for server messages (start/stop, deaths, etc.)
servernameDisplay name for server messages

Discord Bot Setup

  1. Go to Discord Developer Portal
  2. Create a new application
  3. Go to Bot tab and create a bot
  4. Enable these Privileged Gateway Intents:
    • Message Content Intent
  5. Copy the bot token to your config
  6. Go to OAuth2 > URL Generator
  7. Select scopes: bot
  8. Select permissions: Send Messages, Manage Webhooks, Read Message History
  9. Use the generated URL to invite the bot to your server
  10. Copy the channel ID (right-click channel > Copy ID) to your config

Building from Source

./gradlew build

The output JAR will be in build/libs/.

License

Mozilla Public License Version 2.0 License - see LICENSE for details.

Совместимость

Minecraft: Java Edition

b1.7.3

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MPL-2.0
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная