Bonjour, j'ai un tout dernier problème avec permissions:
Les joueurs du groupe admin possèdent bien toutes les permissions, mais ceux des autres groupes n'ont pas les permissions qui leur sont pourtant affiliée.
Pour mieux me faire comprendre, voici mon fichier permission :
Donc par exemple, le joueur flodor ne peut ni acheter, ni créer de boutiques, ni même placer un sethome, alors que je peux le faire. Pourtant, d'après permissions, son groupe à bien ces autorisations.
Le parser YAML indique que tout est bon, donc je ne vois vraiment plus
Merci d'avance !
Les joueurs du groupe admin possèdent bien toutes les permissions, mais ceux des autres groupes n'ont pas les permissions qui leur sont pourtant affiliée.
Pour mieux me faire comprendre, voici mon fichier permission :
Code:
# 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:
Vagabonds:
default: true
info:
prefix: '&6'
suffix: '&6'
build: false
inheritance:
permissions:
-'essential.spawn'
-'essential.motd'
-'essential.home.set'
-'essential.home'
-'essential.list'
-'essential.msg'
-'iConomyChestShop.shop.use'
-'iConomyChestShop.shop.sell'
-'iConomy.payment'
-'iconomy.access'
-'iconomy.rank'
-'iconomy.list'
Citoyens:
default: true
info:
prefix: '&6'
suffix: '&6'
build: true
inheritance: Vagabonds
permissions:
-'iConomyChestShop.shop.create'
-'lwc.protect'
-'essential.spawn'
-'essential.motd'
-'essential.home.set'
-'essential.home'
-'essential.list'
-'essential.msg'
-'lwc.blockinventory'
Admins:
default: false
info:
prefix: '&c'
suffix: '&c'
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:
Lordgougou:
group: Admins
permissions:
flodor:
group: Citoyens
permissions:
Player:
group: Vagabonds
permissions:
Donc par exemple, le joueur flodor ne peut ni acheter, ni créer de boutiques, ni même placer un sethome, alors que je peux le faire. Pourtant, d'après permissions, son groupe à bien ces autorisations.
Le parser YAML indique que tout est bon, donc je ne vois vraiment plus
Merci d'avance !