Premium Domain - Land Claiming & Protection [Paid]

Discussion in 'Resource Discussion' started by torpkev, Jan 30, 2019.

  1. Set config.yml
    remove_bypass_join_quit: true
    remove_bypass_join_quit: false

    -------------------------------------------------------------------------------

    It is invalid in the luckperms group..

    domain.block.limit.number

    Optional permission that would limit the player a set number of the specified Domain blocks, where block is the block_key value in the block configuration.-Only used if perm_limit_by_block = true in configuration
    Everyone


    domain.limit.5

    Optional permission that would limit the player to a set number of any Domain blocks-Only used if perm_limit_by_block = false in configuration
    Original language: English
    531/5000
    I put in config.yml
    remove_bypass_join_quit: true
    remove_bypass_join_quit: false


    It is invalid in the luckperms group..

    domain.block.limit.5

    Optional permission that would limit the player a set number of the specified Domain blocks, where block is the block_key value in the block configuration.-Only used if perm_limit_by_block = true in configuration
    Everyone


    domain.limit.number

    Optional permission that would limit the player to a set number of any Domain blocks-Only used if perm_limit_by_block = false in configuration
    give opinions
    Translation record
    Saved
    Community

    -------------------------------------Blocks settings--------------------------------------------

    Code (Text):
    cost_to_buy: 10000
    cost_to_place: 0
    cost_to_refund: 0
    cost_to_rent: 0
    rent_days: 0
    default_radius: 5
    default_height_up: 6
    default_height_down: 4
    invalid_worlds:
      - world_nether
      - world_the_end
    offline_days: 180
    ignore_y_axis: false
    max_merge: <<Do you need to set it up?
    max_blocks: <<Do you need to set it up?
    prevent_resize: false
    one_time_use: false
     
  2. Hi qwe938775 -

    remove_bypass_join_quit <- this is a config item, if true, it removes the player from bypass mode when they quit.

    The domain block limits in permissions are like this.. domain.block.limit.number where block is the name of the block, and number is the limit.

    If I had a block called griefprevent and wanted to limit to 5 griefprevent blocks.. I'd set perm_limit_by_block = true in the config file, and add the following permission in luckperms:

    domain.griefprevent.limit.5

    max_merge <- if you want players to be able to merge domain blocks into their field to increase their volume, then set the maximum number of times you want to allow it per field. If you don't want them to merge at all, set to 0

    max_blocks <- the permission based block limit will override this, so you could set it to 0 (they can't have this block at all unless they have the permission.

    Does that help? I couldn't really follow your entire thread sorry. Please feel free to reach out to me on Discord and I'll do my best to help you out, otherwise, I'll reply here when I see the messages pop up.

    Thanks
     
  3. Thank you very much, you let me know where I set the wrong place

     
    • Like Like x 1
  4. Below are my settings

    add permission in luckperms

    domain.limit.5

    I have a lot of griefprevent1 griefprevent2 griefprevent3
    But I give them a total of 5 but my settings are invalid..
    It can still be upgraded more than 5 times

    Can you help me see what went wrong?

    config.yml
    perm_limit_by_block: false

    Code (Text):
    base_material: IRON_BLOCK
    field_display_material: ORANGE_STAINED_GLASS
    field_display_secs: 180
    display_name: GriefMlh
    block_key: griefprevent1
    lore: "&fGrief Prevent fields protect your builds|&ffrom player griefing and allow|&fyou to claim the area as your own|&dVolume: &71000 blocks"
    volume: 1000
    position_1: ORANGE_DYE
    position_2: BARRIER
    position_3: ORANGE_DYE
    position_4: BARRIER
    position_5: ORANGE_DYE
    position_6: BARRIER
    position_7: ORANGE_DYE
    position_8: BARRIER
    position_9: ORANGE_DYE
    field_order: 1
    block_in_field: true
    flags:
      ENABLE_FLY_FOR_ALLOWED: false
      PREVENT_ACCESS_BY_NONALLOWED: false
      DISPLAY_FAREWELL: true
      DISPLAY_WELCOME: true
      PREVENT_WATER_FLOW: true
      PREVENT_WATER_FLOW_TO: true
      PREVENT_WATER_PLACE: true
      PREVENT_LAVA_FLOW: true
      PREVENT_LAVA_FLOW_TO: true
      PREVENT_LAVA_PLACE: true
      PREVENT_INTERACT: true
      PREVENT_ANIMAL_DAMAGE_BY_NONALLOWED: true
      PREVENT_ARROW_INTERACT: true
      PREVENT_BLOCK_BURN: true
      PREVENT_BREAK: true
      PREVENT_BREAK_BOAT_BY_NONALLOWED: true
      PREVENT_BREAK_MINECART_BY_NONALLOWED: true
      PREVENT_BUCKET_FILL_BY_NONALLOWED: true
      PREVENT_BUILD: true
      PREVENT_CROP_DAMAGE_BY_NONALLOWED: true
      PREVENT_CROP_DAMAGE_BY_NONALLOWED: true
      PREVENT_EXPLOSION_DAMAGE: true
      PREVENT_FIRE_IGNITE: true
      PREVENT_FIRE_SPREAD: true
      PREVENT_INTERACT: true
      PREVENT_INTERACT_ANVIL_BY_NONALLOWED: true
      PREVENT_INTERACT_ARMOR_STAND_BY_NONALLOWED: true
      PREVENT_INTERACT_BARREL_BY_NONALLOWED: true
      PREVENT_INTERACT_BED_BY_NONALLOWED: true
      PREVENT_INTERACT_BELL_BY_NONALLOWED: true
      PREVENT_INTERACT_BLAST_FURNACE_BY_NONALLOWED: true
      PREVENT_INTERACT_BREWING_STAND_BY_NONALLOWED: true
      PREVENT_INTERACT_CAMPFIRE_BY_NONALLOWED: true
      PREVENT_INTERACT_CARTOGRAPHY_TABLE_BY_NONALLOWED: true
      PREVENT_INTERACT_CHEST_BY_NONALLOWED: true
      PREVENT_INTERACT_COMPOSTER_BY_NONALLOWED: true
      PREVENT_INTERACT_CRAFTING_TABLE_BY_NONALLOWED: true
      PREVENT_INTERACT_DISPENSER_BY_NONALLOWED: true
      PREVENT_INTERACT_DROPPER_BY_NONALLOWED: true
      PREVENT_INTERACT_ENCHANTING_TABLE_BY_NONALLOWED: true
      PREVENT_INTERACT_ENDERCHEST_BY_NONALLOWED: true
      PREVENT_INTERACT_FLOWERPOT_BY_NONALLOWED: true
      PREVENT_INTERACT_FURNACE_BY_NONALLOWED: true
      PREVENT_INTERACT_GRINDSTONE_BY_NONALLOWED: true
      PREVENT_INTERACT_HOPPER_BY_NONALLOWED: true
      PREVENT_INTERACT_ITEM_FRAME_BY_NONALLOWED: true
      PREVENT_INTERACT_JUKEBOX_BY_NONALLOWED: true
      PREVENT_INTERACT_LECTERN_BY_NONALLOWED: true
      PREVENT_INTERACT_LOOM_BY_NONALLOWED: true
      PREVENT_INTERACT_SHULKERBOX_BY_NONALLOWED: true
      PREVENT_INTERACT_SMOKER_BY_NONALLOWED: true
      PREVENT_INTERACT_STONECUTTER_BY_NONALLOWED: true
      PREVENT_ITEM_FRAME_ACCESS_BY_NONALLOWED: true
      PREVENT_PISTON_MOVE_INTO_FIELD: true
      PREVENT_PISTON_MOVE_OUT_FIELD: true
      PREVENT_SHEAR_BY_NONALLOWED: true
      PREVENT_SPAWNER_EGG: true
      PREVENT_TAME_BY_NONALLOWED: true
      PREVENT_ANIMAL_DAMAGE_BY_ALL: true
      PREVENT_ANIMAL_DAMAGE_BY_ALLOWED: true
      PREVENT_TELEPORT_TO: true
      PREVENT_VEHICLE_ENTER_BY_NONALLOWED: true
      PREVENT_VEHICLE_EXIT_BY_NONALLOWED: true
      PREVENT_VILLAGER_DAMAGE_BY_ALL: true
      PREVENT_VILLAGER_FIRE: true
      PREVENT_VILLAGER_TRADE_BY_NONALLOWED: true
      PREVENT_CROP_DAMAGE_BY_NONPLAYER: true
    cost_to_buy: 10000
    cost_to_place: 0
    cost_to_refund: 0
    cost_to_rent: 0
    rent_days: 0
    default_radius: 5
    default_height_up: 6
    default_height_down: 4
    invalid_worlds:
      - world_nether
      - world_the_end
    offline_days: 180
    ignore_y_axis: false
    max_merge: 9
    max_blocks: 9
    prevent_resize: false
    one_time_use: false
     
  5. Permission based limit with domain.limit.5 looks like it is being overridden by you setting max_blocks: 9

    It'll choose whichever is higher. Try setting max_blocks: 1

    Then the limit of 5 permission will be the higher value and will take precedence.
     
  6. Thanks, I let your method solve this problem perfectly
    still have a question

    max_merge: 9

    In this regard, is there any way to limit the groups?
    Or can it only be solved by creating a new block?

     
  7. I'm not sure I follow what you mean by limit the groups?

    max_merge sets the maximum amount of times you can merge a block into another block (which just increases the volume of the placed block that you're merging into).

    Can you explain what it is you're trying to do?
     
  8. Sorry, my English is no good
    domain.limit.5 this works
    They can only place 5 areas
    But cannot limit the number of merges
    I just want to ask
    domain.limit.5 Placed territory and combined territory total = 5

     
  9. Your english is much better than any other language I speak, don't worry!

    I understand now. You want to limit merges by permission? Right now, it can't. Merge limits are set only in the block configuration.

    I will consider that in future updates though.
     
  10. Thank you, this is exactly what I need

     
  11. Is it possible to add the direct input command TP to another home later?
     
  12. Sorry, not sure I understand what you're asking.

    There are two ways you can TP - you could set up TP or you can use the run command to type in a command specifically. Can you type out an explanation of what you need?
     
  13. Such as residential plugin usage /res home - to other people's domain
     
  14. There is no command to teleport to someones block, that is by design as a lot of servers like to limit the number of homes someone has.

    However, you can set up ANY block to be a teleport block to teleport people to a location
     
  15. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13-1.16 with a new update entry:

    New perm & bug fixes

    Read the rest of this update entry...
     
  16. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13-1.16 with a new update entry:

    Bug fix

    Read the rest of this update entry...
     
  17. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13-1.16 with a new update entry:

    Purge command added and bug fixes

    Read the rest of this update entry...