UODiamondCodex

Newbie Protection System

Grants new players 72 hours of protection from PvP harm and from being looted, enforced through an event script and a countdown timer item. Source: UOD - System Newbie.scp.

How it works

Protection is the EVENTS block e_newbie added to a player's events. While active it blocks hostile player actions:

Trigger Effect
@click Appends (newbie) to the name
@gethit / @hittry Blocks melee damage from players
@spelleffect / @spellcast Blocks harmful spells cast by another player
@itemdclick Prevents the newbie from using a runebook
@itempickup_self / @itemtargon_item Prevents looting another player's corpse

Duration is enforced by the equipped timer item i_newbie_timer (TIMER = 60*60*72 = 72 hours). When it expires it removes e_newbie from the wearer, consumes itself, and protection ends.

Commands / player-facing usage

Command Effect
.newbie FUNCTION newbie — if currently a newbie, removes e_newbie, consumes the timer, and confirms; otherwise reports you are not a newbie

setnewbie is the counterpart FUNCTION that grants protection: it adds e_newbie, messages the 72-hour notice, and equips a fresh i_newbie_timer. It is called on character creation (see the New Character system).

Key definitions

DEFNAME Role
e_newbie (EVENTS) The protection ruleset applied to the player
i_newbie_timer 72-hour equipped countdown that ends protection on expiry
setnewbie Grants newbie status + timer
newbie .newbie command to voluntarily drop newbie status