Diagon Alley
Harry Potter location village. Famous wizarding shopping district from the books. Requires minimum VE count (default 0, so immediate access). Players must have allow=1 preference (default enabled). Travel via cities module with two modes: Safer Travel (from Hogwarts-area locations, no danger penalty) and More Dangerous Travel (from other cities, danger=1). Features Battle Arena for PVP combat.
Access Requirements
VE Requirement: vesrequired setting (default 0 = no VE requirement)
Permission: allow preference (default 1 = auto-allowed)
Superuser Override: Admins (SU_EDIT_USERS) can always travel regardless of restrictions
Travel System
Two travel modes based on origin city:
Safer Travel (Danger=0):
- From: Hogwarts, Hogsmeade, Ministry of Magic, Gryffindor, Hufflepuff, Slytherin, Ravenclaw, Knockturn Alley
- Navigation: "Safer Travel" section
- Link: runmodule.php?module=cities&op=travel&city=Diagon Alley&d=0
- No danger penalty (d=0 parameter)
More Dangerous Travel (Danger=1):
- From: All other cities not listed above
- Navigation: "More Dangerous Travel" section
- Link: runmodule.php?module=cities&op=travel&city=Diagon Alley&d=1
- Danger penalty applied (d=1 parameter, likely random encounters or turn cost)
Superuser Travel:
- Link: runmodule.php?module=cities&op=travel&city=Diagon Alley&su=1
- Bypasses all restrictions and danger
The Battle Arena
Diagon Alley features PVP Battle Arena with custom text:
"You enter a place where students test their mettle against each other. Are you ready to show your stuff to your worthy opponents. You have [X] PvP fights left for today."
Custom PVP News:
- Victory: "[Name] defeated [Target] in fair combat In the Diagon Alley Battle Arena"
- Loss: "[Name] has been slain while attacking [Target] In the Diagon Alley Battle Arena. [Taunt]"
Harry Potter Lore
What is Diagon Alley?
- Wizarding shopping district in London
- Hidden from muggles, accessed through Leaky Cauldron pub (brick wall entrance)
- Contains famous shops: Ollivanders (wands), Gringotts (bank), Flourish and Blotts (books), Quality Quidditch Supplies, etc.
- Where Hogwarts students buy school supplies before term starts
- Name is pun: "Diagon Alley" = "diagonally" (how you travel via Floo Powder)
Knockturn Alley Connection:
- Dark counterpart to Diagon Alley
- Contains shops selling Dark Arts items
- Module recognizes Knockturn Alley as "safer travel" origin—geographically adjacent
Village Features
Diagon Alley functions as complete village with all standard systems:
- villagetext: Custom description when in Diagon Alley
- village: Diagon Alley-specific navigation and shops
- validlocation: Registered as valid city in cities module
- moderate: Commentary moderation as "Diagon Alley"
- stablelocs/stabletext: Horse stable integration for mount storage
- changesetting: Auto-relocates players if villagename changes
Uninstall Safety
If module uninstalled:
- All players in Diagon Alley moved to main village automatically
- SQL: UPDATE accounts SET location=mainvillage WHERE location='Diagon Alley'
- Prevents players being stuck in deleted location
Strategy
Safer Travel Routes: Travel from Hogwarts-area cities to avoid danger penalty. Plan route accordingly.
Shopping Hub: Likely contains many shops if server uses Diagon Alley thematically. Check village navigation for vendors.
PVP Arena: Use Battle Arena for student vs. student combat. Thematically appropriate for testing skills.
RP Opportunities: Commentary system perfect for IC shopping discussions, student meetups, etc.
VE Gating: If server sets vesrequired>0, treat as endgame/veteran location. Complete VEs to unlock.
Diagon Alley: where you can buy wands, fight in arenas, and pretend you didn't just take the dangerous route from some random village instead of using the Leaky Cauldron like a sensible wizard.