COWMODSКаталог модов

Discord Viper

ViperBridge is a high-performance, server-side only gateway bridging Minecraft, Discord, and REST APIs. Chat relay, Discord moderation commands, player info queries, and full server control with no client mods required.

6734обновлён 28 сент. 2026 г.
УправлениеОбщениеТехнологии

Описание

Discord Viper (ViperBridge)

ViperBridge is a high-performance, server-side only bidirectional gateway bridging Minecraft, Discord, and REST APIs. No client mods required - vanilla players connect normally.

What the mod does

Chat relay - Two-way chat between a Discord channel and in-game chat, plus rich embed alerts for joins, leaves, deaths (with the real death reason), advancements (real announcements only, no recipe spam), and server start/stop.

45 Discord commands - Every command works as a native slash /command and as a !prefix command. All slash replies are private (ephemeral): only the person who ran the command sees the answer.

Moderation system - Kick, ban, IP-ban, timed tempbans with automatic pardon (survives restarts), server-side mutes, numbered warnings, pardons, kick-all, and ban/whitelist lists. Mutes, warnings, and tempbans persist in viperbridge_punishments.json.

Player lookups - Online players read live; offline players read their saved player data: coordinates, slot-accurate inventory grids, cracked-vs-premium profile checks with skin renders, and last-seen times.

Per-command permissions - Each command has its own Discord roles/users/Minecraft-player allowlist, on/off switch, and Discord client visibility flag. /help only lists commands the requester may use.

Account linking - Players link Discord and Minecraft accounts with a one-time code (/link in Discord, /viperbridge link <code> in game). Links power per-player permissions and work with cracked (offline-mode) accounts.

Extras - Console forwarding to Discord in ~1000-character chunks with IPs spoiler-masked, live player-count channel, bot presence, and a bearer-token REST API (health, players, player info, remote commands).

Command list

SlashPrefixDefault accessDescription
/help!helpAuthorizedShow only the commands you may use
/players!playersAuthorizedList online players with ping
/player <name>!player <name>AuthorizedHealth, hunger, XP, gamemode, IP, inventory
/coords <name>!coords <name>AuthorizedDimension + XYZ, online or from saved data
/inventory <name>!inventory <name>AuthorizedSlot-accurate grid: armor, offhand, hotbar, main
/profile <name>!profile <name>AuthorizedCracked/premium check, skin avatar, link status
/skin <name>!skin <name>AuthorizedFull-body skin render
/link <mcname>!link <mcname>EveryoneStart linking, code delivered by DM
/unlink!unlinkAuthorizedRemove your account link
/kick <name> [reason]!kick <name> [reason]AuthorizedKick a player
/ban <name> [reason]!ban <name> [reason]AuthorizedBan a player
/ipban <name> [reason]!ipban <name> [reason]AuthorizedIP-ban a player
/tempban <name> <dur> [reason]!tempban <name> <dur> [reason]AuthorizedTimed ban, auto-pardon (30s/10m/2h/7d)
/mute <name> [dur]!mute <name> [dur]AuthorizedBlock chat + commands (empty = forever)
/unmute <name>!unmute <name>AuthorizedRemove a mute
/mutes!mutesAuthorizedMuted players with remaining time
/warn <name> [reason]!warn <name> [reason]AuthorizedNumbered warning, player notified in game
/warnings <name>!warnings <name>AuthorizedShow a player's warnings
/clearwarns <name>!clearwarns <name>AuthorizedClear a player's warnings
/pardon <name>!pardon <name>AuthorizedUnban a player
/pardonip <ip>!pardonip <ip>AuthorizedUnban an IP address
/kickall [reason]!kickall [reason]AuthorizedKick every online player
/banlist!banlistAuthorizedBanned players with reasons
/kill <name>!kill <name>AuthorizedKill a player (must be online)
/say <message>!say <message>AuthorizedBroadcast to all players
/command <command>!cmd <command>AuthorizedExecute any Minecraft command
/stop!stopAuthorizedStop the server
/op <name>!op <name>AuthorizedGrant operator status
/deop <name>!deop <name>AuthorizedRemove operator status
/whitelist <action> [name]!whitelist <action> [name]Authorizedadd/remove/on/off/list the whitelist
/gamemode <mode> [player]!gamemode <mode> [player]AuthorizedChange gamemode
/give <player> <item> [count]!give <player> <item> [count]AuthorizedGive items
/tp <player> <target>!tp <player> <target>AuthorizedTeleport to a player or coordinates
/heal <name>!heal <name>AuthorizedRestore health (must be online)
/feed <name>!feed <name>AuthorizedRestore hunger (must be online)
/seen <name>!seen <name>AuthorizedLast-online time (or online now)
/time <value>!time <value>Authorizedday/noon/night/midnight/ticks
/weather <type> [sec]!weather <type> [sec]Authorizedclear/rain/thunder
/save!saveAuthorizedSave all worlds to disk
/status!statusAuthorizedPlayers, uptime, memory, ticks overview
/uptime!uptimeAuthorizedServer uptime
/tps!tpsAuthorizedTick info
/memory!memoryAuthorizedRAM usage
/seed!seedAuthorizedWorld seed
/ping!pingAuthorizedBot latency
/effect <player> <effect> [sec] [lvl]!effect <player> <effect> [sec] [lvl]AuthorizedGive a status effect
/clear <player> [item]!clear <player> [item]AuthorizedClear inventory
/difficulty <level>!difficulty <level>Authorizedpeaceful/easy/normal/hard
/gamerule <rule> [value]!gamerule <rule> [value]AuthorizedSet or query a gamerule
/spawnpoint <player> [x y z]!spawnpoint <player> [x y z]AuthorizedSet spawn point
/setworldspawn [x y z]!setworldspawn [x y z]AuthorizedSet world spawn
/defaultgamemode <mode>!defaultgamemode <mode>AuthorizedDefault gamemode
/sudo <player> <command>!sudo <player> <command>AuthorizedRun a command as a player

