Вопрос Слишком хорошая защита в пл ProtectionStones

Ядро
Tuinity

gggga

Пользователь
Сообщения
62
Плагин
Protection Stones
Ядро сервера
  1. Tuinity
Версия сервера
  1. 1.19
Память сервера ОЗУ
8Gb
Ссылка
https://www.spigotmc.org/resources/protectionstones-updated-for-1-17.61797/
Дело в том что мой сервер ближе идёт к разрешению гриферства а в кфг protection stones я перебрал всю конфигурацию в разделе "поведения". Суть в том что приват не даёт падать песку в воде, а может и без неё так же. Падающий песок не становится, а просто дропается как предмет при соприкосновении.
Само кфг раздела:

Код:
[behaviour]
    # Hide protection stone right away when placed?
    auto_hide = false

    # Whether or not to automatically merge into other regions when placed if there is only one overlapping and allow_merging is true
    auto_merge = false

    # Disable returning the block when removed/unclaimed?
    no_drop = false

    # Prevents piston pushing of the block. Recommended to keep as true.
    prevent_piston_push = false

    # Prevents the block from being destroyed when exploded.
    # Recommended to keep true to prevent players from exploiting more protection stones with /ps unhide (when the block is destroyed)
    prevent_explode = false

    # Destroys the protection stone region when block is exploded. Can be useful for PVP/Factions servers.
    # prevent_explode must be false for this to work.
    destroy_region_when_explode = false

    # Silk Touch: if true, ore-blocks that are also configured by ProtectionStones will disallow Silk Touch drops
    # This was the old behaviour to prevent natural obtaining of the protection stone.
    # Recommended to keep false if "Restrict Obtaining" (the new way) is true
    prevent_silk_touch = false

    # Set cost for when a protection block is placed (separate from /ps get cost)
    cost_to_place = 0.0

[player]

Ну и вообще хотелось бы без этих ответов на подобии "обнови плагин" и т.п поскольку это вряд-ли решит проблему в данном случае ( Я просто не понял конфигурацию или говно переводчик не вывез перевод)
 
Скорее всего, проблема именно в WorldGuard, а не ProtectionStones
Обыскал всю кфг ворлд гуарда и ничего не нашёл связанное с этим явлением:

Код:
regions:
    uuid-migration:
        perform-on-next-start: false
        keep-names-that-lack-uuids: true
    use-creature-spawn-event: true
    sql:
        use: false
        dsn: jdbc:mysql://localhost/worldguard
        username: worldguard
        password: worldguard
        table-prefix: ''
    use-paper-entity-origin: false
    enable: true
    invincibility-removes-mobs: false
    cancel-chat-without-recipients: true
    nether-portal-protection: true
    fake-player-build-override: true
    explosion-flags-block-entity-damage: true
    high-frequency-flags: false
    protect-against-liquid-flow: false
    wand: minecraft:stick
    max-claim-volume: 150000
    claim-only-inside-existing-regions: false
    location-flags-only-inside-regions: false
    max-region-count-per-player:
        default: 1
    disable-bypass-by-default: false
    announce-bypass-status: false
auto-invincible: false
auto-invincible-group: false
auto-no-drowning-group: false
use-player-move-event: true
use-player-teleports: true
use-particle-effects: true
security:
    deop-everyone-on-join: false
    block-in-game-op-command: false
    host-keys-allow-forge-clients: false
host-keys: {}
summary-on-start: true
op-permissions: true
build-permission-nodes:
    enable: false
    deny-message: '&eИзвините, но здесь вы не имеете права этого делать.'
event-handling:
    block-entity-spawns-with-untraceable-cause: false
    interaction-whitelist: []
    emit-block-use-at-feet: []
    ignore-hopper-item-move-events: false
    break-hoppers-on-denied-move: true
protection:
    item-durability: true
    remove-infinite-stacks: false
    disable-xp-orb-drops: false
    disable-obsidian-generators: false
    use-max-priority-association: false
gameplay:
    block-potions: []
    block-potions-overly-reliably: false
    disable-conduit-effects: false
simulation:
    sponge:
        enable: false
        radius: 3
        redstone: false
default:
    pumpkin-scuba: false
    disable-health-regain: false
physics:
    no-physics-gravel: false
    no-physics-sand: false
    vine-like-rope-ladders: false
    allow-portal-anywhere: false
    disable-water-damage-blocks: []
ignition:
    block-tnt: false
    block-tnt-block-damage: false
    block-lighter: false
fire:
    disable-lava-fire-spread: false
    disable-all-fire-spread: false
    disable-fire-spread-blocks: []
    lava-spread-blocks: []
