[SOLVED] Permissions.jar[602][Error]

Discussion in 'Bukkit Help' started by HadrienM, Mar 30, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    HadrienM

    Hello, when i start my server, this error happens :

    Code:
    16:08:50 [GRAVE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:102)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:98)
            ... 8 more
    Caused by: unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 7040
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:68)
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
            at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:89)
            at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:79)
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.ja
    va:974)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:237)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    82)
            ... 13 more
    Have i done something wrong ???

    I'm not sure, here's my [WorldName].yml file :
    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:
        Invite:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'signColours.*'
        Joueurs:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.regeneration'
                - 'signColours.*'
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.large'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.quickloot'
        Moderateurs:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.regeneration'
                - 'signColours.*'
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.large'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.quickloot'
                - 'bedrockcontrol.destroyblock'
                - 'SimpleAlias.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'bedrockcontrol.placeblock'
                - 'bedrockcontrol.destroyblock'
                - 'bedrockcontrol.getdrop'
                - 'bedrockcontrol.openvoid'
                - 'craftbukkituptodate.broadcast'
                - 'craftbukkituptodate.download'
                - 'craftbukkituptodate.changelog'
                - 'craftbukkituptodate.plugin'
                - 'lockette.admin.reload'
                - 'lockette.admin.snoop'
                - 'lockette.admin.break'
                - 'mcmmo.skills.*'
                - 'mcmmo.tools.mmoedit'
                - 'mcmmo.tools.mcgod'
                - 'mcmmo.tools.mcrefresh'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.commands.setmyspawnother'
                - 'mcmmo.chat.adminchat'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.regeneration'
                - 'plugman.admin'
                - 'signColours.*'
                - 'SimpleAlias.*'
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.large'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.quickloot'
    
    
    ##
    # 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:
        XXX:
            group: Admins
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
        XXX:
            group: Joueurs
            permissions:
    
    #    - 'bedrockcontrol.placeblock' donne la perm de placer un bedrock
    #    - 'bedrockcontrol.destroyblock' donne la perm de détruire un bedrock
    #    - 'bedrockcontrol.getdrop' donne la perm de drop le bedrock
    #    - 'bedrockcontrol.openvoid' donne la perm de opening voids
    ##
    #    * craftbukkituptodate.broadcast - un messafge est transmis si un nouv build est dispo
    #    * craftbukkituptodate.download - autorise de dl un update
    #    * craftbukkituptodate.changelog - autorise a voir le changelog
    #    * craftbukkituptodate.plugin - autorise l'accès aux cmd plugins
    ##
    #    * lockette.admin.break - Autorise a casser les protections.
    #    * lockette.admin.snoop - Autorise a fouiller les coffres protégé.
    #    * lockette.admin.reload - Autorise à recharger les pancartes protégées.
    ##
    # mcmmo.skills.* - Autorise à acceder aux niveaux du rpg.
    # 'mcmmo.tools.mmoedit' - Autoriser a modifier mcmmo avec /mmoedit
    # 'mcmmo.tools.mcgod' - Autorise l'accès à /godmode
    ##
    # - 'mcmmo.tools.mcrefresh' - autorise a rafraichir les stats avec /mcrefresh <nomjoueur>
    # - 'mcmmo.item.chimaerawing' - Autorise à utiliser l'aile de chimère
    # - 'mcmmo.ability.woodcutting' - Allow Ability use
    # - 'mcmmo.ability.mining' - Allow Ability use
    # - 'mcmmo.ability.axes' - Allow Ability use
    # - 'mcmmo.ability.excavation' - Allow Ability use
    # - 'mcmmo.ability.swords' - Allow Ability use
    # - 'mcmmo.ability.unarmed' - Allow Ability use
    ##
    # 'mcmmo.commands.ability' - laisser le joueur regarder avec /mcability
    # 'mcmmo.commands.ptp' - laisser le joueur utiliser la teleportation a la fete /ptp
    # 'mcmmo.commands.party' - Autoriser a faire /party
    # 'mcmmo.commands.whois' - Autoriser a faire /whois
    # 'mcmmo.commands.myspawn' - Autoriser à utiliser /myspawn
    # 'mcmmo.commands.setmyspawn' - Autoriser à utiliser /setmyspawn
    # - 'mcmmo.commands.setmyspawnother' - Autoriser à utiliser /setmyspawn <nomjoueur>
    ##
    # 'mcmmo.chat.adminchat' - Autoriser l'accès au chat Admin
    ##
    # 'mcmmo.chat.partychat' - Autoriser l'accès au party chat
    ##
    # 'mcmmo.regeneration' - Power level activé
    ##
    # 'mcmmo.motd' - Afficher le message de bienvenue
    ##
    #    * 'plugman.list' - Autoriser l'utilisation de /plugman "list" et "info"
    #    * 'plugman.describe' - Autoriser l'utilisation de /plugman "usage" et "describe"
    #    * 'plugman.admin' - Autoriser l'utilisation de toutes les cmd.
    ##
    # - 'signColours.*' - Autoriser à utiliser toutes les couleurs sur les panneaux
    ##
    # 'SimpleAlias.*' - Autoriser à utiliser l'alias
    ##
    # tombstone.use - (Default) Autoriser à utiliser les tombes
    # tombstone.freechest - Autoriser à utiliser les coffres comme tombes
    # tombstone.large - Autoriser à utiliser le coffre large si l'inventaire dépasse un coffre
    # tombstone.lwc - (Default) Protéger le coffre si LWC installé
    # tombstone.sign - (Default) Afficher une pancarte sur le coffre
    # tombstone.freesign - Autorister à utiliser les pancartes
    # tombstone.quickloot - (Default) Autoriser à récup en cliquant sur le panneau du coffre
    ##
    
    So, i've hidden players myself, that's not a mistake.

    Anyone help ? I'm french, be gentle with my English :)
     
  2. Offline

    mughi

    there is an error in your yml file

    use YAML Checker to fix it
     
  3. Offline

    HadrienM

    Sorry, but this tool converts only to python etc... How shouls i use it ?

    I know i'm a noob with this plugin but hum... i've search myself during 2 days with this problem, now i'm totally lost...
     
  4. Offline

    TnT

    Are you sure permissions has been updated to 602?
     
  5. Offline

    mughi

    paste your yml into the left side of the window... click convert.
    if you get an error on the right side, fix the referenced line/column
    if no errors, your yml is now good. copy it back to your file
     
  6. Offline

    HadrienM

    Does not seen my yml file contains errors, if you can just verify, that will be gentle. So, if the file is correct, what is the problem ?

    And yes, Plugin has been updated, and most of them broke after update, so i've downgraded. But this plugin says that on 2.5.5, 2.5.4, and on 2.5.3 it launches and gives some errors during one minute, then crashes the server. I don't understand :/
     
  7. Offline

    HadrienM

    Anyone about helping me ?

    Solved. Mistaken at one #.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  8. Offline

    mughi

    updated title to solved
     
Thread Status:
Not open for further replies.

Share This Page