Interface PartyRank

  • All Known Subinterfaces:
    Rank

    public interface PartyRank
    • Method Detail

      • setConfigName

        void setConfigName​(String configName)
        Set the configuration name of the rank. This should not be touched.
        Parameters:
        configName - the configuration name of the rank
      • setHardName

        @Deprecated
        default void setHardName​(String hardname)
        Deprecated.
      • getConfigName

        String getConfigName()
        Get the configuration name of the rank This should not be touched.
        Returns:
        the configuration name of the rank
      • setName

        void setName​(String name)
        Set the name of the rank
        Parameters:
        name - the name of the rank
      • getName

        String getName()
        Get the name of the rank
        Returns:
        the name of the rank
      • setChat

        void setChat​(String chat)
        Set the chat format of the rank
        Parameters:
        chat - the chat format of the rank
      • getChat

        String getChat()
        Get the chat format of the rank
        Returns:
        the chat format of the rank
      • setLevel

        void setLevel​(int level)
        Set the level of the rank
        Parameters:
        level - the level of the rank
      • getLevel

        int getLevel()
        Get the level of the rank
        Returns:
        the level of the rank
      • setSlot

        void setSlot​(int slot)
        Set the slot of the rank
        Parameters:
        slot - the slot of the rank
      • getSlot

        int getSlot()
        Get the slot of the rank
        Returns:
        the slot of the rank
      • setDefault

        void setDefault​(boolean def)
        Set the rank as default
        Parameters:
        def - true to set the rank as the default
      • isDefault

        boolean isDefault()
        Get if the rank is default
        Returns:
        true if the rank is the default
      • setPermissions

        void setPermissions​(List<String> perm)
        Set the permissions sub of the rank
        Parameters:
        perm - the permissions sub of the rank
      • getPermissions

        List<String> getPermissions()
        Get the permissions sub of the rank
        Returns:
        the permissions sub of the rank
      • havePermission

        boolean havePermission​(String perm)
        Check if the rank have a permission
        Parameters:
        perm - the permission to check
        Returns:
        true if the rank has that permission