mobs:
    block-creeper-explosions: false
    block-creeper-block-damage: false
    block-wither-explosions: false
    block-wither-block-damage: false
    block-wither-skull-explosions: false
    block-wither-skull-block-damage: false
    block-enderdragon-block-damage: false
    block-enderdragon-portal-creation: false
    block-fireball-explosions: false
    block-fireball-block-damage: false
    anti-wolf-dumbness: false
    allow-tamed-spawns: false
    disable-enderman-griefing: false
    disable-snowman-trails: false
    block-painting-destroy: false
    block-item-frame-destroy: false
    block-armor-stand-destroy: false
    block-plugin-spawning: false
    block-above-ground-slimes: false
    block-other-explosions: false
    block-zombie-door-destruction: false
    block-creature-spawn: []
    block-vehicle-entry: false
player-damage:
    disable-fall-damage: false
    disable-lava-damage: false
    disable-fire-damage: false
    disable-lightning-damage: false
    disable-drowning-damage: false
    disable-suffocation-damage: false
    disable-contact-damage: false
    teleport-on-suffocation: false
    disable-void-damage: false
    teleport-on-void-falling: false
    reset-fall-on-void-teleport: false
    disable-explosion-damage: false
    disable-mob-damage: false
    disable-death-messages: false
chest-protection:
    enable: false
    disable-off-check: false
crops:
    disable-creature-trampling: false
    disable-player-trampling: false
weather:
    prevent-lightning-strike-blocks: []
    disable-lightning-strike-fire: false
    disable-thunderstorm: false
    disable-weather: false
    disable-pig-zombification: false
    disable-villager-witchification: false
    disable-powered-creepers: false
    always-raining: false
    always-thundering: false
dynamics:
    disable-mushroom-spread: false
    disable-ice-melting: false
    disable-snow-melting: false
    disable-snow-formation: false
    disable-ice-formation: false
    disable-leaf-decay: false
    disable-grass-growth: false
    disable-mycelium-spread: false
    disable-vine-growth: false
    disable-crop-growth: false
    disable-soil-dehydration: false
    snow-fall-blocks: []
    disable-coral-block-fade: false
blacklist:
    use-as-whitelist: false
    logging:
        console:
            enable: true
        database:
            enable: false
            dsn: jdbc:mysql://localhost:3306/minecraft
            user: root
            pass: ''
            table: blacklist_events
        file:
            enable: false
            path: worldguard/logs/%Y-%m-%d.log
            open-files: 10
custom-metrics-charts: true
disable-permission-cache: false
turtle-egg:
    disable-creature-trampling: false
    disable-player-trampling: false
 
Обыскал всю кфг ворлд гуарда и ничего не нашёл связанное с этим явлением:

Код:
regions:
    uuid-migration:
        perform-on-next-start: false
        keep-names-that-lack-uuids: true
    use-creature-spawn-event: true
    sql:
        use: false
        dsn: jdbc:mysql://localhost/worldguard
        username: worldguard
        password: worldguard
        table-prefix: ''
    use-paper-entity-origin: false
    enable: true
    invincibility-removes-mobs: false
    cancel-chat-without-recipients: true
    nether-portal-protection: true
    fake-player-build-override: true
    explosion-flags-block-entity-damage: true
    high-frequency-flags: false
    protect-against-liquid-flow: false
    wand: minecraft:stick
    max-claim-volume: 150000
    claim-only-inside-existing-regions: false
    location-flags-only-inside-regions: false
    max-region-count-per-player:
        default: 1
    disable-bypass-by-default: false
    announce-bypass-status: false
auto-invincible: false
auto-invincible-group: false
auto-no-drowning-group: false
use-player-move-event: true
use-player-teleports: true
use-particle-effects: true
security:
    deop-everyone-on-join: false
    block-in-game-op-command: false
    host-keys-allow-forge-clients: false
host-keys: {}
summary-on-start: true
op-permissions: true
build-permission-nodes:
    enable: false
    deny-message: '&eИзвините, но здесь вы не имеете права этого делать.'
event-handling:
    block-entity-spawns-with-untraceable-cause: false
    interaction-whitelist: []
    emit-block-use-at-feet: []
    ignore-hopper-item-move-events: false
    break-hoppers-on-denied-move: true
protection:
    item-durability: true
    remove-infinite-stacks: false
    disable-xp-orb-drops: false
    disable-obsidian-generators: false
    use-max-priority-association: false
gameplay:
    block-potions: []
    block-potions-overly-reliably: false
    disable-conduit-effects: false
simulation:
    sponge:
        enable: false
        radius: 3
        redstone: false
default:
    pumpkin-scuba: false
    disable-health-regain: false
physics:
    no-physics-gravel: false
    no-physics-sand: false
    vine-like-rope-ladders: false
    allow-portal-anywhere: false
    disable-water-damage-blocks: []
ignition:
    block-tnt: false
    block-tnt-block-damage: false
    block-lighter: false
fire:
    disable-lava-fire-spread: false
    disable-all-fire-spread: false
    disable-fire-spread-blocks: []
    lava-spread-blocks: []
