Uses of Class
com.olziedev.playerwarps.api.player.WPlayer
Package
Description
All the generalized objects within the API.
All warp events that are triggered for menus.
All warp events that are triggered on an update.
All player based objects that handles and manages data.
All warp based objects that handles and manages data.
-
Uses of WPlayer in com.olziedev.playerwarps.api
Modifier and TypeMethodDescriptionabstract WPlayer
PlayerWarpsAPI.getWarpPlayer
(UUID uuid) abstract WPlayer
PlayerWarpsAPI.updateWarpPlayer
(UUID uuid) Updates the current player with its new data, if the player isn't in cache then it won't do anything and return null.Modifier and TypeMethodDescriptionabstract void
PlayerWarpsAPI.createPlayerWarp
(String name, WLocation location, WPlayer owner, WarpType type, CommandSender creator, Consumer<Warp> callback) Creates a player warp with the requested name.abstract void
PlayerWarpsAPI.createSafePlayerWarp
(String name, WLocation location, WPlayer owner, WarpType type, Player player, Consumer<Warp> callback) Creates a player warp with the requested name. -
Uses of WPlayer in com.olziedev.playerwarps.api.events.update
ModifierConstructorDescriptionWarpPlayerUpdateEvent
(WPlayer warpPlayer, WarpPlayerUpdateEvent.Type type) This event is triggered before a players' data has been changed. -
Uses of WPlayer in com.olziedev.playerwarps.api.player
-
Uses of WPlayer in com.olziedev.playerwarps.api.warp
Modifier and TypeMethodDescriptionabstract double
Warp.getTeleportPrice
(WPlayer wPlayer, boolean containsPercentageCut) Retrieves the teleport price for a player.void
WarpRentType.sendMessage
(WPlayer warpPlayer, Warp warp, FileConfiguration configuration) Sends a message to a player about their rent status depending on the enum instance.abstract void
Warp.setWarpPlayer
(WPlayer warpPlayer) Modifies the warp owner.abstract void
WLocation.teleportLocation
(Player teleporter, WPlayer teleportPlayer, PlayerWarpTeleportEvent event) This will teleport the player to the warp.