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

    Jonne

    Ok, it works now. But when I use prefix [Admins] then it shows in chat [Admins]Admins]Taalasmaa, because I'm in group Admins :( Is there way to fix this?
     
  3. Offline

    Lookatmego

    hey man can i PLEASE get help setting up your general this or group users so i can set permissions ive been riding your forums for almost a week now really need help:(
    please skype me if possible and ill tel u my team viwer
    skype: lookatmego101
     
  4. Offline

    Nijikokun

    It would be [Admins] without the [Admins] as prefix. Use a color instead. Lol.
     
  5. Offline

    Jobsti

    @Jonne
    Just use &3 oder §3 as prefix.
    Or test the Suffix: §3[Admin]
     
  6. Offline

    Zenexer

    For those of you looking to add optional support for Permissions:

    Note: Leave out the import!

    Code:
    private static Object permissions = null;
    
    public void setupPermissions()
    {
    	Plugin permPlugin = this.getServer().getPluginManager().getPlugin("Permissions");
    	if (permissions == null && permPlugin != null) permissions = permPlugin;
    }
    
    public boolean check(Player player, String node)
    {
    	try
    	{
    		Class Permissions = getClassLoader().loadClass("com.nijikokun.bukkit.Permissions.Permissions");
    		Class PermissionHandler = getClassLoader().loadClass("com.nijikokun.bukkit.Permissions.PermissionHandler");
    		Object security = Permissions.getField("Security").get(permissions);
    		return (Boolean)PermissionHandler.getMethod("permission").invoke(security, player, node);
    	}
    	catch (Exception ex)
    	{
    		// Permissions not installed; allow in case GroupUsers is installed
    		return true;
    	}
    }
    
     
    Hretsam likes this.
  7. Offline

    Shippage

    The config is very confusing. Isn't there any way to make is simpler like Users in hey0?
     
  8. Offline

    Nijikokun

    If you read the first post, it gets easier man. It's a lot cleaner than the old way as well. Just look through the thread there are tons, and tons of working configurations in here.
     
  9. Offline

    joshcvb

    I know this sounds like a stupid question but, I have 250 users on my server, do I have to add them all to the users section and assign them a group?

    O and a side note to most of the users who have issues. You in should no way be editing these types of files with the default microsoft notepad. You should use notepad++, it will make your life easier when managing a server large or small.
     
  10. Offline

    fffizzz

    If you were using mysql, i posted a php script to build your users a page or two back.
     
  11. Offline

    joshcvb

    Unfortunately I don't use MySQL or else I would use it, I just didn't know if there was an easier way to do it because adding 250 users to this and setting it up for each user is a pain, and I'm just being lazy but if its what I have to do then I better get started.
     
  12. Offline

    Hamish_G

    Just cos i'm a dunce, what is a prefix and what is a suffix?
    Yes, i am that stupid :)
     
  13. Offline

    mansl

    I am so stupid, This plugin does so u can make ur own groups for ur server, and says what group can use what tools? if so, then it sounds awesome... to bad I am so bad at codeing.
     
  14. Offline

    Hamish_G

    Oh and when we give permissions do we have to put the ' things around the thing like:
    'general.player-info'
    or can we just put:
    general.player-info
    ?
     
  15. Offline

    finisher90

    hey Nijikokun awesome plugin. i was wondering what is the prefix and suffix and how to use them. thanks. im kinda new to this....
     
  16. Offline

    Nijikokun

    To those wondering about the prefix/suffix:
    Look on page 6/7, and if you want to utilize it: Grab the iChat plugin in the topic or on page 7.

    @Hamish_G: yes.
     
  17. Offline

    joshcvb

    Niji do you have a list of all the permissions for your plugins handy to use with your permissions plugin?
     
  18. Offline

    Hamish_G

    OK, thanks
     
  19. Offline

    rmb938

    BTW is there a way I can pick what prefix is shown with iChat because it shows my default group as a prefix and I don't want that
     
  20. Offline

    DoritosMan

    What build should I use with this
     
  21. Offline

    HotelErotica

    I think its just General ATM, LWC said that they'd add support.
     
  22. I can't get this to work. :-( No rights no nothing. I don't even see the ADMIN tag before my name. Am i doing something wrong???

    My config file:
    http://pastebin.com/uwmKNc6P
     
  23. Offline

    Hamish_G

    Is there a chance that there will be an in game command used to add people to groups, like the /modify but only for groups, so that you do not have to keep editing loads of text?
     
  24. Maybe it has to do with the latest version of CraftBukkit?!
     
  25. Offline

    Jakebobjo

    Um i did this but in consol it says Ichat is not configured disabling plugin or somthing close to that?
     
  26. Offline

    finisher90

    i get the same prob as Ikithme
    my config file:
    http://pastebin.com/4qnX2qUQ
    and my mods cant spawn and the ppl who r trusted seem to be untrusted
     
  27. Offline

    Hidendra

    LWC now supports this plugin.

     
  28. Offline

    AskCharlie

    anything that I add to Permissions/config.yml turns out to be in Red. Which it seems even in the example file it's the same way.

    However, anything I add, is an exact copy of the example, doesn't work and I get an error in the loading of Permissions.jar

    Everyone below user1 is in red and none of them work even though they are set up exactly the same way...

    the error I am recieving is saying...

    Sorry I coudn't but and paste the whole error message, but I wasn't showing up in server.log
     
  29. Offline

    Hamish_G

    I am having problems.
    Here is my config:
    Code:
    plugin:
        permissions:
            system: Default
    groups:
        Guest:
            default: false
            info:
                prefix: &f[Guest]
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'general.player-info'
        Citizen:
            default: true
            info:
                prefix: &e[Citizen]
                suffix:
                build: true
            inheritance: Guest
            permissions:
                - 'general.spawn'
                - 'general.player-info'
        Elder:
            default: false
            info:
                prefix: &a[Elder]
                suffix:
                build: true
            inheritance: Citizen
            permissions:
                - 'general.spawn'
                - 'general.player-info'
                - 'general.time'
        Mod:
            default: false
            info:
                prefix: &b[Mod]
                suffix:
                build: true
            inheritance: Citizen
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.spawn'
        Admin:
            default: false
            info:
                prefix: &c[Admin]
                suffix:
                build: true
            inheritance: Mod
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.spawn'
        Administrator:
            default: false
            info:
                prefix: &c[Admin]
                suffix:
                build: true
            inheritance: Mod
            permissions:
                - '*'
    users:
        Hamish_G:
            group: Administrator
            permissions: '*'
        mat_290:
            group: Admin
            permissions:
        Shieya:
            group: Admin
            permissions:
        JackWhitaker:
            group: Admin
            permissions:
        Trushadik:
            group: Mod
            permissions:
        wazzayamom:
            group: Mod
            permissions:
        Bozoleet:
            group: Mod
            permissions:
        kingofxbox99:
            group: Mod
            permissions:
        xdoomsquirrelx:
            group: Elder
            permissions:
    And i have general installed and all of that but now i cannot access the /help, i cannpt use any commands in game and i don't get the motd either

    Please can someone give me a 'lil bit o' help?

    Edit-
    I also get this when i start the server:
    Code:
    2011-01-22 16:00:39 [INFO] [General] Permission system not enabled. Disabling plugin.
    2011-01-22 16:00:39 [INFO] [General] version [1.9] (Yakuza) disabled
    
     
  30. Offline

    fffizzz

    You are the shiznit! Thanks!
     
  31. Offline

    McSpuds

    I have the same issue as ^^^ and I am using the default files except adding general.spawn.set

    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.spawn.set'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    users:
        McSpuds:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    I can not get any general commands to work except /? and that is garbled real bad with tabs and such in the chat window to were you can't read it.
     
Thread Status:
Not open for further replies.

Share This Page