mobs:
    block-creeper-explosions: false
    block-creeper-block-damage: false
    block-wither-explosions: false
    block-wither-block-damage: false
    block-wither-skull-explosions: false
    block-wither-skull-block-damage: false
    block-enderdragon-block-damage: false
    block-enderdragon-portal-creation: false
    block-fireball-explosions: false
    block-fireball-block-damage: false
    anti-wolf-dumbness: false
    allow-tamed-spawns: false
    disable-enderman-griefing: false
    disable-snowman-trails: false
    block-painting-destroy: false
    block-item-frame-destroy: false
    block-armor-stand-destroy: false
    block-plugin-spawning: false
    block-above-ground-slimes: false
    block-other-explosions: false
    block-zombie-door-destruction: false
    block-creature-spawn: []
    block-vehicle-entry: false
player-damage:
    disable-fall-damage: false
    disable-lava-damage: false
    disable-fire-damage: false
    disable-lightning-damage: false
    disable-drowning-damage: false
    disable-suffocation-damage: false
    disable-contact-damage: false
    teleport-on-suffocation: false
    disable-void-damage: false
    teleport-on-void-falling: false
    reset-fall-on-void-teleport: false
    disable-explosion-damage: false
    disable-mob-damage: false
    disable-death-messages: false
chest-protection:
    enable: false
    disable-off-check: false
crops:
    disable-creature-trampling: false
    disable-player-trampling: false
weather:
    prevent-lightning-strike-blocks: []
    disable-lightning-strike-fire: false
    disable-thunderstorm: false
    disable-weather: false
    disable-pig-zombification: false
    disable-villager-witchification: false
    disable-powered-creepers: false
    always-raining: false
    always-thundering: false
dynamics:
    disable-mushroom-spread: false
    disable-ice-melting: false
    disable-snow-melting: false
    disable-snow-formation: false
    disable-ice-formation: false
    disable-leaf-decay: false
    disable-grass-growth: false
    disable-mycelium-spread: false
    disable-vine-growth: false
    disable-crop-growth: false
    disable-soil-dehydration: false
    snow-fall-blocks: []
    disable-coral-block-fade: false
blacklist:
    use-as-whitelist: false
    logging:
        console:
            enable: true
        database:
            enable: false
            dsn: jdbc:mysql://localhost:3306/minecraft
            user: root
            pass: ''
            table: blacklist_events
        file:
            enable: false
            path: worldguard/logs/%Y-%m-%d.log
            open-files: 10
custom-metrics-charts: true
disable-permission-cache: false
turtle-egg:
    disable-creature-trampling: false
    disable-player-trampling: false
а в том-то и прикол что в конфиге ничего нет, чтобы это отключить там в код надо лезть
 
также у меня ещё есть wgExtender но в его кфг вроде итак всё отключено что связано с песком в рг

Код:
claim:
  vertexpand: false
  blocklimits:
    enabled: false
    limits: {}
regionprotect:
  flow:
    lava: false
    water: false
    other: false
  fire:
    spread:
      toregion: false
      inregion: false
    burn: false
  explosion:
    block: true
    entity: true
autoflags:
  enabled: false
  flags: {}
restrictcommands:
  enabled: false
  commands: []
extendedwewand: false
misc:
  pvpmode: default
 
также у меня ещё есть wgExtender но в его кфг вроде итак всё отключено что связано с песком в рг

Код:
claim:
  vertexpand: false
  blocklimits:
    enabled: false
    limits: {}
regionprotect:
  flow:
    lava: false
    water: false
    other: false
  fire:
    spread:
      toregion: false
      inregion: false
    burn: false
  explosion:
    block: true
    entity: true
autoflags:
  enabled: false
  flags: {}
restrictcommands:
  enabled: false
  commands: []
extendedwewand: false
misc:
  pvpmode: default
Вот его поставь песок будет падать а мобы ломать чужие приваты
 
Вот его поставь песок будет падать а мобы ломать чужие приваты
песок не падает, динамит не взрывает, голограммы даже нету. Одна пустая молния при ломании блока привата. Есть теория что что-то не так сделал в кфг этого плагина

Код:
# стандартное название региона если его нет в списке
# регионов "region-names"
standart-name: '&7Обычный приват.'
default-lines:
  - '&fВладелец: &a%player%'

merge:
  enable: true
  message: '&eProtectAddon &8> &7Нельзя создать &c2 &7привата в &d1&7 регионе!'
no-perm-message: '&eProtectAddon &8> #fb0000У Вас нет прав.'
weight: '1,7' # высота голограммы (вместо точки пишите запятую)
break-lightning: true # молния при ломании привата (true - вкл)

