⚙️ Конфигурация
Основные настройки плагина (файл config.yml)
📁 Основные настройки (settings)
settings: default-language: "ru" debug: false auto-update-config: true save-regions-individually: true auto-save-interval: 6000 max-regions-per-player: 5 enable-global-regions: true creeper-cancel-effects: true auto-time-sync: true notify-owners-on-entry: true notify-owners-on-exit: false
🔄 Обновления (updates)
updates: check-for-updates: true resource: "modrinth" check-interval: 24 notify-admins: true
📐 Ограничения регионов
regions:
size:
min-size: 5
max-size: 100000
max-height: 256
naming:
min-length: 3
max-length: 16
blocked-names: ["admin","global","world"]
🚩 Флаги по умолчанию
default-flags: build: "deny" break: "deny" interact: "allow" pvp: "allow" mob-spawning: "allow"
🛠️ Инструменты выделения (selection-tools)
selection-tools:
selection-wand:
enabled: true
material: "WOODEN_AXE"
name: "&6Топор для выделения"
lore:
- "&7ЛКМ - установить позицию 1"
- "&7ПКМ - установить позицию 2"
- "&7Shift + ПКМ - проверить регион"
durability: -1
selection-info:
enabled: true
material: "STICK"
name: "&bПроверка регионов"
lore:
- "&7ЛКМ по блоку - проверить регион"
- "&7ПКМ по блоку - показать информацию"
- "&7Shift + ПКМ - показать границы"
durability: -1
💾 База данных
database:
type: "sqlite" # или "mysql"
mysql:
host: "localhost"
database: "regionmc"
username: "root"
password: "password"
💡 Полная конфигурация доступна в файле config.yml после установки плагина.