Permissions (once again!)

  • Auteur de la discussion Auteur de la discussion NimS
  • Date de début Date de début

NimS

Aventurier
26 Août 2011
15
0
0
Bonjour,

J'ai trouvé des éléments sympa à ajouter à ma config de Permissions grâce aux tutos (ici ou d'ailleurs), mais je n'arrive pas à expliquer (et donc à résoudre) mon problème.

En effet, j'ai Permissions d'installé (avec un group et un user en test). Mais rien n'est pris en compte, c'est le fichier config.yml dans le dossier Essentials qui est pris en compte :

Code:
# Restricted commands will only be available to ops.
# These will have NO EFFECT if you have Permissions installed!
# These are here only if you want something simpler than Permissions.
restricted-commands:
  - bigtree
  - item
  - plugin
  - top
  - tphere
  - tree
  - kick
  - ban
  - give
  - god
  - antioch
  - j
  - jump

Pourtant il est bien stipulé : These will have NO EFFECT if you have Permissions installed!

J'ai même tout mis en commentaire pour voir, là c'est bien simple, n'importe qui à accès aux commandes sur le serveurs!
Quelqu'un à une idée ?

NB : j'ai plusieurs erreurs lors du lancement du serveur sans doute lié à Permissions... mais ???

NimS :mobsheep:
 
Skyin a dit:
Tu peux montrer le fichier des permissions et le server.log ?

il y a 36 milles fichiers de permissions, je m'y perds un peu, tu peux être plus précis ? ^^

Pour se qui est du server.log, tu veux voir les erreurs au lancement c'est bien çà? (car je viens de voir qu'il est juste énorme, alors si c'est bien se que tu veux, je vais le supprimer et relancer le serveur.)
 
Skyin a dit:
Tu as quel plugin de permission, et oui je veux voir les erreurs :D

Code:
2011-08-26 12:13:42 [INFO] Starting minecraft server version Beta 1.7.3
2011-08-26 12:13:42 [INFO] Loading properties
2011-08-26 12:13:42 [INFO] Starting Minecraft server on *:25565
2011-08-26 12:13:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
2011-08-26 12:13:43 [SEVERE] while parsing a block mapping
 in "<reader>", line 2, column 4:
       Visiteur:
       ^
expected <block end>, but found BlockSequenceStart
 in "<reader>", line 10, column 5:
        - 'essentials.list'
        ^

2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
2011-08-26 12:13:43 [SEVERE]    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
2011-08-26 12:13:43 [SEVERE]    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
2011-08-26 12:13:43 [SEVERE]    at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
2011-08-26 12:13:43 [SEVERE]    at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
2011-08-26 12:13:43 [SEVERE]    at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
2011-08-26 12:13:43 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:146)
2011-08-26 12:13:43 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
2011-08-26 12:13:43 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
2011-08-26 12:13:43 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
2011-08-26 12:13:43 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
2011-08-26 12:13:43 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
2011-08-26 12:13:43 [SEVERE] [Permissions] Unable to load permission data.
2011-08-26 12:13:43 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
2011-08-26 12:13:43 [INFO] [Permissions] (Yeti) was initialized.
2011-08-26 12:13:43 [INFO] [Permissions] (Yeti) disabled successfully.
2011-08-26 12:13:43 [INFO] Preparing level "world"
2011-08-26 12:13:44 [INFO] Preparing start region for level 0 (Seed: 363764338305823281)
2011-08-26 12:13:45 [INFO] Preparing spawn area: 56%
2011-08-26 12:13:45 [INFO] Preparing start region for level 1 (Seed: -2733470198924280038)
2011-08-26 12:13:46 [INFO] Preparing spawn area: 52%
2011-08-26 12:13:46 [INFO] [BackToBody] v2.4 has been enabled.
2011-08-26 12:13:46 [SEVERE] Error occurred while enabling SpawnMob v1.9.4 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.jordanneil23.SpawnMob.SpawnMob.setupPermissions(SpawnMob.java:128)
        at com.jordanneil23.SpawnMob.SpawnMob.onEnable(SpawnMob.java:62)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
        ... 12 more
2011-08-26 12:13:46 [INFO] Loading ColoredSigns
2011-08-26 12:13:46 [INFO] PickBoat version 0.3.5 is enabled!
2011-08-26 12:13:46 [INFO] AntiCreeper v2.0 - by Rothens
2011-08-26 12:13:46 [INFO] Anticreeper v2.0 - STARTED
2011-08-26 12:13:46 [INFO] [InstaBreak] Starting! (version 1.9.1 by R3ality)
2011-08-26 12:13:46 [SEVERE] Error occurred while enabling InstaBreak v1.9.1 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.r3ality.mail.InstaBreak.InstaBreak.setupPermissions(InstaBreak.java:53)
        at com.r3ality.mail.InstaBreak.InstaBreak.onEnable(InstaBreak.java:34)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
        ... 12 more
2011-08-26 12:13:47 [WARNING] Version mismatch! Please update EssentialsSpawn to the same version.
2011-08-26 12:13:47 [INFO] Loaded Essentials build 2.1.17 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
2011-08-26 12:13:47 [INFO] [HeroicDeath] 1.8.1.156 enabled.
2011-08-26 12:13:47 [WARNING] Version mismatch! Please update all Essentials jars to the same version.
2011-08-26 12:13:47 [INFO] Loaded EssentialsSpawn build 2.1.32 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
2011-08-26 12:13:47 [INFO] Done (0,343s)! For help, type "help" or "?"

voilà pour le log... pour le plugins, j'ai celui ci http://forums.bukkit.org/threads/in...sions-3-1-6-the-plugin-of-tomorrow-935.18430/
 
Je te conseille un autre plugin de permissions : installe celui là : http://dev.bukkit.org/media/files/538/85/PermissionsBukkit-1.2.jar et celui-là : http://dev.bukkit.org/media/files/538/89/SuperpermsBridge-1.2.jar

Ensuite, utilise Notepad++ pour éditer les fichiers de config PermissionsBukkit, avant de modifier une permissions, tu devras aller dans Paramétrage > Préférences > Menu Langage/Tabulations > dans Tabulation à droite de la fenêtre, tu cherches yaml, tu doubles cliques dessus et tu fermes.
Après pour ajouter des permissions, c'est pas le même système, il faut que tu mettes false ou true.
True ajoute la permissions et false rejette la permission.

Pour utiliser toutes les permissions d'un plugin il faut mettre "superpermbridge.nomduplugin".

Si tu veux plus d'infos n'hésite pas à me demander.
 
Skyin a dit:
Je te conseille un autre plugin de permissions : installe celui là : http://dev.bukkit.org/media/files/538/85/PermissionsBukkit-1.2.jar et celui-là : http://dev.bukkit.org/media/files/538/89/SuperpermsBridge-1.2.jar

tu peux m'expliquer à quoi sert superpermsbrdige? car une fois installé, pas de dossier...