[PR #126] [MERGED] smp 0.22.0: nicknames for operators only #128

Closed
opened 2026-11-03 04:03:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-mods/pull/126
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: feat/smp-nick-ops


📝 Commits (1)

  • 409cac6 smp 0.22.0: nicknames for operators only

📊 Changes

7 files changed (+179 additions, -41 deletions)

View changed files

📝 native/smp/Cargo.lock (+1 -1)
📝 native/smp/Cargo.toml (+1 -1)
📝 native/smp/README.md (+5 -3)
📝 native/smp/mixins/smp/glue.rs (+16 -3)
📝 native/smp/mixins/smp/horizon-mixin.toml (+1 -1)
📝 native/smp/mixins/smp/smp_nick.rs (+137 -17)
📝 native/smp/proof.py (+18 -15)

📄 Description

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

Round 2 of the official server (Ludovic: "/nick for ops only").

  • config.json nicks.ops_only (default true): only operators of level 3 set nicknames, their own (/nick <name>) or a player's (/nick <player> <name|off>). Non-operators get "Only operators set nicknames on this server."
  • A player may still /nick off a nickname an operator gave them (given in nicks.json).
  • At load, nicknames that non-operators picked themselves are taken off and logged as [smp] nickname X of <name> taken off: nicknames are for operators only. Operator levels come from ops.json.
  • /realname stays open to everyone. ops_only: false brings back the 0.15 rules.

Tests: 71 unit tests (new: only_operators_set_nicknames_and_players_own_ones_go_on_load), clippy -D warnings, fmt. proof.py nick step rewritten for ops-only. The live proof runs once on the round-2 combined build, before the batched deploy.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-mods/pull/126 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/smp-nick-ops` --- ### 📝 Commits (1) - [`409cac6`](https://github.com/horizon-rust/horizon-mods/commit/409cac606ef6a2a43460a14d91f55f0cac143811) smp 0.22.0: nicknames for operators only ### 📊 Changes **7 files changed** (+179 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `native/smp/Cargo.lock` (+1 -1) 📝 `native/smp/Cargo.toml` (+1 -1) 📝 `native/smp/README.md` (+5 -3) 📝 `native/smp/mixins/smp/glue.rs` (+16 -3) 📝 `native/smp/mixins/smp/horizon-mixin.toml` (+1 -1) 📝 `native/smp/mixins/smp/smp_nick.rs` (+137 -17) 📝 `native/smp/proof.py` (+18 -15) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Round 2 of the official server (Ludovic: "/nick for ops only"). - `config.json` `nicks.ops_only` (default **true**): only operators of level 3 set nicknames, their own (`/nick <name>`) or a player's (`/nick <player> <name|off>`). Non-operators get "Only operators set nicknames on this server." - A player may still `/nick off` a nickname an operator gave them (`given` in `nicks.json`). - At load, nicknames that non-operators picked themselves are taken off and logged as `[smp] nickname X of <name> taken off: nicknames are for operators only`. Operator levels come from `ops.json`. - `/realname` stays open to everyone. `ops_only: false` brings back the 0.15 rules. Tests: 71 unit tests (new: `only_operators_set_nicknames_and_players_own_ones_go_on_load`), clippy `-D warnings`, fmt. `proof.py` nick step rewritten for ops-only. The live proof runs once on the round-2 combined build, before the batched deploy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:03:28 +07:00
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-mods#128
No description provided.