Scripts For Admins: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge |
imported>AntumDeluge →Summon Creatures: put raid scripts under single header |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
|- |
|- |
||
| Multiple || ''* <nowiki>{paramA | paramB}</nowiki><br>* <nowiki>{paramA | paramB <paramC1> [<paramC2>]}</nowiki>'' || Surrounded by curly brackets, divided by pipe (<nowiki>|</nowiki>). Any one of the parameters<br>or parameter groups may be used. |
| Multiple || ''* <nowiki>{paramA | paramB}</nowiki><br>* <nowiki>{paramA | paramB <paramC1> [<paramC2>]}</nowiki>'' || Surrounded by curly brackets, divided by pipe (<nowiki>|</nowiki>). Any one of the parameters<br>or parameter groups may be used. |
||
|- |
|||
| Ellipsis || ''[...]'' || Signifies that there can be an indefinite number of parameters. |
|||
|} |
|} |
||
| Line 31: | Line 33: | ||
== General == |
== General == |
||
=== Admin Portals === |
|||
{{Script|AdminPortal| |
|||
desc=Creates a portal at the admin's position.| |
|||
params=[<name>] <destination-zone> <destination-ref>| |
|||
:: '''name:''' ''(optional)'' Name of new portal. |
|||
:: '''destination-zone:''' Target zone where player is teleported. |
|||
:: '''destination-ref:''' Portal reference where player is teleported.}} |
|||
{{Script|AdminPortal| |
|||
desc=Creates a portal.| |
|||
params=<name> <destination-zone> <destination-ref> [level <min-level> <max-level> [<reject-message>]]| |
|||
:: '''name:''' Name of new portal at the admin's position. |
|||
:: '''destination-zone:''' Target zone where player is teleported. |
|||
:: '''destination-ref:''' Portal reference where player is teleported. |
|||
:: '''level:''' If used, portal will check player level before teleporting. |
|||
:: '''min-level:''' Minimum level player must be to use portal. |
|||
:: '''max-level:''' Maximum level of player to use portal. |
|||
:: '''reject-message:''' Message shown to player when they don't meet the level requirements.}} |
|||
=== Admin Signs === |
=== Admin Signs === |
||
| Line 54: | Line 77: | ||
; /script BetManager.class ''accept <opponent1> <opponent2> [...]'' |
; /script BetManager.class ''accept <opponent1> <opponent2> [...]'' |
||
: Description: |
: Description: |
||
:: Summons the NPC and let it accept bets on ''opponent1'', ''opponent2'', ... |
:: Summons the NPC and let it accept bets on ''<opponent1>'', ''<opponent2>'', ... |
||
: Parameters: |
: Parameters: |
||
:: All parameters are names of players. |
:: All parameters are names of players. |
||
| Line 82: | Line 105: | ||
; /script EntitySearch.class ''cname <creatureName>'' |
; /script EntitySearch.class ''cname <creatureName>'' |
||
: Description: |
: Description: |
||
:: Show the number of the specified <creatureName> respawn points for each zone. Zones with zero are not shown |
:: Show the number of the specified ''<creatureName>'' respawn points for each zone. Zones with zero are not shown |
||
: Parameters: |
: Parameters: |
||
:: '''creatureName:''' Name of target creature. |
:: '''creatureName:''' Name of target creature. |
||
| Line 92: | Line 115: | ||
; /script EntitySearch.class zname ''<partialZoneName>'' |
; /script EntitySearch.class zname ''<partialZoneName>'' |
||
: Description: |
: Description: |
||
:: Shows all zone names that contain <partialZoneName> and shows all the creature respawn points in each of those zones. |
:: Shows all zone names that contain ''<partialZoneName>'' and shows all the creature respawn points in each of those zones. |
||
: Parameters: |
: Parameters: |
||
:: '''partialZoneName:''' Name of target zone. |
:: '''partialZoneName:''' Name of target zone. |
||
| Line 121: | Line 144: | ||
=== NPC Shout to one Zone === |
=== NPC Shout to one Zone === |
||
; /script NPCShoutZone.class ''<npc> {<zone>|-} <text>'' |
; /script NPCShoutZone.class ''<npc> { <zone> | - } <text>'' |
||
: Description: |
: Description: |
||
:: Send a notification to all players in a specific zone using an NPC name. |
:: Send a notification to all players in a specific zone using an NPC name. |
||
| Line 156: | Line 179: | ||
=== Alter Quest State === |
=== Alter Quest State === |
||
; /script AlterQuest.class ''<player> <questid> [state]'' |
; /script AlterQuest.class ''<player> <questid> [<state>]'' |
||
: Description: |
: Description: |
||
:: Manipulates the quest state of a player. |
:: Manipulates the quest state of a player. |
||
| Line 176: | Line 199: | ||
=== Drop Player Items === |
=== Drop Player Items === |
||
; /script DropPlayerItems.class ''<player> [amount] <item>'' |
; /script DropPlayerItems.class ''<player> [<amount>] <item>'' |
||
: Description: |
: Description: |
||
:: Drop the specified amount of items from the player if they are equipped in the bag or body. |
:: Drop the specified amount of items from the player if they are equipped in the bag or body. |
||
| Line 183: | Line 206: | ||
:: '''amount:''' ''(optional)'' Number of items to drop. |
:: '''amount:''' ''(optional)'' Number of items to drop. |
||
:: '''item:''' Name of target item. |
:: '''item:''' Name of target item. |
||
=== Features === |
|||
{{Script|DisableFeature| |
|||
desc=Disables a feature, like keyring, for a player.| |
|||
params=<player> <feature>| |
|||
:: '''player:''' Name of target player. |
|||
:: '''feature:''' Feature to be disabled.}} |
|||
{{Script|EnableFeature| |
|||
desc=Enables a feature, like keyring, for a player.| |
|||
params=<player> <feature>| |
|||
:: '''player:''' Name of target player. |
|||
:: '''feature:''' Feature to be enabled.}} |
|||
=== Fix DM === |
=== Fix DM === |
||
| Line 236: | Line 274: | ||
:: '''ringcount:''' Determines amount of creatures summoned by rings around summoner (max: 2). |
:: '''ringcount:''' Determines amount of creatures summoned by rings around summoner (max: 2). |
||
:: '''creature:''' Name of creature to be summoned. |
:: '''creature:''' Name of creature to be summoned. |
||
=== List Raids === |
|||
{{Script|ListRaids}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
=== Raids === |
|||
{{Script|AdosWildlifeRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|AngelRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|AnimalRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|BarbarianRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|BeholderRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|BlordroughRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|ChaosRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|CreateRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|DragonRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|DrowRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|DwarfRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|ElementalRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|ElfRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|FarmRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|FrogmanSheepmanRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|GnomeRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|ImperialRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|KoboldRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|LichRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|OniRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|OrcRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||
{{Script|ZombieRaid}} |
|||
: ''<span style="color:darkred;">instructions coming soon</span>'' |
|||