Package dev.plex.util

Class PlexUtils

java.lang.Object
dev.plex.util.PlexUtils
All Implemented Interfaces:
PlexBase

public class PlexUtils extends Object implements PlexBase
  • Field Details

    • DEVELOPERS

      public static List<String> DEVELOPERS
    • safeMessage

      private static final net.kyori.adventure.text.minimessage.MiniMessage safeMessage
  • Constructor Details

    • PlexUtils

      public PlexUtils()
  • Method Details

    • addToArrayList

      public static <T> T addToArrayList(List<T> list, T object)
    • disabledEffect

      public static void disabledEffect(org.bukkit.entity.Player player, org.bukkit.Location location)
    • disabledEffectMultiple

      public static void disabledEffectMultiple(org.bukkit.entity.Player[] players, org.bukkit.Location location)
    • testConnections

      public static void testConnections()
    • isPluginCMD

      public static boolean isPluginCMD(String cmd, String pluginName)
    • mmStripColor

      public static String mmStripColor(String input)
    • mmDeserialize

      public static net.kyori.adventure.text.Component mmDeserialize(String input)
    • mmCustomDeserialize

      public static net.kyori.adventure.text.Component mmCustomDeserialize(String input, net.kyori.adventure.text.minimessage.tag.resolver.TagResolver... resolvers)
    • messageComponent

      public static net.kyori.adventure.text.Component messageComponent(String entry, Object... objects)
    • messageString

      public static String messageString(String entry, Object... objects)
    • getPlayerNameList

      public static List<String> getPlayerNameList()
    • broadcast

      public static void broadcast(String s)
    • broadcast

      public static void broadcast(net.kyori.adventure.text.Component component)
    • broadcastToAdmins

      public static void broadcastToAdmins(net.kyori.adventure.text.Component component)