How to put permissions node in the iconomy?

Discussion in 'Bukkit Help' started by jornsibma, Jul 27, 2011.

  1. Offline

    jornsibma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i have this link:

    http://ico.nexua.org/Main/Permissions

    where i need to place all this shit in iconomy config txt file?

    txt file:

    # iConomy 5.0
    # %author Nijikokun <[email protected]>
    # %license GPLv2
    # %copyright Copyright AniGaiku LLC (C) 2010-2011
    ##
    # Setup Notes
    # - Default
    # This node consists of all the 'default' data.
    # - Formatting
    # Allows you to control the output of how you will
    # see the currency in-game with the major/minor features.
    # - Banking
    # Allows users to store money in a seperate location as
    # well as transfer from bank to bank between users
    # - Multiple
    # Allows users to create multiple accounts with banks
    # - Q & A
    # Q: Why?
    # A: Money on hand can be lost, money in banks should not
    # be altered upon plugin specifictions in iConomy 5.0
    # - Interest amount is done in seconds.
    # - Online
    # If only true, only one bank / account will recieve money for that player.
    # If only false, it will go through each bank / account and deposit money.
    # - Announce
    # Sends message each time a player recieves money.
    # - Amount
    # - On
    # Each time interest runs you can either deposit the money into a bank (Interest)
    # or directly into a players holdings (Wage).
    # - Interval
    # - 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
    # - Type
    # Can only be h2 or MySQL, no longer supports SQLite.
    # - Settings
    # If you choose h2, only the first two are needed, do not alter MySQL.
    # - MySQL
    # 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: [ 'Dollar', 'Dollars' ] # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
    Minor: [ 'Coin', 'Coins' ] # Minor (Major.[Minor]) 0.23 Coins (With Seperate 0 Dollars, 23 Coins)
    Account:
    Holdings: 300.0 # Default holdings on hand upon join / creation.
    Bank:
    Name: iConomy # Default Bank Name
    Currency:
    Major: [ 'Dollar', 'Dollars' ]
    Minor: [ 'Coin', 'Coins' ]
    Account:
    Fee: 20.0 # Default cost to register an account
    Holdings: 30.0 # Default initial account holdings
    Formatting:
    Minor: false # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
    Seperate: false # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
    Logging:
    Enabled: false # Logs transactions done inside iConomy only, other plugins must utilize the api. (Logs to SQL)
    Banking:
    Enabled: false
    Accounts:
    Multiple: true
    Interest:
    Enabled: false
    Online: true # Only give to players who are online?
    Announce:
    Enabled: false
    Interval:
    Seconds: 60
    Amount:
    Cutoff: 0.0 # Amount limit to be met until we stop giving interest. (0.0 for no limit)
    On: 'Players' # Banks or Players
    Percent: 0.0 # Percent of holdings to give / take (Negative to take) (Overrides Min/Max)
    Maximum: 1 # (Range) Maximum amount for random in between. (Make Max/Min equal for a flat-rate amount ie: 5/5)
    Minimum: 2 # (Range) Minimum amount for random in between.
    Database:
    Type: 'H2SQL' # H2 or MySQL
    Settings:
    Name: 'minecraft'
    Table: 'iConomy'
    MySQL:
    Username: 'root'
    Password: 'pass'
    Hostname: 'localhost'
    Port: 3306

    where to place it?
  2. Offline

    vapid2323

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You dont, you put all that shit in a permissions plugin.

    You need iConomy and also a Permissions plugin to use that.
  3. Offline

    jornsibma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i have the both where to place it in permissions?

    txt file:

    # 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:
    - 'foo.bar'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'
    - 'iConomyChestShop.shop.create'
    Moderator:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: true
    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:
    TheNo1Yeti:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    Derpina:
    group: Admins
    permissions:
    - '-derp.derp'
  4. Offline

    vapid2323

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Stop pasting the dang text files, if we need them we will ask for them.

    You have to understand permissions are CUSTOM for your server, you would want to place them in the rank you want to have access to them. Its really up to you, you need to look at the permissions wiki a bit more as it explains in detail how to setup the files.
  5. Offline

    jornsibma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok i will that everyone can use it;) how i do that? or just pay money and not more for normal players i dont get it ..
  6. Offline

    vapid2323

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs

    Permissions is a detailed plugin to use, based on your level of experiance it might be a good idea to get a tool like McMyAdmin as it will configure the permissions formats for you.

    Please read that above link it tells you how to configure the .yaml

Share This Page