
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.
Список изменений
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 linkis 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:
"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.
