mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Added three utilities for admins & developers
- There is a new option in the player panel labeled "Send back to Lobby", which will send a given player back to the lobby. - The player panel also has a shortcut to the "Spawn Character" verb. - Finally, there's a new config option that disables the warning message about multikeying if two mobs with the same CID are found; this option should NOT be enabled if multikeying is prohibited by the server rules. It is simply a developer tool, as multikeying is sometimes necessary to test new features that require two clients interacting.
This commit is contained in:
@@ -75,6 +75,7 @@ proc/admin_notice(var/message, var/rights)
|
||||
|
||||
if(M.client)
|
||||
body += "| <A HREF='?src=\ref[src];sendtoprison=\ref[M]'>Prison</A> | "
|
||||
body += "\ <A HREF='?src=\ref[src];sendbacktolobby=\ref[M]'>Send back to Lobby</A> | "
|
||||
var/muted = M.client.prefs.muted
|
||||
body += {"<br><b>Mute: </b>
|
||||
\[<A href='?src=\ref[src];mute=\ref[M];mute_type=[MUTE_IC]'><font color='[(muted & MUTE_IC)?"red":"blue"]'>IC</font></a> |
|
||||
@@ -128,6 +129,8 @@ proc/admin_notice(var/message, var/rights)
|
||||
else
|
||||
body += "<A href='?src=\ref[src];makeanimal=\ref[M]'>Animalize</A> | "
|
||||
|
||||
body += "<A href='?src=\ref[src];respawn=\ref[M.client]'>Respawn</A> | "
|
||||
|
||||
// DNA2 - Admin Hax
|
||||
if(M.dna && iscarbon(M))
|
||||
body += "<br><br>"
|
||||
|
||||
Reference in New Issue
Block a user