Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

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

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    Goast334

    Hey,
    ich habe das schon durchgeschaut aber irgentwie haben alle user rechte für mcmmo das bringt mich zum verzweifeln: I NEED HELP!

    plugin:
    permissions:
    system: default
    copies: null


    groups:
    Lehrjunge:
    default: true
    info:
    prefix: '[Lehrjunge]'
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - 'foo.bar'
    - pvpreward.givereward
    - pvpreward.givereward
    - towny.wild.build
    - towny.wild.destroy
    - towny.wild.switch
    - towny.wild.item_use
    - towny.plublicspawntp
    - towny.spawntp
    - iConomy.access
    - iConomy.rank
    - iConomy.list
    - 'mcmmo.item.chimaerawing'
    - myhome.home.soc.*
    - falsebook.blocks.*
    - commandbook.spawn
    - SpawnControl.spawn.use
    - lwc.protect
    - uQuest.CanQuest.*
    - commandbook.spawn
    - commandSigns.use
    - falsebook.blocks.*
    - SpawnX.spawn
    - falsebook.blocks.hiddenswitch.create
    - falsebook.blocks.hiddenswitch
    - simplesign.edit
    - PlayerList.playerlist
    - creaturebox.placespawner
    - creaturebox.dropspawner




    Mönch:
    default: false
    info:
    prefix: '[&bMönch&f]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:

    - mcmmo.skills.taming
    - mcmmo.skills.unarmed
    - mcmmo.skills.herbalism
    - mcmmo.ability.unarmed
    - mcmmo.ability.herbalism


    Assasine:
    default: false
    info:
    prefix: '[&2Assasine&f]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:

    - mcmmo.skills.acrobatics
    - mcmmo.skills.archery


    Krieger:
    default: false
    info:
    prefix: '[&6Krieger&f]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:

    - mcmmo.skills.repair
    - mcmmo.skills.swords
    - mcmmo.ability.swords
    - mcmmo.skills.axes
    - mcmmo.ability.axes




    Arbeiter:
    default: false
    info:
    prefix: '[&eArbeiter&f]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - mcmmo.ability.mining
    - mcmmo.ability.woodcutting
    - mcmmo.skills.woodcutting





    Händler:
    default: false
    info:
    prefix: '[&2Händler&f]'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - iConomyChestShop.shop.use
    - iConomyChestShop.shop.sell
    - iConomyChestShop.shop.buy











    Admins:
    default: false
    info:
    prefix: '[&7Gottheit&f]'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'












    users:
    Goast334:
    group: Mönch
    permissions:
    Yoshisisland:
    group: Admins
    permissions:
    kivkoo:
    group: Admins
    permissions:
    &CommandSigns:
    group: Admins
    permissions:

    Chester97:
    group: Krieger
    permissions:
    Max:
    group: Assasine
    permissions:
    ILikeCreeper:
    group: Assasine
    permissions:
    AdminTest2:
    group: Lehrjunge
    permissions:
     
  3. Offline

    halfer

    Thanks for the reply. As I said, I have created a brand new server, and it had the same problem. Nobody could destroy blocks. I think it would be more wise for me to put the config of the new server:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        halfer:
            group: Admins
            permissions:
        Alex:
            group: Default
            info:
            permissions:
        Player:
            group: Default
            permissions:
     
  4. Offline

    Jeyge

    You are missing closing 's on lines 186 and 200.
    Code:
                - 'commandbook.teleport
                - 'commandbook.barrage.other
    
    Sie können nicht über Umlaute in YML. : (

    I don't see anything wrong with the permissions. Are you getting any errors? Could you post your server.log for this file after someone has tried to build/destroy and using some commands?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  5. Offline

    Lupo cani

    I have a suggestion for a plugin, some kind of permissions-helper with in-game tools for editing permissions. the idea about a list of all available permissions is really good, and in combinaion with some basic tools for editing the groups i would be fantastic.
     
  6. Offline

    Jeyge

    You can use PermissionsPlus for now and once 3.0 is released, it will have built in commands.
     
  7. Offline

    Pulsy

    Does anyone know a permissions flag that allows people to edit around the spawn area? Using Permissions, WorldEdit and WorldGuard.

    I have a railstation near the spawn, and people can't push the button there anymore since i deleted CommandPermissions plugin and switched to Permissions.
     
  8. Offline

    DefMenge

    I recently installed the latest dev build of Permissions on my server, but it did not seem to work at all. The non-dev version spammed my logs with "event could not be passed" errors even though I renamed the "RENAME-ME" file.
    No one (including me) can place/destroy blocks, even though I gave the group "Default" build permissions and assigned the players in my server to this group. (I did that in the world.yml file, my world is called world, I have no idea how to use the files inside the "world" subdirectory)

    This is my world.yml file (comments and users other than me removed):

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        DefMenge:
            group: Admins
            permissions:
    
    I did not touch the "users.yml" and "group.yml" files in the world directory as I could not find any documentation about them and I have no idea how they work, the syntax appears to be slightly different ("groups" instead of "group" etc.). There are no tabs in my yml files. No syntax errors were reported by the server. I am using Craftbukkit 766.

    Any help would be greatly appreciated.
     
  9. Offline

    wavecom

  10. Offline

    RoKGeppie

    what are the permisions nodes for this and permissionsplus 2.2.1?
     
  11. Offline

    wavecom

    permissionsplus?
     
  12. Offline

    RoKGeppie

  13. Offline

    wavecom

    I must use that?
     
  14. Offline

    Drumpie

    Thank you very much.
     
  15. Offline

    Maxis010

    Remove all of the - '*' from the users area, you are granting - '*' to your admin group so when you grant them again on the user level permissions freaks out

    @Jeyge
    I think you are getting a bit overworked with all the support you have been offering to miss that
     
  16. Offline

    halfer

    I found something out. People can build, however, only on the territories THEY built. My friend can destroy and put blocks in his house, and in the 3 blocks radius, and in some parts of the map, that I didn't touch. Here's the log (there's some Russian gibberish in there)

    Code:
    2011-05-19 22:26:41 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-19 22:26:41 [INFO] Loading properties
    2011-05-19 22:26:41 [INFO] Starting Minecraft server on 5.63.232.32:25565
    2011-05-19 22:26:41 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-19 22:26:41 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-19 22:26:41 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-19 22:26:41 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-19 22:26:41 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-19 22:26:41 [INFO] Preparing level "world"
    2011-05-19 22:26:41 [INFO] Preparing start region
    2011-05-19 22:26:41 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-19 22:26:41 [SEVERE] ebean.properties not found
    2011-05-19 22:26:41 [INFO] DataSourcePool [SimpleWarp] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-19 22:26:42 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-19 22:26:42 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-19 22:26:42 [INFO] BlocksOnGlass version 0.31 is enabled!
    2011-05-19 22:26:42 [INFO] [BlocksOnGlass] Permission system detected.
    2011-05-19 22:26:42 [INFO] Elevators version 1.4.3 is enabled and linked to Permissions! 1 elevator in world "world" loaded.
    2011-05-19 22:26:42 [INFO] [GiveTo] v0.4 enabled (loaded items: 225)
    2011-05-19 22:26:42 [INFO] mxImgImport loaded
    2011-05-19 22:26:42 [INFO] [Permissions] version [2.7.2] (Phoenix)  loaded
    2011-05-19 22:26:42 [INFO] SimpleWarp v1.1.0 has been enabled
    2011-05-19 22:26:42 [INFO] [WeatherGod] Permission system detected.
    2011-05-19 22:26:42 [INFO] WeatherGod version 0.3 is enabled!
    2011-05-19 22:26:42 [INFO] WorldEdit 4.4 enabled.
    2011-05-19 22:26:42 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-19 22:26:42 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-19 22:26:42 [INFO] WorldGuard: (world) Single session is enforced.
    2011-05-19 22:26:42 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-05-19 22:26:42 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-05-19 22:26:42 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-05-19 22:26:42 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-05-19 22:26:42 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-05-19 22:26:42 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-19 22:26:42 [INFO] Done (0,122s)! For help, type "help" or "?"
    2011-05-19 22:26:52 [INFO] halfer [/5.63.232.32:64777] logged in with entity id 164
    2011-05-19 22:26:57 [INFO] Alex [/5.47.233.186:51265] logged in with entity id 166
    2011-05-19 22:27:43 [INFO] halfer issued server command: dctime 1
    2011-05-19 22:27:51 [INFO] <halfer> gde ti?
    2011-05-19 22:28:01 [INFO] <Alex> v metro
    2011-05-19 22:28:39 [INFO] <halfer> davay
    2011-05-19 22:28:46 [INFO] <halfer> ??
    2011-05-19 22:28:54 [INFO] <halfer> hm
    2011-05-19 22:28:59 [INFO] <halfer> davay lyazhem
    2011-05-19 22:29:02 [INFO] <halfer> spat'
    2011-05-19 22:29:02 [INFO] <Alex> stranno
    2011-05-19 22:29:11 [INFO] <halfer> chtobi bil den'
    2011-05-19 22:29:30 [INFO] <halfer> ya leg
    2011-05-19 22:29:46 [INFO] <halfer> u tebya v dimee est' ved' krovat'
    2011-05-19 22:29:51 [INFO] <halfer> dome
    2011-05-19 22:30:03 [INFO] <halfer> nu
    2011-05-19 22:30:16 [INFO] [GiveTo] ->Alex halfer is placing 'Bed' in your inventory.
    2011-05-19 22:30:16 [INFO] [GiveTo] ->halfer Placing 'Bed' in Alex's inventory.
    2011-05-19 22:30:31 [INFO] <halfer> davay
    2011-05-19 22:30:38 [INFO] <halfer> vizhy
    2011-05-19 22:31:13 [INFO] <halfer> vilozhu v inet zapros
    2011-05-19 22:31:17 [INFO] <halfer> sps
    2011-05-19 22:31:19 [INFO] Connection reset
    2011-05-19 22:31:19 [INFO] halfer lost connection: disconnect.endOfStream
     
  17. Offline

    Jeyge

    It isn't the first time either. I wasted half a day of that one guys time over the weekend because I didn't see the '*' on every user. I have added it to my mental notes of what to look for though. I'm just amazed that in the last 3 weeks I've been doing this, there are still new things that pop up.

    Did you give them plots to build on using WorldGuard?

    Permissions doesn't have any permissions and I wouldn't give anyone but Admins access to PermissionsPlus. Admins should already have '*', so you won't need to specifically add any permissions to them but if you want to see the permissions offered, I know he has them in the PermissionsPlus thread.

    BLOCK_BREAK/BLOCK_PLACE errors are caused by a permissions.yml file being named incorrectly or in the wrong place. Make sure your permissions file is named <world name>.yml and is in the plugins\permissions directory unless you have file extensions turned off. If they are off, the file will be named <world name>. Also, make sure you are running version 2.7.3 of Permissions.

    I'm not sure if there is one for that but you can turn off spawn protection by setting spawn-protection to 0 in your server.properties file.

    It is not recommended that you run the dev build unless you really know what you are doing. I would suggest sticking with 2.7.3 for now.

    As for your event errors, I'll bet they were BLOCK_BREAK and BLOCK_PLACE errors. If that is correct, then the problems is a misnamed permissions.yml file. Make sure your file is in the plugins\permissions directory and it is named <world name>.yml. If you have file extensions turned off, then the name will just be <world name>.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  18. Offline

    Mason

    I read that page and i need to promote people through ranks while in game. Like move a default to member status. I didnt see a command for that, If you can copy the command and show me. Thanks, Mason.
     
  19. Offline

    Jeyge

    There is actually a section on promote/demote. I'll paste it here if it would help.
    Show Spoiler

    User-only commands

    These commands can only be used on users.
    Promote/Demote Commands

    For more information about these commands, go to Tracks.
    Syntax: /permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands promotes the user along the specified parent's track.
    Syntax: /permissions <target> (w:<world>) demote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands demotes the user along the specified parent's track.
     
  20. Offline

    DrBowe

    Question: Is there a way for permissions to differentiate between those whitelisted and those who are not whitelisted? For example, permissions has "Default", which is passed to all players by...well...default.

    Is it possible to have players who are whitelisted move to a "Whitelist Default" without having to manually add EACH whitelisted player into the permissions YML file in order to give them building permissions/etc?

    I just want there to be two 'defaults' One for 'guests', and one for 'members'. I just dont want to have to add in each new applicant since (to my knowledge) there is only one 'Default'.
     
  21. Offline

    Jeyge

    Interesting concept but it isn't currently supported. One thing you could do to implement this is to use CommandHelper and set up a script that would do a /whitelist <user name> and a PermissionsPlus /<add user command> <user name>. I'm not sure what the PermissionsPlus command is for adding a user but that would be an option.
     
  22. Offline

    rcjrrjcr

    I kinda broke the dev build. I'll post here when I upload the fix.
     
  23. Offline

    RoKGeppie

    ah, so i dont need to do anything more then i did, like changing the admin name? and doing slight edits to the yml?
     
  24. Offline

    Jeyge

    If you are just starting out with it then yes, it should do everything you want for now. As you become more comfortable with it, you can start adding more permissions and refine it as you want.
     
  25. Offline

    Maxis010

    You can do what I have done, install the plugin GuestPrev
    Set it up how you please but ensure that usebuild is turned OFF and your default group's build is turned ON
    Until you Whitelist players with GuestPrev (/guestprev add player) they will be incapable of building even though they are approved in permissions

    If you are using a MC style whitelist (whitelisted or can't connect) then there are settings in GuestPrev which will match that
     
  26. Offline

    DrBowe

    Interesting idea. I'll have to look into it. Though since its not currently supported, I guess I'll throw that into the "Do it if you have time" bucket. :)
    I'm not sure if bukkit even has the ability to check for whitelisting in its API, although I'd imagine it does.

    Ah, that makes pefect sense, actually. I looked at GuestPrev before but it never occured to me that I could use it to 'fake' the thing that I'm currently looking for with permissions. Good catch!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  27. Offline

    lycano

    Please add
    Code:
    hasPermission(String world, Player player, String permission)
    in next version. It is quite annoying to use a FakePlayer object to check for permission in targetWorld. As this change only adds up to 10 lines to your code this shouldn't be a problem.
     
  28. Offline

    Destepenguin5

    Alright anybody know a fix for this:
    So I set up my yml folder with my world name and everything correctly (my world name is "world" and i have the ylm folder named world.yml. Then in the bottom of the yml file i changed where it has TheNo1Yet, and replaced it with my name. Then under the admin category I'll add a prefix and a suffix and run the game and no prefix or suffix come up. I also have tried doing other things like give different people permissions and, for the most part, it looks like its just not even reading the permissions folder. Whenever I start up the server I get all the messages saying it has successfully installed and loaded permissions and everything though. (I am running permissions 2.7.3 and I have craftbukkit version 782 if that matters.)
     
  29. Offline

    evenen

    I can't get permissions to enable without it erroring out and giving me this message
    19:44:03 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:164)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:191)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 110, column 1:
    - '*'
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:592)
    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.composeNode(Composer.java:132)
    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:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    131)
    ... 13 more
     
  30. Offline

    zonedabone

    I'm having some trouble with a permissions node. Whenever anyone right licks on anything, it says 'You don't have permission to use this.' It says it to everyone except the admins, who have all perms. It also does not say it to ops, but I can't op anyone. Is there some way to see live which nodes are being requested so I can debug this?
     
  31. Offline

    Jeyge

    You need a chat plugin to have the prefix and suffix show up.
    If they are still able to do whatever it is they are doing, then just add craftbook.mech.cauldron to their permissions and your licking will go much better and they might even enjoy it.
    You have a tab at or around line 110. Remove that and all other tabs and you should be back in business.
     
Thread Status:
Not open for further replies.

Share This Page