Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Deep Inspect: fix usage instructions
imported>AntumDeluge
Scripts and Parameters: organize summon creature scripts
Line 12: Line 12:
'''As with every admin action, the invocation of scripts is logged. Do not abuse it.'''
'''As with every admin action, the invocation of scripts is logged. Do not abuse it.'''


== Scripts and Parameters ==
= Scripts and Parameters =

== General ==

=== Admin Signs ===
=== Admin Signs ===
; /script AdminSign.class ''zone x y text''
; /script AdminSign.class ''zone x y text''
Line 109: Line 112:
; /script NPCShoutZone.class ''npc'' ''zone'' ''text''
; /script NPCShoutZone.class ''npc'' ''zone'' ''text''
: ''npc'' shouts ''text'' to players in given ''zone''. Use - in place of zone to make it your current zone.
: ''npc'' shouts ''text'' to players in given ''zone''. Use - in place of zone to make it your current zone.

=== Plague ===

; /script Plague.class ''ringcount'' ''creature''
: summon a large numbers of ''creatures'' around you. Please note that ''ringcount'' must be below 3 in order to prevent the clients to die because of an OutOfMemoryError.


=== Restore Player Outfit ===
=== Restore Player Outfit ===
Line 138: Line 136:
; /script ServerReset.class
; /script ServerReset.class
: Use it in an ''emergency'' to shut down the server. If it is started in a loop, it will come back up otherwise it will stay down. If it is possible, please warn the players to logout and give them some time. Please note that it kills the server the hard way without doing a clean shutdown.
: Use it in an ''emergency'' to shut down the server. If it is started in a loop, it will come back up otherwise it will stay down. If it is possible, please warn the players to logout and give them some time. Please note that it kills the server the hard way without doing a clean shutdown.

== Summon Creatures ==

=== Plague ===

; /script Plague.class <ringcount> <creature>
: Description:
:: Summon a large numbers of ''creatures'' around you. Please note that ''ringcount'' must be below 3 in order to prevent the clients to die because of an OutOfMemoryError.
: Parameters:
:: '''ringcount:''' Determines amount of creatures summoned by rings around summoner (max: 2).
:: '''creature:''' Name of creature to be summoned.


[[Category:Administration]]
[[Category:Scripts]]