Class Jump
- java.lang.Object
-
- de.simonsator.partyandfriends.utilities.SubCommand
-
- de.simonsator.partyandfriends.api.friends.abstractcommands.FriendSubCommand
-
- de.simonsator.partyandfriends.friends.subcommands.Jump
-
- All Implemented Interfaces:
java.lang.Comparable<SubCommand>
public class Jump extends FriendSubCommand
The command jump
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
-
Constructor Summary
Constructors Constructor Description Jump(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelp, java.lang.String pPermission)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkForSameServer(net.md_5.bungee.api.config.ServerInfo pServer)
void
doNotCheckForSameServer(net.md_5.bungee.api.config.ServerInfo pServer)
void
onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
static void
setServerConnector(ServerConnector pConnector)
Deprecated.-
Methods inherited from class de.simonsator.partyandfriends.api.friends.abstractcommands.FriendSubCommand
isAFriendOf, isAFriendOf, isPlayerGiven, sendError
-
Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError
-
-
-
-
Method Detail
-
setServerConnector
@Deprecated public static void setServerConnector(ServerConnector pConnector)
Deprecated.Sets the server connector, which will be used to join a server. Please use insteadlabel
- Parameters:
pConnector
- The connector
-
onCommand
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
- Specified by:
onCommand
in classSubCommand
-
checkForSameServer
public void checkForSameServer(net.md_5.bungee.api.config.ServerInfo pServer)
-
doNotCheckForSameServer
public void doNotCheckForSameServer(net.md_5.bungee.api.config.ServerInfo pServer)
-
-