permissni

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Erik :D
Příspěvky: 64
Registrován: 24 bře 2014, 15:59
Reputation: 0

Re: permissni

#21 Příspěvekod Erik :D » 02 dub 2014, 10:33

Ked si nastavím permissni, dám si /jobs join kopac tak mi to nedá pred meno ako to mám spraviť aby to dávalo ?

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: permissni

#22 Příspěvekod vojtamaniak » 02 dub 2014, 10:34

Dej sem jobconfig.yml a config Tvého pluginu na chat.

Erik :D
Příspěvky: 64
Registrován: 24 bře 2014, 15:59
Reputation: 0

Re: permissni

#23 Příspěvekod Erik :D » 02 dub 2014, 10:37

Jobsconfig.yml :

Spoiler: zobrazit

Kód: Vybrat vše

# Jobs configuration.
#
# Stores information about each job.
#
# For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.

Jobs:
  Woodcutter:
    fullname: Drevorubec
    shortname: D
    ChatColour: GREEN
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      LOG:
        income: 0.1
        experience: 0.1
    Place:
      SAPLING:
        income: 0.1
        experience: 0.1
      WOOD:
        income: 0.1
        experience: 0.1
    Kill:
      Player:
        income: 0.1
        experience: 0.1
    custom-kill:
      Woodcutter:
        income: 1.1
        experience: 1.0
    permissions:
      aaaaaatest.node:
        value: true
        level: 0
      aaaaaatest.node2:
        value: true
        level: 10
  Miner:
    fullname: Hornik
    shortname: H
    ChatColour: DARK_GRAY
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      STONE:
        income: 0.1
        experience: 0.1
      COAL_ORE:
        income: 0.5
        experience: 0.5
      REDSTONE_ORE:
        income: 0.4
        experience: 0.4
      IRON_ORE:
        income: 0.6
        experience: 0.6
      GOLD_ORE:
        income: 0.7
        experience: 0.7
      LAPIS_ORE:
        income: 0.7
        experience: 0.7
      DIAMOND_ORE:
        income: 1.0
        experience: 1.0
      OBSIDIAN:
        income: 0.4
        experience: 0.4
      MOSSY_COBBLESTONE:
        income: 0.2
        experience: 0.2
    Place:
      RAILS:
        income: 0.1
        experience: 0.1
      IRON_ORE:
        income: -0.1
        experience: -0.1
      GOLD_ORE:
        income: -0.1
        experience: -0.1
    Kill:
      Player:
        income: 2.1
        experience: 2.1
    custom-kill:
      Miner:
        income: 2.1
        experience: 2.1
  Builder:
    fullname: Stavitel
    shortname: S
    ChatColour: WHITE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Place:
      COBBLESTONE:
        income: 0.1
        experience: 0.1
      WOOD:
        income: 0.2
        experience: 0.2
      FENCE:
        income: 0.1
        experience: 0.1
      WOOL:
        income: 0.2
        experience: 0.2
      STONE:
        income: 0.15
        experience: 0.15
      GLOWSTONE:
        income: 0.4
        experience: 0.4
      SANDSTONE:
        income: 0.2
        experience: 0.2
      GLASS:
        income: 0.3
        experience: 0.3
      BRICK:
        income: 0.2
        experience: 0.2
      LAPIS_BLOCK:
        income: 0.4
        experience: 0.4
      DOUBLE_STEP:
        income: 0.2
        experience: 0.2
      STEP:
        income: 0.2
        experience: 0.2
      BOOKSHELF:
        income: 0.3
        experience: 0.3
      WOOD_STAIRS:
        income: 0.1
        experience: 0.1
      COBBLESTONE_STAIRS:
        income: 0.1
        experience: 0.1
      MOSSY_COBBLESTONE:
        income: 0.4
        experience: 0.4
      DIAMOND_BLOCK:
        income: 0.8
        experience: 0.8
      GOLD_BLOCK:
        income: 0.5
        experience: 0.5
    Kill:
      Player:
        income: 0.5
        experience: 7.5
    custom-kill:
      Builder:
        income: 0.4
        experience: 10.0
  Digger:
    fullname: Kopac
    shortname: B
    ChatColour: GOLD
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      DIRT:
        income: 0.1
        experience: 0.1
      GRASS:
        income: 0.2
        experience: 0.2
      GRAVEL:
        income: 0.1
        experience: 0.1
      SAND:
        income: 0.2
        experience: 0.2
      CLAY:
        income: 0.3
        experience: 0.3
    Kill:
      Player:
        income: 1.5
        experience: 1.5
    custom-kill:
      Digger:
        income: 1.0
        experience: 1.0
  Farmer:
    fullname: Farmar
    shortname: F
    ChatColour: BLUE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      CROPS-7:
        income: 0.1
        experience: 0.1
      SUGAR_CANE_BLOCK:
        income: 0.1
        experience: 0.2
    Place:
      CROPS-0:
        income: 0.1
        experience: 0.3
      SUGAR_CANE_BLOCK:
        income: 0.1
        experience: 0.2
    Kill:
      Player:
        income: 0.1
        experience: 0.1
    custom-kill:
      Farmer:
        income: 0.1
        experience: 0.1
  Hunter:
    fullname: Lovec
    shortname: L
    ChatColour: RED
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Kill:
      Chicken:
        income: 0.4
        experience: 0.4
      Cow:
        income: 0.5
        experience: 0.5
      Pig:
        income: 0.3
        experience: 0.3
      Sheep:
        income: 0.5
        experience: 0.5
      Wolf:
        income: 0.2
        experience: 0.2
      Creeper:
        income: 0.6
        experience: 0.6
      Skeleton:
        income: 0.5
        experience: 0.5
      Spider:
        income: 0.4
        experience: 0.4
      Zombie:
        income: 0.3
        experience: 0.3
      Player:
        income: 2.0
        experience: 2.0
    custom-kill:
      Woodcutter:
        income: 1.2
        experience: 1.2
      Miner:
        income: 1.0
        experience: 1.0
      Digger:
        income: 1.0
        experience: 1.0
      Farmer:
        income: 1.0
        experience: 1.0
      Builder:
        income: 1.0
        experience: 1.0
      Hunter:
        income: 2.0
        experience: 2.0
  Fisherman:
    fullname: Rybar
    shortname: R
    ChatColour: AQUA
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Fish:
      RAW_FISH:
        income: 0.3
        experience: 0.3
    Kill:
      Player:
        income: 1.5
        experience: 1.5
    custom-kill:
      Fisherman:
        income: 1.0
        experience: 1.0
  Enchanter:
    fullname: Enchanter
    shortname: E
    ChatColour: DARK_BLUE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Enchant:
      WOOD_SWORD:
        income: 0.1
        experience: 0.1
      IRON_SWORD:
        income: 0.3
        experience: 0.3
      GOLD_SWORD:
        income: 0.4
        experience: 0.4
      DIAMOND_SWORD:
        income: 1.5
        experience: 1.5



