Inactive [ADMN/DEV] PermissionsEx (PEX) v1.19.5 - Tomorrow is Today! [1.4.6-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by t3hk0d3, May 21, 2011.

  1. Offline

    t3hk0d3

    [​IMG]
    Version: 1.19.5

    PLEASE USE BUKKIT-DEV FORUM FOR DISCUSSION/HELP
    http://dev.bukkit.org/server-mods/permissionsex/
    THANKS IN ADVANCE.

    PermissionsEx (PEX) is a new permissions plugin, based on Permissions ideas and supports all of its features. But PEX is more! It offers different backends, powerful ingame management, fine grained restrictions for world modification.

    [​IMG]

    Current features
    1. Bukkit Permissions (SuperPerms) compatible.
    2. Several backend support. Currently bundled backends is File (YAML) and SQL (MySQL, SQLite). Also it's possible to add your own.
    3. YAML backend, with new, fully rethinked, config schema. Now all user, groups and their permissions are stored in one file - permission.yml. BTW file name is adjustable too.
    4. SQL backend, most delicious. Currently MySQL and SQLite supported, but other DB (like Postgre) are possible too. PEX deploys the DB scheme (tables and initial data) automatically. This means, that you only need to provide data on how to connect to the db, everything else PEX will handle by itself.
    5. Flexible architecture and API - you can change a lot programmatically.
    6. Compatibility layer with TheYeti's Permissions (2.7.4) (as a separate part of the plugin). In most cases plugins, which use Permissions, will alsowork with PEX also.
    7. Rich chat/console command interface. You can do almost everything ingame. Command list below.
    8. Modifyworld - Embedded restrictions mechanism (we call it "modifyworld"), which provides the possibility to control players abilities, such as destroying/placing blocks, riding carts/boats or even getting spotted by mobs and much more. Disabled by default.
    9. Multigroup inheritance. User, as well as Group, can be member of several groups. And inherit their permissions, options and prefix/suffix.
    10. Permissions based upon Regular Expressions. This mean you can use regular expressions. Example: modifyworld.blocks.(destroy|place).(3|12) - this permission allow place or destroy only sand (12) or dirt (3) blocks. There is still limitation on dot usage in your regexps - dots are escaped by default.
    11. Multiworld permissions. Just don't specify world and permission would work in any world.
    12. Multiworld inheritance. You can inherit different groups in different worlds.
    13. Easy migration from Permissions 2.x. Converter for both YAML and SQL are embedded into PermissionsCompat. Just use simple instruction.
    14. Perfomance friendly. Low-level caching helps alot when you have 100+ online users :)
    15. Promotional/Demotional system. You can assign ranks to groups and promote/demote users to higher/lower ranked group.
    16. World-inheritance - permissions/option of one world can be inherited by another world.
    17. Timed Permissions - you can give user permission only for some amount of time.
    18. Chat Manager - small chat plugin, bundled with PEX. With prefixes/suffiex and colors. Check wiki for more details.


    Documentation
    Wiki

    Basic setup tutorial (Thanks to lycano)

    Nice tutorial made by Bennetman


    Download
    Stable version

    Development version (mostly stable) - always lastest dev build.

    Sources
    https://github.com/PEXPlugins

    Builds
    http://webbukkit.org:8080/

    Maven Repository
    http://repo.tehkode.ru/browse/ru.tehkode

    IRC
    Join us on #permissionsex, irc.esper.net. Feel free to ask any related questions.

    Tools !NEW!
    Pex Auto-Setup Tool - MySQL and FlatFile !


    Changelog
    Show Changelog (open)
    v1.19.5
    Proper intervals for timed commands (both group/permissions management), without pesky seconds calculations (like /pex user t3hk0d3 timed add cool.permission 10days)
    Bugfixes.
    1.4.6 compatibility.


    v1.19.4
    Built for Bukkit 1.4.2-R0.1
    Added inventory permissions (modifyworld.items.put/take.<item>.of.<chest>)
    Added item hold permission (modifyworld.items.hold.<item>)
    Sdded monster egg spawn permission (modifyworld.spawn.<creature>)
    Few other minor fixes
    v.1.19.3
    Modifyworld improvements (configurable messages, now independent from PEX)
    /pex help command
    Minor improvements and bugfixes
    v.1.19.2
    New modifyworld permissions
    Some bugfixes
    v.1.19.1
    Bugfix release
    v1.19
    Bukkit R6 compatible.
    Several bugfixes!
    Permissions now case-insensetive.
    v1.18
    Users logging and cleanup feature.
    Non-inheriting nodes feature.
    Several Bugfixes.
    PermissionsCompat is finally remove from default bundle.
    v1.17
    User/group specific management permissions (permissions.manage.group.Admin)
    Fixed some superperms compatibility issues
    Fixed several bugs
    v1.16
    SuperPerms compatbility bridge were rewritten - no lags anymore and now with debug output (now you can view superperms checks).
    Numerous of bugs were fixed (Thanks you guys for reporting them)
    Modifyworld were improved (modifyworld.item.use)
    v1.15
    Compatiblity for 1317+
    Fixed perfomance issues with SuperPerms (if you still experience they try to disable "raw-permissions" in config.yml)
    Fixed issue with prefix inheritance
    v1.14
    Improved Options mechanism.
    Auto saving new users feature, disabled by default.
    SuperPerms bridge improved - more permissions supported by wildcards.
    File backend dumping now fully functional. SQL dumping is still bogus (do not dump world-specific inheritance and prefixes), will be fixed soon.
    Many bugfixes and minor improvements.
    v1.13
    Superperms (BukkitPerms) support
    Multiworld inheritance and prefixes/suffixes
    Groups weighting
    ChatManager, chat plugin which bundled with PEX.
    Modifyworld now separate plugin, but still bundled with PEX.
    API changed slightly, CustomEvents (PermissionsEntityEvent, PermissionsSystemEvent) introduced.
    Many lesser improvements and tons of bugfixes.
    v1.12
    API get slightly improved
    Ranking ladders.
    User/group name case-insensetivity.
    World-inheritance.
    Timed permissions.
    Modifyworld rules are get improved.
    Tons of minor improvements and bugfixes.
    v1.11
    Many bugfixes and improvements.
    MySQL connection stability improved - reconnection mechanism.
    v1.10
    Promotional/Demotional system.
    Perfomance improvement, with new low-level caching system (thx Joy)
    Modifyworld improved.
    Many lesser improvements and bugfixes.
    v1.06
    New p2compat backend, for easy migration from Permissions 2.x to PEX.
    v1.05
    Users/Groups dumping (pex dump <backend> <file>).
    New commands pex promote/demote. Actually this is just aliases for "pex user group set/remove"
    Few bugfixes.
    v1.04
    Players now can be informed about changes (has been added to group, changed permission/option). Disabled by default - set "permissions.informplayers.changes" to "true"
    Config node "permissions.verbose", which responsible for player informing about modifyworld restrictions has been renamed to "permissions.infromplayers.modifyworld".
    Autocomplete has been improved.
    New command "pex config <node> [value]". This command help to manipulate configuration file (config.yml) from console/chat interface.
    Many bugfixes.
    v1.03
    Autocomplete for users (taken from registred users and online users) and groups names.
    New command for user removing (pex user <user> delete)
    Fixed several nasty bugs. Thanks for bugreports!
    v1.02
    Compatibility layer loading order issue fixed. Now most of plugins should work.
    Tested with new CB 803 build.
    v1.01
    Regular expression permissions support.
    Newer permissions now added above (bugfix).
    Several bugfixes.
    v1.00
    Initial public release.
     
    BRampersad, grid21, MrRazull and 71 others like this.
  2. Offline

    Woolcity

    We got it. I'll never be able to look into the YML file and edit it by hand again, but I got it. lol.
     
  3. Now this is interesting...

    I pulled a new copy of bukkit 1318 and essentials 2.6.3 and was able to experienced the "you can't go to bed your sleep is ignored", until I removed my user name from ops.txt, then it worked.

    What causes this, I don't know, and as far as I can see, the ops.txt file is only really useful on servers that don't have permissions or as a way to make sure an op can log in when the player limit on a server is reached.

    I wouldn't call this a fix exactly, but more of a workaround.
     
  4. Offline

    t3hk0d3

    try lastest dev version

    Try lastest dev version of pex

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

    AuZor

    Still need an answer. Do I need the latest build maybe? It fucks up all my other plugins.
     
  6. Offline

    Sushen

    Hi,

    I'm trying to write a plugin that assigns a temporary group to my visitors.

    When visitors arrive on my server, they have the default group, but when they do a particular action, i want to assign a new group to them WITHOUT adding them to the permission's file.

    And there, i have the following problem : when i call the addGroup method on a PermissionUser, it writes instantly the user in the permission file - which i absolutely don't want. (imagine 1000 visitors, and my permission.yml becomes huge and useless time-consuming).

    Is there a way to assign a group to a user without automaticly saving the permissions.yml file ?

    Thanks
     
  7. Offline

    worstboy32

    Anny idea why my colors just stopped working?
    http://pastie.org/2712511
    Everything is white also tryed remove all other plugins but it was still white.
     
  8. Offline

    t3hk0d3

    not actually, but i'll take it in my plans :)
    Something like:
    user.setAutoCommit(false);
    user.addGroup(group);
    user.setAutoCommit(true);
     
  9. Offline

    Sushen

    Thanks a lot for your quick answer :)
    That feature would be really nice ;)
     
  10. Offline

    Valtos

    The link in Thread-Head for the latest dev version doesn't work. the link is redirecting to your wordpress system.
    only the stable version link is working.

    HERE for all the latest build from jenkins: http://webbukkit.org:8080/job/Permi...ssfulBuild/artifact/ru.tehkode/PermissionsEx/

    Seems to be working. Thanks.

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

    RyanSayer

    How do i make it so that only certain members have access to craftbukkit commands without opping them? For example i want my admins to have access to all of the commands without me having to op them and my moderators to only have access to a few of them but they cannot access them without being oped and when i do op them they have access to them all.

    Edit: my iconomy commands wont work unless oped aswell
     
  12. Offline

    t3hk0d3

    Upcoming features of 1.15.1:
    Number Ranges:
    It would be possible to specify ranges, example:

    modifyworld.blocks.interact.100-200
    or more complicated
    modifyworld.blocks.interact.(10-20|23-26|29-35)

    Modifyworld block metadata
    Now would be possible to check also metadata (for example wool block color)
    Disabled by default, should be enabled in Modifyworld/config.yml (check-metadata: true)
    Example:
    -modifyworld.blocks.place.34.0 (deny white wool ; use-material-names = false)
    modifyworld.blocks.interact.crops.7 (interact only with full grown crops ; use-material-names = true)

    And finally i resolve this superperms clusterfuck, now everything should work without problems.
    Wildcards and regexps for superperms, YAY
     
  13. Offline

    jhonwds

    Permissions doesnt work with me :/. What Am i doing wrong? Also I get this on console:
    Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:143)
    at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)


    I have installed PermissionsEX, Permissions and Modifyworld in my plugins, Modifyworld is enabled in the config but when I restart the server the Modifyworld plugins gets red.

    This is my permissions.yml:
    Code:
    groups:
        Citizen:
            default: false
            permissions:
            - modifyworld.*
            - commandbook.whereami
            - commandbook.say.me
            - commandbook.msg
            - commandbook.spawn
            - commandbook.kit.kits.starter
            - commandbook.rules
            - commandbook.motd
            - commandbook.who
            - commandbook.whereami
            - commandbook.time.check
            - craftbook.mech.bridge
            - craftbook.mech.bookshelf.use
            - commandbook.bans.isbanned
            - mobRider.players
            - essentials.sethome
            - essentials.home
            - myhome.home.basic.delete
            - essentials.signs.mail.create
            - essentials.signs.mail.use
            - essentials.warp
            - mywarp.warp.basic.list
            - pvptoggle.command.toggle
            - mywarp.warp.basic.warp
            - craftbook.mech.elevator
            - craftbook.mech.gate
            - iConomy.access
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.change
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multiple
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
            - worldguard.stack
            - monsterhunt.usercmd.hunt
            - monsterhunt.usercmd.huntscore
            - monsterhunt.usercmd.huntstatus
            - craftbook.mech.light-switch
            - craftbook.*
            - obuvoting.vote
            - falsebook.blocks.*
            - falsebook.destroy.blocks
            - mcmmo.motd
            - mcmmo.regeneration
            - mcmmo.commands.whois
            - mcmmo.commands.ability
            - mcmmo.ability.woodcutting
            - mcmmo.ability.mining
            - mcmmo.ability.axes
            - mcmmo.ability.excavation
            - mcmmo.ability.swords
            - mcmmo.ability.unarmed
            - mcmmo.ability.herbalism
            - mcmmo.item.chimaerawing
            - mcmmo.skills.*
            - commandbook.home.teleport
            - commandbook.home.set
            prefix: '&bCitizen&f'
            suffix: '&f'
        Mod:
            default: false
            permissions:
            - -essentials.ban
            - -worldguard.*
            - '*'
            prefix: '&aMod&f'
            suffix: '&f'
        Admin:
            default: false
            permissions:
            - '*'
            prefix: '&cAdmin&f'
            suffix: '&f'
        Member:
            inheritance:
            - Citizen
            default: false
            permissions:
            - commandbook.call
            prefix: '&6Member&f'
            suffix: '&f'
        Guest:
            default: true
            permissions:
            - commandbook.spawn
            - modifyworld.chat
            prefix: '&7Guest&f'
            suffix: '&f'
        Sponsor:
            default: false   
            permissions:
            - '*'
            prefix: '&a$$$&f]&dSponsor&f'  
        Officer:
            inheritance:
            - Citizen
            default: false
            permissions:
            - commandbook.time
            - commandbook.thunder
            - commandbook.spawnmob 
            - commandbook.weather         
            - commandbook.teleport.other 
            - commandbook.teleport
            - commandbook.mute
            - vanish.standard
            - mcbans.*
            prefix: '&8Officer&f'
            suffix: '&f'        
     
  14. Offline

    AuZor

    In search of a freakin' answer.
     
  15. Offline

    Boertje

    Hi, if i check the permission.yml it says:

    ERROR:
    while scanning for the next token found character '\t' that cannot start any token in "<unicode string>", line 8, column 1: ^

    This is my file:
    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.chat
    
        Member:
            default: false
            build: true
            permissions:
            - essentials.warp
            - essentials.home
            - essentials.sethome
            - essentials.spawn
            - essentials.whois
            - essentials.msg
            - essentials.list
    
        Moderator:
            default: false
            build: true
            inheritance: Member
            permissions:
            - essentials.kick
            - essentials.mute
            - essentials.unmute
            - essentials.logblock.tools.toolblock
            - essentials.logblock.tp
            - jail.command.jail
            - jail.command.unjail
            - essentials.tp
    
        Admin:
            default: false
            build: true
            inheritance: Member
            permissions:
            - essentials.kick
            - essentials.mute
            - essentials.unmute
            - essentials.logblock.tools.toolblock
            - essentials.logblock.tp
            - jail.command.jail
            - jail.command.unjail
            - essentials.ban
            - essentials.pardon
            - bukkit.command.gamemode
            - worldedit.*
            - essentials.logblock.rollback
            - essentials.tp
    
        Owner:
            default: false
            build: true
            permissions:
            - '*'
    
    Can some1 help me? I really like this plugin :)
     
  16. Offline

    RyanSayer

    How do i make it so that only certain members have access to craftbukkit commands without opping them? For example i want my admins to have access to all of the commands without me having to op them and my moderators to only have access to a few of them but they cannot access them without being oped and when i do op them they have access to them all.

    Edit: my iconomy commands wont work unless oped aswell

    Here's my PEX permissions.yml
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            options:
                rank: '1000'
            permissions:
            - iconomy.holdings
            - modifyworld.chat
            prefix: '&8[Guest] '
        Owner:
            prefix: '&4[Owner] '
            permissions:
            - modifyworld.*
            - iconomy.*
            - worldguard.*
            - worldedit.*
            - permissions.*
            - chanchat.*
            - -modifyworld.mobtarget.*
            - '*'
            inheritance:
            - Admin
            options:
                rank: '0'
        VIP:
            prefix: '&e[VIP]'
            permissions:
            - ChanChat.create
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            - iconomy.holdings.others
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            inheritance:
            - Member
            options:
                rank: '800'
        Member:
            prefix: '&a[Member] '
            permissions:
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            - modifyworld.*
            inheritance:
            - Default
            options:
                rank: '900'
        Admin:
            prefix: '&9[Admin]'
            permissions:
            - worldedit.navigation.jumpto
            - worldguard.fire-toggle.*
            - worldguard.region.*
            - worldguard.heal.other
            - worldguard.ungod.other
            - worldguard.heal
            - worldguard.ungod
            - worldguard.god
            - worldedit.extinguish
            - worledit.green
            - worledit.thaw
            - worldedit.snow
            - permissions.user.demote.default
            - permissions.user.demote.VIP
            - permissions.user.demote.Moderator
            - permissions.user.demote.member
            - permissions.user.promote.default
            - permissions.user.promote.member
            - permissions.user.promote.VIP
            - chanchat.admin
            - ChanChat.create
            - ChanChat.reload
            - craftbukkit.command.unban.player
            - craftbukkit.command.time.set
            - craftbukkit.command.tell
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - craftbukkit.command.ban.player
            - craftbukkit.command.give
            - craftbukkit.command.kick
            - craftbukkit.command.teleport
            inheritance:
            - Moderator
            options:
                rank: '100'
            worlds:
                membership:
                    permissions: null
        Moderator:
            prefix: '&b[Mod]'
            permissions:
            - craftbukkit.command.unban.player
            - craftbukkit.command.tell
            - craftbukkit.command.ban.player
            - craftbukkit.command.give
            - craftbukkit.command.kick
            - craftbukkit.command.teleport
            - modifyworld.*
            - worldguard.heal
            - ChanChat.create
            - -modifyworld.mobtarget.monster.creeper
            - iconomy.holdings.others
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            inheritance:
            - VIP
            options:
                rank: '200'
    users:
        RyanSayer:
            group:
            - Owner
        zxMETAL:
            group:
            - Admin
            permissions:
            - worldedit.*
        huggsmd1:
            group:
            - Admin
        kaikoo1:
            group:
            - VIP
    

    PEX Config:
    Show Spoiler
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            disable-unmatched: false
            enable: true
            debug: false
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
        informplayers:
            changes: false
    

    iConomy Config
    Show Spoiler
    Code:
    # iConomy 6.0
    # @author     Nijikokun <[email protected]>
    # @license    GPLv2
    # @copyright  Copyright AniGaiku LLC (C) 2010-2011
    ##
    # Setup Notes
    #   - Seconds
    #         Basic Table:
    #           1 minute = 60 seconds
    #           1 hour = 1 minute * 60 = 3600 seconds
    #           1 day = 1 hour * 24 = 86400 seconds
    #           1 week = 1 day * 7 = 604800 seconds
    #   - Database
    #           Do not use remote databases from free sites, please use either a
    #            remote database from a personal hosted VPS or DEDI or a local
    #            database. This will prevent any 'timeout' or 'invalid settings'
    #            or 'cannot connect to database' issues. Thank you :)!
    ##
    
    System:
      Default:
        Currency:
          # Major is the first segment [Major].Minor
          Major: [ 'UberBuck', 'UberBucks' ]                # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
          Minor: [ 'Coin', 'Coins' ]                    # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 UberBucks, 23 Coins)
    
        Account:
          # Default account balance when created
          Holdings: 100.0
    
      # Controls how money is formatted through methods
      Formatting:
        # Minor allows you to use the Minor amounts for amounts <1
        # Example (true) 0.23 Coins and 1.23 UberBucks (false) 0.23 UberBucks and 1.23 UberBucks
        Minor: false
    
        # Seperate allows your money to be shown in an alternative way,
        # instead of 1.32 it will show as 1 Dollar 23 Coins
        # !!! NOTICE: This only works if Minor is set to true !!!
        Seperate: false                               # Example (true) 1 Dollar, 23 Coins (false) 1.23 UberBucks (Only if Minor is true)
    
        # Single shows your money in another alternative way.
        # Instead of 1.23 UberBucks you will see: 1 Dollar.
        # If your money is 0.23 you will see 0 UberBucks if Minor is false, 23 Coins if Minor is true.
        # !!! Notice: This overrides seperate !!!
        Single: false
    
      # Logs all monetary transactions passed through iConomy
      Logging:
        Enabled: false
    
      # Controls amount of money gained at a set interval.
      Interest:
        Enabled: false
    
        # Only give interest to players who are currently online?
        Online: true
    
        Announce:
          # Send a message when the player gains interest?
          Enabled: true
    
        Interval:
          #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
          #   1 minute = 60 seconds
          #   1 hour = 1 minute * 60 = 3600 seconds
          #   1 day = 1 hour * 24 = 86400 seconds
          #   1 week = 1 day * 7 = 604800 seconds
          Seconds: 60
    
        Amount:
          # The balance to be met where we stop giving interest.
          # 0.0 for no limit
          Cutoff: 0.0
    
          # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
          Percent: 0.0
    
          # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
          # If the two numbers are different, it will be a random amount in-between the two.
          Maximum: 1
          Minimum: 2
    
      Database:
        # Databases Supported:
        # Flatfile, FF, mini, minidb
        #  - These all equate to miniDB
        ##
        # item, items, inventory, inventoryDB
        #  - These all equate to InventoryDB, which uses inventory for storage
        ##
        # xp, exp, orb, xpdb, expdb, orbdb
        #  - These all equate to ExperienceDB, which relies on Experience for balance.
        ##
        # mysql, mysqldb
        #  - These will attempt to connect to MySQL
        ##
        # sqlite, sqlite2, sqlite3, sqlitedb
        #  - These will attempt to create & connect to SQLite
        ##
        # postgre, postgreSQL, postgreDB
        #  - These will attempt to connect to PostgreSQL
        Type: 'minidb'
        # These are for InventoryDB only.
        # MajorItem is the item or block ID of the major currency
        # MinorItem is the item or block ID of the minor currency
        # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
        MajorItem: 266
        MinorItem: 265
    
        # This controls the database name, by default it is iConomy
        Table: 'iConomy'
    
        # URL is for SQL Databases Only
        ##
        # Path to iConomy folder is easy, it's the COMPLETE path.
        # (Mine) G:\MineCraft\plugins\iConomy\
        # Won't be the same as yours, but it usually looks like that.
        ##
        # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
        # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
        ##
        # Binary Databases use ip:port style connections.
        # ip
        #  - is the connection identifier (internet protocol)
        #  - for ipv6 usually encased in brackets [::1]
        # port
        #  - the port that the database is listening on
        #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
        ##
        # [MySQL Default] mysql://localhost:3306/iConomy
        # [Postgre Default] postgresql://localhost:5740/iConomy
        URL: 'mysql://localhost:3306/iConomy'
    
        # Login details for binary databases
        Username: 'root'
        Password: ''
    
        # Conversion allows you to convert your old 5.x to the new 6.x
        # All is currently unused.
        # URL is for MySQL only, H2DB doesn't use it.
        Conversion:
          # Set to True, After converting, change this back to false!
          Enabled: false
    
          # Database Type, H2DB or MySQL
          Type: 'H2DB'
    
          # Database Table
          Table: 'iConomy'
    
          # Database URL without table at the end.
          URL: 'mysql://localhost:3306'
    
          # Username / Password
          # H2DB does not use this. MySQL Only.
          Username: 'root'
          Password: ''
    
          # Unused ATM.
          All: true
     
  17. Offline

    Myor

    Hi, great plugin. keep it up! :)
    I have a weird problem. I created this group:
    Code:
    CoAdmin:
            default: false
            prefix: '&2[Admin] '
            permissions:
            - -worldguard.region.bypass.*
            - -worldedit.limit.unrestricted
            - -worldedit.anyblock
            - -bukkit.command.stop
            - -bukkit.command.gamemode
            - -permissions.*
            - '*'
    Everything works fine, but CoAdmins can still use "/stop" and "/gamemode". What am I doing wrong?
     
  18. Offline

    RyanSayer

    - '*' Gives them access to every single command.
     
  19. You might get a better response if you put your config in a pastebucket and link to that with a description of the problem vs a screenshot which is hard to read.
     
  20. Offline

    RyanSayer

    How do i make it so that only certain members have access to craftbukkit commands without opping them? For example i want my admins to have access to all of the commands without me having to op them and my moderators to only have access to a few of them but they cannot access them without being oped and when i do op them they have access to them all.

    Edit: my iconomy commands wont work unless oped aswell

    Here's my PEX permissions.yml
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            options:
                rank: '1000'
            permissions:
            - iconomy.holdings
            - modifyworld.chat
            prefix: '&8[Guest] '
        Owner:
            prefix: '&4[Owner] '
            permissions:
            - modifyworld.*
            - iconomy.*
            - worldguard.*
            - worldedit.*
            - permissions.*
            - chanchat.*
            - -modifyworld.mobtarget.*
            - '*'
            inheritance:
            - Admin
            options:
                rank: '0'
        VIP:
            prefix: '&e[VIP]'
            permissions:
            - ChanChat.create
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            - iconomy.holdings.others
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            inheritance:
            - Member
            options:
                rank: '800'
        Member:
            prefix: '&a[Member] '
            permissions:
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            - modifyworld.*
            inheritance:
            - Default
            options:
                rank: '900'
        Admin:
            prefix: '&9[Admin]'
            permissions:
            - worldedit.navigation.jumpto
            - worldguard.fire-toggle.*
            - worldguard.region.*
            - worldguard.heal.other
            - worldguard.ungod.other
            - worldguard.heal
            - worldguard.ungod
            - worldguard.god
            - worldedit.extinguish
            - worledit.green
            - worledit.thaw
            - worldedit.snow
            - permissions.user.demote.default
            - permissions.user.demote.VIP
            - permissions.user.demote.Moderator
            - permissions.user.demote.member
            - permissions.user.promote.default
            - permissions.user.promote.member
            - permissions.user.promote.VIP
            - chanchat.admin
            - ChanChat.create
            - ChanChat.reload
            - craftbukkit.command.unban.player
            - craftbukkit.command.time.set
            - craftbukkit.command.tell
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - craftbukkit.command.ban.player
            - craftbukkit.command.give
            - craftbukkit.command.kick
            - craftbukkit.command.teleport
            inheritance:
            - Moderator
            options:
                rank: '100'
            worlds:
                membership:
                    permissions: null
        Moderator:
            prefix: '&b[Mod]'
            permissions:
            - craftbukkit.command.unban.player
            - craftbukkit.command.tell
            - craftbukkit.command.ban.player
            - craftbukkit.command.give
            - craftbukkit.command.kick
            - craftbukkit.command.teleport
            - modifyworld.*
            - worldguard.heal
            - ChanChat.create
            - -modifyworld.mobtarget.monster.creeper
            - iconomy.holdings.others
            - iconomy.payment
            - iconomy.help
            - iconomy.holdings
            inheritance:
            - VIP
            options:
                rank: '200'
    users:
        RyanSayer:
            group:
            - Owner
        zxMETAL:
            group:
            - Admin
            permissions:
            - worldedit.*
        huggsmd1:
            group:
            - Admin
        kaikoo1:
            group:
            - VIP
    

    PEX Config:
    Show Spoiler
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            disable-unmatched: false
            enable: true
            debug: false
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
        informplayers:
            changes: false
    

    iConomy Config
    Show Spoiler
    Code:
    # iConomy 6.0
    # @author    Nijikokun <[email protected]>
    # @license    GPLv2
    # @copyright  Copyright AniGaiku LLC (C) 2010-2011
    ##
    # Setup Notes
    #  - Seconds
    #        Basic Table:
    #          1 minute = 60 seconds
    #          1 hour = 1 minute * 60 = 3600 seconds
    #          1 day = 1 hour * 24 = 86400 seconds
    #          1 week = 1 day * 7 = 604800 seconds
    #  - Database
    #          Do not use remote databases from free sites, please use either a
    #            remote database from a personal hosted VPS or DEDI or a local
    #            database. This will prevent any 'timeout' or 'invalid settings'
    #            or 'cannot connect to database' issues. Thank you :)!
    ##
    
    System:
      Default:
        Currency:
          # Major is the first segment [Major].Minor
          Major: [ 'UberBuck', 'UberBucks' ]                # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
          Minor: [ 'Coin', 'Coins' ]                    # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 UberBucks, 23 Coins)
    
        Account:
          # Default account balance when created
          Holdings: 100.0
    
      # Controls how money is formatted through methods
      Formatting:
        # Minor allows you to use the Minor amounts for amounts <1
        # Example (true) 0.23 Coins and 1.23 UberBucks (false) 0.23 UberBucks and 1.23 UberBucks
        Minor: false
    
        # Seperate allows your money to be shown in an alternative way,
        # instead of 1.32 it will show as 1 Dollar 23 Coins
        # !!! NOTICE: This only works if Minor is set to true !!!
        Seperate: false                              # Example (true) 1 Dollar, 23 Coins (false) 1.23 UberBucks (Only if Minor is true)
    
        # Single shows your money in another alternative way.
        # Instead of 1.23 UberBucks you will see: 1 Dollar.
        # If your money is 0.23 you will see 0 UberBucks if Minor is false, 23 Coins if Minor is true.
        # !!! Notice: This overrides seperate !!!
        Single: false
    
      # Logs all monetary transactions passed through iConomy
      Logging:
        Enabled: false
    
      # Controls amount of money gained at a set interval.
      Interest:
        Enabled: false
    
        # Only give interest to players who are currently online?
        Online: true
    
        Announce:
          # Send a message when the player gains interest?
          Enabled: true
    
        Interval:
          #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
          #  1 minute = 60 seconds
          #  1 hour = 1 minute * 60 = 3600 seconds
          #  1 day = 1 hour * 24 = 86400 seconds
          #  1 week = 1 day * 7 = 604800 seconds
          Seconds: 60
    
        Amount:
          # The balance to be met where we stop giving interest.
          # 0.0 for no limit
          Cutoff: 0.0
    
          # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
          Percent: 0.0
    
          # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
          # If the two numbers are different, it will be a random amount in-between the two.
          Maximum: 1
          Minimum: 2
    
      Database:
        # Databases Supported:
        # Flatfile, FF, mini, minidb
        #  - These all equate to miniDB
        ##
        # item, items, inventory, inventoryDB
        #  - These all equate to InventoryDB, which uses inventory for storage
        ##
        # xp, exp, orb, xpdb, expdb, orbdb
        #  - These all equate to ExperienceDB, which relies on Experience for balance.
        ##
        # mysql, mysqldb
        #  - These will attempt to connect to MySQL
        ##
        # sqlite, sqlite2, sqlite3, sqlitedb
        #  - These will attempt to create & connect to SQLite
        ##
        # postgre, postgreSQL, postgreDB
        #  - These will attempt to connect to PostgreSQL
        Type: 'minidb'
        # These are for InventoryDB only.
        # MajorItem is the item or block ID of the major currency
        # MinorItem is the item or block ID of the minor currency
        # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
        MajorItem: 266
        MinorItem: 265
    
        # This controls the database name, by default it is iConomy
        Table: 'iConomy'
    
        # URL is for SQL Databases Only
        ##
        # Path to iConomy folder is easy, it's the COMPLETE path.
        # (Mine) G:\MineCraft\plugins\iConomy\
        # Won't be the same as yours, but it usually looks like that.
        ##
        # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
        # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
        ##
        # Binary Databases use ip:port style connections.
        # ip
        #  - is the connection identifier (internet protocol)
        #  - for ipv6 usually encased in brackets [::1]
        # port
        #  - the port that the database is listening on
        #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
        ##
        # [MySQL Default] mysql://localhost:3306/iConomy
        # [Postgre Default] postgresql://localhost:5740/iConomy
        URL: 'mysql://localhost:3306/iConomy'
    
        # Login details for binary databases
        Username: 'root'
        Password: ''
    
        # Conversion allows you to convert your old 5.x to the new 6.x
        # All is currently unused.
        # URL is for MySQL only, H2DB doesn't use it.
        Conversion:
          # Set to True, After converting, change this back to false!
          Enabled: false
    
          # Database Type, H2DB or MySQL
          Type: 'H2DB'
    
          # Database Table
          Table: 'iConomy'
    
          # Database URL without table at the end.
          URL: 'mysql://localhost:3306'
    
          # Username / Password
          # H2DB does not use this. MySQL Only.
          Username: 'root'
          Password: ''
    
          # Unused ATM.
          All: true
     
  21. Offline

    t3hk0d3

    install dev version
     
  22. Offline

    homeworlder_

    Hey, im having a problem.
    When im doing the /essentials (to reload the plugin)
    it gives me an error;
    Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    i dont know if its PermissionsEx or Essentials, so if you have any clue on what it could be, then please help :)

    Also, i always get Internal Errors with all kinds of plugins but i've learned that it must be Bukkit thats failing.
    i got CB build 1344

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

    JSmoove98

  24. Offline

    TheCrazyOne

    Is it possible to use modifyworld with the gametype Creative? Guest can still destroy blocks with only the say permission.

    Output:
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  25. Offline

    t3hk0d3

    Yes, it's possible. Strange what you have issues with this.
     
  26. Offline

    TheCrazyOne

    These are the settings (mySQL)

    [​IMG]
     
  27. Offline

    ccrock4t

    How do i add users? Here are my config and permissions files:
    Permissions:
    Code:
    groups:
        Peasant:
            default: true
            permissions:
            - heroes.classes.*
    
        Noble:
            inheritance:
            - Peasant
            permissions:
            - heroes.admin.class
    
        Demigod:
            inheritance:
            - Noble
            permissions:
            - heroes.admin.reset
    
        God:
            inheritance:
            - Demigod
            permissions:
            - '*'
    Config:
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            enable: true
            strict-mode: false
        createUserRecords: true
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
    
    Yeh, the permissions file seems like it's missing something. Please reply telling me how to add users, and please write any additional code needed. My world name is "Wizard" (obviously without the quotes.).
     
  28. Offline

    TheCrazyOne

    Wiki?
     
  29. Offline

    t3hk0d3

    show output of /pex group Guest list creative
     
  30. Offline

    hallowhead1

    how do you allow a group to build?
    i can't seem to get it to work?
    also how to add the help command back?
     
  31. Offline

    Rehab

    Awesome plugin!, whats the command to do pex in game, so like /pex in game please reply!
     

Share This Page