Scripts For Admins: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge →Scripts and Parameters: organize player management scripts |
imported>AntumDeluge organize NPC management scripts |
||
| Line 29: | Line 29: | ||
=== Admin Signs === |
=== Admin Signs === |
||
| ⚫ | |||
| ⚫ | |||
; /script AdminSign.class |
; /script AdminSign.class ''<zone> <x> <y> <text>'' |
||
: Description: |
|||
| ⚫ | |||
| ⚫ | |||
; /script AdminSign.class |
; /script AdminSign.class ''list'' |
||
: Description: |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
: Description: |
|||
| ⚫ | |||
: Parameters: |
|||
:: '''signnumber:''' Integer sign identifier. |
|||
=== Bet Manager === |
=== Bet Manager === |
||
This Script summons an NPC who will collect and pay bets at a raid |
This Script summons an NPC who will collect and pay bets at a raid. |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
: Description: |
|||
| ⚫ | |||
: Parameters: |
|||
:: All parameters are names of players. |
|||
Then players can bet by saying something like: |
Then players can bet by saying something like: |
||
| Line 47: | Line 58: | ||
* bet 5 cheese on water |
* bet 5 cheese on water |
||
; /script BetManager.class action |
; /script BetManager.class ''action'' |
||
: Description: |
|||
: The game master started the action closing the betting time |
:: The game master started the action closing the betting time. |
||
; /script BetManager.class |
; /script BetManager.class ''winner <opponent>'' |
||
: Description: |
|||
: After the game master has to tell the NPC who won |
:: After the game master has to tell the NPC who won. |
||
: Parameters: |
|||
:: '''opponent:''' Name of target player. |
|||
The NPC will than tell all players the results and give it to winners: |
The NPC will than tell all players the results and give it to winners: |
||
| Line 60: | Line 75: | ||
=== Entity Search === |
=== Entity Search === |
||
| ⚫ | |||
| ⚫ | |||
: Zones with zero are not shown |
|||
; /script EntitySearch.class |
; /script EntitySearch.class ''cname <creatureName>'' |
||
: Description: |
|||
| ⚫ | |||
| ⚫ | |||
: Sheep and pets are ignored. |
|||
: Parameters: |
|||
:: '''creatureName:''' Name of target creature. |
|||
; /script EntitySearch.class |
; /script EntitySearch.class ''nonrespawn'' |
||
: Description: |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
: Description: |
|||
| ⚫ | |||
: Parameters: |
|||
:: '''partialZoneName:''' Name of target zone. |
|||
| ⚫ | |||
| ⚫ | |||
: Description: |
|||
| ⚫ | |||
=== NPC Management === |
|||
=== List NPCs === |
=== List NPCs === |
||
; /script ListNPCs.class |
; /script ListNPCs.class |
||
: Description: |
|||
: |
:: Lists all npcs and their position. |
||
=== NPC Shout === |
=== NPC Shout === |
||
| ⚫ | |||
; /script NPCShout.class ''<npc> <text>'' |
|||
: Description: |
|||
:: Send a notification to all players using an NPC name. |
|||
: Parameters: |
|||
:: '''npc:''' Name of target NPC. |
|||
:: '''text:''' Message that players will receive. |
|||
=== NPC Shout to one Zone === |
=== NPC Shout to one Zone === |
||
; /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. |
|||
: Description: |
|||
:: Send a notification to all players in a specific zone using an NPC name. |
|||
: Parameters: |
|||
:: '''npc:''' Name of target NPC. |
|||
:: '''zone:''' Name of target zone. |
|||
:: '''-:''' Target zone will be your current zone. |
|||
:: '''text:''' Message that players will receive. |
|||
=== Portable Tavern Maid === |
=== Portable Tavern Maid === |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
: Description: |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
== Player Management == |
== Player Management == |
||