# кастомные имена для приватов.
# использование HEX цветов (#цветовой код)
# РАБОТАЕТ С ВЕРСИИ 1.16+
# tnt-break: true  # Если true, то тнт может уничтожить приват.
# wither-break: boolean | Если true, то визер может уничтожить приват.
# lightning: boolean | будет ли молния бить по блоку? Если true - да.
# hologram: boolean | Если true, то голограммы будут видны.
# place-sound: sound | звук при установке блока привата.
# break-sound: sound | звук при ломании блока привата.
# spawn-egg-use: boolean | разрешить игроку использовать яйца в регионе? Если true яйца можно ставить в чужих регионах
# display-range: integer | насколько далеко можно будет видеть голограмму? Расстояние в блоках.
# Список всех звуков https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
region-names:
  64:
    name: '&4Изумрудный приват'
    lines:
      - '&fВладелец: #17d000%player%'
    place-sound: BLOCK_BEACON_ACTIVATE
    break-sound: BLOCK_BEACON_DEACTIVATE
    wither-break: true
    tnt-break: true
    hologram: true
    lightning: true
    spawn-egg-use: true
    display-range: 30
  DIAMOND_BLOCK:
    name: '#00d9ffБ#0ddcffо#19dffeл#26e2feь#32e5fdш#3fe8fdо#4bebfdй #58eefcп#64f1fcр#71f4fbи#7df7fbв#8afafaа#96fdfaт'
    lines:
      - '&fВладелец: #84f0fb%player%'
    wither-break: true
    tnt-break: false
    hologram: true
    lightning: true
    spawn-egg-use: false
    display-range: 60
  IRON_BLOCK:
    name: '#afafafМ#b2b2b2а#b4b4b4л#b7b7b7е#bababaн#bdbdbdь#bfbfbfк#c2c2c2и#c5c5c5й #c7c7c7п#cacacaр#cdcdcdи#d0d0d0в#d2d2d2а#d5d5d5т'
    lines:
      - '&fВладалец: #afafaf%player%'
    wither-break: true
    tnt-break: true
    hologram: true
    lightning: true
    spawn-egg-use: true
    display-range: 100
"Почему "64"?" Потому что /ps give выдаёт емеральдовую руду с именем 64. Пробовал emerald_ore и даже капслоком, но всё это сути не меняло. Пока что показываю на примере одной емеральдовой руды. Если интересен её кфг в пл protectionstones:
Код:
# Define your protection block below
# Use block type from here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# --------------------------------------------------------------------------------------------------
# If you want to use player heads, you can use "PLAYER_HEAD:player_name" (ex. "PLAYER_HEAD:Notch")
# To use custom player heads, you need the base64 value of the head. On minecraft-heads.com, you will find this value in the Other section under "Value:".
# To use UUIDs for player heads, go to https://sessionserver.mojang.com/session/minecraft/profile/PUT-UUID-HERE and copy the value from the "value" field not including quotes.
# When you have the value, you can set the type to "PLAYER_HEAD:value"
type = "EMERALD_ORE"

# Another way to refer to the protection stone
# Can be used for /ps give and /ps get
# Must be one word (no spaces)
alias = "64"

# Description of the protection block type
# Shows up in /ps get menu
description = "64 block radius protection zone."

# Whether or not to restrict obtaining of the protection stone to only /ps get and /ps give and custom crafting recipes.
# Other ways to obtain this block (ex. mining) will not work as a protection stone.
# Useful to allow the protection block to only be obtained from a shop or command.
# Set to "false" if you want to allow players to obtain a protection stone naturally
restrict_obtaining = true

# Enable or disable the use of this protection stone in specific worlds
# "blacklist" mode prevents this protect block from being used in the worlds in "worlds"
# "whitelist" mode allows this protect block to only be used in the worlds in "worlds"
# Can be overriden with protectionstones.admin permission (including OP)!
world_list_type = "blacklist"
worlds = [
    "world_air",
    "world_the_end"
]

# Whether or not to actually restrict the protection stone from being placed when the world is restricted (in blacklist/whitelist)
# The block will place normally, without PS behaviour.
prevent_block_place_in_restricted_world = true

# Whether or not to allow the block to be placed in the wild.
# If set to false, the protection block can only be placed in existing regions.
allow_placing_in_wild = true