ChatManager :

Spoiler: zobrazit

Kód: Vybrat vše

enable: true
message-format: <%prefix%player%suffix> %message
global-message-format: <%prefix%player%suffix> &e%message
ranged-mode: false
chat-range: 100.0


-- 02 dub 2014, 09:49 --

Vieš v čom je chyba ?

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: permissni

#24 Příspěvekod vojtamaniak » 02 dub 2014, 11:01

V tom chatmanageru, tam, kde chceš, aby byla ta práce napsaná, dej toto:

Kód: Vybrat vše

{jobs}

Erik :D
Příspěvky: 64
Registrován: 24 bře 2014, 15:59
Reputation: 0

Re: permissni

#25 Příspěvekod Erik :D » 02 dub 2014, 11:48

Ok, funguje ale nefungujú mi ked sa pridám do skupiny VIP : pex froup vip user add [mojemeno]
tak ma tam pridá ale nedá mi pred meno prefix čo som si dal a nemôžem robyť ani to čo hráč proste nemám povolenie na žiadné priíkazi.
Vieš v čom by to bolo ?

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: permissni

#26 Příspěvekod Smexhy » 02 dub 2014, 12:04

Ten príkaz je na sa používa keď určuješ aj čas...použi /pex user Dj_SmeXhy group set skupina

Erik :D
Příspěvky: 64
Registrován: 24 bře 2014, 15:59
Reputation: 0

Re: permissni

#27 Příspěvekod Erik :D » 02 dub 2014, 12:09

Skúsil som a robý to to isté. Nevieš v čom to može byť ?

-- 02 dub 2014, 11:26 --

Prosím porad mi

Uživatelský avatar
Kaktus
Příspěvky: 158
Registrován: 26 pro 2009, 01:12
Reputation: 4

Re: permissni

#28 Příspěvekod Kaktus » 03 dub 2014, 10:53

