Stránka 1 z 2

bPermissions

Napsal: 15 bře 2012, 15:40
od Arcas
Server: 93.91.250.112:27517

Prosim o pomoc s bPermissions. Vytvoril jsem soubor groups ale plugin ho nebere. Posilam v priloze. Kdo da radu (i kdyz nefunkcni) dostane karmu.

Re: bPermissions

Napsal: 16 bře 2012, 15:23
od Arcas
Prosim pomuze mi nekdo?

Re: bPermissions

Napsal: 16 bře 2012, 15:48
od nejento
Ten soubor group si ty bPermissions vytvořily samy, nebo jsi je vytvořil podle sebe?

Re: bPermissions

Napsal: 16 bře 2012, 15:51
od Arcas
nejak podobne si je vytvorili, ja to prejmenoval a doplnil

Re: bPermissions

Napsal: 16 bře 2012, 15:51
od nejento
Zdá se mi to, nebo jsou tyhle permissiony nanic?

Kód: Vybrat vše

    - ChestShop.shop.create.stonetools
    - admincmd.immunityLvl.108
    - admincmd.maxHomeByUser.110
    - admincmd.maxItemAmount.122


Protože jich tam je hrozně mnoho (hlavně u admina) a u toho stačí dát permission

Kód: Vybrat vše

    - '*'

který zastoupí všechny permissiony. Je zbytečný vypisovat všechny permissiony u toho AdminCMD protože je tam zase permission s hvezdičkou (ano myslím opět admina :D)

Re: bPermissions

Napsal: 16 bře 2012, 15:53
od nejento
Hele... v tomhle nějakou chybu moc nevidím, rozhodně u toho admina, jestli ccheš aby mohl všechno dej ten permission s hvězdičkou.
Spíš sem dej server.log

Re: bPermissions

Napsal: 16 bře 2012, 15:54
od Arcas
huh :D Ty permice se u admina vytvorily samy, ja jen prejmenoval na Majitel a zkopiroval na admin a support :D

Re: bPermissions

Napsal: 16 bře 2012, 15:54
od Arcas
nemohl bys to prosimte prepsat ty?

Re: bPermissions

Napsal: 16 bře 2012, 16:02
od Arcas
Posilam log + upraveny groups.

Kód: Vybrat vše

2012-03-16 14:55:00 [INFO] [bChatManager] Enabling bChatManager v1.5
2012-03-16 14:55:00 [INFO] [bChatManager] bChatManager enabled.
2012-03-16 14:55:00 [INFO] [Residence] Enabling Residence v2.5.2
2012-03-16 14:55:00 [INFO] [Residence] Found Vault using permissions plugin:bPermissions2
2012-03-16 14:55:00 [INFO] [Residence] Scanning for economy systems...
2012-03-16 14:55:00 [INFO] [Residence] Found Vault using economy system: iConomy 6
2012-03-16 14:55:00 [INFO] [Residence] Enabled! Version 2.5.2 by bekvon
2012-03-16 14:55:00 [INFO] [Jobs] Enabling Jobs v2.6.3
2012-03-16 14:55:00 [INFO] [Jobs] - max-jobs property not found. Defaulting to unlimited!
2012-03-16 14:55:00 [INFO] [Jobs] - Job Woodcutter is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Woodcutter is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Miner is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Miner is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Builder is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Builder is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Digger is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Digger is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Farmer is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Farmer is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Hunter is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Hunter is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Fisherman is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Fisherman is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Weaponsmith is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job Weaponsmith is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job None is missing the max-level property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs] - Job None is missing the slots property. defaulting to no limits !
2012-03-16 14:55:00 [INFO] [Jobs v2.6.3] has been enabled succesfully.
2012-03-16 14:55:00 [INFO] [Jobs] Successfully linked with iConomy 6.
2012-03-16 14:55:00 [INFO] [AuthMe] Enabling AuthMe v2.6.3b5
2012-03-16 14:55:00 [INFO] [AuthMe] Loading Configuration File...
2012-03-16 14:55:00 [INFO] [AuthMe] Authme 2.6.3b5 enabled
2012-03-16 14:55:00 [INFO] [ChestShop] Enabling ChestShop v3.38
2012-03-16 14:55:00 [INFO] [ChestShop] Lockette version 1.5 loaded.
2012-03-16 14:55:00 [INFO] [ChestShop] Vault loaded using economy plugin iConomy 6
2012-03-16 14:55:00 [SEVERE] [ChestShop] WARNING! Your spawn-radius in bukkit.yml isn't set to 0! You won't be able to sell to shops built near spawn!
2012-03-16 14:55:01 [INFO] [Factions] Enabling Factions v1.6.6b
2012-03-16 14:55:01 [INFO] [Factions v1.6.6b] === ENABLE START ===
2012-03-16 14:55:01 [INFO] [Factions v1.6.6b] Loading board from disk
2012-03-16 14:55:01 [INFO] [Factions v1.6.6b] Economy integration through Vault plugin successful.
2012-03-16 14:55:01 [INFO] [Factions v1.6.6b] NOTE: Economy is disabled. You can enable it with the command: f config econEnabled true
2012-03-16 14:55:01 [INFO] [Factions v1.6.6b] === ENABLE DONE (Took 101ms) ===
2012-03-16 14:55:01 [INFO] [Lockette] Enabled link to plugin Factions for Groups, version 1.6.6b
2012-03-16 14:55:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-03-16 14:55:01 [INFO] Done (4.338s)! For help, type "help" or "?"
2012-03-16 14:58:05 [INFO] Unknown command. Type "help" for help.
2012-03-16 14:58:12 [SEVERE] line 19 of groups.yml contained a Yaml error. A fix was attempted.
2012-03-16 14:58:12 [SEVERE] line 22 of groups.yml contained a Yaml error. A fix was attempted.
2012-03-16 14:58:12 [SEVERE] line 22 of groups.yml contained a Yaml error. A fix was attempted.
2012-03-16 14:58:12 [INFO] Permissions for world:planetoids did not load correctly! Please consult server.log
2012-03-16 14:58:12 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
 in "<string>", line 17, column 5:
        permissions:
        ^
