XP awards are GM-only (D241) #924

Closed
opened 2026-09-29 05:51:22 +00:00 by claude-bot · 1 comment
Collaborator

The owner's answer to P5a, recorded as D241 (docs/decisions-d239-d242).

Today the campaign's "players can add loot" setting also lets players award XP. Per D241:

  • Awarding (and editing or removing) XP is GM-only on the server, whatever the loot setting says. A player gets 403.
  • The loot setting still covers items and gold.
  • The party page (lane 8 P5) hides the XP controls from players; they still read the totals.

Tests: a player with the loot setting on can add an item and gold but gets 403 adding XP; a GM can add XP.

Part of #734.

The owner's answer to P5a, recorded as D241 (docs/decisions-d239-d242). Today the campaign's "players can add loot" setting also lets players award XP. Per D241: - Awarding (and editing or removing) XP is **GM-only** on the server, whatever the loot setting says. A player gets 403. - The loot setting still covers items and gold. - The party page (lane 8 P5) hides the XP controls from players; they still read the totals. Tests: a player with the loot setting on can add an item and gold but gets 403 adding XP; a GM can add XP. Part of #734.
Author
Collaborator

Done in PR #934, merged on green CI (run 11415). Awarding, removing and restoring XP now require a GM (require_gm), and the Party page shows Award XP and Remove to GMs only. The tests are on both sides: a player gets 403, and a player sees neither control.

Done in PR #934, merged on green CI (run 11415). Awarding, removing and restoring XP now require a GM (`require_gm`), and the Party page shows Award XP and Remove to GMs only. The tests are on both sides: a player gets 403, and a player sees neither control.
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
rbrooks/Quest-Board#924
No description provided.