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

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.

Оцените первым
596
3

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.
Партнёрский материал

Как поиграть с друзьями с модом Discord Viper?

Мод Discord Viper куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Discord Viper будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

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

Minecraft: Java Edition

26.3.x26.2.x26.1.x1.21.x

Платформы

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

Клиент и сервер

Зависимости

Ссылки


Детали

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