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
Constructors -
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:StendhalServerExtensioninit the extension- Specified by:
initin interfaceStendhalServerExtensionIface- Specified by:
initin classStendhalServerExtension
-
onAction
Description copied from interface:ActionListenerprocesses the requested action.- Specified by:
onActionin interfaceActionListener- Parameters:
player- the caller of the actionaction- the action to be performed
-