Inactive [ADMN/INFO] Permissions v2.1 - Continuing the legacy.

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 21, 2011.

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

    Nijikokun

    Permissions 2.1 (Handler)
    Download 2.1 (Jar Only)
    Older: 2.0, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0

    Permissions... Done right.
    Permissions allows plugin-authors to utalize a permission system that handles group inheritance, globalized permission settings, and more. All the features of a fine-grained permission system in one plugin.​

    Features
    1. Groups
    2. Group Inheritance, Allows for groups to gain permissions from other groups.
    3. User Permission System
    4. Fine Grained Permission system.
      1. Allowing for Globalized permissions
    5. Easy to use, setup, and implement.
    6. Two cache layers, first from file to memory, then from memory to cache.
      1. Plugins can control cache since version 2.1
    7. And much more.
    For the users


    Permissions gives server admins great control, mostly in-game reloading. Simply use /pr and the file will be re-cached and never touched again until you need to reload it. This allows you to quickly give your users the commands that they need without having to restart the server.

    Installation for 2.0 down:
    1. Download the archive.
    2. Extract contents to the /plugins folder.
    3. Open up /plugins/Permissions/config.yml
      1. Read / modify.
      2. Save.
    4. Reload Server.
    Changelog

    • 2.1
      • Multiple-World support
      • New cache layer, and cache control support for plugins
      • Editing features for plugins to hook into
      • Exempt nodes
      • World copying
    • 2.0
      • Forgot.
    • 1.9
      • Fully fixes inheritance.
        • Groups now inherit groups of groups that inherit groups of...
      • Cache system implemented.
      • Plugin authors can now delegate a variable system if needed.
      • API Updated with two new functions to get the point of what they do across.
        • Along with the new variable checks.
    • 1.8
      • Fixes the broken globalized node issue.
        • node.* is called a `globalized node`
    Supporting Plugins




    I have hit the character limit for this post.​

    Thanks to:
    • sk89q for hiearchical and node system idea.
    • Creator of GroupUsers for api implementation.
    This author has stopped development of this plugin. It is no longer supported and I wouldn't ask for help here, as you won't get any. New Permissions
    -RightLegRed
     
  2. Offline

    razertim

    Can someone please help me
    Craftbukkit version : 201

    Permissions :
    # Supports "Default" and "GroupUsers"
    plugin:
    permissions:
    system: default

    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:"
    # field seperated by commas.
    #
    # Example: inheritance: Default,Admins,
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    #
    # Single Asterisk denotes all commands:
    #
    # - '*'
    ##
    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.me'
    - 'essentials.warp'
    - 'general.spawn'
    - 'essentials.tpaccept'
    - 'essentials.tpdeny'
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.afk'
    - 'essentials.msg'
    - 'essentials.compass'
    - 'essentials.help
    - 'essentials.motd'
    Vip:
    default: false
    info:
    prefix: &1[&3VIP&1]&2
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    Moderator:
    default: false
    info:
    prefix: &1[&3Mod&1]&3
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    - 'essentials.clearinventory'
    - 'essentials.getpos'
    - 'essentials.bigtree'
    - 'essentials.tree'
    - 'essentials.time'
    - 'essentials.heal'
    - 'essentials.kick'
    - 'essentials.kill'
    - 'essentials.item'
    - 'essentials.give'
    - 'essentials.setwarp'
    - 'general.exempt.placing'
    - 'general.exempt.usage'
    Admins:
    default: false
    info:
    prefix: &1[&3Admin&1]&4
    suffix: &4
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    razertim:
    group: Admins
    permissions:
    butcheek1:
    group: Admins
    permissions:
    gamerboy2396:
    group: Admins
    permissions:
    bal92:
    group: Moderator
    permissions:
    Jacob_OWNS:
    group: Moderator
    permissions:
    flashconnor:
    group: Vip
    permissions:
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.heal'
    - 'essentials.tree'
    - 'essentials.bigtree'
    - 'essentials.setwarp'
    - 'general.exempt.usage'
    - 'general.exempt.placing'

    Error :
    2011-02-02 19:45:08 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-02 19:45:08 [INFO] Loading properties
    2011-02-02 19:45:08 [INFO] Starting Minecraft server on 76.89.97.99:25566
    2011-02-02 19:45:09 [INFO] Preparing level "world"
    2011-02-02 19:45:09 [INFO] Preparing start region
    2011-02-02 19:45:10 [INFO] Preparing spawn area: 4%
    2011-02-02 19:45:11 [INFO] Preparing spawn area: 12%
    2011-02-02 19:45:12 [INFO] Preparing spawn area: 36%
    2011-02-02 19:45:13 [INFO] Preparing spawn area: 56%
    2011-02-02 19:45:14 [INFO] Preparing spawn area: 69%
    2011-02-02 19:45:15 [INFO] Preparing spawn area: 85%
    2011-02-02 19:45:16 [INFO] Preparing spawn area: 97%
    [ArrowTurrets] Config loaded!
    2011-02-02 19:45:16 [INFO] [Guardian] version [1.3] (Leggings) loaded
    2011-02-02 19:45:16 [INFO] [iChat] version [1.5] (Maria Holic) loaded
    2011-02-02 19:45:16 [INFO] [iConomy] version [2.1] (Sophie) loaded
    2011-02-02 19:45:16 [INFO] [iStick] version [1.2] (Leaves) loaded
    Feb 2, 2011 7:45:16 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:78)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:40)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:181)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:76)
    ... 8 more
    Caused by: while parsing a block collection
    in "<reader>", line 44, column 13:
    - 'essentials.me'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 57, column 16:
    - 'essentials.motd'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
    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:62)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    74)
    ... 13 more
    Arrow turrets v1.2.0 (Krathlak) initialized!
    CreeperNerf enabled.
    2011-02-02 19:45:16 [WARNING] Warps were not found in warps folder
    2011-02-02 19:45:16 [INFO] Loaded Essentials b134 by Zenexer, ementalo, Eris, an
    d EggRoll
    2011-02-02 19:45:16 [INFO] [GroupUsers] version [1.4] is loaded!
    2011-02-02 19:45:16 [INFO] [Guardian] Permission system not enabled. Disabling p
    lugin.
    2011-02-02 19:45:16 [INFO] [Guardian] version [1.3] (Leggings) un-loaded
    2011-02-02 19:45:16 [INFO] [iChat] Permission system not enabled. Disabling plug
    in.
    2011-02-02 19:45:16 [INFO] [iChat] version [1.5] (Maria Holic) disabled
    2011-02-02 19:45:18 [INFO] SpawnMob version 1.4.1 enabled.
    2011-02-02 19:45:18 [INFO] [SpawnMob] Permission system not enabled. Using ops.t
    xt.
    2011-02-02 19:45:18 [INFO] Done! For help, type "help" or "?"
    138 recipes
    2011-02-02 19:47:11 [INFO] razertim [/76.89.97.99:33991] logged in with entity i
    d 64
    Player count: 1
    Feb 2, 2011 7:47:17 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
    at com.nijikokun.bukkit.iChat.Listener.onPlayerChat(Listener.java:38)
    at org.bukkit.plugin.java.JavaPluginLoader$4.execute(JavaPluginLoader.ja
    va:138)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:213)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:568)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:278)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:204)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-02 19:47:17 [INFO] <razertimºf> test
    reload
    Derezing CreeperNerf!
    2011-02-02 19:47:36 [INFO] [iConomy] version [2.1] (Sophie) un-loaded
    2011-02-02 19:47:36 [INFO] [iStick] version [1.2] (Leaves) un-loaded
    2011-02-02 19:47:36 [INFO] SpawnMob version 1.4.1 disabled.
    [ArrowTurrets] Config loaded!
    2011-02-02 19:47:37 [INFO] [Guardian] version [1.3] (Leggings) loaded
    2011-02-02 19:47:37 [INFO] [iChat] version [1.5] (Maria Holic) loaded
    2011-02-02 19:47:37 [INFO] [iConomy] version [2.1] (Sophie) loaded
    2011-02-02 19:47:37 [INFO] [iStick] version [1.2] (Leaves) loaded
    Feb 2, 2011 7:47:37 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:78)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:40)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:180)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:201)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:76
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1
    60)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:305)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:287)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:204)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.VerifyError: (class: com/nijikokun/bukkit/Permissions/Permi
    ssions, method: setupPermissions signature: ()V) Bad type in putfield/putstatic
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:72)
    ... 11 more
    Arrow turrets v1.2.0 (Krathlak) initialized!
    CreeperNerf enabled.
    2011-02-02 19:47:37 [WARNING] Warps were not found in warps folder
    2011-02-02 19:47:37 [INFO] Loaded Essentials b134 by Zenexer, ementalo, Eris, an
    d EggRoll
    2011-02-02 19:47:37 [INFO] [GroupUsers] version [1.4] is loaded!
    2011-02-02 19:47:37 [INFO] [Guardian] Permission system not enabled. Disabling p
    lugin.
    2011-02-02 19:47:37 [INFO] [Guardian] version [1.3] (Leggings) un-loaded
    2011-02-02 19:47:37 [INFO] [iChat] Permission system not enabled. Disabling plug
    in.
    2011-02-02 19:47:37 [INFO] [iChat] version [1.5] (Maria Holic) disabled
    2011-02-02 19:47:38 [INFO] SpawnMob version 1.4.1 enabled.
    2011-02-02 19:47:38 [INFO] [SpawnMob] Permission system not enabled. Using ops.t
    xt.
    Reload complete.
     
  3. Offline

    chill1977

    [/FONT]
    [/CODE][/quote]

    Problems:

    Missing ' at end of line - 'essentials.help

    if that doesnt work update craftbukkit to version 210 at least and then paste the config.yml here in code tags as you can't tell format like you have it here.[/CODE][/FONT][/quote]
     
  4. Offline

    Cosmic Break

    for some reason, my default and VIP groups dont have access to thier commands.
    this is the current permissions config

    http://tinypaste.com/b1e72
     
  5. Offline

    razertim

    Thanks, I got it to work, I also forgot the ' ' on prefix
     
  6. Offline

    popthcpoppers

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #  To make a group inherit the permissions from another
    #  group simply place the groups name in the "inheritance:"
    #  field seperated by commas.
    #
    #  Example: inheritance: Default,Admins,
    ##
    #  All permissions including the asterisks must be placed in single quotes.
    #  like so:
    #
    #      - 'general.spawn'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'general.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'war.player'
                - 'essentials.me'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tptoggle'
                - 'essentials.warp'
                - 'essentials.list'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.top'
                - 'essentials.kit'
                - 'essentials.kit.tools'
                - 'essentials.kit.*'
                - 'essentials.plugin'
                - 'essentials.help
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.sell'
                - 'essentials.rules'
                - 'essentials.msg'
                - 'wormhole.use'
                - 'simpleshop.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
    
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'worldedit.*'
                - '/god'
                - '/region'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.list'
                - 'essentials.time'
                - 'essentials.heal'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.kill'
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.realname'
    
    Vip:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.heal'
    
    Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        popthcpoppers:
            group: Admins
            permissions:
        yaitsbilly:
            group: Admins
            permissions:
        godhand205:
            group: Moderator
            permissions:
        Dmaster:
            group: Moderator
            permissions:
        stuparyk:
            group: Moderator
            permissions:
        meltycheese4:
            group: Vip
            permissions:
        gamer9797:
            group: Vip
            permissions:
        snipermany:
            group: Vip
            permissions:
    Getting error with cb #210 Permissions 2.0 any help?

    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:78)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    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 Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:76)
    ... 8 more
    Caused by: while parsing a block collection
    in "<reader>", line 44, column 13:
    - 'war.player'
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 70, column 16:
    - 'essentials.motd'
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    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.java: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:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:62)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:74)
    ... 13 more
    --- merged: Feb 3, 2011 4:24 AM ---
    ANyone?
     
  7. Offline

    chill1977

    Need a ' at the end of this line - 'essentials.help
     
  8. Offline

    Destoned

    I already did add all the command permissions manually,
    and i know general has nothing to do with permissions.
    I said that because i didnt have this problem WHEN i used general
    only started getting the message when i started using essentials.
    Error when using any command - 'You dont have permission for that command'
     
  9. Offline

    chill1977

    This is exactly what you said:

    "Im not sure if i should be asking this here or what, but
    im having issues with promoting people in game, whats the command (using general)
    and how do i set the permissions for all my plugins and commands?
    i know your just gong to say read what you wrote, but i read it twice and
    i cant seem to get it right. I JUST got our ranks back but i hafto input every single persons
    rank into the config.yml individually, and almost everyone can use almost every command,
    with the exception of god mode (only one iv noticed no one can use so far)."

    You asked what the command was (using General) and how to set permissions for all your plugins and commands.

    We would assume that means, 1)what command in General promotes people in game, 2)we have no idea what plugins and commands you are using, and we have no idea why you had to redo them to begin with.

    Now if you want to configure Essentials for use with Permissions and get rid of GEneral because you can not use both, I can help you with that.

    Once you get Essentials installed first thing to do is go to the Essentials config.yml and delete the restricted commands or you will not be able to use those.

    Then go to the wiki list in the OP on the Essentials post and there is the list of permission nodes. Then if you still need help, we are more than happy to help if you post your permissions and Essentials config.ymls in code tags here and state the exact problem you are having along with any errors that have come up.
     
  10. Offline

    MinehubGaming

    What new features came with version 2.0?
     
  11. Offline

    chill1977

    I dont believe it was a matter of new features , still trying to get the old features to work with the new versions of craftbukkit correctly.

    Updated for use with craftbukkit 210 and up, allowed user defined colors.
     
  12. Offline

    Joshua Davis

    Builder:
    default: false
    info:
    prefix: 3
    suffix:
    build: true
    inheritance:
    permissions:
    - 'worldedit.*'

    ## works fine - I type /thru and I'm golden… however

    Builder:
    default: false
    info:
    prefix: 3
    suffix:
    build: true
    inheritance:
    permissions:
    - 'worldedit.thru'

    ## you don't have access to thru

    why ?

    Builders would love to use the compass warping… but not cuboid access.
     
  13. Offline

    kipz

    @Nijikokun If I read this correctly that lets the group use the power 3 times total right? Or until server is reset. Is it possible to set it up so they can use it say 3 times per day? Or would this be something that'd take a bit more development on the plugin side?

    I ask because I am using timberjaw's spawncontrol and I want to give my users the ability to use /sethome and /home only so many times per week/day. Thanks,
     
  14. Offline

    chill1977

    Please post in the WorldEdit forum
     
  15. Offline

    TreePuncher

    Also, how do I make kits?
     
  16. Offline

    phaed

    Changelog for 2.0?
     
  17. Offline

    chill1977

  18. Offline

    MeoW

    I was wondering if it is possible to have players that just the join the server plus into a group? Do they do that already? lol...

    Is the Default group what players are put into when they join?
     
  19. Offline

    chill1977

    Yes they are automatically default with no addition to the permissions file
     
  20. Offline

    Hamad

    Dont know whats wrong, well i am a nub on these things
    this is mines, didnt completed it yet though
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Soldier:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.kit'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
    
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Hexas92:
           group: Admins
           permissions:
      
            
    Can u tell me whats wrong, btw i will be so grateful if you completed these for me, i wanna make an castle age miecraft server, just using essentials, will use iconomy later, thanks
     
  21. Offline

    riuthamus

    still no modify!! GRR!!! what must a man do? I will sacrifice my friends GF for a weekend? Deal?
     
  22. Offline

    jwideman

    Why do you have permissions for both essentials and general in there? You can't run both plugins.
     
  23. Offline

    Zero9195

    Hi Guys,
    I have some troubles implmenting Permissions in my plugin. I started in creating he methods and variables as explained, but i get an error and I can't fix it. Here is the code:
    Code:
    public static PermissionHandler permissions = null;
    public void setupPermissions( )
        {
                Plugin test = this.getServer().getPluginManager().getPlugin("Permissions");
    
                if(JSpleef.Permissions == null)
                {
                    if(test != null)
                    {
                        JSpleef.Permissions = ((Permissions)test).getHandler( );
                    }
                    else
                    {
                        log.info(Messaging.bracketize(name) + " Permission system not enabled. Disabling plugin.");
                        this.getServer().getPluginManager().disablePlugin(this);
                    }
                }
        }
    The error occurs here
    ((Permissions)test).getHandler( );
    it says getHandler() is undefined for the Type Permissions

    Would be great if xyou could help me out.
    Thanks,
    Zero9195
     
  24. Offline

    Hamad

    Hey thanks jwideman, work flawlessly, but how can i change name color for groups, I need green for soldier, yellow for citizen, and blue for Moderator, already have for admin​
     
  25. Offline

    finchson

    hey, first of, nice plugin! :)

    but can you please tell me how to add users ingame?
    with hMod it was like /modify NAME g:GROUP
    what is it like with Permissions?
     
  26. Offline

    Josch

    You have added Permissions.jar to you Library Path and imoorted the right Classes?
    PHP:
    import com.nijiko.permissions.PermissionHandler;
    import com.nijikokun.bukkit.Permissions.Permissions;



    This is not actually implemented! This would have to be added to spawncontrol!
    Also, the code in the example is not working and Nijikokun hasn't answered my questions how to format variables in the config file!
    So no, it is not possible! Best way is to ask the author of spawncontrol to add it!
     
  27. Offline

    oimel

    Code:
    2011-02-03 15:22:57 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-03 15:22:57 [INFO] Loading properties
    2011-02-03 15:22:57 [INFO] Starting Minecraft server on 78.47.181.62:25565
    2011-02-03 15:22:57 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-02-03 15:22:57 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-02-03  15:22:57 [WARNING] While this makes the game possible to play internet  access, it also opens up the ability for hackers to connect with any  without username they choose.
    2011-02-03 15:22:57 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-02-03 15:22:57 [INFO] Preparing level "world"
    2011-02-03 15:22:57 [INFO] Preparing start region
    2011-02-03 15:22:58 [INFO] Preparing spawn area: 56%
    Feb 3, 2011 3:22:59 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:78)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:40)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:179)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:76)
            ... 8 more
    Caused by: while parsing a block collection
     in "<reader>", line 44, column 13:
                    - 'general.spawn'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 53, column 16:
                    - 'essentials.nick'
                       ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
            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.java: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:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:62)
            at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:74)
            ... 13 more
    LWC     [v1.49] Loading shared objects
    Config  [v1.49] Loaded 8 config entries
    LWC     [v1.49] Native library: lib/native/Linux/amd64/libsqlitejdbc.so
    2011-02-03 15:23:00 [INFO] Loaded Essentials b131 by Zenexer, ementalo, Eris, and EggRoll
    LWC     [v1.49] Loaded command: /lwc -admin
    LWC     [v1.49] Loaded command: /lwc -create
    LWC     [v1.49] Loaded command: /lwc -free
    LWC     [v1.49] Loaded command: /lwc -info
    LWC     [v1.49] Loaded command: /lwc -p
    LWC     [v1.49] Loaded command: /lwc -modify
    LWC     [v1.49] Loaded command: /lwc -unlock
    LWC     [v1.49] -> PLAYER_COMMAND
    LWC     [v1.49] -> PLAYER_QUIT
    LWC     [v1.49] -> ENTITY_EXPLODE
    LWC     [v1.49] -> BLOCK_INTERACT
    LWC     [v1.49] -> BLOCK_DAMAGED
    LWC     [v1.49] Dev mode: FALSE
    LWC     [v1.49] Loading SQLite
    PhysDB  [v1.49] Creating physical tables if needed
    MemDB   [v1.49] Creating memory tables
    SQLite  [v1.49] Using: Native
    Whitelist: Trying to load whitelist and settings...done.
    Whitelist version 1.6 is enabled!
    2011-02-03 15:23:00 [INFO] Done! For help, type "help" or "?"
    138 recipes
    I can't load Permissions. Its installed correctly at /plugins/Permissions.jar. My config.yml is:

    Code:
    # Supports "Default" and "GroupUsers"
    #plugin:
    #    permissions:
    #        system: default
    
    plugin:
        permissions:
            system: Default
            
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another 
    #   group simply place the groups name in the "inheritance:" 
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
            permissions:
                - 'general.spawn'
                - 'essentials.setspawn'
                - 'essentials.msg'
                - 'essentials.mail'
                - 'essentials.list'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.afk'
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    # users:
    #    darkgrave:
    #        group: Admins
    #        permissions:
    #    sk89q:
    #        group: Default
    #        permissions:
    #            - 'general.time'
    
    users:
        oimel:
            group: Admins
            permissions:
        Dream_Walker:
            group: Admins
            permissions:
    Please help me!
     
  28. Offline

    Hamad

    Code:
       oimel:
         groups:
    permissions:
    (leave it empty)
    @oimel
    u cannot use essentials and general, so remove general at ur permissions, and
    take a look at ur users, not the same as the explained one
    should be like this
    users:
    oimel:
    group: Admins
    permissions:
    (leave it empty)
    --- merged: Feb 3, 2011 4:08 PM ---
    @oimel
    You can see also an error
    Code:
    Caused by: while parsing a block collection
     in "<reader>", line 44, column 13:
                    - 'general.spawn'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 53, column 16:
                    - 'essentials.nick'
    
    so remove - 'general.spawn'
    and there is a mistake at -'essentials.nick'

    and i told u general wont work with essentials
     
  29. Offline

    Zero9195

    Yes I have implemented both. Really can't say why it doesn't work...
     
  30. Offline

    jwideman

    For names to be colored, you need iChat.
     
  31. Offline

    finchson

    Hello,
    what do I have to do to grant myself Admin rights?
    I already did this:
    Code:
    users:
        finchson:
            group: Default
            permissions:
            - '*'
    
    but I still can't use commands like /item, /time, /kick, /ban

    ~finchson
     
Thread Status:
Not open for further replies.

Share This Page