[Plugin Help] Citizens Permission node help

Discussion in 'Bukkit Help' started by KayoticSully, Jun 9, 2011.

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

    KayoticSully

    I am trying to set up the plugin Citizens that works with iConomy and Permissions. For some reason none of the permission nodes on the Citizens site are working for me. I can grant full access to the plugin using citizens.* but I can not seem to figure out what the correct nodes are for specific commands. Any help?

    EDIT:
    Also it seems that it is not detecting iConomy at all and is trying to use flowers to spawn an npc rather than a money cost. could be related.
     
  2. Offline

    klutch2013

    try citizens.use.* that will allow all users to use the NPC's in your server.
     
  3. Offline

    KayoticSully

    Okay, what about creation permission?
     
  4. Offline

    klutch2013

    if you want people to be able to make them, then give them this permission,
    citizens.create.*
    if you want them to be able to edit the NPC's give them this;
    citizens.modify.*
     
  5. Offline

    KayoticSully

    those permissions do not seem to be working. but when I try to create an npc using citizens.* (still the only way I can do anything) I get an internal server error, and the log says Unhandled exception executing command 'npc' in plugin Citizens v1.0.8 so maybe there is a bigger problem here
     
  6. Offline

    klutch2013

  7. Offline

    KayoticSully

    I am using whatever version is linked to on the main page as the latest version.

    How do I make sure I download the absolute latest version? is there a github or some other source for the plugin?

    Now on server bootup I am getting an error:
    Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
     
  8. Offline

    klutch2013

    can you take a Screenshot of your plugins folder so i can see what plugins your running and also post what your server log says after you try to use one of the commands.
     
  9. Offline

    KayoticSully

    absolutely one second
     
  10. Offline

    klutch2013

    ok good, also, heres the Github for the guy who makes citizens if it interests you:
    https://github.com/fullwall/
     
  11. Offline

    KayoticSully

    [​IMG]

    Thanks. You have been really helpful so far, I just hope we can figure this out. I really like the idea of this plugin.

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

    klutch2013

    can i see your permissions file too please? and i hope we can figure this out too.
     
  13. Offline

    KayoticSully

    This is the contents of the file located at plugins>Permissions>main>groups.ylm

    groups:
    Spectator:
    permissions:
    - essentials.list
    - essentials.helpop
    - essentials.rules
    - essentials.info
    - essentials.motd
    - essentials.help
    default: true
    info:
    prefix: '&7'
    suffix: '&f'
    build: false
    PreResident:
    permissions:
    - essentials.me
    - essentials.mail
    - essentials.tpaccept
    - essentials.signs.mail.use
    - essentials.msg
    - essentials.tpdeny
    - essentials.afk
    - essentials.depth
    inheritance:
    - Spectator
    default: false
    info:
    prefix: '&e'
    suffix: '&f'
    build: true
    Resident:
    permissions:
    - essentials.seen
    - essentials.protect.alerts
    - essentials.suicide
    - essentials.signs.protection.create
    - essentials.protect
    - essentials.signs.heal.use
    - essentials.signs.mail.create
    - essentials.tpa
    - essentials.signs.balance.use
    - essentials.signs.balance.create
    - essentials.home
    - essentials.compass
    - essentials.sethome
    - essentials.mail.send
    - essentials.nuke
    - essentials.tpahere
    - essentials.signs.mail.use
    - essentials.signs.protection.use
    - essentials.signs.disposal.use
    - essentials.signs.disposal.create
    - iConomy.payment
    - citizens.use.trader
    - citizens.trader.viewmoney
    inheritance:
    - PreResident
    info:
    prefix: '&2'
    suffix: '&f'
    build: true
    default: false
    Sellers:
    permissions:
    - citizens.*
    inheritance:
    - Resident
    info:
    prefix: '&2'
    suffix: '&f'
    build: true
    default: false
    Moderators:
    permissions:
    - essentials.invsee
    - essentials.back
    - essentials.setjail
    - essentials.protect.admin
    - bb.admin.info
    - essentials.setspawn
    - essentials.signs.heal.create
    - essentials.jails
    - essentials.deljail
    - essentials.signs.heal.use
    - essentials.jail.exempt
    - essentials.mute
    - essentials.heal
    - essentials.tempban
    - essentials.kickall
    - essentials.tpohere
    - essentials.tp
    - essentials.top
    - essentials.heal.others
    - essentials.unbanip
    - essentials.setwarp
    - permissions.*
    - essentials.whois
    - essentials.kick
    - essentials.warp
    - essentials.ban
    - essentials.banip
    - essentials.lightning
    - essentials.del
    - essentials.kill
    - essentials.unban
    - essentials.togglejail
    - essentials.thunder
    - essentials.tpo
    - essentials.spawn
    - essentials.god
    - iConomy.admin.account.create
    - iConomy.admin.account.remove
    - iConomy.admin.stats
    - iConomy.admin.set
    - iConomy.admin.grant
    - iConomy.admin.reset
    inheritance:
    - Sellers
    info:
    build: true
    prefix: suffix
    default: false
    Admin:
    permissions:
    - essentials.time
    - essentials.give
    - essentials.ext
    - essentials.backup
    - essentials.reloadall
    - essentials.plugin
    - essentials.broadcast
    - essentials.item
    - essentials.ping
    - essentials.spawnmob
    - essentials.essentials
    - essentials.gc
    - bb.admin.rollback
    - bb.admin.cleanse
    inheritance:
    - Moderators
    info:
    build: true
    prefix: '&6'
    suffix: '&f'
    default: false
    SuperAdmin:
    permissions:
    - '*'
    inheritance:
    info:
    build: true
    default: false

    This is the stack trace for the error when I attempt to create an npc:
    org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.0.8
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:219)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
    at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
    at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:68)
    at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:113)
    at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnNPC(BasicNPCHandler.java:32)
    at com.fullwall.Citizens.CommandExecutors.BasicExecutor.createNPC(BasicExecutor.java:536)
    at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:53)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

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

    klutch2013

    Put them in the code tag please so i can see all of the spaces.
     
  15. Offline

    KayoticSully

    Sorry about that, I've been going a bit crazy trying to figure this out.
    The groups.yml
    Code:
    groups:
        Spectator:
            permissions:
            - essentials.list
            - essentials.helpop
            - essentials.rules
            - essentials.info
            - essentials.motd
            - essentials.help
            default: true
            info:
                prefix: '&7'
                suffix: '&f'
                build: false
        PreResident:
            permissions:
            - essentials.me
            - essentials.mail
            - essentials.tpaccept
            - essentials.signs.mail.use
            - essentials.msg
            - essentials.tpdeny
            - essentials.afk
            - essentials.depth
            inheritance:
            - Spectator
            default: false
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
        Resident:
            permissions:
            - essentials.seen
            - essentials.protect.alerts
            - essentials.suicide
            - essentials.signs.protection.create
            - essentials.protect
            - essentials.signs.heal.use
            - essentials.signs.mail.create
            - essentials.tpa
            - essentials.signs.balance.use
            - essentials.signs.balance.create
            - essentials.home
            - essentials.compass
            - essentials.sethome
            - essentials.mail.send
            - essentials.nuke
            - essentials.tpahere
            - essentials.signs.mail.use
            - essentials.signs.protection.use
            - essentials.signs.disposal.use
            - essentials.signs.disposal.create
            - iConomy.payment
            - citizens.use.trader
            - citizens.trader.viewmoney
            inheritance:
            - PreResident
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            default: false
        Sellers:
            permissions:
            - citizens.*
            inheritance:
            - Resident
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            default: false
        Moderators:
            permissions:
            - essentials.invsee
            - essentials.back
            - essentials.setjail
            - essentials.protect.admin
            - bb.admin.info
            - essentials.setspawn
            - essentials.signs.heal.create
            - essentials.jails
            - essentials.deljail
            - essentials.signs.heal.use
            - essentials.jail.exempt
            - essentials.mute
            - essentials.heal
            - essentials.tempban
            - essentials.kickall
            - essentials.tpohere
            - essentials.tp
            - essentials.top
            - essentials.heal.others
            - essentials.unbanip
            - essentials.setwarp
            - permissions.*
            - essentials.whois
            - essentials.kick
            - essentials.warp
            - essentials.ban
            - essentials.banip
            - essentials.lightning
            - essentials.del
            - essentials.kill
            - essentials.unban
            - essentials.togglejail
            - essentials.thunder
            - essentials.tpo
            - essentials.spawn
            - essentials.god
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - iConomy.admin.stats
            - iConomy.admin.set
            - iConomy.admin.grant
            - iConomy.admin.reset
            inheritance:
            - Sellers
            info:
                build: true
                prefix: suffix
            default: false
        Admin:
            permissions:
            - essentials.time
            - essentials.give
            - essentials.ext
            - essentials.backup
            - essentials.reloadall
            - essentials.plugin
            - essentials.broadcast
            - essentials.item
            - essentials.ping
            - essentials.spawnmob
            - essentials.essentials
            - essentials.gc
            - bb.admin.rollback
            - bb.admin.cleanse
            inheritance:
            - Moderators
            info:
                build: true
                prefix: '&6'
                suffix: '&f'
            default: false
        SuperAdmin:
            permissions:
            - '*'
            inheritance:
            info:
                build: true
            default: false

    the stack trace
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.0.8
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
        at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
        at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:68)
        at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:113)
        at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnNPC(BasicNPCHandler.java:32)
        at com.fullwall.Citizens.CommandExecutors.BasicExecutor.createNPC(BasicExecutor.java:536)
        at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:53)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
     
  16. Offline

    klutch2013

    every one of your permissions nodes needs to have a the single quotes around it, try that because i just tested out spawning an NPC on my local server and i didn't get any errors with the commands i mentioned earlier.
     
  17. Offline

    KayoticSully

    including booleans?
     
  18. Offline

    klutch2013

    no, just the permissions nodes.
     
  19. Offline

    KayoticSully

    I am still getting the internal error on /npc create and there is an error when the server starts, they are exactly the same ones I sent you earlier

    And the permissions do not work even with the single quotes

    Could I possibly be missing a dependency?

    I just downloaded the g version from the bukkit form page the config files looked very different, I think it might be working ill let you know. I need to test it out

    Scratch that, the help command created an internal server error this time

    Okay now for the most part the plugin works its the permissions that is giving me trouble. it seems whenever I try to change the permissions for this plugin it starts throwing errors.

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

    DamienLinus

    Hey Guys,

    I need a bit Help.

    Code:
    My Bukkit Windows say :
    
    18:26:46 [INFO] [Citizens] Loaded 0 Quests.
    18:26:46 [INFO] [Citizens] Permissions Enable.
    18:26:46 [INFO] [Citizens] version [1.0.9d] <Odyssey> loaded
    18:26:46 [INFO] [Citizens] Payment method found <iConomy version: 5>
    
    and in game it says:
    
    You don´t have Permissions for do that.
    
    87.106.75.132 << Server IP or 87.106.75.132:9988 TeamSpeak
    if you dont want here my email
    [email protected]
    
     
  21. me too someone can help?
     
  22. Offline

    wfoSuperman

    Hey i have been trying to get this to work but it has not been. i can use the npc but no one else can use the npc trader. i have tried all the permission commands to. i am using bPermissions
    the commands i have tried are
    - citizens.trader.viewmoney
    - citizens.*
    - citizens.basic.modify.equip
    - citizens.use.trader
    and nothing works!


    default: User
    groups:
    User:
    - bPermissions.build
    - citizens.basic.modify.equip
    - citizens.use.trader
    - iConomy.access
    - iConomy.list
    - iConomy.payment
    - iConomy.rank
    - citizens.trader.viewmoney
    - citizens.*
    Admin:
    - '*'
    Players:
    wfosuperman:
    - Admin
     
  23. Offline

    xShiFTyy

    What command r u trying to do?
     
  24. Offline

    Wogister

    Little late but i found the problem myself AND solved it.

    The permissions for Citizens seem to be controlled seperately in the Citizens.jar. (Open with WinRAR or something else)

    There you find a plugin.yml where all the nodes can be found. When looking at the first node citizens.* you may nozice the "default: op". This should stay there, so that your members can't use all the commends. Now go to the commands you want your users to be able to use and add a "default: true" directly below the node.

    Thats it.

    My traders work perfectly now. Just did the above with the "citizens.trader.use.*"-node.

    I hope it can help someone. ;-)
     
  25. Offline

    willer111

    ehhh i cant find the permission notes?
     
  26. Offline

    darkcap

    hi i am working on my server but some how npc's dosent walk and thay dosend ficht
    also wen i exit my server and start it up agen all the npc and the data are gone
    i heve chekt youtube but it looks like i did everything richt
    is this a comen problem? and is theare a anser to it?
     
  27. Offline

    MinorTommy

    Its because you dont have the plugin fully installed. In the folder that citizens make, go in it and find the folder in the folder labeled types. Get the jar files for the types that is found in the download and drag it into the types folder then go. That should do the trick.
     
  28. Offline

    joa221

    citizens.trader.use.* they can just take the items
     
  29. Offline

    spy85

    Give the group citizens.* and then give them the permmision nodes you dont want them to have with a minus sign before the node. For example give them -citizens.npc.speed and they wont be able to use /npc speed
     
Thread Status:
Not open for further replies.

Share This Page