java.lang.Object
br.net.fabiozumbi12.RedProtect.Core.config.Category.BlockCategory

@ConfigSerializable public class BlockCategory extends Object
  • Field Details

    • enabled

      @Setting(comment="Enable timed given claim blocks?\nDefault: false") public boolean enabled
    • players

      @Setting(comment="Don\'t touch this.\nThis is the player times, to calculate the amount of blocks a player have\nValues:\n- time: 0 - Time played on server\n- added-blocks: 0 - Blocks added manually") public Map<String,BlockCategory.PlayerCat> players
    • unit_to_add

      @Setting(value="unit-to-add", comment="The unit type to give claim blocks to players?\nOptions:\n- d = x blocks for every day\n- h = x blocks for every hour\n- m = x blocks for every minute\n- s = x blocks for every second") public String unit_to_add
    • blocks_to_add

      @Setting(value="blocks-to-value", comment="The amount of blocks to add on every time unit configured") public long blocks_to_add
    • time_type

      @Setting(value="time-type", comment="The method to calculate the player time!\nOptions:\n- first-join = Count the time since the first login on server (after ResProtect installation). This includes the time the player is offline.\n- online-time = Count only the online time. When the player is offline, the time pauses.\nImportant: Using \'online-time\', we will use a thread to count and add the time for all online players. Using \'first-join\' use no new threads.") public String time_type
  • Constructor Details

    • BlockCategory

      public BlockCategory()