Class TeleportCommands
java.lang.Object
com.sk89q.commandbook.component.locations.TeleportCommands
public class TeleportCommands
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TeleportCommands(TeleportComponent component) -
Method Summary
Modifier and Type Method Description voidbring(org.bukkit.command.CommandSender sender, MultiPlayerTarget targets)voidput(org.bukkit.command.CommandSender sender, MultiPlayerTarget targets)voidrequestTeleport(org.bukkit.entity.Player sendingPlayer, SinglePlayerTarget target)voidret(org.bukkit.entity.Player sendingPlayer, SinglePlayerTarget player)voidteleport(org.bukkit.command.CommandSender sender, boolean silent, MultiPlayerTarget targets, LocationTarget destination)
-
Constructor Details
-
Method Details
-
teleport
public void teleport(org.bukkit.command.CommandSender sender, @Switch(name='s',desc="silent") boolean silent, @Arg(desc="players to teleport",def="") MultiPlayerTarget targets, @Arg(desc="destination") LocationTarget destination) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-
requestTeleport
public void requestTeleport(org.bukkit.entity.Player sendingPlayer, @Arg(desc="player to teleport to") SinglePlayerTarget target) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-
bring
public void bring(org.bukkit.command.CommandSender sender, @Arg(desc="players to teleport") MultiPlayerTarget targets) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-
put
public void put(org.bukkit.command.CommandSender sender, @Arg(desc="players to teleport") MultiPlayerTarget targets) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-
ret
public void ret(org.bukkit.entity.Player sendingPlayer, @Arg(desc="players to teleport",def="") SinglePlayerTarget player) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-