NPDiscord
作者:rebot | 分类:模组
Minecraft 版本: 26.1 26.1.1 26.1.2
平台: paper
标签: utility
NPDiscord
Bring your community together — link Minecraft and Discord, automatically.
Why install this?
Your Discord and your server shouldn't feel like two different communities. NPDiscord links each player's Minecraft account to their Discord profile, keeps their rank in sync on both sides automatically, and pipes server activity into Discord so your staff can keep an eye on things without alt-tabbing into the console.
Requires: NorrionProjectPluginCore + LuckPerms, and a free Discord bot application (five minutes to set up — steps below).
What it does for your server
- One-click linking — staff post a "Link my account" button in Discord, players redeem a code in-game with
/npdiscord link. - Ranks that sync themselves — promote someone in-game and their Discord role updates automatically, and vice versa. You decide once which LuckPerms rank maps to which Discord role.
- Your community, mirrored in Discord — chat, joins/leaves, punishments, economy, item and block events, routed to whichever channels you choose.
- Server health in your pocket — a live feed of server logs (errors, warnings, whatever levels you pick), stack traces included, straight into a Discord channel. Find out about a crash before your players do.
Setup
- Create a Discord bot application (see below) — takes a few minutes.
- Drop
NPDiscord-<version>.jarinplugins/, restart once to generate the config. - Fill in your bot token, server ID, and channel IDs in
plugins/NorrionProject/discord-config.yml. - Restart again — your bot comes online and starts syncing.
Setting up the bot
- Go to the Discord Developer Portal and create a new application.
- Under Bot, reset and copy the token, and enable the Message Content, Server Members, and Presence intents.
- Under OAuth2 → URL Generator, tick the
botandapplications.commandsscopes plus Send Messages / Embed Links / Manage Roles / Read Message History / Use Slash Commands, then open the generated link to invite the bot to your server. - Copy the Application ID (General Information tab) into your config.
Commands
| Command | Who | What it does |
|---|---|---|
/npdiscord link <code> |
Players | Link their account |
/npdiscord create-link <channel-id> |
Staff | Post the "Link my account" button |
FAQ
Bot won't come online?
Double-check the token, and that all three intents are enabled in the developer portal.
Roles aren't syncing?
Verify your guild ID is correct, and make sure the bot's own role sits above every role it needs to assign.
Does this need LuckPerms?
Rank sync does, yes. Linking and log monitoring work without it.
Missing something?
No plugin fits every server out of the box. If there's a feature, an integration with another plugin, or a tweak you need and don't see here, come tell us on Discord — that's exactly how this plugin keeps improving.
Links
- Website & Wiki: norrion.eu
- Support: Norrion Discord
Requires NorrionProjectPluginCore + LuckPerms
请登录后举报
暂无评论,抢个沙发吧~