public class PlayerMailConfigurator extends PlayerMailConfigurationUtils
| Constructor and Description |
|---|
PlayerMailConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deletePlayerMail(org.bukkit.entity.Player player,
java.lang.String mail) |
static java.lang.Long |
getMailCoins(org.bukkit.OfflinePlayer player,
java.lang.String mail) |
static org.bukkit.inventory.ItemStack |
getMailItem(org.bukkit.OfflinePlayer player,
java.lang.String mail) |
static java.lang.String |
getMailSender(org.bukkit.OfflinePlayer player,
java.lang.String mail) |
static java.lang.String |
getMailText(org.bukkit.OfflinePlayer player,
java.lang.String mail) |
static java.lang.Long |
getMailTime(org.bukkit.OfflinePlayer player,
java.lang.String mail) |
static java.util.List<java.lang.String> |
getPlayerMailNameList(org.bukkit.entity.Player player) |
static void |
setMailCoins(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.Long coins) |
static void |
setMailItem(org.bukkit.OfflinePlayer player,
java.lang.String mail,
org.bukkit.inventory.ItemStack item) |
static void |
setMailSender(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.String sender) |
static void |
setMailText(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.String text) |
static void |
setMailTime(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.Long time) |
playerMailConfigGetItemStack, playerMailConfigGetLong, playerMailConfigGetString, playerMailConfigSetpublic static java.util.List<java.lang.String> getPlayerMailNameList(org.bukkit.entity.Player player)
player - The player that owns the config file.public static void deletePlayerMail(org.bukkit.entity.Player player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail to delete.public static java.lang.String getMailSender(org.bukkit.OfflinePlayer player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail.public static void setMailSender(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.String sender)
player - The player that owns the config file.mail - The name of the mail.sender - The new sender of the mail.public static java.lang.String getMailText(org.bukkit.OfflinePlayer player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail.public static void setMailText(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.String text)
player - The player that owns the config file.mail - The name of the mail.text - The new text content of the mail.public static java.lang.Long getMailTime(org.bukkit.OfflinePlayer player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail.public static void setMailTime(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.Long time)
player - The player that owns the config file.mail - The name of the mail.time - The new sending time of the mail.public static java.lang.Long getMailCoins(org.bukkit.OfflinePlayer player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail.public static void setMailCoins(org.bukkit.OfflinePlayer player,
java.lang.String mail,
java.lang.Long coins)
player - The player that owns the config file.mail - The name of the mail.coins - The new coin attachment of the mail.public static org.bukkit.inventory.ItemStack getMailItem(org.bukkit.OfflinePlayer player,
java.lang.String mail)
player - The player that owns the config file.mail - The name of the mail.public static void setMailItem(org.bukkit.OfflinePlayer player,
java.lang.String mail,
org.bukkit.inventory.ItemStack item)
player - The player that owns the config file.mail - The name of the mail.item - The new item attachment of the mail.