I can never seem to get permissions working in the chat and not sure if there working.

Discussion in 'Bukkit Help' started by idealgamer, Nov 18, 2011.

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

    idealgamer

    I cant get my permissions to work in the chat or maybe at all im using PermissionsEx

    This is my code

    groups:
    Guest:
    default: true
    permissions:
    -
    prefix: [Guest]
    builder: false


    Member:
    default: true
    permissions:
    -
    prefix: [Member]
    builder: true

    Mod:
    default: true
    permissions:
    -
    prefix: [Mod]
    builder: true

    Admin:
    default: true
    permissions:
    -
    prefix: [Admin]
    builder: true

    Owner:
    default: true
    permissions:
    -
    prefix: [Owner]
    builder: true




    Thanks brad

    Please help i really need your help please

    and also where can i find all the nodes for bukkit.

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

    shadrxninga

    Goto http://pastebin.com and paste your config there, then give us the url. We need to see the whitespace/line spacing to help you. As YAML doesn't like the use of the tab key.
     
  3. Offline

    idealgamer

  4. Offline

    shadrxninga

    Sorry, I meant your permissions.yml :)
     
  5. Offline

    idealgamer

  6. Offline

    shadrxninga

    Oh, I better get to bed soon...

    Your file is formatted correctly, you need to install a chat plugin such as mChat or HeroChat for that value in the permissions.yml to work property. There is also a simple chat plugin that was included in the PermissionsEX zip folder..

    What other plugins are you running on your server? They may be conflicting.
    Also, try surrounding the prefix with ' - so for example:
    Code:
    prefix: '[Guest]'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  7. Offline

    idealgamer

    Ok and there the only plugins i have
     
  8. Offline

    c0mp

    It may be tripping up on the extra linebreaks you have in your config file, or the fact that all of your groups are currently set to default: true. See if this works any better.
     
  9. Offline

    idealgamer

    and where can i find all the bukkit nodes
     
  10. Offline

    shadrxninga

    Time to go to bed. I'm too tired and not looking at things straight :p

    I assue you mean the default command nodes.

    http://wiki.bukkit.org/CraftBukkit_commands

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

    idealgamer

    thanks for the help and c0mp i have put in the code you said and still does the same do you think i should unistall chatmanger and replace it with iChat
     
  12. Offline

    c0mp

    I think shadrxninga's fix was more correct than mine was, the PermissionsEx wiki does show the prefix to have single quotes around it. Try this one.
     
  13. Offline

    idealgamer

    Still no change i will try and removeing ChatManger and putting in iChat
     
  14. Offline

    shadrxninga

    iChat is unsupported. You may try it, but in the future it may not work. I suggest you have a go with this, a fork of iChat for PermissionsEX.
     
  15. Offline

    idealgamer

    still no change in that either now chat manager will not install

    This is my server log it seems to look like some error but not sure

    Code:
    19.11 04:28:54 [Server] Startup Done (0.067s)! For help, type "help" or "?"
    19.11 04:28:54 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    19.11 04:28:54 [Server] INFO [Modifyworld] Modifyworld disabled!
    19.11 04:28:54 [Server] SEVERE [Modifyworld] PermissionsEx not found, disabling
    19.11 04:28:54 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    19.11 04:28:54 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    19.11 04:28:54 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    19.11 04:28:54 [Server] INFO     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    19.11 04:28:54 [Server] INFO     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    19.11 04:28:54 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    19.11 04:28:54 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    19.11 04:28:54 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    19.11 04:28:54 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    19.11 04:28:54 [Server] INFO     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
    19.11 04:28:54 [Server] INFO     at com.Sleelin.PExChat.PExChat.onEnable(PExChat.java:85)
    19.11 04:28:54 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:156)
    19.11 04:28:54 [Server] INFO java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    19.11 04:28:54 [Server] SEVERE Error occurred while enabling PExChat v3.0.2 (Is it up to date?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    19.11 04:28:54 [Server] INFO [PermissionsCompat] Compatibility layer enabled.
    19.11 04:28:54 [Server] INFO [PermissionsEx] v1.16 enabled
    19.11 04:28:54 [Server] INFO [PermissionsEx] Superperms support enabled.
    19.11 04:28:54 [Server] INFO Preparing start region for level 0 (Seed: 1929600242668848225)
    19.11 04:28:53 [Server] INFO Default game type: 0
    19.11 04:28:53 [Server] INFO Preparing level "world"
    19.11 04:28:53 [Server] WARNING [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    19.11 04:28:53 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    19.11 04:28:53 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    19.11 04:28:53 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    19.11 04:28:53 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    19.11 04:28:53 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
    19.11 04:28:53 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:74)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:53)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:104)
    19.11 04:28:53 [Server] INFO     at ru.tehkode.permissions.config.Configuration.load(Configuration.java:64)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    19.11 04:28:53 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    19.11 04:28:53 [Server] INFO             ^
    19.11 04:28:53 [Server] INFO             - bukkit.command.unban.player
    19.11 04:28:53 [Server] INFO  in "<reader>", line 38, column 9:
    19.11 04:28:53 [Server] INFO expected <block end>, but found BlockEntry
    19.11 04:28:53 [Server] INFO             ^
    19.11 04:28:53 [Server] INFO             default: false
    19.11 04:28:53 [Server] INFO  in "<reader>", line 34, column 9:
    19.11 04:28:53 [Server] INFO while parsing a block mapping
    19.11 04:28:53 [Server] SEVERE while parsing a block mapping; expected <block end>, but found BlockEntry initializing PermissionsEx v1.16 (Is it up to date?)
    19.11 04:28:53 [Server] INFO [PermissionsEx] Initializing file backend
    19.11 04:28:53 [Server] INFO [PermissionsCompat] Compatibility Layer Initalized!
    19.11 04:28:53 [Server] INFO [PermissionsEx] p2compat backend registered!
    19.11 04:28:53 [Server] INFO [PermissionsEx] PermissionEx plugin initialized.
    19.11 04:28:53 [Server] INFO [PermissionsEx] file backend registered!
    19.11 04:28:53 [Server] INFO [PermissionsEx] sql backend registered!
    19.11 04:28:53 [Server] INFO This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    19.11 04:28:53 [Server] INFO Starting Minecraft server on 66.85.169.226:2612
    19.11 04:28:53 [Server] INFO Loading properties
    19.11 04:28:53 [Server] INFO Starting minecraft server version Beta 1.8.1
    19.11 04:28:53 [Server] INFO 17 achievements
    19.11 04:28:53 [Server] INFO 161 recipes
    19.11 04:28:53 [Multicraft] Loaded config for "Mod: Craftbukkit 1.8.1 Version #1317"
    19.11 04:28:53 [Multicraft] Starting Minecraft!
    19.11 04:28:53 [Multicraft] Loading Minecraft instance properties
    19.11 04:28:53 [Multicraft] Received start command
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  16. Offline

    shadrxninga

    Paste your permissions.yml to pastebin again. You've done something wrong there when adding the default craftbukkit permissions. If something is wrong in that YAML file, PermissoinsEX will not load properly.
     
  17. Offline

    idealgamer

  18. Offline

    shadrxninga

    Are you sure, the error states that you've got this:
    - bukkit.command.unban.player
    In some file on your server, put the file that has that in it to pastebin.
     
  19. Offline

    idealgamer

    That is my old one when i added all the nodes

    http://pastebin.com/hHb65fja

    i forgot i put that one in istead so this one is the one which is on

    and if you know of any quicker ways for the nodes please tell me
     
  20. Offline

    shadrxninga

    Give this a go, it should fix those errors. Then try to see if the chat prefixes work.
     
  21. Offline

    idealgamer

    Thanks it works fine and how will i do it so Owner and Admin get all commands is it just a * and also how do i add a user to the chat.

    and i just remebered when i say hello it comes up like this
    [[Guest]Guest] ShortUmpaLumpa: test

    It says guest 2 times

    Also 1 more thing if i use command book will it overwrite all my members a mod permissions as i will only need some functions in command book and just use them for admin
     
Thread Status:
Not open for further replies.

Share This Page