Uses of Class
com.palmergames.bukkit.towny.object.metadata.StringDataField
-
Uses of StringDataField in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
MetaDataUtil.addNewMeta
(TownyObject townyObject, StringDataField sdf, boolean save) Adds a new StringDataField MetaData to a TownyObject, overriding any existing MetaData with the same key.static String
MetaDataUtil.getString
(TownyObject townyObject, StringDataField sdf) Get a string from a TownyObject's metadata.static boolean
MetaDataUtil.hasMeta
(TownyObject townyObject, StringDataField sdf) Does the TownyObject have the StringDataField meta?static void
MetaDataUtil.setString
(TownyObject townyObject, StringDataField sdf, String string, boolean save) Sets a StringDataField metadata on a TownyObject, creating the metadata if it doesn't exist.