Jobs Plugin

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Likkez
Příspěvky: 13
Registrován: 16 bře 2012, 13:38
Reputation: 0

Re: Jobs Plugin

#11 Příspěvekod Likkez » 16 bře 2012, 14:00

Kód: Vybrat vše

# Jobs configuration.
#
# Stores information about each job.
#
# NOTE: When having multiple jobs, both jobs will give the income payout to the player
# even if they give the pay for one action (make the configurations with this in mind)
# and each job will get the respective experience.
#
# e.g If player has 2 jobs where job1 gives 10 income and experience for killing a player
# and job2 gives 5 income and experience for killing a player. When the user kills a player
# they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience.

Jobs:
    # must be one word
    Woodcutter:
        # full name of the job (displayed when browsing a job, used when joining and leaving)
        # also can be used as a prefix for the user's name if the option is enabled.
        # Shown as a prefix only when the user has 1 job.
        #
        # NOTE: Must be 1 word
        fullname: Woodcutter
        # Shortened version of the name of the job. Used as a prefix when the user has more
        # than 1 job
        shortname: W
        # The colour of the name, for a full list of supported colours, go to the message config.
        ChatColour: GREEN
        # Option to let you choose what kind of prefix this job adds to your name.
        # options are: full, title, job, shortfull, shorttitle, shortjob and none
        chat-display: full
        # [OPTIONAL] - the maximum level of this class
        #max-level: 25
        # [OPTIONAL] - the maximum number of users on the server that can have this job at
        # any one time (includes offline players).
        #slots: 1
        # Equation used for calculating how much experience is needed to go to the next level.
        # Available parameters:
        #   numjobs - the number of jobs the player has
        #   joblevel - the level the player has attained in the job.
        # NOTE: Please take care of the brackets when modifying this equation.
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        # Equation used for calculating how much income is given per action for the job level.
        # Available parameters:
        #   baseincome - the income for the action at level 1 (as set in the configuration).
        #   joblevel - the level the player has attained in the job.
        # NOTE: Please take care of the brackets when modifying this equation.
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
         # Equation used for calculating how much experience is given per action for the job level.
        # Available parameters:
        #   baseexperience - the experience for the action at level 1 (as set in the configuration).
        #   joblevel - the level the player has attained in the job.
        # NOTE: Please take care of the brackets when modifying this equation.
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        ########################################################################
        # Section used to configure what items the job gets paid for, how much
        # they get paid and how much experience they gain.
        #
        # For break and place, the block name or id is used.
        # You can select a sub-type by using a '-' between the id and the bit
        # value for the sub-type. e.g LOG-0 = usual log, LOG-2 = birch log
        # 17-2 = birch log.
        #
        # If no sub-type is give, the payout will be for all sub-types.
        #
        # To get a list of all available block types, check the
        # bukkit JavaDocs for a complete list of block types
        # http://jd.bukkit.org/apidocs/org/bukkit/Material.html
        #
        # For kill tags (Kill and custom-kill), the name is the name of the
        # mob.
        # Available mobs:
        #   Chicken
        #   Cow
        #   Pig
        #   Sheep
        #   Wolf
        #   Creeper
        #   Giant
        #   Skeleton
        #   Spider
        #   Zombie
        #   PigZombie
        #   Squid
        #   Ghast
        #   Player
        #   Slime
        #
        # NOTE: mob names are case sensitive.
        #
        # For custom-kill, it is the name of the job (also case sensitive).
        #
        # NOTE: If a job has both the pay for killing a player and for killing a
        # specific class, they will get both payments.
        ########################################################################
        # payment for breaking a block
        Break:
            # block name/id (with optional sub-type)
            LOG:
                # base income
                income: 5.0
                # base experience
                experience: 5.0
        # payment for placing a block
        Place:
            SAPLING:
                income: 1.0
                experience: 1.0
            WOOD:
                income: 50.0
                experience: 50.0
        # killing a mob
        Kill:
            # mob name
            Player:
                # base income
                income: 50.0
                # base experience
                experience: 50.0
        # killing a jobs class
        custom-kill:
            # full name of the jobs class
            Woodcutter:
                # base income
                income: 1000.0
                # base experience
                experience: 1000.0
    Miner:
        fullname: Miner
        shortname: M
        ChatColour: DARK_GRAY
        chat-display: full
        #max-level: 25
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Break:
            STONE:
                income: 2.0
                experience: 2.0
            COAL_ORE:
                income: 3.0
                experience: 3.0
            REDSTONE_ORE:
                income: 3.0
                experience: 3.0
            IRON_ORE:
                income: 4.0
                experience: 4.0
            GOLD_ORE:
                income: 5.0
                experience: 5.0
            LAPIS_ORE:
                income: 5.0
                experience: 5.0
            DIAMOND_ORE:
                income: 6.0
                experience: 6.0
            OBSIDIAN:
                income: 7.5
                experience: 7.5
            MOSSY_COBBLESTONE:
                income: 6.0
                experience: 6.0
        Place:
            RAILS:
                income: 2.0
                experience: 2.0
            IRON_ORE:
                income: -5.0
                experience: -5.0
            GOLD_ORE:
                income: -6.0
                experience: -6.0
        Kill:
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Miner:
                income: 10.0
                experience: 10.0
    Builder:
        fullname: Builder
        shortname: B
        ChatColour: WHITE
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Place:
            COBBLESTONE:
                income: 1.0
                experience: 1.0
            WOOD:
                income: 1.5
                experience: 1.5
            FENCE:
                income: 1.5
                experience: 1.5
            WOOL:
                income: 1.5
                experience: 1.5
            STONE:
                income: 2.25
                experience: 2.25
            GLOWSTONE:
                income: 3.0
                experience: 3.0
            SANDSTONE:
                income: 2.0
                experience: 2.0
            GLASS:
                income: 3.0
                experience: 3.0
            BRICK:
                income: 4.0
                experience: 4.0
            LAPIS_BLOCK:
                income: 5.0
                experience: 5.0
            DOUBLE_STEP:
                income: 2.0
                experience: 2.0
            STEP:
                income: 2.0
                experience: 2.0
            BOOKSHELF:
                income: 3.0
                experience: 3.0
            WOOD_STAIRS:
                income: 2.0
                experience: 2.0
            COBBLESTONE_STAIRS:
                income: 2.0
                experience: 2.0
            MOSSY_COBBLESTONE:
                income: 5.0
                experience: 5.0
            DIAMOND_BLOCK:
                income: 5.0
                experience: 5.0
            GOLD_BLOCK:
                income: 5.0
                experience: 5.0
        Kill:
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Builder:
                income: 10.0
                experience: 10.0
    Digger:
        fullname: Digger
        shortname: D
        ChatColour: GOLD
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Break:
            DIRT:
                income: 2.0
                experience: 2.0
            GRASS:
                income: 2.0
                experience: 2.0
            GRAVEL:
                income: 2.0
                experience: 2.0
            SAND:
                income: 2.0
                experience: 2.0
            CLAY:
                income: 2.0
                experience: 2.0
        Kill:
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Digger:
                income: 10.0
                experience: 10.0
    Farmer:
        fullname: Farmer
        shortname: Fa
        ChatColour: BLUE
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Break:
            CROPS-7:
                income: 4.0
                experience: 4.0
            SUGAR_CANE_BLOCK:
                income: 4.0
                experience: 4.0
        Place:
            SEEDS:
                income: 3.0
                experience: 3.0
            SUGAR_CANE_BLOCK:
                income: 1.0
                experience: 1.0
        Kill:
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Farmer:
                income: 10.0
                experience: 10.0
    Hunter:
        fullname: Hunter
        shortname: H
        ChatColour: RED
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Kill:
            Chicken:
                income: 2.5
                experience: 2.5
            Cow:
                income: 2.5
                experience: 2.5
            Pig:
                income: 2.5
                experience: 2.5
            Sheep:
                income: 2.5
                experience: 2.5
            Wolf:
                income: 5.0
                experience: 5.0
            Creeper:
                income: 10.0
                experience: 10.0
            Skeleton:
                income: 10.0
                experience: 10.0
            Spider:
                income: 10.0
                experience: 10.0
            Zombie:
                income: 10.0
                experience: 10.0
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Woodcutter:
                income: 10.0
                experience: 10.0
            Miner:
                income: 10.0
                experience: 10.0
            Digger:
                income: 10.0
                experience: 10.0
            Farmer:
                income: 10.0
                experience: 10.0
            Builder:
                income: 10.0
                experience: 10.0
            Hunter:
                income: 20.0
                experience: 20.0
               
    Fisherman:
        fullname: Fisherman
        shortname: Fi
        ChatColour: AQUA
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Fish:
            RAW_FISH:
                income: 4.0
                experience: 4.0
        Kill:
            Player:
                income: 7.5
                experience: 7.5
        custom-kill:
            Fisherman:
                income: 10.0
                experience: 10.0
               
    Weaponsmith:
        fullname: Weaponsmith
        shortname: W
        ChatColour: DARK_PURPLE
        chat-display: full
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Craft:
            WOOD_SWORD:
                income: 1.0
                experience: 1.0
            IRON_SWORD:
                income: 2.0
                experience: 2.0
            GOLD_SWORD:
                income: 3.0
                experience: 3.0
            DIAMOND_SWORD:
                income: 4.0
                experience: 4.0

    None:
        fullname: None
        shortname: N
        ChatColour: WHITE
        chat-display: none
        #max-level: 10
        #slots: 10
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Kill:
            Player:
                income: 7.5

