Premium Domain - Land Claiming & Protection [Paid]

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

  1. This one should work: https://discord.gg/7a47xSX

    You can also reach out to me torpkev#0375

    I don't integrate into Towny right now, but they *shouldn't* clash.

    Join the discord and let me know what it is you're needing exactly and I'll get back to you in the morning!
     
  2. Quick update on version 1.5.1

    Domain Bypass mode now shows the current field in the action bar, as shown below.

    It lists the current field owner, type and ID (you can lookup the ID by opening the block and clicking Info)

    If not currently in a field, it'll display that in red (also as shown)

    This should be a very useful tool for staff/admins as they'll be able to see exactly where the fields start/stop and if there are any nested fields etc.

    upload_2020-4-9_13-56-52.png
     
  3. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13 | 1.14 | 1.15 with a new update entry:

    Rent Sign Update

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

    API Updates

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

    Bug fixes, armor stands and new api functions

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

    Bug fixes

    Read the rest of this update entry...
     
    • Like Like x 1
  7. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13 | 1.14 | 1.15 with a new update entry:

    Updates

    Read the rest of this update entry...
     
  8. Just want to address renting fields a little as there have been a number of changes to them.

    Rentable fields are arguably one of the most useful but under-used features of Domain. It allows you to set up player shops, spawn-area buildings etc.

    Creating a rentable field

    1. Decide what kind of field it'll be (a shop, apartments, free-build in protected areas etc.)
    2. Create a new domain block config file, for example, shop.yml

    Example:
    Code (YAML):

    # base material is the what the Domain block itself will look like
    base_material
    : ORANGE_TERRACOTTA
    # field_display_material is the material used for visualization
    field_display_material
    : ORANGE_STAINED_GLASS
    # field_display_secs is the amount of time the visualization appears for
    field_display_secs
    : 30
    # display_name is what the field will be shown as in-game, it can use & color codes
    display_name
    : "Player Shop"
    # block_key is the internal name, it should not have spaces or special characters
    # ideally, it would be the filename without the .yml (for example, shop.yml would have the key shop)
    block_key
    : shop
    # lore is the description of the field that'll show when you hover over the block in your inventory.  It can contain & color codes, and | is used to create a new line
    lore
    : This is a town plot|It is a rentable plot based within a Town
    # volume is the number of blocks available inside the field
    volume
    : 5000
    # position_1 > position_9 is for building your own blocks, for rentable fields, this is recommended to include BARRIER to make it inaccessible for players
    position_1
    : GRAY_DYE
    position_2
    : GRAY_DYE
    position_3
    : GRAY_DYE
    position_4
    : GRAY_DYE
    position_5
    : BARRIER
    position_6
    : GRAY_DYE
    position_7
    : GRAY_DYE
    position_8
    : GRAY_DYE
    position_9
    : GRAY_DYE
    # field_order is the order in which permissions are applied
    field_order
    : 3
    # block_in_field indicates if the Domain Block itself must be inside the domain block field
    block_in_field
    : true
    # flags are the flags applied to the field, use whatever combination you would like, the 4 shown below are just to show how they'd be used
    flags
    :
      DISPLAY_WELCOME
    : true
      DISPLAY_FAREWELL
    : true
      PREVENT_BUILD
    : true
      PREVENT_BREAK
    : true
    # cost_to_rent is how much the player will be charged to rent the field
    cost_to_rent
    : 400
    # rent_days is the number of days the rent period is for.  Players can extend out for this period
    rent_days
    : 7
    # default_radius is the default radius from the Domain block itself
    default_radius
    : 10
    # default_height_up is the default number of blocks up from the Domain block itself
    default_height_up
    : 5
    # default_height_down is the default number of blocks down from the Domain block itself
    default_height_down
    : 5
    # invalid_worlds is a list of worlds where this block can NOT be placed
    invalid_worlds
    :
     - world_nether
      - world_the_end
    # offline_days is the number of days will last without the owner being online.  Set this high for rentable fields
    offline_days
    : 999
    # max_merge is how many fields can be merged into this one to increase its size, for rentable fields, this will likely be 0
    max_merge
    : 0
    # max_block is the maximum number of this kind of blocks the owner can place
    max_blocks
    : 20
     
    Once you have this field set up (and you've restarted to get it in-game) - you can use "/domain get" to get one of these Domain blocks.

    As an admin, setting it up as a player shop

    It would be recommended (but not necessary) to make the Domain block inaccessible to the player renting the field. To do that, set block_in_field = false in the block config file. You can then place the block anywhere (preferably accessible only to admins).

    Open the field and in Edit Field, click Admin Commands and click Admin Block. This will turn the field into an Admin block and the person who placed it will not receive the rent money from the players.

    As a player, setting it up as a rentable area

    Place the Domain block inside of where the rentable field will be. Leave the block_in_field config item as true. This way the renter can view the field, flags, field info such as who is in the field etc. but they will NOT be able to view the Edit field commands.

    You can also set the name and welcome/farewell messages here, then Resize the field and set the cuboid you want the renter to have access to

    Once you have the field placed and sized, you can right click on the block with a sign. This will allow you to create a rent sign for this field. You'll get a message letting you know you can now place a Domain Rent Sign

    Place the sign wherever you want it to be and set the top line to [Domain] - then click Done. The sign should update with the cost and number of days.

    You can place as many rent signs for the same field as you'd like.

    If you have any questions, please feel free to join the discord channel and ask away!
     
    • Agree Agree x 1
  9. Looks like 1.16 server jar has been released.

    I'm working on the update and expect to have a compatible copy within a day or two, with further updates coming to support new blocks/mobs.

    Stay tuned!
     
  10. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13 | 1.14 | 1.15 with a new update entry:

    1.16 Supported

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

    Feature update!

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

    New flag & mechanic & Bug fixes

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

    Feature update

    Read the rest of this update entry...
     
  14. Next update will be 1.7.0

    Some notes on this upcoming release.

    From 1.7.0, Domain will be using Paper rather than Spigot - you will of course still be able to use Domain with Spigot, and the vast majority of features and future features will be compatible. There will be some exceptions however, for example, the new
    PREVENT_TNT_PRIMING flag will be Paper only. Spigot servers will not have access to this particular flag.

    As of 1.7.0, every API function has been deprecated and will be removed in an upcoming release. All but two functions will have a direct replacement, the 2 not being replaced were redundant and the same output can be provided from a different API call. Full details on the changes will be included in the release notes.

    Default domain fields are being replaced with more up to date, relevant examples.

    If you have any questions or concerns, please let me know in Discord. https://discord.gg/7a47xSX
     
  15. torpkev updated Domain - Land Claiming | Grief Prevention | Protection Fields - 1.13-1.16 with a new update entry:

    2 new flags, several fixes and HUGE back-end changes

    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:

    Glitch prevention

    Read the rest of this update entry...