[GH-ISSUE #6770] Server: /mute, /tempmute and /mutelist for ops (chat filter) #2211

Closed
opened 2026-11-02 15:53:01 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ludovic111 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6770

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Asked by an op of the official server (bunchy7s) on Discord.

What exists today: the chat filter (crates/horizon-chat-filter, docs/chat-filter.md) mutes players automatically after repeated hits and stores them in chat-filter-mutes.json. /unmute lifts a mute, from the console (game/dedicated.rs) and in game (game/lan_actions.rs). Ops have no way to mute someone by hand.

Asked for:

  • /mute <player> [reason]: mute until /unmute.
  • /tempmute <player> <duration> [reason]: for example 10m, 2h, 1d; the mute ends by itself.
  • /mutelist: who is muted, by whom, why, and until when. Same shape as /banlist.

These are not vanilla commands, so this is a Horizon server extra. Like /unmute, the commands should only exist on servers that filter chat (chat_filter_on()). Suggested level: 3 (vanilla's level for /ban and /kick). Reuse the filter's mute store, so automatic and manual mutes appear in one list. A muted player gets the same refusal as today's automatic mute (chat, signs, books, anvil names).

Also reported (needs a repro): "/banlist is entirely non-functional" in game. From the console of the official server, banlist lists all 31 bans correctly (cmd_banlist in game/commands/profiles.rs). We asked the op what they see in game.

Originally created by @ludovic111 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6770 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Asked by an op of the official server (bunchy7s) on Discord. **What exists today:** the chat filter (`crates/horizon-chat-filter`, `docs/chat-filter.md`) mutes players automatically after repeated hits and stores them in `chat-filter-mutes.json`. `/unmute` lifts a mute, from the console (`game/dedicated.rs`) and in game (`game/lan_actions.rs`). Ops have no way to mute someone by hand. **Asked for:** - `/mute <player> [reason]`: mute until `/unmute`. - `/tempmute <player> <duration> [reason]`: for example `10m`, `2h`, `1d`; the mute ends by itself. - `/mutelist`: who is muted, by whom, why, and until when. Same shape as `/banlist`. These are not vanilla commands, so this is a Horizon server extra. Like `/unmute`, the commands should only exist on servers that filter chat (`chat_filter_on()`). Suggested level: 3 (vanilla's level for `/ban` and `/kick`). Reuse the filter's mute store, so automatic and manual mutes appear in one list. A muted player gets the same refusal as today's automatic mute (chat, signs, books, anvil names). **Also reported (needs a repro):** "`/banlist` is entirely non-functional" in game. From the console of the official server, `banlist` lists all 31 bans correctly (`cmd_banlist` in `game/commands/profiles.rs`). We asked the op what they see in game.
bsakaguchi 2026-11-02 15:53:01 +07:00
  • closed this issue
  • added the
    server
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2211
No description provided.