tohle je teda ten config
Obrázek

Prijďte se aspoň podívat ;)

Likkez
Příspěvky: 13
Registrován: 16 bře 2012, 13:38
Reputation: 0

Re: Jobs Plugin

#12 Příspěvekod Likkez » 16 bře 2012, 14:02

Kód: Vybrat vše

# iConomy 6.0.8b
# @author     Nijikokun <nijikokun@gmail.com>
# @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:
  Permissions:
    Use:
      # Should a user have the 'iConomy.holdings' to use /money
      # By default this is false, so that people stop complaining that
      # iConomy doesn't work. Yes, people actually report that.
      # If you are one of those people, leave this false.
      Holdings: false

  Default:
    Currency:
      # Major is the first segment [Major].Minor

      # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
      Major: [ 'Dollar', 'Dollars' ]

      # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 Dollars, 23 Coins)
      Minor: [ 'Coin', 'Coins' ]

    Account:
      # Default account balance when created
      Holdings: 30.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 Dollars (false) 0.23 Dollars and 1.23 Dollars
    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 Dollars (Only if Minor is true)

    # Single shows your money in another alternative way.
    # Instead of 1.23 Dollars you will see: 1 Dollar.
    # If your money is 0.23 you will see 0 Dollars 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: false

    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 is not your database settings !!!
    ##############################################################
    # 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