[region]
    # Minimum distance between claims (that aren't owned by the same owner), measured from the protection block to the edge of another region
    # You will probably have to change this between blocks, since the region sizes will be different
    # Set to -1 for no minimum, but will still check for overlapping regions
    distance_between_claims = -1

    # Protection radius of block (radius of 64 -> 129 x 129 region)
    # Set y_radius to -1 if you want it to protect from sky to bedrock. If this doesn't appear to work set it to 256.
    # y_radius must be -1 if you are allowing the region to be merged ("allow_merging" option)
    x_radius = 64
    y_radius = 64
    z_radius = 64

    # Offset the protection block
    # If you would like to make the protection block not be at the center of new regions, you can offset it here
    # ex. x_offset = 64, y_offset = 0, z_offset = 64 would make it at the corner of a created region
    x_offset = 0
    y_offset = 0
    z_offset = 0

    # How many blocks to offset the default location of /ps home from the protection block
    home_x_offset = 0.0
    home_y_offset = 1.0
    home_z_offset = 0.0

    # Specify the default flags to be set when a new protected region is created.
    # Can use -g [group] before the flag to set group flags (ex. -g members pvp deny).
    # Can use PlaceholderAPI placeholders in string flags (ex. greeting, farewell).
    flags = [
        "pvp allow",
    ]

    # List all the flags that can be set by region owners.
    # If you want to whitelist the groups that can be set as well, use -g (ex. "-g all,members pvp" restricts it to no group flag, and members group)
    # "-g all pvp" - Prevents players setting the group to nonmembers, and being invulnerable to attacks.
    allowed_flags = [
        "",
    ]

    # Which flags to hide from /ps info
    hidden_flags_from_info = [
        "ps-merged-regions",
        "ps-merged-regions-types",
        "ps-block-material",
        "ps-price",
        "ps-landlord",
        "ps-tenant",
        "ps-rent-period",
        "ps-rent-last-paid",
        "ps-for-sale",
        "ps-rent-settings",
        "ps-tax-payments-due",
        "ps-tax-last-payment-added",
        "ps-tax-autopayer"
    ]

    # Default priority type for this block type protection stone
    priority = 0

    # Whether or not to allow creation of regions that overlap other regions you don't own
    # This is dangerous, so think about this carefully if you set it to true.
    allow_overlap_unowned_regions = false

    # Whether or not to allow players to create other regions that overlap this region.
    # "owner" - only allow owners to overlap this (default)
    # "member" - allow members and owners to overlap this region type. (useful for city plots)
    # "all" - allow all players to overlap this region type.
    # "none" - no players, not even the owners of the region can overlap it
    # allow_overlap_unowned_regions does not need to be true for this to work.
    allow_other_regions_to_overlap = "owner"

    # Whether or not to allow this regions created with this block to merge with other regions
    # allow_merging_regions must be set to true in config.toml
    allow_merging = true

    # Allowed types of regions to merge into (referred to by alias)
    # Be sure to add the alias of this current region type to allow merging with it ex. ["64"]
    # Add "all" if you want to allow this region to merge into any region
    allowed_merging_into_types = [
        "all"
    ]

[block_data]
    # Name given to protection block when obtained with /ps give or /ps get
    # Also affects custom crafted items (see custom_recipe)
    # Leave as '' for no name
    display_name = ''

    # Lore given to protection block when obtained with /ps give or /ps get
    # Also affects custom crafted items (see custom_recipe)
    # Leave as [] for no lore
    lore = []

    # Add price when using /ps get
    # Must have compatible economy plugin (requires Vault, ie. Essentials)
    # Must be a decimal (ex. not 10, but 10.0)
    price = 0.0

    # Whether or not to allow crafting this item using a custom recipe
    # Useful to allow crafting the item when restrict_obtaining is set to true
    allow_craft_with_custom_recipe = false
    # Specify the custom crafting recipe below
    # You must fill the item spots with names from here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    # You can also use other protection stone items as ingredients in the recipe, in the format PROTECTION_STONES:alias
    # If you want air, you can just leave the spot as ""
    custom_recipe = [
        ["", "STONE", ""],
        ["STONE", "EMERALD", "STONE"],
        ["", "STONE", ""]
    ]
    # Amount of the protection item to give when crafted
    recipe_amount = 1

[economy]
    # Taxes must be enabled in config.toml first (tax_enabled)
    # The amount to tax the region per tax cycle.
    # Must be a decimal (ex. not 10, but 10.0)
    tax_amount = 0.0

    # The amount of seconds between tax cycles. Set to -1 to disable taxes.
    tax_period = -1

    # Amount of time to pay taxes in seconds after tax cycle before there is punishment.
    tax_payment_time = 86400

    # Automatically set the player that created the region as the taxpayer.
    start_with_tax_autopay = true

    # What role tenants should be added as (for rents). It can either be "owner" or "member".
    tenant_rent_role = "member"

    # Should the landlords of rented out regions still be an owner while it is rented out?
    landlord_still_owner = true

[behaviour]
    # Hide protection stone right away when placed?
    auto_hide = false

    # Whether or not to automatically merge into other regions when placed if there is only one overlapping and allow_merging is true
    auto_merge = false

    # Disable returning the block when removed/unclaimed?
    no_drop = false

    # Prevents piston pushing of the block. Recommended to keep as true.
    prevent_piston_push = false

    # Prevents the block from being destroyed when exploded.
    # Recommended to keep true to prevent players from exploiting more protection stones with /ps unhide (when the block is destroyed)
    prevent_explode = false

    # Destroys the protection stone region when block is exploded. Can be useful for PVP/Factions servers.
    # prevent_explode must be false for this to work.
    destroy_region_when_explode = false

    # Silk Touch: if true, ore-blocks that are also configured by ProtectionStones will disallow Silk Touch drops
    # This was the old behaviour to prevent natural obtaining of the protection stone.
    # Recommended to keep false if "Restrict Obtaining" (the new way) is true
    prevent_silk_touch = false

    # Set cost for when a protection block is placed (separate from /ps get cost)
    cost_to_place = 0.0

