Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

MiscUtils

Chanakan55991 edited this page Apr 28, 2021 · 3 revisions

MiscUtils class is located at: live.chanakancloud.taputils.utils.MiscUtils

here you can find random utilities. the list below contained all function and parameters and what it return:

sendToConsole(String message) send message to console (with color supported by '&' and prefix)

return none (void)

sendToPlayer(Player player, String message) send message to player with color and prefix

return none (void)

sendToCommandSender(CommandSender commandSender, String message) send message back to commandSender with color supported by '&' and prefix

return none (void)

createItemStack(Material material, int amount, String name, String... lore) create new item stack

return org.bukkit.inventory.ItemStack