Class GlobalFlagsCategory.WorldProperties

java.lang.Object
br.net.fabiozumbi12.RedProtect.Core.config.Category.GlobalFlagsCategory.WorldProperties
Enclosing class:
GlobalFlagsCategory

@ConfigSerializable public static class GlobalFlagsCategory.WorldProperties extends Object
  • Field Details

    • build

      @Setting(comment="Players can build in this world?") public boolean build
    • if_build_false

      @Setting(value="if-build-false", comment="If build option is false, choose what blocks the player can place/break.\nThe item names is like you see holding \"F3\" and pressing \"H\".") public GlobalFlagsCategory.WorldProperties.buildFalse if_build_false
    • pvp

      @Setting(comment="Allow pvp?") public boolean pvp
    • interact

      @Setting(comment="Allow player interactions, with all entities or blocks?") public boolean interact
    • if_interact_false

      @Setting(value="if-interact-false", comment="If interact option is false, choose what blocks or entity the player can interact.\nThe item names is like you see holding \"F3\" and pressing \"H\".\nThe entity name you can see enabling debug type \"entity\" on debug options and interacting with the entity.") public GlobalFlagsCategory.WorldProperties.interactFalse if_interact_false
    • use_minecart

      @Setting(value="use-minecart", comment="Allow players to place Minecarts and Boats?") public boolean use_minecart
    • entity_block_damage

      @Setting(value="entity-block-damage", comment="Entities can damage blocks like enderman and creepers?") public boolean entity_block_damage
    • explosion_entity_damage

      @Setting(value="explosion-entity-damage", comment="Explosions can damage entities?") public boolean explosion_entity_damage
    • fire_block_damage

      @Setting(value="fire-block-damage", comment="Fire can damage blocks like leaves and woods?") public boolean fire_block_damage
    • fire_spread

      @Setting(value="fire-spread", comment="Allow fire spread?") public boolean fire_spread
    • player_hurt_monsters

      @Setting(value="player-hurt-monsters", comment="Players can damage monsters?") public boolean player_hurt_monsters
    • player_hurt_passives

      @Setting(value="player-hurt-passives", comment="Players can damage passive entities?") public boolean player_hurt_passives
    • spawn_allow_on_regions

      @Setting(value="spawn-allow-on-regions", comment="Allow entities to spawn only inside regions if blacklisted/whitelisted?") public boolean spawn_allow_on_regions
    • spawn_whitelist

      @Setting(value="spawn-whitelist", comment="spawn-whitelist: ONLY this mobs will spawn in this world!\n\nYou can use MONSTERS or PASSIVES groups.\nCheck the entity types here:\nSpigot: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html\nSponge: https://jd.spongepowered.org/7.2.0/org/spongepowered/api/entity/EntityTypes.html") public List<String> spawn_whitelist
    • spawn_blacklist

      @Setting(value="spawn-blacklist", comment="spawn-blacklist: This mobs will NOT spawn in this world!\n\nYou can use MONSTERS or PASSIVES groups.\nCheck the entity types here:\nSpigot: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html\nSponge: https://jd.spongepowered.org/7.2.0/org/spongepowered/api/entity/EntityTypes.html") public List<String> spawn_blacklist
    • allow_crop_trample

      @Setting("allow-crops-trample") public boolean allow_crop_trample
    • deny_death_by

      @Setting(value="deny-death-by", comment="Deny player death or get damage by this types of damage. List of types:\nSponge: https://jd.spongepowered.org/7.2.0/org/spongepowered/api/event/cause/entity/damage/DamageTypes.html\nSpigot: https://hub.spigotmc.org/javadocs/spigot/index.html?overview-summary.html") public List<String> deny_death_by
    • deny_potions

      @Setting(value="deny-potions", comment="Deny this types of potions to be used on this world.\nSponge: https://jd.spongepowered.org/7.2.0/org/spongepowered/api/effect/potion/PotionEffectTypes.html\nSpigot: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html") public List<String> deny_potions
    • command_on_damage

      @Setting(value="command-on-damage", comment="Execute commands when a player get damaged by a specific type.\nPlaceholders: {player} to player name and {damage} to damage type.\nList of types:\nSponge: https://jd.spongepowered.org/7.2.0/org/spongepowered/api/event/cause/entity/damage/DamageTypes.html\nSpigot: https://hub.spigotmc.org/javadocs/spigot/index.html?overview-summary.html") public Map<String,String> command_on_damage
    • weather

    • deny_item_usage

      @Setting(value="deny-item-usage", comment="Control what items the player can use. Use \'/rp debug-item\' with the item in your hand to get the type.") public GlobalFlagsCategory.WorldProperties.denyItemUsage deny_item_usage
    • on_enter_cmds

      @Setting(value="on-enter-cmds", comment="Execute this command on enter in this world.\nYou can use this placeholders: {world-from}, {world-to} and {player}") public List<String> on_enter_cmds
    • on_exit_cmds

      @Setting(value="on-exit-cmds", comment="Execute this command on exit this world.\nYou can use this placeholders: {world-from}, {world-to} and {player}") public List<String> on_exit_cmds
    • allow_changes_of

      @Setting("allow-changes-of") public GlobalFlagsCategory.WorldProperties.allowChangesOf allow_changes_of
    • invincible

      @Setting(comment="Entities will be invincible?") public boolean invincible
    • player_candrop

      @Setting("player-candrop") public boolean player_candrop
    • player_canpickup

      @Setting("player-canpickup") public boolean player_canpickup
    • block_grow

      @Setting(value="block-grow", comment="Allow blocks to grow like wheat?") public boolean block_grow
    • command_ranges

      @Setting(value="command-ranges", comment="Execute commands in certain coordinate ranges.") public Map<String,GlobalFlagsCategory.WorldProperties.CommandRanges> command_ranges
    • iceform_by

      @Setting("iceform-by") public GlobalFlagsCategory.WorldProperties.iceFormCat iceform_by
    • border

      @Setting(comment="Deny players to bypass worldborders.") public GlobalFlagsCategory.WorldProperties.borderCat border
    • player_velocity

      @Setting("player-velocity") public GlobalFlagsCategory.WorldProperties.playerVeloCat player_velocity
    • player_glide

      @Setting("player-glide") public GlobalFlagsCategory.WorldProperties.playerGlide player_glide
  • Constructor Details

    • WorldProperties

      public WorldProperties()