[player]
    # Whether or not to allow breaking the protection block with a shift-right click
    # Useful if the protection block is unbreakable (bedrock, command block), etc.
    allow_shift_right_break = false

    # Whether or not to prevent teleporting into a protected region if the player doesn't own it (except with ender pearl and chorus fruit)
    # Does not prevent entry, use the flag "entry deny" for preventing entry.
    # Bypass with protectionstones.tp.bypasstp
    prevent_teleport_in = false

    # Can't move for x seconds before teleporting with /ps home or /ps tp. Can be disabled with 0.
    # Option to teleport only if player stands still.
    # Can override with permission protectionstones.tp.bypasswait
    no_moving_when_tp_waiting = true
    tp_waiting_seconds = 0

    # Whether or not to prevent obtaining this block through /ps get.
    # Ignored with protectionstones.admin
    prevent_ps_get = false

    # Whether or not to prevent this region type from showing up in /ps home, and allowing teleport.
    # Note: admins can still use /ps tp to this region type
    prevent_ps_home = false

    # Extra permission required to place this specific protection block (you still need protectionstones.create)
    # Also applies to /ps get (you still need protectionstones.get)
    # '' for no extra permission
    permission = ''

[event]

    # Events section
    # ~~~~~~~~~~~~~~
    # For each line on events, it is the format 'type: action'
    # The following are accepted types:
    # player_command - Execute command by player that caused event (won't execute if not applicable)
    # console_command - Execute command by console
    # message - Send message to player or console if applicable (colour support with &)
    # global_message - Send message to all players and console (colour support with &)
    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    # Whether or not to enable event tracking (API events will still be enabled)
    enable = false

    # Execute commands when a region is created (ex. player place protection block)
    # Variables: %player%, %region%, %block_x%, %block_y%, %block_z%
    on_region_create = []

    # Execute commands when a region is destroyed (ex. when player destroy protection block)
    # Variables: %player%, %region%, %block_x%, %block_y%, %block_z%
    on_region_destroy = []
 
песок не падает, динамит не взрывает, голограммы даже нету. Одна пустая молния при ломании блока привата. Есть теория что что-то не так сделал в кфг этого плагина

Код:
# стандартное название региона если его нет в списке
# регионов "region-names"
standart-name: '&7Обычный приват.'
default-lines:
  - '&fВладелец: &a%player%'

merge:
  enable: true
  message: '&eProtectAddon &8> &7Нельзя создать &c2 &7привата в &d1&7 регионе!'
no-perm-message: '&eProtectAddon &8> #fb0000У Вас нет прав.'
weight: '1,7' # высота голограммы (вместо точки пишите запятую)
break-lightning: true # молния при ломании привата (true - вкл)

# кастомные имена для приватов.
# использование HEX цветов (#цветовой код)
# РАБОТАЕТ С ВЕРСИИ 1.16+
# tnt-break: true  # Если true, то тнт может уничтожить приват.
# wither-break: boolean | Если true, то визер может уничтожить приват.
# lightning: boolean | будет ли молния бить по блоку? Если true - да.
# hologram: boolean | Если true, то голограммы будут видны.
# place-sound: sound | звук при установке блока привата.
# break-sound: sound | звук при ломании блока привата.
# spawn-egg-use: boolean | разрешить игроку использовать яйца в регионе? Если true яйца можно ставить в чужих регионах
# display-range: integer | насколько далеко можно будет видеть голограмму? Расстояние в блоках.
# Список всех звуков https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
region-names:
  64:
    name: '&4Изумрудный приват'
    lines:
      - '&fВладелец: #17d000%player%'
    place-sound: BLOCK_BEACON_ACTIVATE
    break-sound: BLOCK_BEACON_DEACTIVATE
    wither-break: true
    tnt-break: true
    hologram: true
    lightning: true
    spawn-egg-use: true
    display-range: 30
  DIAMOND_BLOCK:
    name: '#00d9ffБ#0ddcffо#19dffeл#26e2feь#32e5fdш#3fe8fdо#4bebfdй #58eefcп#64f1fcр#71f4fbи#7df7fbв#8afafaа#96fdfaт'
    lines:
      - '&fВладелец: #84f0fb%player%'
    wither-break: true
    tnt-break: false
    hologram: true
    lightning: true
    spawn-egg-use: false
    display-range: 60
  IRON_BLOCK:
    name: '#afafafМ#b2b2b2а#b4b4b4л#b7b7b7е#bababaн#bdbdbdь#bfbfbfк#c2c2c2и#c5c5c5й #c7c7c7п#cacacaр#cdcdcdи#d0d0d0в#d2d2d2а#d5d5d5т'
    lines:
      - '&fВладалец: #afafaf%player%'
    wither-break: true
    tnt-break: true
    hologram: true
    lightning: true
    spawn-egg-use: true
    display-range: 100