In-game commands: /viperbridge reload (reload config), /viperbridge status, /viperbridge discord reconnect, /viperbridge link <code> (usable by every player, no OP needed).

Configuration

Edit world/viperbridge/viperbridge.json after first launch (reload in game with /viperbridge reload).

FieldTypeDefaultDescription
discordBotTokenstring""Discord bot token from the Developer Portal. Required.
discordGuildIdstring""Discord server ID. Enables instant slash-command registration and role features.
channels.chatRelayChannelIdstring""Chat relay + prefix-command channel.
channels.consoleForwardChannelIdstring""Server console output channel.
channels.liveStatusChannelIdstring""Channel renamed with the live player count.
webApi.enabledbooleanfalseEnable the REST API.
webApi.portnumber8080REST API port.
webApi.apiSecretTokenstring""Bearer token for REST API auth.
forwardConsolebooleantrueMaster switch for console forwarding.
privacyModebooleanfalseFull IP redaction, offline coords/inventory blocked, REST IPs hidden.
directRoleSync.syncEnabledbooleanfalseSync Discord roles to MC teams.
directRoleSync.mappingsobject{}Discord role ID to MC team mappings.
commandPrefixstring"!"Prefix for text commands.
enableDiscordCommandsbooleantrueMaster switch for Discord commands.
allowedRolesstring[][]Global Discord role IDs allowed to use commands.
allowedUsersstring[][]Global Discord user IDs allowed to use commands.
botActivityTextstring"online players"Bot status text (%count%, %max% placeholders).
linkCodeExpiryMinutesnumber10How long link codes stay valid.
commandPermissions.<cmd>.enabledbooleantruePer-command on/off switch.
commandPermissions.<cmd>.rolesstring[][]Discord role IDs allowed for this command.
commandPermissions.<cmd>.usersstring[][]Discord user IDs allowed for this command.
commandPermissions.<cmd>.playersstring[][]Minecraft usernames allowed (matched via linked accounts).
commandPermissions.<cmd>.minPermissionstring"NONE"Discord-side slash visibility: NONE, KICK_MEMBERS, BAN_MEMBERS, MODERATE_MEMBERS, MANAGE_SERVER, ADMINISTRATOR.
commandPermissions.<cmd>.openbooleanfalseAnyone may use the command (link is open by default).

