[ADMN/DEV] PermissionsBukkit v2.0 - Official Default Groups Plugin [1.5.2-R1.0]

Discussion in 'Archived: Plugin Releases' started by SpaceManiac, Jul 17, 2011.

  1. Offline

    SpaceManiac

    PermissionsBukkit - the Official Default Groups Plugin
    Current Version: v2.0
    Find PermissionsBukkit on BukkitDev!

    If you are getting a specific error or cannot determine what is wrong with your permissions file, filing a ticket on BukkitDev will make me much more likely to respond to you; general questions are best to ask in this thread or on the forums on BukkitDev.

    It's been a long time coming, but with the accomplishment of build 1000 Bukkit has finally accomplished a built-in Permissions system (codenamed Superperms). For more info on how they work, and how to integrate them with your plugin, see the official Permissions FAQ. Keep in mind that you should rarely, if ever, have to hook this plugin directly; instead keep things in the realm of checking player.hasPermission("yourplugin.node"). The FAQ thread has more info on how to use Superperms with things like chat prefixes/suffixes.

    Features:
    • Storage of users and groups in plugins/PermissionsBukkit/config.yml.
    • Both users and groups can be assigned individual permissions and parent groups to inherit permissions from.
    • Support for global and per-world permissions.
    • Reload configuration from file with out reloading the plugin.
    • Ability to check if a player has a specific permission node.
    • Ability to dump all permissions a player has and the plugins that set them.
    • Ability to print plugin, description, and default for a given permission node.
    • Ability to modify the permissions of groups and users and the groups of a user in-game.
    • Built-in antibuild via the "permissions.build" node (defaults to allowing anyone to build).
    • A minimalistic bridge from Permissions 3.0 to Superperms is available as a separate plugin, which does not depend on PermissionsBukkit.
    Command Usage:

    Show Spoiler
    PermissionsBukkit uses the command /permissions, with aliases /perms and /perm.

    /permissions reload - reload the configuration from disk.
    /permissions check <node> [player] - check if a player or the sender has a permission (any plugin).
    /permissions info <node> - prints information on a specific permission.
    /permissions dump [player] [page] - prints info about a player's (or the sender's) permissions.
    /permissions setrank <player> <group> - set a player to be in a group with per-group permissions.
    /permissions group - list group-related commands.
    /permissions group list - list all groups.
    /permissions group players <group> - list players in a group.
    /permissions group setperm <group> <[world:]node> [true|false] - set a permission on a group.
    /permissions group unsetperm <group> <[world:]node> - unset a permission on a group.
    /permissions player - list player-related commands.
    /permissions player groups <player> - list groups a player is in.
    /permissions player setgroup <player> <group,...> - set a player to be in only the given groups.
    /permissions player addgroup <player> <group> - add a player to a group.
    /permissions player removegroup <player> <group> - remove a player from a group.
    /permissions player setperm <player> <[world:]node> [true|false] - set a permission on a player.
    /permissions player unsetperm <player> <[world:]node> - unset a permission on a player.

    All commands have in-game help and are usable from the server console.

    Configuration:
    Show Spoiler
    A permission node is a string like 'permissions.build', usually starting with the name of the plugin. Refer to a plugin's documentation for what permissions it cares about. Each node should be followed by true to grant that permission or false to revoke it, as in 'permissions.build: true'. Some plugins provide permission nodes that map to a group of permissions - for example, PermissionsBukkit has 'permissions.*', which automatically grants permissions for all PermissionsBukkit commands. You can also specify false for permissions of this type.

    Users inherit permissions from the groups they are a part of. If a user is not specified here, or does not have a 'groups' node, they will be in the group 'default'. Permissions for individual users may also be specified by using a 'permissions' node with a list of permission nodes, which will override their group permissions. World permissions may be assigned to users with a 'worlds:' entry.

    Groups can be assigned to players and all their permissions will also be assigned to those players. Groups can also inherit permissions from other groups. Like user permissions, groups may override the permissions of their parent group(s). Unlike users, groups do NOT automatically inherit from default. World permissions may be assigned to groups with a 'worlds:' entry.

    The cannot-build message is configurable. If it is left blank, no message will be displayed to the player if PermissionsBukkit prevents them from building, digging, or interacting with a block. Use '&' characters to signify color codes.

    An example configuration file might look like this:
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    

    Permissions:
    Show Spoiler
    PermissionsBukkit checks for the following permission nodes:
    • permissions.build - Allows a player to build. Defaults to true.
    • permissions.help - Allows viewing of usage for /permissions.
    • permissions.reload - Allows use of /permissions reload.
    • permissions.check - Allows use of /permissions reload.
    • permissions.info - Allows use of /permissions reload.
    • permissions.dump - Allows use of /permissions reload.
    • permissions.group.help - Allows viewing of usage for /permissions group.
    • permissions.group.list - Allows use of /permissions group list.
    • permissions.group.players - Allows use of /permissions group players.
    • permissions.group.setperm - Allows use of /permissions group setperm.
    • permissions.group.unsetperm - Allows use of /permissions group unsetperm.
    • permissions.player.help - Allows viewing of usage for /permissions player
    • permissions.player.groups - Allows use of /permissions player groups.
    • permissions.player.setgroup - Allows use of /permissions player setgroup.
    • permissions.player.addgroup - Allows use of /permissions player addgroup.
    • permissions.player.removegroup - Allows use of /permissions player removegroup.
    • permissions.player.setperm - Allows use of /permissions player addgroup.
    • permissions.player.unsetperm - Allows use of /permissions player removegroup.
    Also, the following parent nodes are provided for convenience:

    • permissions.* - Maps to permissions.help, .reload, .check, .info, .dump, and to permissions.group.* and permissions.player.*. Defaults to op.
    • permissions.group.* - Maps to permissions.group.help, .list, .players, .setperm, and .unsetperm.
    • permissions.player.* - Maps to permissions.player.help, .groups, .setgroup, .addgroup, .removegroup, .setperm, and .unsetperm.


    Frequently Asked Questions:
    1. Where are my * nodes? (open)
    Bukkit's Superperms has no built-in concept of a global '*' node that automatically gives all permissions, which is intentional - a player can instead be given all permissions by being given 'op' status (that is, listed in ops.txt). Additionally, individual plugins define a parent node (which could be 'pluginname.*' or 'pluginname.all' or anything else) which maps to whatever subpermissions in that plugin the author desires.

    An example is PermissionsBukkit, which provides three such permissions: 'permissions.group.*' for all /permissions group commands, 'permissions.player.*' for all /permissions player commands, and'permissions.*' for all /permissions commands (including permissions.group.* and permissions.player.*).

    If you are using SuperpermsBridge, you can do something similar to '*' nodes for plugins which use Permissions 2.7/3.1 - see the next FAQ for more information.
    2. How do I use SuperpermsBridge? (open)
    SuperpermsBridge is kind of like FakePermissions for GroupManager or PermissionsBridge for PermissionsEx. Once it's installed, it pretends to be the Permissions plugin and converts any plugins that use Permissions 2.7 or Permissions 3.1 to use Superperms instead.

    You can have PermissionsBukkit without SuperpermsBridge or SuperpermsBridge without PermissionsBukkit if you like, but both of these are limited in functionality. If you install SuperpermsBridge without PermissionsBukkit you will not be able to make use of PermissionsBukkit's groups feature or admin commands, and if you install PermissionsBukkit without SuperpermsBridge, plugins that have not updated to use Superperms directly will not function.

    For plugins that use Permissions 2.7/3.1, you can use the special node 'superpermbridge.*' to give the equivalent of what used to be the '*' node for plugins that do not use Superperms directly. If you don't want to give the * node, you can also use the node 'superpermbridge.pluginname' to do the equivalent of what used to be the 'pluginname.*' node. Once again, these only apply to plugins that SuperpermsBridge handles and not to plugins using Superperms directly.
    3. How do I use the root permissions.yml? (open)
    The file 'permissions.yml' in the root of your server can be used to set up custom parent permissions. Parent permissions are a single node that, when given to a player or group, automatically give all their children node. Here's a simple example:
    Code:
    server.basics:
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    
    Now, if you give a player the node 'server.basics', they automatically get all the nodes listed here. Children may also say 'false' instead of 'true', in which case giving the parent will remove the child instead of giving it.

    You can also specify a description if you like, which can be used by plugins to provide information on your node (such as PermissionsBukkit's /perm info command). If you want, you can also provide a default, which can be one of "true", "false", "op", or "notop". CraftBukkit will automatically assign everyone, no one (default), ops, or non-ops the children permissions based on the specified default. Without any plugin like PermissionsBukkit, you can use this defaults system as a limited way to assign people permissions. Here's a more complex example:
    Code:
    server.basics:
        description: Basic permissions for My Cool Server.
        default: true
        children:
            commandbook.motd: true
            commandbook.say: true
            commandbook.say.me: true
            commandbook.time: true
    server.admin:
        description: Admin permissions for My Cool Server.
        default: op
        children:
            commandbook.broadcast: true
            commandbook.teleport: true
            commandbook.kick: true
            commandbook.ban: true
    
    You can also define permissions without children, but this is of limited usefulness in permissions.yml (though is important in plugin.yml; see question #6)
    4. How do I switch from (other Permissions plugin)? (open)
    Depends on the Permissions plugin! If you were using PEX's YAML backend, I have a converter done and available on the PermissionsBukkit Tools page. Also available on the tools page is an automatic converter for Essentials GroupManager users.yml and groups.yml files. Automatic converters for Permissions 2.7 and 3.x are on their way, but in the meantime you can still convert your configurations manually.
    5. Where are prefixes and suffixes (or option nodes)? (open)
    Bukkit Superperms has no built-in prefix/suffix settings or non-boolean permission nodes, so individual chat plugins will have to start supporting Superperms in order to make use of non-Permissions-plugin based prefixes and suffixes. Herochat, iChat, and Simple Suffix are all aware of the Superperms update, but in the meantime you can use mChat, which already supports Superperms.

    Once you install mChat and configure the mchat.prefix, mchat.suffix, and mchat.group names in its configuration file (see the example), use PermissionsBukkit to give players or groups the permissions "mchat.prefix.admin", replacing "admin" with whatever node you configured. For example, with an mchat configuration that looks similar to this:
    Code:
    da-name-format: '+prefix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+name&f: +message'
    mchat:
        prefix:
            admin: '&4DtK [SO] &7 '
            sadmin: '&9DtK [SA] &7 '
            jadmin: '&aDtK [JA] &7  '
            member: '&cDtK [M] &7 '
    
    You can assign players or groups the mchat.prefix.admin node to get the "SO" prefix, mchat.prefix.sadmin to get the "SA" prefix, and so on.
    6. (Coders) How do I set up my plugin.yml? (open)
    Take a look at this post in Dinnerbone's FAQ for an example. This is a lot like the setup of permissions.yml (see above), but you can also define non-parent permissions (just include description and default and leave out children).
    7. Is PermissionsBukkit outdated? (open)
    No! PermissionsBukkit 2.0 was last updated for 1.3.1-R2.0, is verified to work on 1.4.7-R1.0, and is unlikely to break on future releases.

    Downloads:
    Current Version:

    PermissionsBukkit v2.0 (jar) (details)
    Old Versions:
    PermissionsBukkit v1.6 (jar) (details)

    [​IMG]

    Changelog:

    Friday 7 September 2012 (2.0)
    • Fixed a case-sensitivity issue with setting per-world permissions that could cause some permissions to fail to apply.
    • Added /perm setrank <player> <group> subcommand (alias rank) with per-group permissions (permissions.setrank and permissions.setrank.<group>)
    • Added plugin metrics via http://mcstats.org/plugin/PermissionsBukkitMCStats (disableable in plugins/PluginMetrics/config.yml)
    Wednesday 29 February 2012 (1.6)
    • Fixed some massive issues that were caused due to having uploaded a buggy, in-development version instead of 1.5.
    • Note: If your configuration was messed up as a result of this issue, the new build should gradually correct it as needed.
    Saturday 25 February 2012 (1.5b)
    • Revamped to be compatible with R5.
    • Fixed issues with permissions not carrying properly on world change.
    • Many internal improvements for performance and stability.
    • SuperpermsBridge: in honor of R5 removing deprecated code, SuperpermsBridge is officially gone!
    Monday 18 July 2011 (1.1/1.2)
    • Fix BukkitContrib incompatibility issues.
    • Improved the output of the /perm check command.
    • Fixed issues when 'users:' is not specified in the config file.
    • Fixed the /permissions reload command.
    • SuperpermsBridge: improve wildcard handling; in addition to 'superpermbridge.*' and 'superpermbridge.pluginname', now supported are 'superpermbridge.plugin.*', 'superpermbridge.plugin.subnode.*', and so on.
    Monday 18 July 2011 (1.0/1.1)
    • SuperpermsBridge: adding the special 'superpermbridge.*' and 'superpermbridge.pluginname' nodes (see #2 in the FAQ for details).
    Sunday 17 July 2011 (1.0/1.0)

    • Initial release of PermissionsBukkit v1.0 and SuperpermsBridge v1.0.
     
    madmac, Gesundheit, tripleX and 23 others like this.
  2. Offline

    RustyDagger

    @Tigerius some times permissions are lost when /reload is used rejoining fixes it.

    I even got a "Fix" for this forum But it still effects every 1 in the server except the person that used the command granted It may of ben fixed by now and i may need to update :/
     
  3. Offline

    Tigerius

    rejoining what? the players? plz be more specific
     
  4. Offline

    SpaceManiac

    The lost permissions on /reload known-issue was caused by Spout and I believe it's been fixed in their latest dev build.
     
  5. Offline

    RustyDagger

    @SpaceManiac Most people do not use the dev builds for good reason as the last 1 i tried 130% memory usage Yea... i think not...
     
  6. Offline

    SpaceManiac

    Hehe, you'll have to avoid using /reload until a Spout RB with the fixes is out. Spout's problem, not mine.

    Also, thanks to Samkio for doing a video tutorial on PermissionsBukkit.
     
  7. Offline

    Jazcash

    Plugin doesn't seem to be working properly for players whose Usernames begin with an underscore. Can anybody confirm this?
     
  8. Offline

    Heliwr

    One of my moderators has a name beginning with _ and it works without problems.
     
  9. Offline

    Celeress

    Does this create a user when someone new logs onto the server? Because when i tried this, i logged in and it didn't create a user for "Celeress" so i didn't have any permissions at all because i wasn't in a group
     
  10. Offline

    Larsey

    Does anyone know why i get a error on this:

    Code:
    groups:
    
        default:
            permissions:
                permissions.build: false
    When I start the server it states:

    [SEVERE] Permission node 'groups' in server config is invalid
    java.lang.IllegalArgumentException: 'default' key contained unknown value
    at org.bukkit.permissions.Permission.loadPermission(Permission.java:184)
     
  11. Offline

    ZerothAngel

    Sounds like you edited permissions.yml in the server's root directory instead of plugins/PermissionsBukkit/config.yml.

    permissions.yml is used for defining your own custom permission nodes, which can then be used like shortcuts or aliases. See the #3 FAQ in the top post. The format is completely different than PermissionsBukkit's config.yml.
     
    Larsey likes this.
  12. Offline

    Larsey

    Spot on, thanks!

    Hmm...

    Another problem, i have defined this:

    Code:
    users:
    
    groups:
    
        default:
            permissions:
                permissions.build: true
                essentials.list: true
                essentials.home: true
                essentials.sethome: true
        admin:
            permissions:
                permissions.*: true
                essentials.*: true
            inheritance:
            - user
    
    
    
    messages:
        build: ''
    

    then i join the server. try to build. blocks are being replaced. OK.

    Then i run

    Code:
    permissions player addgroup _Larsey_ default
    
    but it responds that im already in default... why cant i build/remove blocks of grass (just the test, any blocks really)

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

    forceserver

    can this plugin support multiworld??
     
  14. Offline

    eriorkless

    Hi, I'm migrating from Permissions 3.0 and whenever I try running Permissionsbukkit, it says that no permissions plugin is detected.

    Then at the tail end it says permissionsbukkit is enabled and it says this soon after:

    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.*' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.build' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.help' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.reload' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.check' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.info' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.dump' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.*' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.help' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.list' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.players' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.setperm' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.group.unsetperm' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.*' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.help' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.groups' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.setgroup' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.addgroup' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.removegroup' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.setperm' but it's already registered
    11:43 AM [WARNING] Plugin PermissionsBukkit v1.2 tried to register permission 'permissions.player.unsetperm' but it's already registered

    Thanks,
    ~eriorkless

    @eriorkless Please ensure you do not have two PermissionsBukkit jars.

    Ah okay, so I fixed that, but I'm for some reason, none of the players that are in the users list are able to do commands, and the Guests (default) are able to build but not break. I'm confused, because the config file is right...

    Could you take a look if I did anything wrong?

    users:
    eriorkless:
    groups:
    - Guest
    Flamefrontier:
    groups:
    - Builder
    groups:
    Guest:
    permissions:
    permissions.build: false
    motd.*: true
    simpleCensor.*: true
    ichat.*: true
    help.*: true
    commandbook.spawn: true
    Builder:
    permissions:
    creativegates.use: true
    simpleCensor: true
    ichat.*: true
    help.*: true
    quickstrasse.use: true
    lockette.user.create.*: true
    motd.who.use: true
    motd.rtp.use: true
    motd.vtime.use: true
    motd.rules.use: true
    motd.motd.use: true
    commandbook.rules: true
    commandbook.kit.starter: true
    commandbook.who: true
    commandbook.say.me: true
    commandbook.msg: true
    commandbook.clear: true
    mywarp.warp.basic.warp: true
    mcmmo.skills.*: true
    mcmmo.skills.taming: true
    mcmmo.skills.mining: true
    mcmmo.skills.woodcutting: true
    mcmmo.skills.repair: true
    mcmmo.skills.unarmed: true
    mcmmo.skills.archery: true
    mcmmo.skills.herbalism: true
    mcmmo.skills.excavation: true
    mcmmo.skills.swords: true
    mcmmo.skills.acrobatics: true
    mcmmo.skills.axes: true
    mcmmo.motd: true
    mcmmo.regeneration: true
    mcmmo.chat.partychat: true
    mcmmo.ability: true
    mcmmo.commands.ability: true
    mcmmo.commands.ptp: true
    mcmmo.commands.party: true
    mcmmo.ability.*: true
    mcmmo.ability.woodcutting: true
    mcmmo.ability.mining: true
    mcmmo.ability.axes: true
    mcmmo.ability.excavation: true
    mcmmo.ability.swords: true
    mcmmo.ability.herbalism: true
    mcmmo.ability.unarmed: true
    multihome.home: true
    multihome.namedhome: true
    multihome.sethome: true
    multihome.setnamedhome: true
    multihome.deletehome: true
    multihome.listhomes.myself: true
    multihome.listhomes.others: true
    multihome.homeondeath: true
    multihome.invitehome: true
    multihome.invitenamedhome: true
    multihome.uninvitehome: true
    multihome.uninvitenamedhome: true
    multihome.listinvites.tome: true
    multihome.listinvites.toothers: true
    classign.use: true
    inheritance: Guest
    AdvBuilder:
    permissions:
    craftbook.mech.bookshelf.use: true
    craftbook.mech.ammeter.use: true
    craftbook.mech.bridge: true
    craftbook.mech.bridge.use: true
    craftbook.mech.bookeshelf.use: true
    craftbook.mech.cauldron: true
    craftbook.mech.elevator: true
    craftbook.mech.elevator.use: true
    craftbook.mech.gate: true
    craftbook.mech.light-switch: true
    craftbook.ic.restricted: true
    craftbook.ic.safe.mcxxxx: true
    craftbook.ic.restricted.mcxxxx: true
    inheritance: Builder
    Architect:
    permissions:
    commandbook.give: true
    commandbook.give.infinite: true
    commandbook.give.stacks: true
    commandbook.give.stacks.unlimited: true
    inheritance: AdvBuilder
    Engineer:
    permissions:
    commandbook.teleport: true
    worldedit.navigation.*: true
    worldedit.superpickaxe: true
    worldedit.wand: true
    worldedit.wand.toggle: true
    worldedit.selection.pos: true
    worldedit.selection.hpos: true
    worldedit.region.set: true
    worldedit.region.replace: true
    worldedit.clipboard.*: true
    inheritance: Architect
    Moderator:
    permissions:
    commandbook.time: true
    commandbook.time.lock: true
    commandbook.slap: true
    commandbook.slap.other: true
    commandbook.rocket: true
    commandbook.rocket.other: true
    commandbook.barrage: true
    commandbook.barrage.other: true
    worldedit.fixlava: true
    worldedit.fixwater: true
    worldedit.butcher: true
    worldguard.god.*: true
    worldguard.ungod.*: true
    worldguard.heal.*: true
    worldguard.slay: true
    worldguard.region.info.*: true
    inheritance: Engineer
    Operator:
    permissions:
    commandbook.whois: true
    commandbook.whois.other: true
    commandbook.kick: true
    commandbook.teleport: true
    commandbook.teleport.other: true
    commandbook.bans.ban: true
    commandbook.bans.unban: true
    commandbook.bans.isbanned: true
    commandbook.bans.load: true
    commandbook.bans.save: true
    commandbook.kit.admin: true
    worldguard.*: true
    multihome.*: true
    inheritance: Moderator
    Administrator:
    permissions:
    permissions.*: true
    allpermissions.*: true
    messages:
    build: '&cYou do not have permission to build. Register on the website and ask for a rank.'

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  15. Offline

    timetoslide


    hello, I cant seem to get this working, as the default group can still build in the "survival" world. I have multiverse setup (if its any use to this matter)

    HTML:
    [/FONT][/SIZE][SIZE=13px][FONT=Trebuchet MS][LEFT][FONT=Andale Mono] 
    Config:
    
    users:
        timetoslide:
            permissions:
    
            groups:
            - default
        themone:
            permissions:
            permissions.build: true
            groups:
            - admin
        1337lucas:
            permissions:
            permissions.build: true
            groups:
            - admin
        ryanyeo2:
            groups:
            - user
    groups:
        default:
            permissions:
                admincmd.server.motd: true
                admincmd.server.help: true
                admincmd.server.news: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                cf.display: true
                worlds:
                    world:
                        permissions.build: true
                    survival:
                        permissions.build: false
        admin:
            permissions:
                permissions.build: true
                mchat.custVar.admin: true
                mchat.prefix.admin: true
                admincmd.*: true
                permissions.*: true
                nocheat.*: true
                classranks.admin.admin: true
                remexp.exp: true
                cf.allowfly: true
                cf.allowcheat: true
                multiverse.core.*: true
                superpermbridge.plugin.*: true
                jail.command.jailcreate: true
                jail.command.jailcreatecells: true
                jail.command.jaildelete: true
                jail.command.jaildeletecells: true
                jail.command.jail: true
                jail.command.unjail: true
     
                worlds:
                    survival:
                        permissions.build: true
     
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                admincmd.server.motd: true
                admincmd.server.help: true
                admincmd.server.news: true
                mchat.prefix.user: true
                mchat.custVar.user: true
                mchat.prefix.default: false
                multiverse.core.tp.self: true
                multiverse.core.tp.other: true
                multiverse.core.list.worlds: true
                multiverse.access.*: true
                cf.display: true
                warp.list: true
            worlds:
                world:
    
                creative:
                    coolplugin.item: true
     
            inheritance:
            - default
    messages:
        build: ''
    debug: false
    [/LEFT][/FONT]
    [/HTML][/FONT][/SIZE]

    wow... you are fast! thanks!

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

    SpaceManiac

    @Larsey ensure you are not trying to dig/build within the spawn radius.

    @forceserver Yes.

    @eriorkless Please ensure you do not have two PermissionsBukkit jars.

    @timetoslide the worlds: node and its children need to be indented one level less.
     
  17. Offline

    Arco

    Hey guys I'm trying to set up server perms. I'm using Permissionbukkit and superpermsbridge. My permissions isnt working right as members cant build bridges etc. what am I missing? I have myself set as admin yet I cant seem to /give myself anything unless I OP myself



    Code:
    users:
        Archonictazz:
            permissions:
            groups:
            - admin
        Sinasha:
            permissions:
            groups:
            - member
        Demoncok:
            permissions:
            groups:
            - member
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance: member
        member:
            permissions:
                permissions.build: true
                falsebook.anyic: true
                falsebook.blocks.*: true
            Worlds:
                Kush: true
                Kush_nether: true
            inheritance:
    messages:
        build: '&cYou do not have permission to build here.'
    
    IS the a way to be able to have members /give items without a plugin?

    How about TnT, I see ppl ripping up the world uncontrollably with it lol ... thou its not funny. I'm new and just starting all this. Any input is appreciated
     
  18. Offline

    Inf1n1te

    Hey guys, I've just started a new server with PermissionsBukkit v1.2, and I've set the permissions (see below), but when people (not op's, they can do anything) try to use the Essentials commands, they just get the message: You don't have permissions for this. However, when I check the permissions with /perms dump playername, it says it's true. People can build, but they can't use ANY commands, not even /help, though /perms dump says essentials.help: true.
    Code:
    users:
        Inf1n1te:
            permissions:
            groups:
            - admin
        Neoray:
            permissions:
            groups:
            - user
        The_Advanced:
            permissions:
            groups:
            - user
        TheWizzKidIR:
            permissions:
            groups:
            - user
    groups:
        default:
            permissions:
                permissions.*: false
                essentials.*: false
        admin:
            permissions:
                permissions.*: true
                essentials.balance.*: false
                essentials.balancetop: false
                essentials.eco: false
                essentials.pay: false
                essentials.sell: false
                essentials.setworth: false
                essentials.balance: false
                essentials.worth: false
            inheritance:
            - op
        user:
            permissions:
                permissions.build: true
                essentials.give.*: true
                essentials.give: true
                essentials.item: true
                essentials.itemspawn.*: true
                essentials.repair: true
                essentials.afk: true
                essentials.compass: true
                essentials.depth: true
                essentials.getpos: true
                essentials.helpop: true
                essentials.info: true
                essentials.list: true
                essentials.list.hidden: true
                essentials.mail: true
                essentials.mail.send: true
                essentials.me: true
                essentials.motd: true
                essentials.msg: true
                essentials.realname: true
                essentials.help: true
                essentials.rules: true
                essentials.suicide: true
                essentials.whois: true
                essentials.clearinventory: true
                essentials.spawn: true
                essentials.back.ondeath: true
                essentials.sethome: true
                essentials.signs.break.protection: true
                essentials.signs.create.protection: true
                essentials.signs.use.protection: true
            inheritance:
            - default
        op:
            permissions:
                essentials.helpop.receive: true
            inheritance:
            - user
        beest:
            permissions:
                permissions.*: false
                essentials.*: false
    messages:
        build: '&cYou do not have permission to build here.'
    debug: false
    
     
  19. Offline

    forceserver

    how to set world group ??
    i used permission 3.x
    example
    hell world
    groups:
    Swordmaster:
    default: false
    permissions:
    - mcmmo.skills.swords
    inheritance:
    - knight
    info:
    prefix: '&b'
    build: true
    suffix: ''
    Marksman:
    default: false
    permissions:
    - herosneak.auto
    - mcmmo.skills.archery
    inheritance:
    - newbi
    info:
    prefix: '&e'
    build: true
    suffix: ''
    build world
    groups:
    Admins:
    default: false
    permissions:
    - '*'
    inheritance: []
    info:
    prefix: '&c'
    build: true
    suffix: ''
    Builder:
    default: true
    permissions:
    - essentials.help
    - essentials.home
    - essentials.list
    - essentials.time
    inheritance: []
    info:
    prefix: '&1'
    build: true
    suffix: ''

    this is permission3.x stting
    i don't know permissionbukkitsetting well...
    please help me
     
  20. Offline

    Celeress

    Does this create a user when someone new logs onto the server? Because when i tried this, i logged in and it didn't create a user for "Celeress" so i didn't have any permissions at all because i wasn't in a group
     
  21. Offline

    RustyDagger

    @caleress your first group must be called default. it will not make an entry to the file if you are in the default group. because default is what you get when you are not in the file to be in the file you need to add your self to a group higher than default via command or editing the file directly.
     
  22. Offline

    eriorkless

    so we have to name the default group "Default"? We can't name it "Guest"?
     
  23. Offline

    SpaceManiac

    Yes, but the group name isn't displayed directly anywhere, so don't worry about it.
     
  24. Offline

    eriorkless

    Thanks, maybe this was what was making us not have any permissions whatsoever...
    Appreciate it :)
     
  25. Offline

    N00B_Daddy

    Im having a problem with my perms I switched to this from old perms. Did the converter to make it easier. and the file. I have my first group set to default. But my problem is no one can break or place blocks

    groups:
    default:
    permissions:
    essentials.afk: true
    essentials.list: true
    essentials.spawn: true
    essentials.warp: true
    essentials.home: true
    essentials.kit: true
    essentials.kit.starter: true
    essentials.sethome: true
    essentials.portal: true
    essentials.msg: true
    essentials.warp.list: true
    iConomyChestShop.shop.buy: true
    iConomyChestShop.shop.sell: true
    iConomy.access: true
    iConomy.payment: true
    iConomy.list: true
    iConomy.rank: true
    'mcmmo.ablity.*': true
    mcmmo.commands.ptp: true
    mcmmo.chat.partychat: true
    mcmmo.commands.party: true
    mcmmo.commands.ablility: true
    'mcmmo.item.*': true
    mcmmo.motd: true
    mcmmo.commands.whois: true
    'mcmmo.skills.*': true
    essentials.tpa: true
    essentials.tpaccept: true
    essentials.tpahere: true
    essentials.tpdeny: true
    essentials.helpop: true
    essentials.help: true
    nSpleef.member.join: true
    nSpleef.member.leave: true
    nSpleef.member.wager: true
    'XcraftGate.use.*': true
    XcraftGate.world: true
    factions.participate: true
    factions.create: true
    factions.viewAnyPower: true
    mchat.prefix.c7: true
    permissions.build: true
    Engineer:
    permissions:
    essentials.item: true
    'nocheat.*': true
    essentials.tp: true
    essentials.time: true
    'iConomyChestShop.*': true
    mchat.prefix.c6: true
    permissions.build: true
    inheritance:
    - Player
    Squire:
    permissions:
    essentials.clearinventory: true
    essentials.setwarp: true
    essentials.tp: true
    essentials.kit.donator: true
    mchat.prefix.c4: true
    permissions.build: true
    inheritance:
    - Peasant
    Knight:
    permissions:
    permissions.build: true
    'nocheat.*': true
    essentials.tp: true
    essentials.setwarp: true
    iConomyChestShop.shop.create: true
    okspamsecurity.ignore: true
    essentials.tpahere: true
    essentials.broadcast: true
    essentials.time: true
    'magiccarpet.*': true
    mchat.prefix.c8: true
    inheritance:
    - Engineer
    Templar:
    permissions:
    essentials.ban: true
    essentials.ban.notify: true
    essentials.kick: true
    essentials.kick.notify: true
    essentials.mute: true
    essentials.unban: true
    essentials.tempban: true
    essentials.tphere: true
    bb.admin.watch: true
    bb.admin.info: true
    bb.admin.rollback: true
    lwc.mod: true
    essentials.item: true
    jail.command.jail: true
    jail.command.unjail: true
    jail.command.jailmute: true
    'mcmmo.chat.*': true
    'okspamsecurity.*': true
    mchat.prefix.c1: true
    permissions.build: true
    inheritance:
    - Squire
    Marshal:
    permissions:
    'nocheat.*': true
    essentials.tpall: true
    essentials.tpdeny: true
    lwc.admin: true
    worldguard.god: true
    worldguard.ungod: true
    worldguard.slay: true
    worldguard.locate: true
    'worldguard.fire-toggle.*': true
    'worldguard.halt-activity.*': true
    'worldguard.region.define.*': true
    'worldguard.region.redefine.*': true
    'worldguard.region.claim.*': true
    'worldguard.region.select.*': true
    'worldguard.region.info.*': true
    'worldguard.region.remove.*': true
    worldguard.region.list: true
    'worldedit.*': true
    essentials.time: true
    essentials.time.world: true
    jail.command.jailcreate: true
    jail.command.jaildelete: true
    iConomyChestShop.admin: true
    iConomy.admin.grant: true
    iConomy.admin.reset: true
    iConomy.admin.set: true
    iConomy.admin.stats: true
    'mcmmo.admin.*': true
    'mcmmo.tools.*': true
    xauth.admin.chnagepw: true
    'vanish.*': true
    'multiverse.portal.*': true
    'XcraftGate.*': true
    mchat.prefix.c3: true
    permissions.build: true
    inheritance:
    - Templar
    Seneschal:
    permissions:
    'worldedit.*': true
    'worldguard.*': true
    'lwc.*': true
    'permissions.*': true
    'iConomy.*': true
    'jail.*': true
    'bb.*': true
    'iConomyChestShop.*': true
    'essentials.*': true
    'mcmmo.*': true
    pvptoggle.admin: true
    pvptoggle.gadmin: true
    'nocheat.*': true
    OpenInv.openinv: true
    OpenInv.search: true
    OpenInv.crossworld: true
    OpenInv.exempt: true
    OpenInv.pverrode: true
    mchat.prefix.c2: true
    permissions.build: true
    inheritance:
    - Marshal
    'Grand Master':
    permissions:
    'worldedit.*': true
    'worldguard.*': true
    'lwc.*': true
    'permissions.*': true
    'iConomy.*': true
    'jail.*': true
    'bb.*': true
    'iConomyChestShop.*': true
    'essentials.*': true
    'mcmmo.*': true
    pvptoggle.admin: true
    pvptoggle.gadmin: true
    'nocheat.*': true
    OpenInv.openinv: true
    OpenInv.search: true
    OpenInv.crossworld: true
    OpenInv.exempt: true
    OpenInv.pverrode: true
    EasyFlight.fly.give: true
    'dreamland.*': true
    'multiverse.*': true
    'xauth.*': true
    'factions.*': true
    mchat.prefix.c4: true
    permissions.build: true
    inheritance:
    - Marshal
    HeadMarshal:
    permissions:
    'nocheat.*': true
    essentials.tpall: true
    essentials.tpdeny: true
    lwc.admin: true
    worldguard.god: true
    worldguard.ungod: true
    worldguard.slay: true
    worldguard.locate: true
    'worldguard.fire-toggle.*': true
    'worldguard.halt-activity.*': true
    'worldguard.region.define.*': true
    'worldguard.region.redefine.*': true
    'worldguard.region.claim.*': true
    'worldguard.region.select.*': true
    'worldguard.region.info.*': true
    'worldguard.region.remove.*': true
    worldguard.region.list: true
    'worldedit.*': true
    essentials.time: true
    essentials.time.world: true
    jail.command.jailcreate: true
    jail.command.jaildelete: true
    iConomyChestShop.admin: true
    iConomy.admin.grant: true
    iConomy.admin.reset: true
    iConomy.admin.set: true
    iConomy.admin.stats: true
    'mcmmo.admin.*': true
    'mcmmo.tools.*': true
    xauth.admin.chnagepw: true
    'vanish.*': true
    'multiverse.portal.*': true
    'XcraftGate.*': true
    mchat.prefix.c3: true
    permissions.build: true
    inheritance:
    - Templar
     
  26. Offline

    Gecko

    Sorry for my bad english. I cant find how hook to this plugin. I want to manage permissions and group in my plugin.

    Thanks for help :)

    If someone else need im now sending command to console e.g. permissions reload:
    this.getServer().dispatchCommand(new ConsoleCommandSender(this.getServer()), "permissions reload");

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

    Sprunkas

    How to make when joins for the first time in the game he would not default group, but other?
     
  28. Offline

    eriorkless

    I hate to be a nag, but I'm still having trouble with the permissions... I named the default group, "Default" and placed myself in every other rank to see if it works but i'm still don't have permissions to do anything. what am i doing wrong? is it case-sensitive?

    thanks
    ~eri
     
  29. Offline

    PintSki

    eri, 1 thing i noticed:

    inheritance:
    - Player

    but i see no player to inherit from ?
     
  30. Offline

    Psycho Robot

    Maybe it is, maybe it isn't. Shouldn't you try that if you suspect it to be the case?
     
  31. i have same problem as N00B_Daddy, i can not place/destroy blocks, even i add permissions.build: true
     

Share This Page