Class StringManager
java.lang.Object
studio.magemonkey.genesis.managers.misc.StringManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckStringForFeatures(GenesisShop shop, GenesisBuy buy, org.bukkit.inventory.ItemStack menuItem, @NonNull String s) Transform specific strings from one thing to anothertransform(String s, GenesisBuy item, GenesisShop shop, GenesisShopHolder holder, org.bukkit.entity.Player target) transform(String s, GenesisBuy item, GenesisShop shop, GenesisShopHolder holder, org.bukkit.entity.Player target, boolean colorize)
-
Constructor Details
-
StringManager
public StringManager()
-
-
Method Details
-
transform
Transform specific strings from one thing to another- Parameters:
s- input string- Returns:
- transformed string
-
transform
-
transform
public String transform(String s, GenesisBuy item, GenesisShop shop, GenesisShopHolder holder, org.bukkit.entity.Player target) -
transform
public String transform(String s, GenesisBuy item, GenesisShop shop, GenesisShopHolder holder, org.bukkit.entity.Player target, boolean colorize) -
transform
-
transform
-
checkStringForFeatures
public boolean checkStringForFeatures(GenesisShop shop, GenesisBuy buy, org.bukkit.inventory.ItemStack menuItem, @NonNull @NonNull String s)
-