Class PlayerSettings


  • public class PlayerSettings
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PlayerSettings()
      Deprecated.
    • Constructor Detail

      • PlayerSettings

        @Deprecated
        public PlayerSettings()
        Deprecated.
    • Method Detail

      • getPlayerSettings

        @Deprecated
        public static PlayerSettings getPlayerSettings()
        Deprecated.
      • getConfig

        public static int getConfig​(int id)
        Gets the specified config value
        Parameters:
        id - Config ID
        Returns:
        Config value
      • getBitValue

        public static int getBitValue​(int id)
        Gets the specified bit value using the cache's varbit ID
        Parameters:
        id - Config ID
        Returns:
        Bit value
      • getCleanedConfig

        public static int getCleanedConfig​(int id,
                                           int and)
        Gets the specified config value, cleaned with given bitwise and value
        Parameters:
        id - Config ID
        and - value to clean config value with by bitwise and operation
        Returns:
        Cleaned config value