Package games.stendhal.server.extension
Class TeleportSendExtension
java.lang.Object
games.stendhal.server.extension.StendhalServerExtension
games.stendhal.server.extension.TeleportSendExtension
- All Implemented Interfaces:
ActionListener
,StendhalServerExtensionIface
Stendhal TeleportSend Extenstion
This extension adds teleportsend to the game world. there is 1 command:
/teleportsend [Player] [Player|NPC_Destination] which will teleport the first
player to the second player/npc This command is an admin command of the same
access level as /teleport To enable this extension, add it to the
server.ini file: # load StendhalServerExtension(s)
teleportsend=games.stendhal.server.extension.TeleportSendExtension
server_extension=...,teleportsend
- Author:
- Seather
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.extension.StendhalServerExtension
getInstance, getMessage, perform
-
Constructor Details
-
TeleportSendExtension
public TeleportSendExtension()
-
-
Method Details
-
init
public void init()Description copied from class:StendhalServerExtension
init the extension- Specified by:
init
in interfaceStendhalServerExtensionIface
- Specified by:
init
in classStendhalServerExtension
-
onAction
Description copied from interface:ActionListener
processes the requested action.- Specified by:
onAction
in interfaceActionListener
- Parameters:
player
- the caller of the actionaction
- the action to be performed
-