Moje iconomy
Obrázek

Prijďte se aspoň podívat ;)

Uživatelský avatar
Vojko
Příspěvky: 3247
Věk: 28
Registrován: 24 dub 2011, 11:47
Reputation: 1
Bydliště: Slovensko, Bratislava

Re: Jobs Plugin

#13 Příspěvekod Vojko » 16 bře 2012, 14:05

iConomy plugin musíš aktualizovať: http://dev.bukkit.org/server-mods/icono ... /7-6-0-9b/
A plugin Vault máš ?
Aj keď tu na fóre nie som aktívny, môžete mi písať na Skype, E-Mail, ...

Likkez
Příspěvky: 13
Registrován: 16 bře 2012, 13:38
Reputation: 0

Re: Jobs Plugin

#14 Příspěvekod Likkez » 16 bře 2012, 14:09

Jojo mam ..
Obrázek

Prijďte se aspoň podívat ;)

Likkez
Příspěvky: 13
Registrován: 16 bře 2012, 13:38
Reputation: 0

Re: Jobs Plugin

#15 Příspěvekod Likkez » 16 bře 2012, 14:12

Dobry diky uz mi to jde ale prosim te jak zvysim vydelek penez ?
Obrázek

Prijďte se aspoň podívat ;)

Uživatelský avatar
Vojko
Příspěvky: 3247
Věk: 28
Registrován: 24 dub 2011, 11:47
Reputation: 1
Bydliště: Slovensko, Bratislava

Re: Jobs Plugin

#16 Příspěvekod Vojko » 16 bře 2012, 14:19

To nastavíš v jobConfig.yml ...
Tento riadok upravuješ:

Kód: Vybrat vše

                income: 7.5
Aj keď tu na fóre nie som aktívny, môžete mi písať na Skype, E-Mail, ...

Likkez
Příspěvky: 13
Registrován: 16 bře 2012, 13:38
Reputation: 0

Re: Jobs Plugin

#17 Příspěvekod Likkez » 16 bře 2012, 14:22

Diky moc mas karmu !! :)
Obrázek

Prijďte se aspoň podívat ;)

Kosopolis
Příspěvky: 34
Registrován: 26 srp 2012, 17:50
Reputation: 0

Re: Jobs Plugin

#18 Příspěvekod Kosopolis » 26 srp 2012, 17:55

PROSIM O POMOC S PLUGINEM VAULT RUSI MI RESIDENCE A NOVE NEJDOU VYTVORIT

bart
Příspěvky: 301
Registrován: 14 bře 2010, 12:28
Reputation: 0
Kontaktovat uživatele:

Re: Jobs Plugin

#19 Příspěvekod bart » 26 srp 2012, 22:36

Kosopolis píše:PROSIM O POMOC S PLUGINEM VAULT RUSI MI RESIDENCE A NOVE NEJDOU VYTVORIT



A proč to píšeš do tématu Jobs a ještě k tomu capslockem?
Sleduj filmy a seriály online na www.justmovie.cz

Dej karmu těm co ti pomohli

Rád poradím v oblasti Cs:S, Cs:GO, Minecraft

Kdo má víc?
Obrázek

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: Jobs Plugin

#20 Příspěvekod nejento » 27 srp 2012, 17:02

A ještě nepřiložíš IP a PORT? Když už, tak už.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Google [Bot] a 47 hostů