"Почему "64"?" Потому что /ps give выдаёт емеральдовую руду с именем 64. Пробовал emerald_ore и даже капслоком, но всё это сути не меняло. Пока что показываю на примере одной емеральдовой руды. Если интересен её кфг в пл protectionstones:
Код:
# Define your protection block below
# Use block type from here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# --------------------------------------------------------------------------------------------------
# If you want to use player heads, you can use "PLAYER_HEAD:player_name" (ex. "PLAYER_HEAD:Notch")
# To use custom player heads, you need the base64 value of the head. On minecraft-heads.com, you will find this value in the Other section under "Value:".
# To use UUIDs for player heads, go to https://sessionserver.mojang.com/session/minecraft/profile/PUT-UUID-HERE and copy the value from the "value" field not including quotes.
# When you have the value, you can set the type to "PLAYER_HEAD:value"
type = "EMERALD_ORE"

# Another way to refer to the protection stone
# Can be used for /ps give and /ps get
# Must be one word (no spaces)
alias = "64"

# Description of the protection block type
# Shows up in /ps get menu
description = "64 block radius protection zone."

# Whether or not to restrict obtaining of the protection stone to only /ps get and /ps give and custom crafting recipes.
# Other ways to obtain this block (ex. mining) will not work as a protection stone.
# Useful to allow the protection block to only be obtained from a shop or command.
# Set to "false" if you want to allow players to obtain a protection stone naturally
restrict_obtaining = true

# Enable or disable the use of this protection stone in specific worlds
# "blacklist" mode prevents this protect block from being used in the worlds in "worlds"
# "whitelist" mode allows this protect block to only be used in the worlds in "worlds"
# Can be overriden with protectionstones.admin permission (including OP)!
world_list_type = "blacklist"
worlds = [
    "world_air",
    "world_the_end"
]

# Whether or not to actually restrict the protection stone from being placed when the world is restricted (in blacklist/whitelist)
# The block will place normally, without PS behaviour.
prevent_block_place_in_restricted_world = true

# Whether or not to allow the block to be placed in the wild.
# If set to false, the protection block can only be placed in existing regions.
allow_placing_in_wild = true

[region]
    # Minimum distance between claims (that aren't owned by the same owner), measured from the protection block to the edge of another region
    # You will probably have to change this between blocks, since the region sizes will be different
    # Set to -1 for no minimum, but will still check for overlapping regions
    distance_between_claims = -1

    # Protection radius of block (radius of 64 -> 129 x 129 region)
    # Set y_radius to -1 if you want it to protect from sky to bedrock. If this doesn't appear to work set it to 256.
    # y_radius must be -1 if you are allowing the region to be merged ("allow_merging" option)
    x_radius = 64
    y_radius = 64
    z_radius = 64

    # Offset the protection block
    # If you would like to make the protection block not be at the center of new regions, you can offset it here
    # ex. x_offset = 64, y_offset = 0, z_offset = 64 would make it at the corner of a created region
    x_offset = 0
    y_offset = 0
    z_offset = 0

    # How many blocks to offset the default location of /ps home from the protection block
    home_x_offset = 0.0
    home_y_offset = 1.0
    home_z_offset = 0.0

    # Specify the default flags to be set when a new protected region is created.
    # Can use -g [group] before the flag to set group flags (ex. -g members pvp deny).
    # Can use PlaceholderAPI placeholders in string flags (ex. greeting, farewell).
    flags = [
        "pvp allow",
    ]

    # List all the flags that can be set by region owners.
    # If you want to whitelist the groups that can be set as well, use -g (ex. "-g all,members pvp" restricts it to no group flag, and members group)
    # "-g all pvp" - Prevents players setting the group to nonmembers, and being invulnerable to attacks.
    allowed_flags = [
        "",
    ]

    # Which flags to hide from /ps info
    hidden_flags_from_info = [
        "ps-merged-regions",
        "ps-merged-regions-types",
        "ps-block-material",
        "ps-price",
        "ps-landlord",
        "ps-tenant",
        "ps-rent-period",
        "ps-rent-last-paid",
        "ps-for-sale",
        "ps-rent-settings",
        "ps-tax-payments-due",
        "ps-tax-last-payment-added",
        "ps-tax-autopayer"
    ]

    # Default priority type for this block type protection stone
    priority = 0

    # Whether or not to allow creation of regions that overlap other regions you don't own
    # This is dangerous, so think about this carefully if you set it to true.
    allow_overlap_unowned_regions = false

    # Whether or not to allow players to create other regions that overlap this region.
    # "owner" - only allow owners to overlap this (default)
    # "member" - allow members and owners to overlap this region type. (useful for city plots)
    # "all" - allow all players to overlap this region type.
    # "none" - no players, not even the owners of the region can overlap it
    # allow_overlap_unowned_regions does not need to be true for this to work.
    allow_other_regions_to_overlap = "owner"

    # Whether or not to allow this regions created with this block to merge with other regions
    # allow_merging_regions must be set to true in config.toml
    allow_merging = true

    # Allowed types of regions to merge into (referred to by alias)
    # Be sure to add the alias of this current region type to allow merging with it ex. ["64"]
    # Add "all" if you want to allow this region to merge into any region
    allowed_merging_into_types = [
        "all"
    ]

