Package me.yleoft.zHomes.commands
Class SethomeCommand
java.lang.Object
me.yleoft.zHomes.storage.DatabaseConnection
me.yleoft.zHomes.storage.DatabaseEditor
me.yleoft.zHomes.utility.HomesUtils
me.yleoft.zHomes.commands.SethomeCommand
- All Implemented Interfaces:
me.yleoft.zAPI.command.Command,me.yleoft.zAPI.command.CommandBasis,org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter
-
Nested Class Summary
Nested classes/interfaces inherited from class me.yleoft.zHomes.storage.DatabaseEditor
DatabaseEditor.PurgeFilterNested classes/interfaces inherited from class me.yleoft.zHomes.storage.DatabaseConnection
DatabaseConnection.DirectDriverDataSource -
Field Summary
Fields inherited from class me.yleoft.zHomes.utility.HomesUtils
warmupsFields inherited from class me.yleoft.zHomes.storage.DatabaseConnection
dataSource, h2Driver, h2driverClass, h2DriverLoader, mariadbDriver, mariadbdriverClass, mariadbDriverLoader, mysqlDriver, mysqldriverClass, mysqlDriverLoader, sqliteDriver, sqlitedriverClass, sqliteDriverLoader, typeFields inherited from interface me.yleoft.zAPI.command.CommandBasis
activeParameters, parameters, subCommands -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliases()doublevoidexecute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String[] fullArgs, @NotNull String @NotNull [] args) intminArgs()@NotNull Stringname()booleanbooleanprexecute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String[] fullArgs, @NotNull String @NotNull [] args) usage(@NotNull org.bukkit.command.CommandSender sender, @NotNull String[] fullArgs, @NotNull String[] args) Methods inherited from class me.yleoft.zHomes.utility.HomesUtils
addHome, canDimensionalTeleport, delHome, getHomeLoc, getHomeWorld, getLimit, getMaxLimit, getTeleportSound, hasHome, homes, homes, homesW, homesWDD, inMaxLimit, inSameWorld, isAllowedInWorld, isAllowedInWorld, isAllowedInWorld, numberOfHomes, startWarmup, teleportPlayer, teleportPlayerMethods inherited from class me.yleoft.zHomes.storage.DatabaseEditor
addNameColumn, countHomes, createTable, databaseTable, deleteHome, exportDatabase, getEntityLevelUP, getHome, getHomes, getNearHomes, getTotalHomes, getTotalUsers, getUUIDByName, importDatabase, isInTable, purgeHomes, renameHome, setHome, updatePlayerNameMethods inherited from class me.yleoft.zHomes.storage.DatabaseConnection
closePool, connect, disconnect, existsTableColumnValueDoubleLower, getConnection, h2Url, mariadbUrl, migrateData, mysqlUrl, sqliteUrlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.yleoft.zAPI.command.Command
bypassCooldownPermissionMethods inherited from interface me.yleoft.zAPI.command.CommandBasis
addParameter, addSubCommand, clearParameters, dispatch, dispatchTabComplete, filterCompletions, findActiveParameterTabContext, findParameter, getParameter, isPlayer, maxArgs, message, message, onCommand, onTabComplete, parseAndExecuteParameters, permissionMessage, playerOnlyMessage, suggestParameters, tabComplete
-
Constructor Details
-
SethomeCommand
public SethomeCommand()
-
-
Method Details
-
name
- Specified by:
namein interfaceme.yleoft.zAPI.command.CommandBasis
-
description
- Specified by:
descriptionin interfaceme.yleoft.zAPI.command.CommandBasis
-
aliases
- Specified by:
aliasesin interfaceme.yleoft.zAPI.command.CommandBasis
-
minArgs
public int minArgs()- Specified by:
minArgsin interfaceme.yleoft.zAPI.command.CommandBasis
-
permission
- Specified by:
permissionin interfaceme.yleoft.zAPI.command.CommandBasis
-
cooldownTime
public double cooldownTime()- Specified by:
cooldownTimein interfaceme.yleoft.zAPI.command.Command
-
playerOnly
public boolean playerOnly()- Specified by:
playerOnlyin interfaceme.yleoft.zAPI.command.CommandBasis
-
usage
public String usage(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String[] fullArgs, @NotNull @NotNull String[] args) - Specified by:
usagein interfaceme.yleoft.zAPI.command.CommandBasis
-
prexecute
public boolean prexecute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String[] fullArgs, @NotNull @NotNull String @NotNull [] args) - Specified by:
prexecutein interfaceme.yleoft.zAPI.command.CommandBasis
-
execute
public void execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String[] fullArgs, @NotNull @NotNull String @NotNull [] args) - Specified by:
executein interfaceme.yleoft.zAPI.command.CommandBasis
-