Flan (Fabric)

Flan (Fabric)

1M Downloads

[BUG or Suggestion] Issue on depth with Subclaim

suerion opened this issue ยท 0 comments

commented

Modloader

Fabric

Minecraft version

Fabric 1.21.1

Modloader version

Fabric 0.16.14

Mod version

flan-1.21.1-1.12.0-fabric

Description

I'm Splitting now my Issue #407

Here is the Issue what i get with Subclaims:

I had added the defaultClaimDepth on my config to 384, if i add an claim on the heigh from 320, to get to -64, but it use allways the point of the SubClaim position, The Claim does work right on -64 but the Subclaim does not work with this depth

All Permissions are parenting, only the Heigh / Depth is not sync to Subclaims or it does not used in Subclaims.

I think in the Config could be an option, "Should Subclaims have also the default Depth" -> true
Then it use the defaultDepth, if not, use the position, where the claim is generating.


  {
    "ID": "b55f89fe-7c56-4db2-866d-8b6e313ef663",
    "Name": "NudelTown",
    "PosxXzZY": [
      -165,
      683,
      -214,
      429,
      -64 //<- This is the right heigh, what used with the depth setting in the Config
    ],
    "Home": [
      271,
      117,
      170
    ],
    "EnterTitle": "{\"text\":\"This is Nudeltown\",\"italic\":false,\"color\":\"white\"}",
    "EnterSubtitle": "{\"text\":\"This is the City, you get a Claim from an Admin\",\"italic\":false,\"color\":\"white\"}",
    "LeaveTitle": "{\"text\":\" \",\"italic\":false,\"color\":\"white\"}",
    "LeaveSubtitle": "{\"text\":\"You left a secured area!\",\"italic\":false,\"color\":\"white\"}",
    "Potions": {},
    "AllowedEntries": {},
    "GlobalPerms": [
      "flan:enderman",
      "flan:drop",
      "flan:can_stay",
      "flan:open_container",
      "flan:snow_golem",
      "flan:enchantment",
      "flan:lock_items",
      "flan:portal",
      "flan:flight",
      "flan:pickup",
      "flan:enderchest"
    ],
    "PermGroup": {
      "Visitor": {
        "flan:door": true,
        "flan:button_lever": true,
        "flan:pressure_plate": true,
        "flan:enchantment": true,
        "flan:trapdoor": true,
        "flan:fence_gate": true,
        "flan:portal": true,
        "flan:enderchest": true,
        "flan:bed": true,
        "flan:itemframe_rotate": true,
        "flan:trading": true
      },
      "Co-Owner": {
        "flan:armorstand": true,
        "flan:archeology": true,
        "flan:edit_claim": true,
        "flan:projectiles": true,
        "flan:button_lever": true,
        "flan:break": true,
        "flan:pickup": true,
        "flan:enderchest": true,
        "flan:edit_perms": true,
        "flan:can_stay": true,
        "flan:open_container": true,
        "flan:boat": true,
        "flan:lectern_take": true,
        "flan:pressure_plate": true,
        "flan:noteblock": true,
        "flan:place": true,
        "flan:portal": true,
        "flan:hurt_animal": true,
        "flan:trample": true,
        "flan:wind_charge": true,
        "flan:ender_pearl": true,
        "flan:target_block": true,
        "flan:break_non_living": true,
        "flan:endcrystal_place": true,
        "flan:drop": true,
        "flan:claim_message": true,
        "flan:anvil": true,
        "flan:door": true,
        "flan:interact_sign": true,
        "flan:fence_gate": true,
        "flan:chorus_fruit": true,
        "flan:xp": true,
        "flan:hurt_named": true,
        "flan:jukebox": true,
        "flan:animal_interact": true,
        "flan:minecart": true,
        "flan:raid": true,
        "flan:enchantment": true,
        "flan:beacon": true,
        "flan:trapdoor": true,
        "flan:interact_block": true,
        "flan:redstone": true,
        "flan:bucket": true,
        "flan:bed": true,
        "flan:trading": true,
        "flan:itemframe_rotate": true
      }
    },
    "PlayerPerms": {
      "xxx": "Co-Owner",
      "xxx": "Co-Owner",
      "xxx": "Co-Owner"
    },
    "SubClaims": [
      {
        "ID": "aadfa560-733b-425d-ab25-51048d30576c",
        "Name": "MissesCharmy",
        "PosxXzZY": [
          272,
          369,
          -88,
          -26,
          -64 //<- Had changed this per hand, because it has used the position where i had claimed the SUBCLAIM this should be also as Parent, because i want to use the full heigh from the claim
        ],
        "Home": [
          320,
          91,
          -57
        ],
        "EnterTitle": "",
        "EnterSubtitle": "",
        "LeaveTitle": "",
        "LeaveSubtitle": "",
        "Potions": {},
        "Parent": "b55f89fe-7c56-4db2-866d-8b6e313ef663",
        "AllowedEntries": {},
        "GlobalPerms": {
          "flan:enderman": true,
          "flan:drop": true,
          "flan:can_stay": true,
          "flan:snow_golem": true,
          "flan:enchantment": true,
          "flan:lock_items": true,
          "flan:portal": true,
          "flan:flight": true,
          "flan:pickup": true,
          "flan:enderchest": true
        },
        "PermGroup": {
          "Visitor": {
            "flan:door": true,
            "flan:button_lever": true,
            "flan:pressure_plate": true,
            "flan:enchantment": true,
            "flan:trapdoor": true,
            "flan:fence_gate": true,
            "flan:portal": true,
            "flan:enderchest": true,
            "flan:bed": true,
            "flan:itemframe_rotate": true,
            "flan:trading": true
          },
          "Co-Owner": {
            "flan:armorstand": true,
            "flan:archeology": true,
            "flan:edit_claim": true,
            "flan:projectiles": true,
            "flan:button_lever": true,
            "flan:break": true,
            "flan:pickup": true,
            "flan:enderchest": true,
            "flan:edit_perms": true,
            "flan:can_stay": true,
            "flan:open_container": true,
            "flan:boat": true,
            "flan:lectern_take": true,
            "flan:pressure_plate": true,
            "flan:noteblock": true,
            "flan:place": true,
            "flan:portal": true,
            "flan:hurt_animal": true,
            "flan:trample": true,
            "flan:wind_charge": true,
            "flan:ender_pearl": true,
            "flan:target_block": true,
            "flan:break_non_living": true,
            "flan:endcrystal_place": true,
            "flan:drop": true,
            "flan:claim_message": true,
            "flan:anvil": true,
            "flan:door": true,
            "flan:interact_sign": true,
            "flan:fence_gate": true,
            "flan:chorus_fruit": true,
            "flan:xp": true,
            "flan:hurt_named": true,
            "flan:jukebox": true,
            "flan:animal_interact": true,
            "flan:minecart": true,
            "flan:raid": true,
            "flan:enchantment": true,
            "flan:beacon": true,
            "flan:trapdoor": true,
            "flan:interact_block": true,
            "flan:redstone": true,
            "flan:bucket": true,
            "flan:bed": true,
            "flan:trading": true,
            "flan:itemframe_rotate": true
          }
        },
        "PlayerPerms": {
          "xxx": "Co-Owner"
        }
      },
      {
        "ID": "0fb3bb4e-6b1b-4c31-a138-09a1e3f6d00a",
        "Name": "EvilFabee",
        "PosxXzZY": [
          260,
          279,
          164,
          187,
          -64 //<- Had changed this per hand, because it has used the position where i had claimed the SUBCLAIM this should be also as Parent, because i want to use the full heigh from the claim
        ],
        "Home": [
          269,
          117,
          175
        ],
        "EnterTitle": "",
        "EnterSubtitle": "",
        "LeaveTitle": "",
        "LeaveSubtitle": "",
        "Potions": {},
        "Parent": "b55f89fe-7c56-4db2-866d-8b6e313ef663",
        "AllowedEntries": {},
        "GlobalPerms": {
          "flan:enderman": true,
          "flan:drop": true,
          "flan:can_stay": true,
          "flan:snow_golem": true,
          "flan:enchantment": true,
          "flan:lock_items": true,
          "flan:portal": true,
          "flan:flight": true,
          "flan:pickup": true,
          "flan:enderchest": true
        },
        "PermGroup": {
          "Visitor": {
            "flan:door": true,
            "flan:button_lever": true,
            "flan:pressure_plate": true,
            "flan:enchantment": true,
            "flan:trapdoor": true,
            "flan:fence_gate": true,
            "flan:portal": true,
            "flan:enderchest": true,
            "flan:bed": true,
            "flan:itemframe_rotate": true,
            "flan:trading": true
          },
          "Co-Owner": {
            "flan:armorstand": true,
            "flan:archeology": true,
            "flan:edit_claim": true,
            "flan:projectiles": true,
            "flan:button_lever": true,
            "flan:break": true,
            "flan:pickup": true,
            "flan:enderchest": true,
            "flan:edit_perms": true,
            "flan:can_stay": true,
            "flan:open_container": true,
            "flan:boat": true,
            "flan:lectern_take": true,
            "flan:pressure_plate": true,
            "flan:noteblock": true,
            "flan:place": true,
            "flan:portal": true,
            "flan:hurt_animal": true,
            "flan:trample": true,
            "flan:wind_charge": true,
            "flan:ender_pearl": true,
            "flan:target_block": true,
            "flan:break_non_living": true,
            "flan:endcrystal_place": true,
            "flan:drop": true,
            "flan:claim_message": true,
            "flan:anvil": true,
            "flan:door": true,
            "flan:interact_sign": true,
            "flan:fence_gate": true,
            "flan:chorus_fruit": true,
            "flan:xp": true,
            "flan:hurt_named": true,
            "flan:jukebox": true,
            "flan:animal_interact": true,
            "flan:minecart": true,
            "flan:raid": true,
            "flan:enchantment": true,
            "flan:beacon": true,
            "flan:trapdoor": true,
            "flan:interact_block": true,
            "flan:redstone": true,
            "flan:bucket": true,
            "flan:bed": true,
            "flan:trading": true,
            "flan:itemframe_rotate": true
          }
        },
        "PlayerPerms": {
          "xxx": "Co-Owner"
        }
      }
    ]
  }

Steps to reproduce

  1. Add Flan,
  2. Create Claim
  3. Create Subclaim

Mods that might affect the issue

No response

Logs

No log here