Checks run in order per command: open, then players (linked MC name), then command roles/users, then the global fallback. Denied attempts get a private error visible only to the requester.

Note: the 1.21.x build uses numeric channel/guild IDs and an extra discordInviteLink field; everything else is identical.

Privacy mode

Set "privacyMode": true to lock the mod down: every IP in Discord output (console, player lookups) is fully redacted instead of spoiler-masked, REST API IP fields return "hidden", and coords/inventory refuse offline-player lookups (online players still work). Public chat relay and announcements are unaffected.

REST API

Auth header: Authorization: Bearer <apiSecretToken>.

MethodEndpointAuthDescription
GET/api/healthOptionalStatus, player count, ticks
GET/api/playersRequiredAll online players with stats
GET/api/player/{name}RequiredSingle player info
POST/api/commandRequiredRun a command: {"command": "say hello"}

Installation

  1. Install Fabric Loader (0.16.x+ for 1.21.x, 0.17.x+ for 26.x) and Fabric API on your server.
  2. Download the JAR matching your Minecraft version (1.21.x, 26.1.x, 26.2.x, or 26.3) and drop it into the server mods folder.
  3. Start the server once so world/viperbridge/viperbridge.json is created, then stop it.
  4. Edit the config: set discordBotToken, the channel IDs under channels, and command permissions.
  5. In the Discord Developer Portal, enable MESSAGE CONTENT INTENT and SERVER MEMBERS INTENT, then invite the bot.
  6. Restart the server.

Галерея

ExampleInventory viewingLog inspection (with IP hiding)Command usage possibility

Последние версии

Все версии →
release

Discord Viper 2.1.1

2.1.1
28 сент. 2026 г.88Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
## Discord Viper 2.1.1 (1.21.x) - join crash fix Fixes a startup crash on 1.21.1+ where the join handler mixin used an outdated `PlayerManager.onPlayerConnect` signature. The mixin now matches the real `(ClientConnection, ServerPlayerEntity, ConnectedClientData)` signature used across the whole 1.21 - 1.21.11 range, so join/leave Discord alerts work again and the server starts normally.
release

Discord Viper 2.1.0

2.1.0
27 сент. 2026 г.49Minecraft: 26.2fabric
Скачать
Что нового
## Discord Viper 2.1.0 (26.2) - 8 new admin commands: effect, clear, difficulty, gamerule, spawnpoint, setworldspawn, defaultgamemode, sudo - Privacy mode: full IP redaction, offline coords/inventory gating, hidden REST IPs - Fixed Discord relay duplicating each message once per online player - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist
release

Discord Viper 2.1.0

2.1.0
27 сент. 2026 г.93Minecraft: 26.3fabric
Скачать
Что нового
## Discord Viper 2.1.0 (26.3) First real 26.3 build (dedicated template: loader 0.19.5, Loom 1.18, Fabric API 0.161.0, launch-tested client + server). - 8 new admin commands: effect, clear, difficulty, gamerule, spawnpoint, setworldspawn, defaultgamemode, sudo - Privacy mode: full IP redaction, offline coords/inventory gating, hidden REST IPs - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen
release

Discord Viper 2.1.0

2.1.0
27 сент. 2026 г.25Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
## Discord Viper 2.1.0 (1.21.x) - 8 new admin commands: effect, clear, difficulty, gamerule, spawnpoint, setworldspawn, defaultgamemode, sudo - Privacy mode: full IP redaction, offline coords/inventory gating, hidden REST IPs - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen
release

Discord Viper 2.1.0

2.1.0
27 сент. 2026 г.43Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
## Discord Viper 2.1.0 (26.1.x) - 8 new admin commands: effect, clear, difficulty, gamerule, spawnpoint, setworldspawn, defaultgamemode, sudo - Privacy mode: full IP redaction, offline coords/inventory gating, hidden REST IPs - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen
release

Discord Viper 2.0.0

