Хостинг серверов Minecraft playvds.com
  1. Вы находитесь в русском сообществе Bukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на русский язык плагины наших собратьев из других стран.
    Скрыть объявление

Помогите PermissionsEX

Тема в разделе "[Архив] Помощь", создана пользователем TmInT, 17 окт 2012.

  1. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Народ помогайте, я чёт нихрена не понимаю, ставлю пермишион и ложится чат, а точнее почти ничего вообще не работает. Убираю пермишион и всё работает.
    Вот ошибки:
    2012-10-17 15:37:22 [INFO] Starting minecraft server version 1.3.2
    2012-10-17 15:37:22 [INFO] Loading properties
    2012-10-17 15:37:22 [INFO] Default game type: SURVIVAL
    2012-10-17 15:37:22 [INFO] Generating keypair
    2012-10-17 15:37:23 [INFO] Starting Minecraft server on *:25565
    2012-10-17 15:37:23 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2012-10-17 15:37:23 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2012-10-17 15:37:23 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2012-10-17 15:37:23 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    2012-10-17 15:37:23 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.2-R1.0-b2377jnks (MC: 1.3.2) (Implementing API version 1.3.2-R1.0)
    2012-10-17 15:37:23 [INFO] [PermissionsEx] sql backend registered!
    2012-10-17 15:37:23 [INFO] [PermissionsEx] file backend registered!
    2012-10-17 15:37:23 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2012-10-17 15:37:23 [INFO] [AutoMessage] Loading AutoMessage v1.5.3
    2012-10-17 15:37:23 [INFO] [ruFix] Loading ruFix v0.59
    2012-10-17 15:37:23 [INFO] Loading Spawny v1.1.0.0
    2012-10-17 15:37:23 [INFO] [WorldEdit] Loading WorldEdit v5.4.2
    2012-10-17 15:37:23 [INFO] [PermissionsEx] Loading PermissionsEx v1.19.3
    2012-10-17 15:37:23 [INFO] [PermissionsEx] Initializing file backend
    2012-10-17 15:37:23 [SEVERE] Error loading permissions file initializing PermissionsEx v1.19.3 (Is it up to date?)
    java.lang.IllegalStateException: Error loading permissions file
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:251)
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:79)
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:425)
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:487)
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:54)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:68)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:228)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:199)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in "<string>", line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 24, column 2:
    users:
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:247)
    ... 12 more
    Caused by: while parsing a block mapping
    in "<string>", line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 24, column 2:
    users:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    ... 15 more
    2012-10-17 15:37:23 [INFO] [Modifyworld] Loading Modifyworld v1.19.3
    2012-10-17 15:37:23 [INFO] [WorldGuard] Loading WorldGuard v5.5.4
    2012-10-17 15:37:23 [INFO] [xAuth] Loading xAuth v2.0.25
    2012-10-17 15:37:23 [INFO] [ChatManager] Loading ChatManager v1.19.1
    2012-10-17 15:37:23 [INFO] Preparing level "world"
    2012-10-17 15:37:23 [INFO] Preparing start region for level 0 (Seed: 7988541789303121502)
    2012-10-17 15:37:24 [INFO] Preparing start region for level 1 (Seed: 7988541789303121502)
    2012-10-17 15:37:24 [INFO] Preparing spawn area: 8%
    2012-10-17 15:37:25 [INFO] Preparing start region for level 2 (Seed: 7988541789303121502)
    2012-10-17 15:37:25 [INFO] Preparing spawn area: 52%
    2012-10-17 15:37:26 [INFO] [AutoMessage] Enabling AutoMessage v1.5.3
    2012-10-17 15:37:26 [INFO] [AutoMessage] AutoMessage Enabled!
    2012-10-17 15:37:26 [INFO] [ruFix] Enabling ruFix v0.59
    2012-10-17 15:37:26 [INFO] [ruFix] version 0.59 is enabled!
    2012-10-17 15:37:26 [INFO] [ruFix] ruFixConsole: CP866
    2012-10-17 15:37:26 [INFO] [ruFix] ruFixLogFile: UTF-8
    2012-10-17 15:37:26 [INFO] Enabling Spawny v1.1.0.0
    2012-10-17 15:37:26 [INFO] Starting Spawny version 1.1.0.0
    2012-10-17 15:37:26 [INFO] [WorldEdit] Enabling WorldEdit v5.4.2
    2012-10-17 15:37:26 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-10-17 15:37:26 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.3
    2012-10-17 15:37:26 [INFO] [PermissionsEx] Initializing file backend
    2012-10-17 15:37:26 [SEVERE] Error occurred while enabling PermissionsEx v1.19.3 (Is it up to date?)
    java.lang.IllegalStateException: Error loading permissions file
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:251)
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:79)
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:425)
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:487)
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:54)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:74)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248)
    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in "<string>", line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 24, column 2:
    users:
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:247)
    ... 16 more
    Caused by: while parsing a block mapping
    in "<string>", line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 24, column 2:
    users:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    ... 19 more
    2012-10-17 15:37:26 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-10-17 15:37:26 [INFO] [Modifyworld] Enabling Modifyworld v1.19.3
    2012-10-17 15:37:26 [INFO] [Modifyworld] Modifyworld enabled!
    2012-10-17 15:37:26 [INFO] [WorldGuard] Enabling WorldGuard v5.5.4
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world) TNT ignition is PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world) Lighters are PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world) Lava fire is blocked.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] Loaded configuration for world 'world'
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_nether) Lava fire is blocked.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] Loaded configuration for world 'world_nether'
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_the_end) Lava fire is blocked.
    2012-10-17 15:37:26 [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
    2012-10-17 15:37:26 [INFO] [WorldGuard] Loaded configuration for world 'world_the_end'
    2012-10-17 15:37:26 [INFO] [WorldGuard] 0 regions loaded for 'world'
    2012-10-17 15:37:26 [INFO] [WorldGuard] 0 regions loaded for 'world_nether'
    2012-10-17 15:37:26 [INFO] [WorldGuard] 0 regions loaded for 'world_the_end'
    2012-10-17 15:37:26 [INFO] [xAuth] Enabling xAuth v2.0.25
    2012-10-17 15:37:27 [INFO] [xAuth] PermissionAlias backend: 'pex' registered!
    2012-10-17 15:37:27 [INFO] [xAuth] PermissionAlias backend: 'gm' registered!
    2012-10-17 15:37:27 [INFO] [xAuth] PermissionAlias backend: 'bukkit' registered!
    2012-10-17 15:37:27 [INFO] [xAuth] Attempting to use supported permissions plugin 'GroupManager'
    2012-10-17 15:37:27 [WARNING] [xAuth] This plugin is not ready yet.
    2012-10-17 15:37:27 [INFO] [xAuth] Initializing bukkit backend
    2012-10-17 15:37:27 [INFO] [xAuth] Attempting to use supported permissions plugin 'PermissionsEx'
    2012-10-17 15:37:27 [WARNING] [xAuth] This plugin is not ready yet.
    2012-10-17 15:37:27 [INFO] [xAuth] Initializing bukkit backend
    2012-10-17 15:37:27 [INFO] [xAuth] Config node permissions.backend changed to 'pex'
    2012-10-17 15:37:27 [INFO] [xAuth] Initializing pex backend
    2012-10-17 15:37:27 [WARNING] [xAuth] This plugin is not ready yet.
    2012-10-17 15:37:27 [SEVERE] Error occurred while enabling xAuth v2.0.25 (Is it up to date?)
    ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:152)
    at com.cypherx.xauth.permissions.backends.PermissionsExSupport.initialize(PermissionsExSupport.java:60)
    at com.cypherx.xauth.permissions.PermissionManager.setBackend(PermissionManager.java:64)
    at com.cypherx.xauth.permissions.PermissionManager.initBackend(PermissionManager.java:49)
    at com.cypherx.xauth.permissions.PermissionManager.<init>(PermissionManager.java:38)
    at com.cypherx.xauth.xAuth.onEnable(xAuth.java:145)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248)
    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-10-17 15:37:27 [INFO] [ChatManager] Enabling ChatManager v1.19.1
    2012-10-17 15:37:27 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    2012-10-17 15:37:27 [INFO] [ChatManager] Disabling ChatManager v1.19.1
    2012-10-17 15:37:27 [INFO] [ChatManager] ChatManager disabled!
    2012-10-17 15:37:27 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-10-17 15:37:27 [INFO] Done (3,681s)! For help, type "help" or "?"
     
  2. Хостинг MineCraft
    <
  3. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Плагин и туда вписываю немного разрешений чтоб проверить.
     
  4. Rumble

    Rumble Старожил Пользователь

    Баллы:
    103
    @TmInT, возможны ошибки в синтаксисе, например пробелы после строк...
     
  5. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Вот пермишион
    Код:
    groups:
      Players:
        prefix: '&E[Player]'
        default: true
        build: true
        permissions:
        - spawny.spawn
        - worldedit.selection.pos
        - worldedit.wand
        - worldedit.selection.expand
        - worldguard.region.claim
        - worldguard.region.addowner.own.*
        - worldguard.region.removeowner.own.*
        - worldguard.region.remove.own.*
        - xauth.register
      Admin:
        prefix: '&4[Adm] &2'
        suffix: '&f'
        default: false
        build: true
        permissions:
        - '*'
     
    users:
    TmInT
      group:
      - Admin
     
    Сникерсни нравится это.
  6. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Готово
     
  7. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Апапап
     
  8. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Всё тоже самое ток без назначения админа
     
  9. SkyFight

    SkyFight Активный участник Пользователь

    Баллы:
    68
    Обнови до последней версии или под свою версию сервера
     
    ВремяПриключений нравится это.
  10. Автор темы
    TmInT

    TmInT Старожил Пользователь

    Баллы:
    123
    Skype:
    t-m-i-n-t
    Имя в Minecraft:
    TmInT
    Версия и так последняя, вот я и сижу в ах.е думаю что за фигня
     
    ВремяПриключений нравится это.
  11. CyberMan

    CyberMan Старожил Пользователь

    Баллы:
    173
    Skype:
    cyber4el
    у тебя в лога парсер ругается. Не забывай: в конфиге не ждолжно быть табуляций! Должны бюыть пробелы и только они!
     

Поделиться этой страницей