Erik :D píše:Prepáčte zle som okopíroval ! :(

Toto je celý permissions.yml :

Spoiler: zobrazit

Kód: Vybrat vše

groups:
  Hrac:
    default: true
    build: true
    prefix: '&8[Hráč]&7'
    permission:
    - 'Modifyworld.*'
    - AuthMe.register
    - AuthMe.logout
    - AuthMe.unregister
    - AuthMe.changepassword
    - chestshop.buy
    - jobs.command.browse: true
    - jobs.command.stats: true
    - jobs.command.join: true
    - jobs.command.leave: true
    - essentials.home
    - essentials.sethome
    - essentials.spawn
    - essentials.warp.list
    - essentials.warp
    - essentials.tpa
    - essentials.delhome
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.msg
    - lwc.create.*
    - essentials.pay
    - essentials.tptoggle
    - essentials.list
    - essentials.powertool
    - essentials.build.*
    - essentials.help
    - lwc.unlock
    - lwc.flag.*
    - lwc.remove
    - essentials.signs.use.warp
    - lwc.info
    - lwc.modify
    - essentials.mail
    - essentials.balancetop
    - essentials.balance
    - essentials.buy
    - essentials.signs.use.buy
    - essentials.signs.use.free
vip:
  default: false
  build: true
  prefix: '&6[&2VIP&6]&2'
  permissions:
  - essentials.joinfullserver
  - essentials.spawner
  - essentials.warp
  - essentials.warp.list
  - essentials.tpa
  - essentials.enderchest
  - essentials.back
  - essentials.back.ondeath
  - essentials.workbench
  - essentials.feed
  - essentials.heal
  - essentials.ignore
  - essentials.hat
  - essentials.hat
  - essentials.clear
  - essentials.afk
  - essentials.afk.auto
ExtraVip:
  default: false
  build: true
  prefix: '&6[&4Extra&2VIP&6]&a'
  inheritance:
  - Hrac
  - VIP
  permissions:
  - essentials.joinfullserver
  - essentials.gamemode
  - essentials.repair
  - essentials.spawner.[mob]
  - essentials.god
  - essentials.sell
  - essentials.vanish
  - essentials.fireball
  - essentials.jump
  - essentials.speed
buldier:
  default: false
  build: true
  prefix: '&9[Buldier]&9'
  inheritance:
  - Hrac
  - VIP
  - ExtraVip
  permissions:
  - '*'
helper:
  default: false
  build: true
  prefix: '&3[Helper]&3'
  inheritance:
  - Hrac
  - VIP
  - ExtraVip
  - buldier
  permissions:
  - '*'
Admin:
  default: false
  build: true
  prefix: '&4[Admin]&4'
  inheritance:
  - Hrac
  - VIP
  - ExtraVip
  - buldier
  - helper
  permissions:
  - '*'
Majitel:
  default: false
  build: true
  prefix: '&f[Majitel&f]&f'
  Inheritance:
  - Hrac
  - VIP
  - ExtraVip
  - buldier
  - Admin
  permissions:
  - '*'


Protože tohle je samozřejmě špatně. Funguje pouze hráč, protože ten jediný je správně napsaný. Tím, že si začal psát vip bez 2 mezer před slovem, tak si uzavřel všechny skupiny.

Správně to je takto
Spoiler: zobrazit

Kód: Vybrat vše

groups:
  Hrac:
    default: true
    build: true
    prefix: '&7[Hráč]&7'
    permissions:
    - modifyworld.*
    - nametag.Hrac
    - AuthMe.register
    - AuthMe.logout
    - AuthMe.unregister
    - AuthMe.changepassword
    - chestshop.buy
    - jobs.command.browse
    - jobs.command.stats
    - jobs.command.join
    - jobs.command.leave
    - essentials.home
    - essentials.sethome
    - essentials.spawn
    - essentials.warp.list
    - essentials.warp
    - essentials.tpa
    - essentials.delhome
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.msg
    - lwc.create.*
    - essentials.pay
    - essentials.tptoggle
    - essentials.list
    - essentials.powertool
    - essentials.build.*
    - essentials.help
    - lwc.unlock
    - lwc.flag.*
    - lwc.remove
    - essentials.signs.use.warp
    - lwc.info
    - lwc.modify
    - essentials.mail
    - essentials.balancetop
    - essentials.balance
    - essentials.buy
    - essentials.signs.use.buy
    - essentials.signs.use.free
  vip:
    default: false
    build: true
    prefix: '&6[VIP]&2'
    inheritance:
    - Hrac
    permissions:
    - essentials.joinfullserver
    - essentials.spawner
    - essentials.warp
    - essentials.warp.list
    - essentials.tpa
    - essentials.enderchest
    - essentials.back
    - essentials.back.ondeath
    - essentials.workbench
    - essentials.feed
    - essentials.heal
    - essentials.ignore
    - essentials.hat
    - essentials.hat
    - essentials.clear
    - essentials.afk
    - essentials.afk.auto
  ExtraVip:
    default: false
    build: true
    prefix: '&6[&4Extra&2VIP&6]&2'
    inheritance:
    - Hrac
    - VIP
    permissions:
    - essentials.joinfullserver
    - essentials.gamemode
    - essentials.repair
    - essentials.spawner.[mob]
    - essentials.god
    - essentials.sell
    - essentials.vanish
    - essentials.fireball
    - essentials.jump
    - essentials.speed
  buldier:
    default: false
    build: true
    prefix: '&9[Buldier]&9'
    permissions:
    - '*'
  helper:
    default: false
    build: true
    prefix: '&3[Helper]&3'
    permissions:
    - '*'
  Admin:
    default: false
    build: true
    prefix: '&4[Admin]&4'
    permissions:
    - '*'
  Majitel:
    default: false
    build: true
    prefix: '&f[Majitel&f]&f'
    permissions:
    - '*'
users:
  PsyKo_PvP:
    group:
    - vip
  Kts_:
    group:
    - vip


A odnaučte se všichni psát inheritence, když tam nakonec dáte - '*' :)

Erik :D
Příspěvky: 64
Registrován: 24 bře 2014, 15:59
Reputation: 0

Re: permissni

#29 Příspěvekod Erik :D » 03 dub 2014, 11:11

Veľmi moc ti dakujem ide to :D
Keby som mohol dám ti karmu+, ale nemôžem :( prepáč


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 32 hostů