Uses of Class
com.olziedev.playerwarps.api.player.WPlayer
Packages that use 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 expansion based objects that expose methods for external plugins to hook into.
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
Methods in com.olziedev.playerwarps.api that return WPlayerModifier 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.Methods in com.olziedev.playerwarps.api that return types with arguments of type WPlayerMethods in com.olziedev.playerwarps.api with parameters of type WPlayerModifier 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
Constructors in com.olziedev.playerwarps.api.events.update with parameters of type WPlayerModifierConstructorDescriptionWarpPlayerUpdateEvent
(WPlayer warpPlayer, WarpPlayerUpdateEvent.Type type) This event is triggered before a players' data has been updated. -
Uses of WPlayer in com.olziedev.playerwarps.api.expansion
Methods in com.olziedev.playerwarps.api.expansion with parameters of type WPlayerModifier and TypeMethodDescriptionvoid
Deposit the amount into the players balance in all the currencies.abstract void
WCurrency.deposit
(WPlayer wPlayer, double amount, String internalCurrency, Consumer<Boolean> response) Deposit the amount into the players balance in this currency.abstract double
WCurrency.BankProvider.getBalance
(WPlayer wPlayer) Retrieve the balance from a player in this provider.abstract void
WCurrency.getBalance
(WPlayer wPlayer, String internalCurrency, Consumer<Double> balanceConsumer) Retrieve the balance from a player in this currency.double
Retrieve the price of the currency.boolean
WCurrency.BankProvider.hasBalance
(WPlayer wPlayer, double amount) Retrieve if the player has the balance specified in this provider.void
WCurrency.CurrencySection.hasBalance
(WPlayer wPlayer, Consumer<Boolean> hasConsumer) Retrieve if the player has the balance specified for all the currencies.void
WCurrency.hasBalance
(WPlayer wPlayer, double amount, String internalCurrency, Consumer<Boolean> hasConsumer) Retrieve if the player has the balance specified in this currency.abstract void
Withdraw the amount from the players balance in this provider.void
Withdraw the amount from the players balance in all the currencies.abstract void
WCurrency.withdraw
(WPlayer wPlayer, double amount, String internalCurrency, Consumer<Boolean> response) Withdraw the amount from the players balance in this currency. -
Uses of WPlayer in com.olziedev.playerwarps.api.player
Methods in com.olziedev.playerwarps.api.player that return WPlayer -
Uses of WPlayer in com.olziedev.playerwarps.api.warp
Methods in com.olziedev.playerwarps.api.warp that return WPlayerMethods in com.olziedev.playerwarps.api.warp with parameters of type WPlayerModifier and TypeMethodDescriptionvoid
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.