Deprecated API
Contents
-
InterfaceDescriptionExternal plugins should prefer to use either the player's client language (
Player.getLocale()
orII18n
in case of future additions.External plugins should useIItemDb
instead, which includes access toIItemDb.ItemResolver
APIs.External plugins should useIJails
instead of this interface in case future APIs are added.This API is not asynchronous and is no longer maintained. UseIAsyncTeleport
.External plugins should useIWarps
instead of this interface, in case future APIs are added.External plugins should useIUser
instead of this interface, in case future APIs are added.This API is not asynchronous. UseIAsyncTeleport
-
Exception ClassDescriptionThis exception relates to the abandoned 3.x storage refactor and is not implemented.This exception is unused. Use
InvalidWorldException
instead.This exception relates to the abandoned 3.x storage refactor and is not implemented.You should useNoLoanPermittedException
instead of this class.This is unused - seeUserDoesNotExistException
.
-
MethodDescriptionUsernames can change, use
Economy.add(UUID, BigDecimal)
orEconomy.add(User, BigDecimal)
Usernames can change, useEconomy.divide(UUID, BigDecimal)
orEconomy.divide(User, BigDecimal)
UseEconomy.format(BigDecimal)
if your input is already aBigDecimal
.Usernames can change, useEconomy.getMoneyExact(UUID)
orEconomy.getMoneyExact(User)
Usernames can change, useEconomy.hasEnough(UUID, BigDecimal)
orEconomy.hasEnough(User, BigDecimal)
Usernames can change, useEconomy.hasLess(UUID, BigDecimal)
orEconomy.hasLess(User, BigDecimal)
Usernames can change, useEconomy.hasMore(UUID, BigDecimal)
orEconomy.hasMore(User, BigDecimal)
Usernames can change, useEconomy.isNegative(UUID)
orEconomy.isNegative(User)
Usernames can change, useEconomy.multiply(UUID, BigDecimal)
orEconomy.multiply(User, BigDecimal)
Essentials is moving away from username based economy methods. This may be removed in the future.Usernames can change, useEconomy.resetBalance(UUID)
orEconomy.resetBalance(User)
Usernames can change useEconomy.setMoney(UUID, BigDecimal)
orEconomy.setMoney(User, BigDecimal)
Usernames can change, useEconomy.subtract(UUID, BigDecimal)
orEconomy.subtract(User, BigDecimal)
Item IDs are no longer supported.This method relates to the abandoned 3.x storage refactor and is not implemented.UseIEssentials.getVanishedPlayersNew()
where possible.This API is not asynchronous. UseIAsyncTeleport
withIUser.getAsyncTeleport()
The teleport request system has been moved into a multi-user teleport request queue.The teleport request system has been moved into a multi-user teleport request queue.This method does not use asynchronous teleportation. UseJails.sendToJail(IUser, String, CompletableFuture)
useEssentialsSign.isValidSign(IEssentials, ISign)
if possibleThis API is not asynchronous. UseUser.getAsyncTeleport()
Mails are no longer just strings, this method is therefore misleading.This method does not support the new mail system and will fail at runtime.This method relates to the abandoned 3.x storage refactor and is not implemented.This will soon be replaced with a new two-way API. It should not be relied upon by external plugins!This is only for maintaining backwards compatibility with old API, please use the newerMailService.sendMail(IUser, MailSender, String)
API.