跳到正文

NerveLink

作者:Cesoti

Send your Minecraft server events to Discord webhooks — no bot required, fully configurable in-game.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🧠 NerveLink

Connect your Minecraft server to Discord — no bot required.

NerveLink listens to your server’s events (players joining, deaths, kills, chat, advancements, commands, and much more) and sends them straight to any Discord webhook as beautiful embeds. Fully configurable in-game, without editing a single file.

✨ Features

  • No bot needed — just create a Discord webhook and paste the URL. Done.
  • 16+ built-in events: join/leave, death, advancements, commands, chat, block break/place, mob kills, boss kills, dimension changes, level ups, item pickups, respawns, server start/stop.
  • Catch-all event detection — NerveLink listens to the Forge event bus and can fire on events from any other mod installed (dragons, spells, machines…), with zero code from those mods.
  • Beautiful Discord embeds by default — colored cards with title, message and timestamp.
  • Full personalization per trigger: message, title, color, cooldown, conditions, username and avatar.
  • Configure everything from the chat — no JSON editing required for basic use.
  • Multi-language default config — messages are generated in your game’s language (English/Spanish).
  • Auto-reload — edit your config file and it reloads itself.
  • Rate-limit safe — webhooks are sent in a queue, so Discord never throttles you.
  • Public API for modders (NerveLinkAPI.fire()).

🚀 Quick Start

  1. In Discord: Server Settings → Integrations → Webhooks → New Webhook → Copy URL.
  2. Launch Minecraft with Forge 1.20.1 and join a world. NerveLink creates its config automatically at config/nervelink/triggers.json.
  3. Run /nervelink seturl <your-webhook-url> to set your webhook on all triggers at once.
  4. Done! Join/leave, die, kill a mob or get an advancement — you’ll see it in your Discord channel.

💬 In-game Commands

Command What it does
/nervelink seturl <url> Set your webhook URL on all triggers
/nervelink add <event> [message] Add a trigger (with optional custom message)
/nervelink remove <event> Remove a trigger
/nervelink enable/disable <event> Turn a trigger on/off
/nervelink list List your active triggers
/nervelink events List all available events
/nervelink test Send a test message to all webhooks
/nervelink reload Reload the config manually

⚙️ Configuration

Advanced users can edit config/nervelink/triggers.json. Every trigger supports:

Field Description Example
message The message with placeholders "💀 {player} murió en {coords}"
format embed, discord or text "embed"
title Embed title "Muerte"
color Embed color (decimal) 15548997
cooldown Max 1 alert every X seconds 10
if Condition to fire "dimension == minecraft:the_nether"
username / avatar_url Webhook name/avatar "NerveLink"
enabled On/off true

Placeholders: {player}, {reason}, {advancement}, {command}, {block}, {boss}, {mob}, {entity}, {item}, {message}, {level}, {to}, {from}, {world}, {dimension}, {coords}, {x}, {y}, {z}, {time}, {health}.

Conditions support ==, !=, contains, >, <, >=, <= — e.g. "if": "entity == minecraft:zombie" or "if": "level >= 5".

🪄 Events from other mods

NerveLink hears everything that passes through the Forge event bus. Set "debug": true in the config, play for a while, and check config/nervelink/detected_events.txt — you’ll find the class names of events fired by your other mods. Copy any of them as a trigger and you have a webhook for that event, no code involved.

👨‍💻 For modders

NerveLinkAPI.fire("my_event", Map.of("player", name, "message", text));

Any trigger with "event": "my_event" will pick it up. Your mod needs zero dependencies at compile time — just add NerveLink as a soft dependency.

❓ FAQ

  • Does it work on servers? Yes — client and server events are both covered, and it works great on dedicated servers.
  • Do I need a bot token? No. Only a Discord webhook URL.
  • Can I send to Slack or generic webhooks? Yes — use "format": "text".
  • Is my webhook URL safe? Treat it like a password — anyone with the URL can post to that channel.

📄 License

MIT — free to use, modify and include in your modpack.

常见问题

NerveLink 支持哪些 Minecraft 版本?

NerveLink 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

NerveLink 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Cesoti 的其他作品

查看全部 →