2.0.0
25 сент. 2026 г.31Minecraft: 26.3fabric
Скачать
Что нового
## Discord Viper 2.0.0 (26.3) Same 26.2 build, which supports Minecraft 26.2 through 26.3. - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen - Server control: say, raw commands, stop, save, time, weather, gamemode, give, teleport, op, whitelist - Per-command permissions (Discord roles/users/Minecraft players), code-based account linking, REST API, console forwarding with spoiler-masked IPs
release

Discord Viper 2.0.0

2.0.0
25 сент. 2026 г.22Minecraft: 26.2fabric
Скачать
Что нового
## Discord Viper 2.0.0 (26.2) - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen - Server control: say, raw commands, stop, save, time, weather, gamemode, give, teleport, op, whitelist - Per-command permissions (Discord roles/users/Minecraft players), code-based account linking, REST API, console forwarding with spoiler-masked IPs
release

Discord Viper 2.0.0

2.0.0
25 сент. 2026 г.23Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
## Discord Viper 2.0.0 (26.1.x) - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen - Server control: say, raw commands, stop, save, time, weather, gamemode, give, teleport, op, whitelist - Per-command permissions (Discord roles/users/Minecraft players), code-based account linking, REST API, console forwarding with spoiler-masked IPs
release

Discord Viper 2.0.0

2.0.0
25 сент. 2026 г.22Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
## Discord Viper 2.0.0 (1.21.x) - Native Discord slash commands plus `!` prefix commands (private ephemeral replies) - Moderation suite: kick, ban, ipban, tempban with auto-pardon, mute, warn/warnings, pardon, kickall, banlist - Player lookups: coords (online + offline), slot-accurate inventory grid, profile with cracked/premium check, skin renders, last-seen - Server control: say, raw commands, stop, save, time, weather, gamemode, give, teleport, op, whitelist - Per-command permissions (Discord roles/users/Minecraft players), code-based account linking, REST API, console forwarding with spoiler-masked IPs
release

Discord Viper 2.0.1

2.0.1
9 сент. 2026 г.70Minecraft: 26.2fabric
Скачать
Что нового
**New moderation commands** (slash + prefix, all permission-gated): - `/tempban <name> <10m|2h|7d> [reason]` — bans now, auto-pardons when the timer ends, including across server restarts. - `/mute <name> [duration]` / `/unmute` / `/mutes` — real server-side mutes enforced by a mixin: muted players' chat and commands are blocked and they get a "you are muted" notice. `/viperbridge link` is deliberately left working so nobody gets locked out of linking. No duration = forever. - `/warn <name> [reason]` / `/warnings <name>` / `/clearwarns <name>` — numbered warning history, player gets notified in game. - `/kickall [reason]`, `/banlist` (real list with reasons, not just console output). All punishments persist in `viperbridge_punishments.json`, so mutes/warns/tempbans survive restarts. **Per-player availability** — each command now also takes a `players` list of Minecraft usernames, matched against linked accounts: ```json "kick": { "enabled": true, "roles": [], "users": [], "players": ["Steve", "Alex"], "minPermission": "NONE", "open": false } ``` Check order per command: `open` → `players` (linked MC name) → command `roles`/`users` → global fallback. So moderators without a shared Discord role can still get access — they just `/link` first. **Moderation/admin** — `/whitelist <add|remove|on|off|list> [name]` (list reads the real whitelist), `/op`, `/deop`, `/pardon`, `/pardonip`, `/gamemode <mode> [player]`, `/give <player> <item> [count]`, `/tp <player> <target>`, `/kill`. **Player care** — `/heal` and `/feed` work directly on online players (no console round-trip), `/seen <name>` shows "online now" or the last-online date pulled from the player's save file timestamp (distinguishes premium-never-joined from unknown names). **World + status** — `/time <day|noon|night|midnight|ticks>`, `/weather <clear|rain|thunder> [seconds]`, `/save` (save-all), and `/status` — one embed with players, uptime, memory, and ticks. All of them work as both `/slash` (with proper options, including integer counts/durations) and `!prefix`, all gated by the per-command permission system from last time, and all appear in `/help` only for people allowed to use them.