[block_data]
    # Name given to protection block when obtained with /ps give or /ps get
    # Also affects custom crafted items (see custom_recipe)
    # Leave as '' for no name
    display_name = ''

    # Lore given to protection block when obtained with /ps give or /ps get
    # Also affects custom crafted items (see custom_recipe)
    # Leave as [] for no lore
    lore = []

    # Add price when using /ps get
    # Must have compatible economy plugin (requires Vault, ie. Essentials)
    # Must be a decimal (ex. not 10, but 10.0)
    price = 0.0

    # Whether or not to allow crafting this item using a custom recipe
    # Useful to allow crafting the item when restrict_obtaining is set to true
    allow_craft_with_custom_recipe = false
    # Specify the custom crafting recipe below
    # You must fill the item spots with names from here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    # You can also use other protection stone items as ingredients in the recipe, in the format PROTECTION_STONES:alias
    # If you want air, you can just leave the spot as ""
    custom_recipe = [
        ["", "STONE", ""],
        ["STONE", "EMERALD", "STONE"],
        ["", "STONE", ""]
    ]
    # Amount of the protection item to give when crafted
    recipe_amount = 1

[economy]
    # Taxes must be enabled in config.toml first (tax_enabled)
    # The amount to tax the region per tax cycle.
    # Must be a decimal (ex. not 10, but 10.0)
    tax_amount = 0.0

    # The amount of seconds between tax cycles. Set to -1 to disable taxes.
    tax_period = -1

    # Amount of time to pay taxes in seconds after tax cycle before there is punishment.
    tax_payment_time = 86400

    # Automatically set the player that created the region as the taxpayer.
    start_with_tax_autopay = true

    # What role tenants should be added as (for rents). It can either be "owner" or "member".
    tenant_rent_role = "member"

    # Should the landlords of rented out regions still be an owner while it is rented out?
    landlord_still_owner = true

[behaviour]
    # Hide protection stone right away when placed?
    auto_hide = false

    # Whether or not to automatically merge into other regions when placed if there is only one overlapping and allow_merging is true
    auto_merge = false

    # Disable returning the block when removed/unclaimed?
    no_drop = false

    # Prevents piston pushing of the block. Recommended to keep as true.
    prevent_piston_push = false

    # Prevents the block from being destroyed when exploded.
    # Recommended to keep true to prevent players from exploiting more protection stones with /ps unhide (when the block is destroyed)
    prevent_explode = false

    # Destroys the protection stone region when block is exploded. Can be useful for PVP/Factions servers.
    # prevent_explode must be false for this to work.
    destroy_region_when_explode = false

    # Silk Touch: if true, ore-blocks that are also configured by ProtectionStones will disallow Silk Touch drops
    # This was the old behaviour to prevent natural obtaining of the protection stone.
    # Recommended to keep false if "Restrict Obtaining" (the new way) is true
    prevent_silk_touch = false

    # Set cost for when a protection block is placed (separate from /ps get cost)
    cost_to_place = 0.0

[player]
    # Whether or not to allow breaking the protection block with a shift-right click
    # Useful if the protection block is unbreakable (bedrock, command block), etc.
    allow_shift_right_break = false

    # Whether or not to prevent teleporting into a protected region if the player doesn't own it (except with ender pearl and chorus fruit)
    # Does not prevent entry, use the flag "entry deny" for preventing entry.
    # Bypass with protectionstones.tp.bypasstp
    prevent_teleport_in = false

    # Can't move for x seconds before teleporting with /ps home or /ps tp. Can be disabled with 0.
    # Option to teleport only if player stands still.
    # Can override with permission protectionstones.tp.bypasswait
    no_moving_when_tp_waiting = true
    tp_waiting_seconds = 0

    # Whether or not to prevent obtaining this block through /ps get.
    # Ignored with protectionstones.admin
    prevent_ps_get = false

    # Whether or not to prevent this region type from showing up in /ps home, and allowing teleport.
    # Note: admins can still use /ps tp to this region type
    prevent_ps_home = false

    # Extra permission required to place this specific protection block (you still need protectionstones.create)
    # Also applies to /ps get (you still need protectionstones.get)
    # '' for no extra permission
    permission = ''

[event]

    # Events section
    # ~~~~~~~~~~~~~~
    # For each line on events, it is the format 'type: action'
    # The following are accepted types:
    # player_command - Execute command by player that caused event (won't execute if not applicable)
    # console_command - Execute command by console
    # message - Send message to player or console if applicable (colour support with &)
    # global_message - Send message to all players and console (colour support with &)
    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    # Whether or not to enable event tracking (API events will still be enabled)
    enable = false

    # Execute commands when a region is created (ex. player place protection block)
    # Variables: %player%, %region%, %block_x%, %block_y%, %block_z%
    on_region_create = []

    # Execute commands when a region is destroyed (ex. when player destroy protection block)
    # Variables: %player%, %region%, %block_x%, %block_y%, %block_z%
    on_region_destroy = []
Я знаю автор плохо код сделал, мой кодер его переписал
 
Назад
Сверху Снизу