[ECON] Jobs - The Job plugin for minecraft [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by phrstbrn, Jun 27, 2011.

  1. Offline

    mrletter

    Whenever I run the server, it shows me this error:
    error.png
    I have filled out my jobsConfig with the following information:
    Code:
        Wizard:
            fullname: Wizard
            shortname: W
            ChatColour: GREEN
            chat-display: full
            max-level: 4
            slots: 10
            leveling-progression-equation: 500*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            custom-kill:
                Knight:
                    income: 0.0
                    experience: 10.0
                Chef:
                    income: 0.0
                    experience: 10.0
                Guardian:
                    income: 0.0
                    experience: 10.0
                Wizard:
                    income: 0.0
                    experience: -10.0
                Fool:
                    income: 0.0
                    experience: 5.0
    
        Knight:
            fullname: Knight
            shortname: K
            ChatColour: DARK_GRAY
            chat-display: full
            max-level: 4
            slots: 10
            leveling-progression-equation: 500*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            custom-kill:
                Knight:
                    income: 0.0
                    experience: -10.0
                Chef:
                    income: 0.0
                    experience: 10.0
                Guardian:
                    income: 0.0
                    experience: 10.0
                Wizard:
                    income: 0.0
                    experience: 10.0
                Fool:
                    income: 0.0
                    experience: 5.0
    
        Guardian:
            fullname: Guardian
            shortname: G
            ChatColour: GOLD
            chat-display: full
            max-level: 4
            slots: 10
            leveling-progression-equation: 500*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            custom-kill:
                Knight:
                    income: 0.0
                    experience: 10.0
                Chef:
                    income: 0.0
                    experience: 10.0
                Guardian:
                    income: 0.0
                    experience: -10.0
                Wizard:
                    income: 0.0
                    experience: 10.0
                Fool:
                    income: 0.0
                    experience: 5.0
    
        Chef:
            fullname: Chef
            shortname: C
            ChatColour: DARK_RED
            chat-display: full
            max-level: 4
            slots: 10
            leveling-progression-equation: 500*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            custom-kill:
                Knight:
                    income: 0.0
                    experience: 10.0
                Chef:
                    income: 0.0
                    experience: -10.0
                Guardian:
                    income: 0.0
                    experience: 10.0
                Wizard:
                    income: 0.0
                    experience: 10.0
                Fool:
                    income: 0.0
                    experience: 5.0
    
        Fool:
            fullname: Fool
            shortname: F
            ChatColour: DARK_PURPLE
            chat-display: full
            max-level: 4
            slots: 10
            leveling-progression-equation: 375*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            custom-kill:
                Knight:
                    income: 0.0
                    experience: 10.0
                Chef:
                    income: 0.0
                    experience: 10.0
                Guardian:
                    income: 0.0
                    experience: 10.0
                Wizard:
                    income: 0.0
                    experience: 10.0
                Fool:
                    income: 0.0
                    experience: -5.0
    
        None:
            fullname: None
            shortname: N
            ChatColour: WHITE
            chat-display: none
            max-level: 0
            slots: 100
            leveling-progression-equation: 0*((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: 0.0
                    experience: 7.5
    My generalConfig is this:
    Code:
    # General configuration.
    #
    #   The general configuration for the jobs plugin mostly includes how often the plugin
    # saves user data (when the user is in the game), the storage method, whether
    # to broadcast a message to the server when a user goes up a skill level.
    #   It also allows admins to set the maximum number of jobs a player can have at
    # any one time.
    
    # storage method, can be MySQL, h2
    storage-method: h2
    
    # Requires Mysql.
    mysql-username: root
    mysql-password: poop
    mysql-database: minecraft
    mysql-url: jdbc:mysql://localhost:3306/
    #mysql-table-prefix:
    
    # How often in minutes you want it to save, 0 disables periodic saving and
    # the system will only save on logout
    save-period: 10
    
    # Do all players get a message when somone goes up a skill level?
    broadcast-on-skill-up: true
    
    # Do all players get a message when somone goes up a job level?
    broadcast-on-level-up: true
    
    # maximum number of jobs a player can join
    max-jobs: 1
    
    # option to enable the stats and achievements plugin.
    #enable-stats: true
    
    # option to allow payment to be made when near a spawner
    #enable-pay-near-spawner: true
    
    # choose, which economy plugin should be used as default (optional)
    # if not set, will use iConomy first
    # available options: iConomy, BOSEconomy, Essentials
    #economy: iConomy
    
    I do not know why this does not work.
     
  2. Offline

    ItsQ

    Is there a way to craft raw food to cooked?
     
  3. Offline

    juaner

    my users that are not OPs or Admins dosent gain xp or money this are my permissions:
    Code:
    groups:
        Visitantes:
            default: true
            info:
                prefix: '[&8Visitante&f]'
                suffix: ''
                build: false
                rank: 7
            inheritance:
            permissions:
            - 'lwc.deny'
        Cool:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                rank: 8
            inheritance:
            permissions:
            - 'commandbook.call'
            - 'modtrs.command.modlist'
            - 'modtrs.command.modreq'
            - 'modtrs.command.check.self'
            - 'dynmap.show.self'
            - 'ChestShop.shop.*'
            - 'iConomy.rank'
            - 'iConomy.payment'
            - 'iConomy.list'
            - 'iConomy.access'
            - 'commandbook.spawn'
            - 'commandbook.warp.teleport.other'
            - 'commandbook.whereami.compass'
            - 'commandbook.msg'
            - 'commandbook.say.me'
            - 'commandbook.time.check'
            - 'commandbook.setspawn'
            - 'commandbook.kit.kits.*'
            - 'commandbook.kit.list'
            - 'commandbook.rules'
            - 'commandbook.motd'
            - 'commandbook.who'
            - 'lwc.protect'
            - 'warpplugin.warp'
            - 'econplugin.basic.*'
        Moderador:
            default: false
            info:
                prefix: '[&1Mod&f]'
                suffix: ''
                build: true
                rank: 9
                plimit: 10
            inheritance:
            - Cool
            permissions:
            - 'modtrs.command.*'
            - 'modtrs.mod'
            - 'p2.user.setgroup'
            - 'commandbook.weather'
            - 'commandbook.clear'
            - 'lwc.mod'
            - 'commandbook.kick'
            - 'commandbook.bans.*'
            - 'ChestShop.mod'
            - 'modplugin.ban'
            - 'modplugin.kick'
            - 'modplugin.unban'
            - 'worldedit.*'
            - 'worldguard.*'
        Admin:
            default: false
            info:
                prefix: '[&2Admin&f]'
                suffix: ''
                build: true
                rank: 10
                plimit: 11
            inheritance:
            permissions:
            - 'commandbook.warp.set'
            - 'iConomy.admin.*'
            - 'lwc.admin'
            - 'commandbook.*'
            - 'ChestShop.*'
            - '*'
    
    Normal grupo is COOL

    whats teh problem?
     
  4. Offline

    theawesomeone

    how do i get it to save my job level and XP when you leave and rejoin your job?
    thank you for the awesome plugin
     
  5. Offline

    Fincikas

    This plugin workink perfectly only for server owner. Becouse only server owner can get profit for gettin payd for mined ores........ So So sad I dont know how to fix this. So anyone can help me?
     
  6. Offline

    coleman8

    I have look at all installation video's and everything, but I can't find the solution to my question. Everything is set up right with permissions and the config file, but when I type /jobs browse it says 'there are no jobs you can join' and then when I try to join a job any ways it doesn't work either. Any idea's of how to fix this?
     
  7. Offline

    TheBeast808

    I keep getting this error, what is it from?
    Code:
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    01:37:45 [SEVERE] Could not pass event CUSTOM_EVENT to Jobs
    java.lang.NullPointerException
            at org.bukkit.material.SimpleAttachableMaterialData.getFacing(SimpleAttachableMaterialData.java:38)
            at org.bukkit.material.SimpleAttachableMaterialData.toString(SimpleAttachableMaterialData.java:43)
            at org.bukkit.material.RedstoneTorch.toString(RedstoneTorch.java:41)
            at java.lang.String.valueOf(String.java:2826)
            at java.lang.StringBuilder.append(StringBuilder.java:115)
            at com.zford.jobs.config.container.Job.getItemActionIncome(Job.java:333)
            at com.zford.jobs.config.container.Job.getCraftIncome(Job.java:200)
            at com.zford.jobs.config.container.PlayerJobInfo.crafted(PlayerJobInfo.java:260)
            at com.zford.jobs.listener.JobsCraftPaymentListener.onInventoryCraft(JobsCraftPaymentListener.java:31)
            at org.getspout.spoutapi.event.inventory.InventoryListener.onCustomEvent(InventoryListener.java:57)
            at org.bukkit.plugin.java.JavaPluginLoader$93.execute(JavaPluginLoader.java:897)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:329)
            at net.minecraft.server.Packet102WindowClick.a(SourceFile:28)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  8. Offline

    Serial1990

    Hallo, wie kann man den Prefix im Chat vom Titel der Jobs anzeigen lassen?
    ------------------------------------------------------------------------------------
    Hello, how can you let the dialing prefix in the chat from the tracks on this job?

    config:
    chat-display: full
    Titles:
    Apprentice:
    Name: test
    ShortName: A
    ChatColour: WHITE
    levelReq: 1

    Chatplugin:
    ChatManager "PermissionsEX"
     
  9. Offline

    Jaxter

    Whenever I do only one job to join with a permission, such as jobs.join.hunter or something, then I do /jobs browse it says "There are no jobs available to join" even if I type /jobs join hunter, it works, but the browse doesn't work correctly, unless I do jobs.join.* then it works...
     
  10. Offline

    domingo15

    hey there, somehow when i kill a monster or a player i don't get exp or money but if i break blocks i get money, could you look into it please, theres currently no error going though, i check everything nd it seems fine, its just that when i kill a mob or player we don't get exp or money.
     
  11. Offline

    Croslicre

    Code:
    2011-10-12 07:46:43 [SEVERE] java.sql.SQLException: invalid database address: jdbc:h2:plugins/Jobs/jobs
    
    2011-10-12 07:46:43 [SEVERE]     at org.sqlite.JDBC.createConnection(JDBC.java:74)
    
    2011-10-12 07:46:43 [SEVERE]     at org.sqlite.JDBC.connect(JDBC.java:64)
    
    2011-10-12 07:46:43 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    
    2011-10-12 07:46:43 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    
    2011-10-12 07:46:43 [SEVERE]     at com.zford.jobs.dao.JobsDAOH2.getConnection(JobsDAOH2.java:83)
    
    2011-10-12 07:46:43 [SEVERE]     at com.zford.jobs.dao.JobsDAOH2.save(JobsDAOH2.java:137)
    
    2011-10-12 07:46:43 [SEVERE]     at com.zford.jobs.Jobs.save(Jobs.java:1294)
    
    2011-10-12 07:46:43 [SEVERE]     at com.zford.jobs.Jobs.removePlayer(Jobs.java:1259)
    
    2011-10-12 07:46:43 [SEVERE]     at com.zford.jobs.listener.JobsPlayerListener.onPlayerQuit(JobsPlayerListener.java:48)
    
    2011-10-12 07:46:43 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:267)
    
    2011-10-12 07:46:43 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    
    2011-10-12 07:46:43 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    
    2011-10-12 07:46:43 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
    
    2011-10-12 07:46:43 [SEVERE]     at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:127)
    
    2011-10-12 07:46:43 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:196)
    
    2011-10-12 07:46:43 [SEVERE]     at de.fgtech.pomo4ka.AuthMe.LoginTimeout.LoginTimer$LoginTimerTask.run(LoginTimer.java:32)
    
    2011-10-12 07:46:43 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    
    2011-10-12 07:46:43 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    
    2011-10-12 07:46:43 [SEVERE] [Jobs - database connection error. Disabling jobs!]
    
    
    WTF!?!?
    How I can reparate this!?!?!?
     
  12. Does Steve included in this plugin ? *-*
     
  13. Offline

    Viralcraftowner

    Where do i see my world name?
     
  14. Offline

    H4ck3r93

    I surfed on the internet and I can still know how to make a job which is learn money by crafting items.
    I've tried lot of things but still won't work ... I have installed spout to be sure there's nothing leaft that I did try.
    If someone knows the answer thanks to reply :)
     
  15. Offline

    subram

    where do the players been saved ? can't find player files, lvl's and things like that ? Someone
     
  16. Offline

    NiliusJulius

    First of all, great plugin! Really like it.

    Now I was thinking of making some sort of an explorer job, someone who gets money and xp just by running around.
    Is it already possible to reward people for moving?
    If not I would really like to see that be added :D
     
  17. Offline

    nalesnik

    Bukkit Version: Build 1240
    Jobs Version: 2.5.4
    Using Permissions: yes
    Economy Plugin: iConomy version 5
    Plugins Installed:Iconomy,chesthop,worldedit,worldguard,commanbook,mobarena,xcraftgate,permissions,colorme,prefixer,falsebook,lwc,citiziens,kiwiadmin,antixray,nocheat,automessage,mcmmo,xauth,worldborder
    Did you try disabling plugins? nope only some of them like mcmmo,citiziens etc
    I had Sqlite,h2 database in lib in server root but server still getting this and crashing plugin

    2011-10-10 18:38:10 [SEVERE] Could not pass event PLAYER_QUIT to Jobs
    Code:
    2011-10-10 18:38:10 [SEVERE] Could not pass event PLAYER_QUIT to Jobs
    java.lang.NullPointerException
        at com.zford.jobs.dao.JobsDAOH2.save(JobsDAOH2.java:139)
        at com.zford.jobs.Jobs.save(Jobs.java:1294)
        at com.zford.jobs.Jobs.removePlayer(Jobs.java:1259)
        at com.zford.jobs.listener.JobsPlayerListener.onPlayerQuit(JobsPlayerListener.java:48)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
        at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:127)
        at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:191)
        at com.yottabyte.bukkit.KiwiAdminPlayerListener.onPlayerJoin(KiwiAdminPlayerListener.java:60)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  18. Offline

    rudedoggx

    Alright, so I downloaded the Jobs 2.5.4 zip file and dropped both the Jobs.jar and the Jobs folder into my plugins folder, expecting it to work great. I'm greeted with the error below. Yes, I know it's not an error, but I would rather not have everything set to 'unlimited'. Is there any way to fix this?


    Code:
    06:36:55 [INFO] [Jobs] - max-jobs property not found. Defaulting to unlimited!
    06:36:55 [INFO] [Jobs] - Job Woodcutter is missing the max-level property. defau
    lting to no limits !
    06:36:55 [INFO] [Jobs] - Job Woodcutter is missing the slots property. defaultin
    g to no limits !
    06:36:55 [INFO] [Jobs] - Job Miner is missing the max-level property. defaulting
     to no limits !
    06:36:55 [INFO] [Jobs] - Job Miner is missing the slots property. defaulting to
    no limits !
    06:36:55 [INFO] [Jobs] - Job Builder is missing the max-level property. defaulti
    ng to no limits !
    06:36:55 [INFO] [Jobs] - Job Builder is missing the slots property. defaulting t
    o no limits !
    06:36:55 [INFO] [Jobs] - Job Digger is missing the max-level property. defaultin
    g to no limits !
    06:36:55 [INFO] [Jobs] - Job Digger is missing the slots property. defaulting to
     no limits !
    06:36:55 [INFO] [Jobs] - Job Farmer is missing the max-level property. defaultin
    g to no limits !
    06:36:55 [INFO] [Jobs] - Job Farmer is missing the slots property. defaulting to
     no limits !
    06:36:55 [INFO] [Jobs] - Job Hunter is missing the max-level property. defaultin
    g to no limits !
    06:36:55 [INFO] [Jobs] - Job Hunter is missing the slots property. defaulting to
     no limits !
    06:36:55 [INFO] [Jobs] - Job Fisherman is missing the max-level property. defaul
    ting to no limits !
    06:36:55 [INFO] [Jobs] - Job Fisherman is missing the slots property. defaulting
     to no limits !
    06:36:55 [INFO] [Jobs] - Job Weaponsmith is missing the max-level property. defa
    ulting to no limits !
    06:36:55 [INFO] [Jobs] - Job Weaponsmith is missing the slots property. defaulti
    ng to no limits !
    06:36:55 [INFO] [Jobs] - Job None is missing the max-level property. defaulting
    to no limits !
    06:36:55 [INFO] [Jobs] - Job None is missing the slots property. defaulting to n
    o limits !
    
     
  19. Offline

    Sim121

    I've got a problem with my permissions.
    I'm using PermissionsBukkit and I've got several groups.

    To be simple, let's say that I've got 4 groups.
    G1, G2, G3 and G4.
    I want G3 and G4 to be able to join any jobs (jobs.join.*: true) and the other two not to.

    But, even without the permissions "jobs.join.*" or with "jobs.join.*: false", they still can join a Job and earn money, etc...

    How is that possible ?
     
  20. Offline

    NiliusJulius

    Open the JobConfig.yml file and for every job you will see a line like:
    #max-level: 10
    remove the '#' and voila.
    And if you don't want a max level, but you don't want the warnings, just change max level to 9999?
     
  21. Offline

    rudedoggx

  22. Offline

    NiliusJulius

    Always glad to help :)
     
  23. Offline

    Jtmzac

    I'm getting the chat colour error and I know it's probably just something trivial but I can't for the life of me find the problem so I'm posting the error and my configs:
    Show Spoiler
    Code:
    [SEVERE] Error occurred while enabling Jobs v2.5.4 (Is it up to date?): No enum const class org.bukkit.ChatColor.
    java.lang.IllegalArgumentException: No enum const class org.bukkit.ChatColor.
     at java.lang.Enum.valueOf(Unknown Source)
     at org.bukkit.ChatColor.valueOf(ChatColor.java:9)
     at com.zford.jobs.config.JobsConfiguration.loadTitleSettings(JobsConfiguration.java:207)
     at com.zford.jobs.config.JobsConfiguration.reload(JobsConfiguration.java:98)
     at com.zford.jobs.Jobs.reloadConfigurations(Jobs.java:1340)
     at com.zford.jobs.Jobs.onEnable(Jobs.java:124)
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Code:
    Titles:
        Apprentice:
            Name: Begginer
            ShortName: B
            ChatColour: WHITE
            levelReq: 0
        Novice:
            Name: Novice
            ShortName: N
            ChatColour: GRAY
            levelReq: 50
        Journeyman:
            Name: Journeyman
            ShortName: J
            ChatColour: RED
            levelReq: 100
        Artisan:
            Name: Artisan
            ShortName: GREEN
            ChatColour:
            levelReq: 200
        Professional:
            Name: Professional
            ShortName: P
            ChatColour: BLUE
            levelReq: 300
        Expert:
            Name: Expert
            ShortName: M
            ChatColour: YELLOW
            levelReq: 500
        GrandMaster:
            Name: Expert
            ShortName: G
            ChatColour: BLACK
            levelReq: 1000
    Code:
    Jobs:
        Woodcutter:
            fullname: Woodcutter
            shortname: W
            ChatColour: GREEN
            chat-display: full
            max-level: 100
            slots: 100
            leveling-progression-equation: 100*((1.1)^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            Break:
                LOG:
                    income: 5.0
                    experience: 5.0
            Place:
                SAPLING: 
                    income: 0.1
                    experience: 0.1
                LOG: 
                    income: -5.0
                    experience: -5.0
        Miner:
            fullname: Miner
            shortname: M
            ChatColour: GRAY
            chat-display: full
            max-level: 100
            slots: 100
            leveling-progression-equation: 100*((1.1)^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            Break:
                STONE:
                    income: 0.1
                    experience: 0.1
                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

    Any help would be appreciated.
    Thankyou
     
  24. Offline

    NiliusJulius


    The problem is in your Artisan
    Artisan: Name: Artisan ShortName: GREEN ChatColour: levelReq: 200

    As you can see you did not fill in a ChatColour which is throwing you the error ;)
     
  25. Offline

    Jtmzac

    I knew I had missed something simple.
    Thankyou it's all working perfectly now.
     
  26. Offline

    kahlilnc

    Add suport for simpleclans please. When I put all job names to none it wont have them on display but still blocks clan tags. ;( idk if that sounded right
     
  27. Offline

    Jtmzac

    Could you please add an option to not lose your xp when you leave your job?
    On my server I want my players to be able to work and level up their job but then be able to leave their jobs and return to them later so they can build without the anti-exploit settings from their job costing them xp and cash when building and decorating their creations.
    Is there any way to do this already or could you please add this as an option?
     
  28. Offline

    NiliusJulius

    @phrstbrn
    If I might ask for a simple change in the code.
    I noticed that in JobsBOSEconomyLink.java
    You have the following code:
    public void pay(JobsPlayer player, double amount) {
    economy.addPlayerMoney(player.getName(), (int)amount, true);
    }

    But you now cast the amount to an int, which means it will round everything downwards. I checked the BOSEconomy API and addPlayerMoney supports a double.
    So could you please remove the casting to an int? Because I would like to work with small amounts of money :D
     
  29. Offline

    Imm0rt41

    is it possible to convert from the h2 file kept in the minecraft folder to a mysql database in wamp so people dont loose their jobs or the xp theyve gained from them?
     
  30. Offline

    BloodWolfJW

    Can anyone make it to where this equation give you an extra 10 cents per level, but makes it harder to level as you go farther? Like World of Warcraft. I want it to get a somewhat harder to level, but reward more.

    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((0.95)^(joblevel-1))
     

Share This Page