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

[Problem] Permissions nie działa poprawnie choć sprawdzałem je wiele razy.


Rekomendowane odpowiedzi

Opublikowano

Witam otóż jak w temacie od kilku godzin męczę się z permissions i nie mogę znaleźć żadnego błędu. Proszę o pomoc.

 

 

plugin:
permissions:
	system: default
	copies:
groups:
Gracz:
	default: true
	info:
		profix: '&f'
		suffix: ''
		build: true
	inheritance:
	permissions:
	- creativegates.use
	- lwc.create
VIP:
	default: false
	info:
		profix: '&a'
		suffix: ''
		build: true
	inheritance: VIP
	permissions:
	- creativegates.use
	- lwc.create
	- commandbook.home.set
	- commandbook.home.teleport
	- commandbook.spawn
	- commandbook.warp.teleport
	- commandbook.warp.teleport.other
	- commandbook.call
Admin:
	default: false
	info:
		profix: '&2'
		suffix: ''
		build: true
	inheritance:
	permissions:
	- creativegates.use
	- lwc.create
	- commandbook.home.set
	- commandbook.home.teleport
	- commandbook.warp.teleport
	- commandbook.warp.teleport.other
	- commandbook.call
	- commandbook.spawn
	- commandbook.warp.set
	- commandbook.warp.remove
	- commandbook.warp.remove.other
	- commandbook.warp.list
	- commandbook.mute
	- commandbook.unmute
	- commandbook.barrage
	- commandbook.barrage.other
	- commandbook.shock
	- commandbook.shock.other
	- commandbook.gamemode
	- commandbook.gamemode.change
	- commandbook.gamemode.change.other
	- commandbook.gamemode.check
	- commandbook.gamemode.check.other
	- commandbook.kick
	- commandbook.bans.ban
	- commandbook.bans.unban
HeadAdmin:
	default: false
	info:
		profix: '&6'
		suffix: ''
		build: true
	inheritance:
	permissions:
	- '*'
users:
dudekn:
	group:
	- Admin
	permissions:
	- '*'
DarthSaxim:
	group:
	- HeadAdmin
	permissions:
	- '*'

Opublikowano

Ja chyba widzę bo jak masz NP.

 

 

groups:

Gracz:

default: true

info:

profix: '&f'

suffix: ''

build: true

inheritance:

permissions:

- creativegates.use

- lwc.create

 

To tam masz PROFIX a powinno być PREFIX

19705256.png

Opublikowano

Sprawdź programem NotPad czy nie zrobiłeś spacji tabulatorem (TAB)

8can.png

 

|| CPU: I5-2500 || GPU: MSI Gtx 660 Titan || Ram: DDR3 8GB GoodRam || Zasilacz: Antec 500W || Płyta Główna: Asrock H61M ||

Opublikowano

Masz tu moje permissions to mi działa tylko sobie pozmieniaj grupy:

 

 

# 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:
   Gracz:
       default: true
       info:
           prefix: ''
           suffix: ''
           build: true
       inheritance:
       permissions:
           - 'foo.bar'
           - commandbook.who
           - commandbook.spawn
           - commandbook.msg
           - lwc.protect
           - commandbook.motd
           - commandbook.rules
           - falsebook.blocks.lift
           - falsebook.blocks.bridge
           - falsebook.blocks.gate
           - warpz0r.warp
           - warpz0r.list

   Vip:
       default: false
       info:
           prefix: '&6'
           suffix: ''
           build: true
       inheritance:
           - Gracz
       permissions:
           - 'bar.foo'
           - commandbook.who
           - commandbook.spawn
           - commandbook.msg
           - lwc.protect
           - warpz0r.warp
           - warpz0r.list
           - magiccarpet.mc
           - commandbook.motd
           - commandbook.rules
           - warpz0r.home
           - warpz0r.sethome
           - falsebook.blocks.lift
           - falsebook.blocks.bridge
           - falsebook.blocks.gate
           - MagicCarpet.mc
           - MagicCarpet.ml
           - commandbook.time
           - commandbook.time.lock
           - commandbook.weather
           - commandbook.weather.thunder
           - commandbook.teleport
           - commandbook.warp.set

   Budowniczy:
       default: false
       info:
           prefix: '&0'
           suffix: ''
           build: true
       inheritance:
           - Gracz
           - Vip
       permissions:
           - 'bar.foo'
           - commandbook.who
           - commandbook.kit.list
           - commandbook.kit.tools
           - commandbook.spawn
           - commandbook.msg
           - lwc.protect
           - warpz0r.warp
           - warpz0r.list
           - magiccarpet.mc
           - commandbook.motd
           - commandbook.rules
           - warpz0r.home
           - warpz0r.sethome
           - falsebook.blocks.lift
           - falsebook.blocks.bridge
           - falsebook.blocks.gate
           - MagicCarpet.mc
           - MagicCarpet.ml
           - jobs.join.*
           - jobs.world.*
           - parachute.reloadcmd
           - commandbook.time
           - commandbook.time.lock
           - commandbook.weather
           - commandbook.weather.thunder
           - commandbook.teleport
           - commandbook.kick
           - commandbook.give
           - commandbook.give.other
           - worldguard.*
           - worldedit.*



   Moderator:
       default: false
       info:
           prefix: '&2'
           suffix: ''
           build: true
       inheritance:
           - Vip
       permissions:
           - 'bar.foo'
           - commandbook.who
           - commandbook.kit.list
           - commandbook.kit.kits.start
           - commandbook.spawn
           - commandbook.msg
           - lwc.protect
           - warpz0r.warp
           - warpz0r.list
           - commandbook.teleport
           - worldguard.*
           - worldedit.*
           - commandbook.time
           - commandbook.time.lock
           - commandbook.weather
           - commandbook.weather.thunder
           - commandbook.teleport
           - commandbook.teleport.other
           - commandbook.return
           - commandbook.mute
           - commandbook.slap.*
           - commandbook.rocket.*
           - commandbook.shock.*
           - commandbook.barrage.*
           - commandbook.whois.*
           - commandbook.kick
           - commandbook.bans.*
           - commandbook.rules
           - commandbook.motd
           - warpz0r.sethome
           - warpz0r.home
           - magiccarpet.mc
           - magiccarpet.ml
           - IPGet.*
           - commandbook.give
           - commandbook.give.other
           - jobs.join.*
           - jobs.world.*
           - parachute.reloadcmd
   Admin:
       default: false
       info:
           prefix: '&4'
           suffix: '&1'
           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:
   miazgus:
       group: Admin
       info:
           prefix: '&4Head'
           suffix: ''
       permissions:
         - '*'

   nick:
       group: grupa
       info:
           prefix: ''
           suffix: ''
       permissions:

Opublikowano

I nadal nie działa, wczorajszy cały dzień nad tym permission spędziłem i nic...

 

Edit: przepraszam za kłopot znalazłem pewien błąd i już działa.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...