expected <block end>, but found Value
 in "<string>", line 20, column 5:
        :
        ^

2012-03-16 14:58:12 [SEVERE]    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
2012-03-16 14:58:12 [SEVERE]    at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:17)
2012-03-16 14:58:12 [SEVERE]    at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:122)
2012-03-16 14:58:12 [SEVERE]    at de.bananaco.bpermissions.imp.YamlWorld.load(YamlWorld.java:90)
2012-03-16 14:58:12 [SEVERE]    at de.bananaco.bpermissions.imp.Permissions.onCommand(Permissions.java:312)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:457)
2012-03-16 14:58:12 [SEVERE]    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:599)
2012-03-16 14:58:12 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:568)
2012-03-16 14:58:12 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
2012-03-16 14:58:12 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
2012-03-16 14:58:12 [SEVERE] Caused by: while parsing a block mapping
 in "<string>", line 17, column 5:
        permissions:
        ^
expected <block end>, but found Value
 in "<string>", line 20, column 5:
        :
        ^

2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
2012-03-16 14:58:12 [SEVERE]    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
2012-03-16 14:58:12 [SEVERE]    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
2012-03-16 14:58:12 [SEVERE]    ... 14 more
2012-03-16 14:58:12 [INFO] [bPermissions] All worlds reloaded!


Ale porad to nefunguje. A neni to jedinna hlaska. Pokazde to najde neco jineho. Musi se asi nacist na testsereru a postupne odstranovat chyby.

Re: bPermissions

Napsal: 16 bře 2012, 16:09
od nejento
Ona ta šipka ti u toho ukazuje kde je chyba a je tam napsaný i ten řádek.

Jinak tady je to opravený

Kód: Vybrat vše

default: default
groups:
  majitel:
    permissions:
        - '*'
    groups: []
    meta:
      prefix:
  admin:
    permissions:
        - '*'
    groups:
    - admin
    meta:
      prefix: '&4[Admins]'
  support:
    permissions:
       - '*'
    meta:
      prefix: '&2[Support]'
  default:
    permissions:
    - bukkit.broadcast.user
    - group.default
    - iConomy.user
    - lockette.user.*
    - lockette.user.create.*
    - lockette.user.create.chest
    - lockette.user.create.dispenser
    - lockette.user.create.door
    - lockette.user.create.furnace
    - lockette.user.create.trapdoor
    - jobs.join.*
    - iConomy.accounts.status
    - factions.*
    - factions.admin
    - factions.autoclaim
    - factions.chat
    - factions.claim
    - factions.create
    - factions.deinvite
    - factions.description
    - factions.disband
    - factions.help
    - factions.home
    - factions.invite
    - factions.join
    - factions.leave
    - factions.list
    - factions.lock
    - factions.map
    - factions.open
    - factions.owner
    - factions.ownerlist
    - factions.power
    - factions.power.any
    - factions.relation
    - factions.reload
    - factions.save
    - factions.sethome
    - factions.show
    - factions.tag
    - factions.title
    - factions.unclaim
    - factions.unclaimall
    - creativegates.*
    - creativegates.create
    - creativegates.destroy
    - creativegates.use
    - authme.register
    - authme.changepassword
    - authme.login
    - authme.logout
    - admincmd.warp.tp
    - admincmd.spawn.tp
    - admincmd.server.rules
    - admincmd.server.motd
    - admincmd.server.news
    - admincmd.server.reload
    - admincmd.server.repeat
    - admincmd.player.msg
    - admincmd.player.list
    - admincmd.player.afk
    - ChestShop.shop.*
    groups: []
    meta:
      prefix:


Dostaly se ti tam dvojtečky, kde být neměly

Když říkáš další problémy, dej tyhle permissiony a další server.log