PermBukkit is annoying me again

Discussion in 'Bukkit Help' started by DeltaBoss, Dec 17, 2011.

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

    DeltaBoss

    Hey again, my server console gives me this error:

    12:40:17 [SCHWERWIEGEND] Error occurred while enabling PermissionsBukkit v1.2 (I
    s it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 1829
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:98)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:145)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.ja
    va:967)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:235)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17
    9)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produ
    ce(ParserImpl.java:198)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:11
    8)
    at com.platymuus.bukkit.permissions.BlockListener.<init>(BlockListener.j
    ava:15)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.onEnable(Permissio
    nsPlugin.java:39)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:968)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    As far as I know 1.2 is the recommended build and I dont think that I have any mistakes in my yaml files....
    I noticed bukkit-permissions-0.1.0-SNAPSHOT was still dumped on my desktop, so I put it back into the plugin folder. Then it gives me all these errors:

    12:49:12 [WARNUNG] Plugin PermissionsBukkit v1.2 tried to register permission 'p
    ermissions.player.unsetperm' but it's already registered
    java.lang.IllegalArgumentException: The permission permissions.player.unsetperm
    is already defined!
    at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManag
    er.java:424)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    What to do? Help \o/
     
  2. Offline

    zipron

  3. Offline

    DeltaBoss

    I still get the same errors.... Anybody else have a suggestion?
     
  4. Offline

    CODsniperkid

    Delta show me the PermBukkit file please.
     
  5. Offline

    DeltaBoss

    Hmm....I just downgraded to PermissionsBukkit 1.1, put the SNAPSHOT out of my plugin folder and it appears to work.....

    COD, which file do you mean?

    Ah great, after my client joined:

    14:27:03 [INFO] DeltaBoss [/5.40.154.61:56957] logged in with entity id 346 at (
    [world] 302.5661701052073, 70.0, 59.41109720992295)
    14:27:03 [SCHWERWIEGEND] Could not pass event PLAYER_JOIN to PermissionsBukkit
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 1829
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:98)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:145)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.ja
    va:967)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:235)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17
    9)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produ
    ce(ParserImpl.java:198)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:11
    8)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(Permission
    sPlugin.java:166)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(Permission
    sPlugin.java:163)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.getNode(Permission
    sPlugin.java:154)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.calculatePlayerPer
    missions(PermissionsPlugin.java:202)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.calculateAttachmen
    t(PermissionsPlugin.java:190)
    at com.platymuus.bukkit.permissions.PermissionsPlugin.registerPlayer(Per
    missionsPlugin.java:133)
    at com.platymuus.bukkit.permissions.PlayerListener.onPlayerJoin(PlayerLi
    stener.java:19)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:265)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:129)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
    at net.minecraft.server.Packet1Login.a(SourceFile:59)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    Best idea I had: reconnect.
    After my 2nd connection it gave no errors in the console. Too bad my crafting table disappeared when I placed it and it appeared that I had somehow lost all my build-permissions, even as op.
    Somehow a common problem to me, that I can only build and place stuff for a certain amount of time.

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

    CODsniperkid

    Well I am not familiar with PermBukkit, but I am guessing there is something like a config.yml like GroupManager?
     
  7. Offline

    DeltaBoss

    With PermBukkit I mean PermissionsBukkit^^

    Heres the config:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.

    users:

    DeltaBoss:

    permissions:

    permissions.*: true

    groups:

    - admin

    yassi:

    groups:

    - admin

    Mööp<3
    groups:
    - admin
    groups:

    default:

    permissions:

    default.user: true
    basic:

    permissions:

    basic.user: true

    trusted:

    permissions:

    trusted.user: true

    inheritance:

    - basic

    bad:

    permissions:

    bad.user: true

    inheritance:

    - default

    vip:

    permissions:

    vip.user: true

    inheritance:

    - basic

    - trusted
    mod:

    permissions:

    mod.user: true

    inheritance:

    - basic

    - trusted
    - vip

    admin:

    permissions:

    admin.user: true

    inheritance:
    - basic

    - trusted

    - vip

    - mod

    example:

    permissions:

    basic.user: true

    worlds:

    world:

    basic.user: true

    inheritance:

    - basic
    messages:

    build: '&cYou are not permited to build, dig or interact.'

    in the yaml its correctly spaced, dont worry about that;


    EDIT: woops, missed a : at one part.... looking if it fixes the whole problem now...

    nope, still get the error when joining and lose my building permissions after about half a minute

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

    zipron

Thread Status:
Not open for further replies.

Share This Page