Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Rekomendowane odpowiedzi

Opublikowano

Witam,

Mam problem z konfiguracją permissions...

Stosowałem się do tej instrukcji:

To jest ukryta treść, proszę

 

Niestety nic to mi nie pomogło. Nie wiem co źle robie ale czuje że to mały błąd i że ktoś kto to robił go znajdzie i pomoże mi... Większość rzeczy działa, ale komenda /money np. nie... Co mam zrobić i w której linijce napisać kolor danej grupy... Czy może jeszcze ktoś pokazać jak stworzyć daną grupę np. Policjantów...

 

TAK TO WYGLĄDA:

# System is no longer used, but may become used in the future

# Copies is for multiple-world support

# Put the name of the world you wish for it to be a clone of, otherwise leave it empty.

# If this file is for your default world (the one in server.properties) then you must

# leave copies blank.

# Example: copies: Derp - This will clone the permissions of the world Derp

#

# Make sure to rename this file to the name of the world that is in sever.properties under

# level-name. So if it is level-name: world then this should be world.yml and in the

# plugins/Permissions directory (ie. plugins/Permissions/world.yml)

#

# NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid

# doing this is to use Notepad++ and replace the tab with 4 spaces.

plugin:

permissions:

system: default

copies:

 

##

# AntiBuild is included with this. To disable a group from being able to build then

# set the build: flag to false (build: false). If you want a group to be able to build

# then set it to true.

##

# Groups can contain inheritance.

# To make a group inherit the permissions from another

# group simply place the groups name in the "inheritance:" like so:

#

# Example:

# inheritance:

# - Default

##

# All permissions including the asterisks must be placed in single quotes.

# like so:

#

# - 'foo.bar'

#

# Otherwise errors will happen!

##

# Globalized Permission settings:

#

# If a permission contains periods (.) you can denote a globalized parameter:

#

# - 'foo.*'

#

# This will allow you to use all general commands.

#

##

# Single Asterisk denotes all commands:

#

# - '*'

# If you give a group this permissions, do not have the group inherit any permissions

# from other groups. Any users assigned to this group should NOT be given any additional

# permissions either.

##

# To exempt a node use the - prefix like so:

# - '-foo.bar'

##

# prefix: and suffix: do not do anything on their own. You need another outside plugin

# such as iChat or HeroChat in order for these to do anything.

groups:

Default:

default: true

info:

prefix: ''

suffix: ''

build: false

inheritance:

permissions:

- 'foo.bar'

- 'ChestShop.shop.create'

- 'ChestShop.shop.create.<id>'

- 'ChestShop.shop.exclude.<id>'

- 'ChestShop.shop.buy'

- 'ChestShop.shop.sell'

- 'ChestShop.command.iteminfo'

- 'Essentials.home'

- 'Essentials.sethome'

- 'iConomy.money'

- 'LWC.cprivate'

- 'LWC.cremove'

- 'LWC.cinfo'

- 'commandbook.money'

Moderator:

default: false

info:

prefix: ''

suffix: ''

build: true

inheritance:

- Default

permissions:

- 'bar.foo'

Admins:

default: false

info:

prefix: ''

suffix: ''

build: true

inheritance:

permissions:

- '*'

 

##

# Users denote which users are included in which group.

# TheNo1Yeti is in the Admin group

# Herpina is a member of the Moderator group but also has access

# to the herp.derp permissions

# Derpina is a member of the admin group but does not have access

# to the derp.derp permission node

# Users can also have a prefix and suffix as seen with Herpina

##

users:

:

group: Admins

permissions:

Herpina:

group: Moderator

info:

prefix: 'Moo'

suffix: 'Cow'

permissions:

- 'herp.derp'

Derpina:

group: Admins

permissions:

- '-derp.derp'

 

A może wie ktoś jak zrobić, żeby policjant mógł np. mieć przywilej ,,zabijać"???

Opublikowano

Plugin premmisions dodaje grupy, przy których można przydzielić, która część grupy może posiadać uprawnienia danego pluginu. Aby mieć /money musisz wgrać jeszcze jeden plugin, odpowiadający

za to ;].

1317460154-U259168.png

 

Achievementy:

mca.png

1317460445-U259168.png

Opublikowano

Ale nie mam pluginu ''iConomy.money'' Mam plugin iConomy.jar a komenda do niego to iConomy.money i iConomy.money.give.[player]. Jak to skonfigurowac w Permissions?

Opublikowano

Niestety nie działa.

 

Permissions teraz wygląda tak:

 

# System is no longer used, but may become used in the future

# Copies is for multiple-world support

# Put the name of the world you wish for it to be a clone of, otherwise leave it empty.

# If this file is for your default world (the one in server.properties) then you must

# leave copies blank.

# Example: copies: Derp - This will clone the permissions of the world Derp

#

# Make sure to rename this file to the name of the world that is in sever.properties under

# level-name. So if it is level-name: world then this should be world.yml and in the

# plugins/Permissions directory (ie. plugins/Permissions/world.yml)

#

# NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid

# doing this is to use Notepad++ and replace the tab with 4 spaces.

plugin:

permissions:

system: default

copies:

 

##

# AntiBuild is included with this. To disable a group from being able to build then

# set the build: flag to false (build: false). If you want a group to be able to build

# then set it to true.

##

# Groups can contain inheritance.

# To make a group inherit the permissions from another

# group simply place the groups name in the "inheritance:" like so:

#

# Example:

# inheritance:

# - Default

##

# All permissions including the asterisks must be placed in single quotes.

# like so:

#

# - 'foo.bar'

#

# Otherwise errors will happen!

##

# Globalized Permission settings:

#

# If a permission contains periods (.) you can denote a globalized parameter:

#

# - 'foo.*'

#

# This will allow you to use all general commands.

#

##

# Single Asterisk denotes all commands:

#

# - '*'

# If you give a group this permissions, do not have the group inherit any permissions

# from other groups. Any users assigned to this group should NOT be given any additional

# permissions either.

##

# To exempt a node use the - prefix like so:

# - '-foo.bar'

##

# prefix: and suffix: do not do anything on their own. You need another outside plugin

# such as iChat or HeroChat in order for these to do anything.

groups:

Default:

default: true

info:

prefix: ''

suffix: ''

build: false

inheritance:

permissions:

- 'foo.bar'

- 'ChestShop.shop.create'

- 'ChestShop.shop.create.<id>'

- 'ChestShop.shop.exclude.<id>'

- 'ChestShop.shop.buy'

- 'ChestShop.shop.sell'

- 'ChestShop.command.iteminfo'

- 'Essentials.home'

- 'Essentials.sethome'

- 'iConomy.payment'

- 'iConomy.access'

- 'iConomy.rank'

- 'iConomy.list'

- 'LWC.cprivate'

- 'LWC.cremove'

- 'LWC.cinfo'

Moderator:

default: false

info:

prefix: ''

suffix: ''

build: true

inheritance:

- Default

permissions:

- 'bar.foo'

Admins:

default: false

info:

prefix: ''

suffix: ''

build: true

inheritance:

permissions:

- '*'

 

##

# Users denote which users are included in which group.

# TheNo1Yeti is in the Admin group

# Herpina is a member of the Moderator group but also has access

# to the herp.derp permissions

# Derpina is a member of the admin group but does not have access

# to the derp.derp permission node

# Users can also have a prefix and suffix as seen with Herpina

##

users:

:

group: Admins

permissions:

Herpina:

group: Moderator

info:

prefix: 'Moo'

suffix: 'Cow'

permissions:

- 'herp.derp'

Derpina:

group: Admins

permissions:

- '-derp.derp'

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...