docs(bridge): EventsEnabled's comment says what it gates today #45

Merged
whitlocktech merged 1 commits from fix/eventsenabled-comment into edge 2026-10-22 15:32:38 -05:00
Member

Comment only. Found while writing the runicgateway.com Rust docs (runicgateway.com#35); you asked for it fixed.

The doc comment on PluginConfig.EventsEnabled still said it "gates taking a lease only". That stopped being true at protocol 9, when it started gating every world write (D94).

I read every check in the file. The comment now lists what the switch gates at protocol 14:

  • lease.apply;
  • everything behind WorldWritesAllowed: zones, placed crates and NPCs, world calls, Dangerous Treasures, Guarded Crate, raid bases, console commands;
  • tally.open and a run's chat.say;
  • economics.pay.

It also says:

  • what always works with it off: listing, giving back, reverting, reads;
  • that the site's config editor applies it without a reload (ApplyOwnSettings).

node scripts/checkPlugin.js passes. Nothing to compile: no line of code changed.

  • AI-assisted: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

**Comment only.** Found while writing the runicgateway.com Rust docs (runicgateway.com#35); you asked for it fixed. The doc comment on `PluginConfig.EventsEnabled` still said it "gates taking a lease only". That stopped being true at protocol 9, when it started gating every world write (D94). I read every check in the file. The comment now lists what the switch gates at protocol 14: - `lease.apply`; - everything behind `WorldWritesAllowed`: zones, placed crates and NPCs, world calls, Dangerous Treasures, Guarded Crate, raid bases, console commands; - `tally.open` and a run's `chat.say`; - `economics.pay`. It also says: - what always works with it off: listing, giving back, reverting, reads; - that the site's config editor applies it without a reload (`ApplyOwnSettings`). `node scripts/checkPlugin.js` passes. Nothing to compile: no line of code changed. - [x] AI-assisted: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-10-22 15:30:29 -05:00
docs(bridge): EventsEnabled's comment says what it gates today
All checks were successful
PR Checks / plugin-checks (pull_request) Successful in 9s
ef9596ce67
The doc comment on PluginConfig.EventsEnabled still said it "gates
taking a lease only", which stopped being true at protocol 9 when it
began gating every world write (D94). It now lists what the switch
gates as of protocol 14 - a lease, every world write (zones, crates,
NPCs, world calls, Dangerous Treasures, Guarded Crate, raid bases,
console commands), a tally and a run's chat line, and paying coins -
what always works with it off, and that the website can set it without
a reload. Comment only; no behaviour change.

Found while writing the runicgateway.com Rust docs (its PLAN.md §16,
phase 15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 22da0026ca into edge 2026-10-22 15:32:38 -05:00
whitlocktech deleted branch fix/eventsenabled-comment 2026-10-22 15:32:40 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Rust-Plugins#45
No description provided.