Scripts For Admins: Difference between revisions
imported>Kymara |
imported>AntumDeluge →Summon Creatures: put raid scripts under single header |
||
| (38 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Stendhal Top}} |
{{Navigation for Stendhal Top|GMs}} |
||
{{Navigation for Stendhal GMs}} |
{{Navigation for Stendhal GMs}} |
||
== General Info == |
|||
= General Info = |
|||
Highlevel admins can invoke scripts using the '''/script'''-command: |
Highlevel admins can invoke scripts using the '''/script'''-command: |
||
| Line 10: | 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.''' |
||
== |
== Parameters Key == |
||
{| class="wikitable" |
|||
! Type !! Examples !! Explanation |
|||
|- |
|||
| Required || ''<param>'' || Surrounded by angled brackets. Cannot be omitted. |
|||
|- |
|||
| Optional || ''[<param>]'' || Surrounded by angled brackets inside square brackets. May be omitted. |
|||
|- |
|||
| Required Verbatim || ''param'' || Must be typed exactly as displayed (e.g.: "param"). Cannot be omitted. |
|||
|- |
|||
| Optional Verbatim || ''[param]'' || Must be typed exactly as displayed. May be omitted. |
|||
|- |
|||
| 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. |
|||
|} |
|||
= Scripts and Parameters = |
|||
== 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 === |
||
; /script AdminSign.class ''zone x y text'' |
|||
: Places a sign saying ''text'' in the ''zone'' at (''x'', ''y''). The first three parameters can be "-" to place the sign next to the admin. |
|||
; /script AdminSign.class |
; /script AdminSign.class ''<zone> <x> <y> <text>'' |
||
: Description: |
|||
: Lists all signs created by admins |
|||
:: Places a sign saying ''text'' in the ''zone'' at (''x'', ''y''). The first three parameters can be "-" to place the sign next to the admin. |
|||
; /script AdminSign.class |
; /script AdminSign.class ''list'' |
||
: Description: |
|||
: Removes the sign with that number (see list) |
|||
:: Lists all signs created by admins |
|||
; /script AdminSign.class ''del <signnumber>'' |
|||
=== Alter Quest State === |
|||
: Description: |
|||
; /script AlterQuest.class ''player'' ''questname'' ''state'' |
|||
:: Removes the sign with that number (see list) |
|||
: Manipulates the quest state of a player. Omit ''state'' to remove the quest. |
|||
: 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. |
|||
; /script BetManager.class accept ''opponent1'' ''opponent2'' ... |
|||
: Summons the NPC and let it accept bets on ''opponent1'', ''opponent2'', ... |
|||
; /script BetManager.class ''accept <opponent1> <opponent2> [...]'' |
|||
: Description: |
|||
:: Summons the NPC and let it accept bets on ''<opponent1>'', ''<opponent2>'', ... |
|||
: Parameters: |
|||
:: All parameters are names of players. |
|||
Then players can bet by saying something like: |
Then players can bet by saying something like: |
||
| Line 34: | Line 85: | ||
* 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 46: | Line 101: | ||
Note: Betting is possible in "idle conversation state" to enable interaction of a large number of players in a short time. (The last time i did a show-fight i was losing count because there were more than 15 players) |
Note: Betting is possible in "idle conversation state" to enable interaction of a large number of players in a short time. (The last time i did a show-fight i was losing count because there were more than 15 players) |
||
=== |
=== Entity Search === |
||
; /script DeepInspect.class ''player'' |
|||
: Deep inspects a player and all his/her items and slots (except personal ones like !buddies and !ignore) |
|||
; /script EntitySearch.class ''cname <creatureName>'' |
|||
=== Drop Player Items === |
|||
: Description: |
|||
; /script DropPlayerItems.class ''player'' ''[amount]'' ''item'' |
|||
:: Show the number of the specified ''<creatureName>'' respawn points for each zone. Zones with zero are not shown |
|||
: Drop the specified amount of items from the player if they are equipped in the bag or body. |
|||
: Parameters: |
|||
:: '''creatureName:''' Name of target creature. |
|||
; /script EntitySearch.class ''nonrespawn'' |
|||
=== Entity Search === |
|||
: Description: |
|||
; /script EntitySearch.class cname <creatureName> |
|||
:: Shows the locations of all creatures that don't respawn, for example creatures that were summoned by a GM, deathmatch creatures, etc. Sheep and pets are ignored. |
|||
: Show the number of the specified <creatureName> respawn points for each zone. |
|||
: Zones with zero are not shown |
|||
; /script EntitySearch.class |
; /script EntitySearch.class zname ''<partialZoneName>'' |
||
: Description: |
|||
: Shows the locations of all creatures that don't respawn, for example creatures that were summoned by a GM, deathmatch creatures, etc. |
|||
:: Shows all zone names that contain ''<partialZoneName>'' and shows all the creature respawn points in each of those zones. |
|||
: Sheep and pets are ignored. |
|||
: Parameters: |
|||
:: '''partialZoneName:''' Name of target zone. |
|||
=== Server Reset === |
|||
; /script EntitySearch.class zname <partialZoneName> |
|||
: Shows all zone names that contain <partialZoneName> and shows all the creature respawn points in each of those zones. |
|||
; /script ServerReset.class |
|||
=== Fix DM === |
|||
: Description: |
|||
; /script FixDM.class ''player'' |
|||
:: 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. |
|||
: * If a player has killed all 10 creatures in deathmatch but the assistant is not giving victory, this script allows player to claim victory. |
|||
: * The admin should check this is plausible then run the script. The player is then told they may claim victory. They will then gain their score and get the helmet increased, and the slot will be changed, just as though the assistant had got it right all along. |
|||
=== NPC Management === |
|||
: * If the player was lying or wrong, i.e. the state was "done" already, or non-existent, the script tells the admin who ran it and does nothing to player. |
|||
: * If the player had bailed by mistake then the script sets the quest state to "done" so the player can leave when needed but the helmet must be fixed manually, as appropriate. |
|||
=== List NPCs === |
=== List NPCs === |
||
; /script ListNPCs.class |
|||
:lists all npcs and their position |
|||
; /script ListNPCs.class |
|||
=== Logout Player === |
|||
: Description: |
|||
; /script LogoutPlayer.class ''player'' |
|||
:: Lists all npcs and their position. |
|||
:disconnects a player from the game |
|||
=== NPC Shout === |
=== NPC Shout === |
||
; /script NPCShout.class ''npc'' ''text'' |
|||
; /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. |
|||
; /script NPCShoutZone.class ''<npc> { <zone> | - } <text>'' |
|||
=== Plague === |
|||
: Description: |
|||
; /script Plague.class ''ringcount'' ''creature'' |
|||
:: Send a notification to all players in a specific zone using an NPC name. |
|||
: 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: |
|||
:: '''npc:''' Name of target NPC. |
|||
=== Where are the Players === |
|||
:: '''zone:''' Name of target zone. |
|||
; /script WhereWho.class |
|||
:: '''-:''' Target zone will be your current zone. |
|||
: Tells the game master where all the players are. This helps to decide whether to do a raid. |
|||
:: '''text:''' Message that players will receive. |
|||
=== Portable Tavern Maid === |
=== Portable Tavern Maid === |
||
; /script Maria.class |
; /script Maria.class |
||
: Description: |
|||
: Summons Maria, who sells food&drinks. Put her away after use, by teleporting ''yourself'' to int_admin_playground and executing the script again or use -unload |
|||
:: Summons Maria, who sells food&drinks. Put her away after use, by teleporting ''yourself'' to int_admin_playground and executing the script again or use -unload |
|||
== Player Management == |
|||
=== Alter Player Loot Count === |
|||
Intended for testing purposes. |
|||
; /script AlterLoot.class ''<player> <count> <item>'' |
|||
: Description: |
|||
:: Alters number of loots a player has for an item. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
:: '''count:''' Amount to set. |
|||
:: '''item:''' Name of item. |
|||
; /script AlterLoot.class !help |
|||
: Description: |
|||
:: Shows help information. |
|||
=== Alter Quest State === |
|||
; /script AlterQuest.class ''<player> <questid> [<state>]'' |
|||
: Description: |
|||
:: Manipulates the quest state of a player. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
:: '''questid:''' Quest string identifier. |
|||
:: '''state:''' ''(optional)'' String state to set quest. If omitted, quest will be removed from player. |
|||
=== Deep Inspect === |
|||
; /script DeepInspect.class ''{character|username} <name>'' |
|||
: Description: |
|||
:: Deep inspects a player and all his/her items and slots (except personal ones like !buddies and !ignore) |
|||
: Parameters: |
|||
:: '''character:''' Inspect a single online player. |
|||
:: '''username:''' Inspect all characters registered to an account. |
|||
:: '''name:''' Character name or account username. |
|||
=== Drop Player Items === |
|||
; /script DropPlayerItems.class ''<player> [<amount>] <item>'' |
|||
: Description: |
|||
:: Drop the specified amount of items from the player if they are equipped in the bag or body. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
:: '''amount:''' ''(optional)'' Number of items to drop. |
|||
:: '''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 === |
|||
; /script FixDM.class ''<player>'' |
|||
: Description: |
|||
:: * If a player has killed all 10 creatures in deathmatch but the assistant is not giving victory, this script allows player to claim victory. |
|||
:: * The admin should check this is plausible then run the script. The player is then told they may claim victory. They will then gain their score and get the helmet increased, and the slot will be changed, just as though the assistant had got it right all along. |
|||
:: * If the player was lying or wrong, i.e. the state was "done" already, or non-existent, the script tells the admin who ran it and does nothing to player. |
|||
:: * If the player had bailed by mistake then the script sets the quest state to "done" so the player can leave when needed but the helmet must be fixed manually, as appropriate. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
=== Logout Player === |
|||
; /script LogoutPlayer.class ''<player>'' |
|||
: Description: |
|||
:: Disconnects a player from the game. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
=== Restore Outfit === |
|||
; /script RestoreOriginalOutfit.class ''<player>'' |
|||
: Description: |
|||
:: Restores player's original outfit if they are wearing a temporary one. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
=== Reset Slot === |
=== Reset Slot === |
||
; /script ResetSlot.class ''player'' ''slot'' |
|||
: Resets the named slot such as !kills or !quests or !features. Useful for debugging. Use with extreme caution on main server. |
|||
; /script ResetSlot.class ''<player> <slot>'' |
|||
=== Server Reset === |
|||
: Description: |
|||
; /script ServerReset.class |
|||
:: Resets the named slot such as !kills or !quests or !features. Useful for debugging. Use with extreme caution on main server. |
|||
: 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. |
|||
: Parameters: |
|||
:: '''player:''' Name of target player. |
|||
:: '''slot:''' Name of target slot. |
|||
=== Where are Players === |
|||
; /script WhereWho.class |
|||
: Description: |
|||
:: Tells the game master where all the players are. This helps to decide whether to do a raid. |
|||
== 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. |
|||
=== 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>'' |
|||
[[Category:Administration]] |
|||
== On a localhost server == |
|||
[[Category:Scripts]] |
|||
You need to get the built scripts (*.class files). If you built your server using ant, they are located in |
|||
build/build_server_script/games/stendhal/server/script. |
|||
If you got your server files from unzipping a released package you will need to ask someone nicely to zip them up for you :) Try <code>#arianne irc.freenode.net</code>. |
|||
Inside your server folder you should already have the file <code>data/conf/admins.txt</code> that you edited so you could be an admin. Inside <code>data</code>, create the folder structure |
|||
script/games/stendhal/server/script/ |
|||
and put your scripts there. Since '.' will already be on your classpath to read the admins list, these scripts should now also be loaded when you start your server. If you have trouble try adding ./data/script to your classpath too. |
|||
P.s. If you are in Windows not Linux then remember all the / here for folders are actually \! |
|||
Latest revision as of 08:03, 17 January 2022
General Info
Highlevel admins can invoke scripts using the /script-command:
/script [-execute|-load|-unload] scriptname [params]
The default action is execute with simply executes the script. If you use load then all the modifications done by a previous invokation of this script are removed. You can remove everything a script did by invoking it with unload. execute is targeted at admins while load/unload is for developers. (But an admin may want to remove all summoned monsters in case some survived the raid and ran away).
As with every admin action, the invocation of scripts is logged. Do not abuse it.
Parameters Key
| Type | Examples | Explanation |
|---|---|---|
| Required | <param> | Surrounded by angled brackets. Cannot be omitted. |
| Optional | [<param>] | Surrounded by angled brackets inside square brackets. May be omitted. |
| Required Verbatim | param | Must be typed exactly as displayed (e.g.: "param"). Cannot be omitted. |
| Optional Verbatim | [param] | Must be typed exactly as displayed. May be omitted. |
| Multiple | * {paramA | paramB} * {paramA | paramB <paramC1> [<paramC2>]} |
Surrounded by curly brackets, divided by pipe (|). Any one of the parameters or parameter groups may be used. |
| Ellipsis | [...] | Signifies that there can be an indefinite number of parameters. |
Scripts and Parameters
General
Admin Portals
- /script AdminPortal.class [<name>] <destination-zone> <destination-ref>
- Description:
- Creates a portal at the admin's position.
- Parameters:
- name: (optional) Name of new portal.
- destination-zone: Target zone where player is teleported.
- destination-ref: Portal reference where player is teleported.
- /script AdminPortal.class <name> <destination-zone> <destination-ref> [level <min-level> <max-level> [<reject-message>]]
- Description:
- Creates a portal.
- Parameters:
- 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
- /script AdminSign.class <zone> <x> <y> <text>
- Description:
- Places a sign saying text in the zone at (x, y). The first three parameters can be "-" to place the sign next to the admin.
- /script AdminSign.class list
- Description:
- Lists all signs created by admins
- /script AdminSign.class del <signnumber>
- Description:
- Removes the sign with that number (see list)
- Parameters:
- signnumber: Integer sign identifier.
Bet Manager
This Script summons an NPC who will collect and pay bets at a raid.
- /script BetManager.class accept <opponent1> <opponent2> [...]
- Description:
- Summons the NPC and let it accept bets on <opponent1>, <opponent2>, ...
- Parameters:
- All parameters are names of players.
Then players can bet by saying something like:
- bet 50 ham on fire
- bet 5 cheese on water
- /script BetManager.class action
- Description:
- The game master started the action closing the betting time.
- /script BetManager.class winner <opponent>
- Description:
- 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:
- mort bet 50 ham on fire and won an additional 50 ham
- hendrik lost 5 cheese betting on water
Note: Betting is possible in "idle conversation state" to enable interaction of a large number of players in a short time. (The last time i did a show-fight i was losing count because there were more than 15 players)
Entity Search
- /script EntitySearch.class cname <creatureName>
- Description:
- Show the number of the specified <creatureName> respawn points for each zone. Zones with zero are not shown
- Parameters:
- creatureName: Name of target creature.
- /script EntitySearch.class nonrespawn
- Description:
- Shows the locations of all creatures that don't respawn, for example creatures that were summoned by a GM, deathmatch creatures, etc. Sheep and pets are ignored.
- /script EntitySearch.class zname <partialZoneName>
- Description:
- Shows all zone names that contain <partialZoneName> and shows all the creature respawn points in each of those zones.
- Parameters:
- partialZoneName: Name of target zone.
Server Reset
- /script ServerReset.class
- Description:
- 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.
NPC Management
List NPCs
- /script ListNPCs.class
- Description:
- Lists all npcs and their position.
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
- /script NPCShoutZone.class <npc> { <zone> | - } <text>
- 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
- /script Maria.class
- Description:
- Summons Maria, who sells food&drinks. Put her away after use, by teleporting yourself to int_admin_playground and executing the script again or use -unload
Player Management
Alter Player Loot Count
Intended for testing purposes.
- /script AlterLoot.class <player> <count> <item>
- Description:
- Alters number of loots a player has for an item.
- Parameters:
- player: Name of target player.
- count: Amount to set.
- item: Name of item.
- /script AlterLoot.class !help
- Description:
- Shows help information.
Alter Quest State
- /script AlterQuest.class <player> <questid> [<state>]
- Description:
- Manipulates the quest state of a player.
- Parameters:
- player: Name of target player.
- questid: Quest string identifier.
- state: (optional) String state to set quest. If omitted, quest will be removed from player.
Deep Inspect
- /script DeepInspect.class {character|username} <name>
- Description:
- Deep inspects a player and all his/her items and slots (except personal ones like !buddies and !ignore)
- Parameters:
- character: Inspect a single online player.
- username: Inspect all characters registered to an account.
- name: Character name or account username.
Drop Player Items
- /script DropPlayerItems.class <player> [<amount>] <item>
- Description:
- Drop the specified amount of items from the player if they are equipped in the bag or body.
- Parameters:
- player: Name of target player.
- amount: (optional) Number of items to drop.
- item: Name of target item.
Features
- /script DisableFeature.class <player> <feature>
- Description:
- Disables a feature, like keyring, for a player.
- Parameters:
- player: Name of target player.
- feature: Feature to be disabled.
- /script EnableFeature.class <player> <feature>
- Description:
- Enables a feature, like keyring, for a player.
- Parameters:
- player: Name of target player.
- feature: Feature to be enabled.
Fix DM
- /script FixDM.class <player>
- Description:
- * If a player has killed all 10 creatures in deathmatch but the assistant is not giving victory, this script allows player to claim victory.
- * The admin should check this is plausible then run the script. The player is then told they may claim victory. They will then gain their score and get the helmet increased, and the slot will be changed, just as though the assistant had got it right all along.
- * If the player was lying or wrong, i.e. the state was "done" already, or non-existent, the script tells the admin who ran it and does nothing to player.
- * If the player had bailed by mistake then the script sets the quest state to "done" so the player can leave when needed but the helmet must be fixed manually, as appropriate.
- Parameters:
- player: Name of target player.
Logout Player
- /script LogoutPlayer.class <player>
- Description:
- Disconnects a player from the game.
- Parameters:
- player: Name of target player.
Restore Outfit
- /script RestoreOriginalOutfit.class <player>
- Description:
- Restores player's original outfit if they are wearing a temporary one.
- Parameters:
- player: Name of target player.
Reset Slot
- /script ResetSlot.class <player> <slot>
- Description:
- Resets the named slot such as !kills or !quests or !features. Useful for debugging. Use with extreme caution on main server.
- Parameters:
- player: Name of target player.
- slot: Name of target slot.
Where are Players
- /script WhereWho.class
- Description:
- Tells the game master where all the players are. This helps to decide whether to do a raid.
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.
List Raids
- /script ListRaids.class
- instructions coming soon
Raids
- /script AdosWildlifeRaid.class
- instructions coming soon
- /script AngelRaid.class
- instructions coming soon
- /script AnimalRaid.class
- instructions coming soon
- /script BarbarianRaid.class
- instructions coming soon
- /script BeholderRaid.class
- instructions coming soon
- /script BlordroughRaid.class
- instructions coming soon
- /script ChaosRaid.class
- instructions coming soon
- /script CreateRaid.class
- instructions coming soon
- /script DragonRaid.class
- instructions coming soon
- /script DrowRaid.class
- instructions coming soon
- /script DwarfRaid.class
- instructions coming soon
- /script ElementalRaid.class
- instructions coming soon
- /script ElfRaid.class
- instructions coming soon
- /script FarmRaid.class
- instructions coming soon
- /script FrogmanSheepmanRaid.class
- instructions coming soon
- /script GnomeRaid.class
- instructions coming soon
- /script ImperialRaid.class
- instructions coming soon
- /script KoboldRaid.class
- instructions coming soon
- /script LichRaid.class
- instructions coming soon
- /script OniRaid.class
- instructions coming soon
- /script OrcRaid.class
- instructions coming soon
- /script ZombieRaid.class
- instructions coming soon