You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gifts: items from a GM or the server owner which reach players through the waiting items #1493
Split out of #1475 (part A: #1487, #1491), to discuss before building it.
Goal
A GM or the server owner can give items to players (an event prize, a compensation), also while they are offline or their inventory is full. The item goes into the waiting items of the character (#1487) with the reason "gift" and an optional text, and is put into the inventory as soon as it fits, like any other waiting item. The player is told who sent it and the text.
None of them reaches several players, and none keeps the item when there's no space.
Open questions
Recipients: one character, all characters of an account, the members of a guild, all players currently online, all characters? Only online players at that moment, or also players who log in later (e.g. "everyone who logs in this week")?
Where to give it: an admin panel page, a GM chat command (e.g. /gift <character> <item>), an API endpoint, or several of them?
Limits and log: a maximum number of waiting items per character? Should gifts be recorded in the admin audit log (who gave what to whom)?
Client GUI: should MuMain (sven-n/MuMain) get its own GUI for this, e.g. a "Waiting items" window with the gift texts and a Take button per item, with new packets to list and take them? Without it, the server-only way of Waiting items: a per-character list for items which find no space (data changes, GM gifts) #1475 works with every client (system messages, /waiting, automatic delivery), but a player can't choose which item to take first, and long gift texts only show as chat lines. This would be a follow-up after the server part.
Activity