moo.sdk.provenance.notify

moo.sdk.provenance.notify(obj, message, kind='text')

Send a structurally-tagged message to a player.

The tagged-output counterpart to moo.sdk.write(): the kind is applied server-side and carried in the envelope so it cannot be spoofed by embedding markup in message. Like write, this is a privileged primitive (wizard-owned verbs only); the sanctioned say/emote/ system verbs route through it. The system kind additionally requires a wizard initiator, so an ordinary user’s verb cannot wear it.

Parameters:
  • obj – the player avatar Object to write to

  • message – the payload (typically a string)

  • kind – one of OUTPUT_KINDS

Raises:

UserError – on a bad kind, a non-wizard caller, or a non-wizard initiator attempting a privileged kind