Занести в конфиг дефолтные флаги. WorldGuard

Статус
Закрыто для дальнейших ответов.

Кондитер

Активный участник
Пользователь
Баллы
78
Народ, раньше сидел на iZone. Сейчас из-за лагов на sql lite и глюков новой версии с MySQL решил перейти на WorldGuard.

Суть проблемы: Занести в конфиг дефолтные флаги. То есть чтобы ты поставил зону и уже на ней были флаги от TNT, от огня, от лавы, от эндерменов и т.д.

P.S.: Каждый раз прописывать в каждой новой зоне /region flag <id> <flag> это геморой. Нужно чтобы вы объяснили где находиться это заветный конфиг. Или куда в этом конфиге вписывать флаги. Или же где лежит сам конфиг со стандартными значениями флагов.
 
в файлах конфигурации ВГ ищи раздел и добавь все что Тебе нужно:
Код:
Regions:
    default:
        pvp: false
        use: false

напоминаю о том что есть глобальный файл конфигурации и для каждого мира отдельно
 
Не помогает. Сделал как ты сказал.
Вот мой конфиг: server/plugins/WorldGuard/config.yml
Код:
#
# WorldGuard's main configuration file
#
# This is the global configuration file. Anything placed into here will
# be applied to all worlds. However, each world has its own configuration
# file to allow you to replace any setting in here for that world only.
#
# About editing this file:
# - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
#  you use an editor like Notepad++ (recommended for Windows users), you
#  must configure it to "replace tabs with spaces." In Notepad++, this can
#  be changed in Settings > Preferences > Language Menu.
# - Don't get rid of the indents. They are indented so some entries are
#  in categories (like "enforce-single-session" is in the "protection"
#  category.
# - If you want to check the format of this file before putting it
#  into WorldGuard, paste it into http://yaml-online-parser.appspot.com/
#  and see if it gives "ERROR:".
# - Lines starting with # are comments and so they are ignored.
#

regions:
    max-region-count-per-player: 7
    claim-only-inside-existing-regions: false
    max-claim-volume: 30000
    high-frequency-flags: false
    enable: true
    use-scheduler: true
    wand: 287
    default:
        pvp: false
        use: false
        enderman-grief: false
        lighter: false
        chest-access: false
        fire-spread: false
iconomy:
    buy-on-claim-price: 1.0
    enable: false
    buy-on-claim: false
protection:
    enforce-single-session: true
    item-durability: true
    remove-infinite-stacks: false
chest-protection:
    enable: false
physics:
    allow-portal-anywhere: false
    no-physics-sand: false
    no-physics-gravel: false
    disable-water-damage-blocks: []
ignition:
    block-tnt: false
    block-lighter: false
    chest-access: false
simulation:
    sponge:
        redstone: false
        enable: true
        radius: 3
    classic-water: false
fire:
    disable-lava-fire-spread: true
    lava-spread-blocks: []
    disable-fire-spread-blocks: []
    disable-all-fire-spread: false
suppress-tick-sync-warnings: false
spawn:
    login-protection: 3
    exact-respawn: false
    teleport-to-home-on-death: false
    kick-on-death: false
    spawn-protection: 0
default:
    disable-health-regain: false
mobs:
    anti-wolf-dumbness: false
    block-creature-spawn: []
    block-creeper-block-damage: false
    block-creeper-explosions: false
dynamics:
    disable-ice-melting: false
    disable-snow-formation: false
    disable-mushroom-spread: false
    disable-snow-melting: false
    disable-leaf-decay: false
    disable-ice-formation: false
blacklist:
    use-as-whitelist: false
    logging:
        console:
            enable: true
        file:
            path: worldguard/logs/%Y-%m-%d.log
            enable: false
            open-files: 10
        database:
            dsn: jdbc:mysql://localhost:3306/minecraft
            enable: false
            table: blacklist_events
            user: root
            pass: ''
summary-on-start: true
weather:
    always-raining: false
    disable-powered-creepers: false
    disable-weather: false
    disable-lightning-strike-fire: false
    always-thundering: false
    prevent-lightning-strike-blocks: []
    disable-thunderstorm: false
    disable-pig-zombification: false
crops:
    disable-creature-trampling: false
    disable-player-trampling: false
op-permissions: true
player-damage:
    teleport-on-void-falling: false
    disable-drowning-damage: false
    disable-mob-damage: false
    disable-explosion-damage: false
    disable-void-damage: false
    disable-fall-damage: false
    disable-fire-damage: false
    disable-contact-damage: false
    disable-suffocation-damage: false
    disable-lightning-damage: false
    disable-lava-damage: false
    teleport-on-suffocation: false
pumpkin-scuba: false
auto-invincible-permission: false
 
Есть глобальная команда, хотя точно я её не помню 😉Вроде как то так: /region flag _global_ <flag>, с помощью этой команды флаг работает во всем мире
 
Блин мне бы разобраться в конфигах. Я уже все что можно перегуглил
 
Попробуй вместо WorldGuard использовать Residence там флаги настроить базовые можешь а если кому то не понравиться то он сам может поменять (юзаю на своем серваке, народ вроде не жалуеться) единственый прокол там поршни по умолчанию вырублены.
 
Есть глобальная команда, хотя точно я её не помню 😉Вроде как то так: /region flag _global_ <flag>, с помощью этой команды флаг работает во всем мире
эта настройка работает на весь мир !кроме! зон

попробуй в конфиге указать вместо "false" -> "deny"
 
WGFix в помощь!
 
Статус
Закрыто для дальнейших ответов.
Назад
Верх Низ