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

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

  1. Offline

    VitaminBoy

    Bug: It doesnt give EXP or money for Playerskills.

    Does it will be fixed?
     
  2. Offline

    Chrisski3

    I fixed it! I added the sample config that is on the the page. Works fine now!
     
  3. Offline

    Luwiego

    Thanks ! Does anyone know why when i join a job it doesnt show a name of that job next to my nickname ?
     
  4. Offline

    MRCartm0n

    I have a little problem, when someones joins Fisher, Weaponsmith or Farmer they don't gain experience.
     
  5. Offline

    togtja

    i got that same problem to but i have iconomy 6 it work totaly fine whit ChestShop and not jobs plzz help
     
  6. Offline

    Curtis3321

    If you read the msg! u need vault!
     
  7. Offline

    togtja

    i conomy 6 is a vault -.-
    as perm i use: PEX
    as econ i use: iconomy 6
    a and chat i use: PEX
     
  8. Offline

    RaknarokMiner

    Ive made a few custom jobs, and some modifications on some of the default jobs. But the problem is, when i use the jobsconfig, i get an error in the console, saying theres something wrong in this:
    Place:
    SAPLING:
    income: 1.0
    experience: 1.0

    I removed the whole 'thingy', but then it said the error was on the line below. Whats wrong?
     
  9. Offline

    Chrisski3

    Join it again, had the same problem
     
  10. Offline

    Silarn

    Are job-based permissions supposed to be compatible with PermissionsEx? I have my jobsConfig.yml configured like it is apparently supposed to be configured, but it simply doesn't seem to work. My users are still denied permissions for jobs they have.

    Example:
    Code:
    Jobs:
      Woodcutter:
        fullname: Woodcutter
        shortname: W
        ChatColour: GREEN
        chat-display: none
        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:
          LOG:
            income: 5.0
            experience: 5.0
        Place:
          SAPLING:
            income: 1.0
            experience: 1.0
          WOOD:
            income: 2.0
            experience: 2.0
        Kill:
          Player:
            income: 0.0
            experience: 0.0
        custom-kill:
          Woodcutter:
            income: 10.0
            experience: 10.0
        permissions:
          modifyworld.blocks.destroy.17:1:
            value: true
            level: 2
          modifyworld.blocks.destroy.17:2:
            value: true
            level: 3
          modifyworld.blocks.destroy.17:3:
            value: true
            level: 5
          modifyworld.blocks.destroy.99:
            value: true
            level: 5
          modifyworld.blocks.destroy.100:
            value: true
            level: 5
          modifyworld.blocks.place.6:
            value: true
            level: 0
     
  11. Offline

    MRCartm0n

    Can someone please help, my players don't earn money and exp with Farmer, Fisher and Weaponsmith.
     
  12. Offline

    Tadas159

    iConomy is not Vault, Vault is a plugin that makes other plugins interaction with econ and chat plugins easier.
     
  13. Offline

    Almantsas

    Error with newest jobs:
    Code:
    2012-03-25 11:11:04 [SEVERE] Could not pass event InventoryClickEvent to Jobs
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1071)
        at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at me.zford.jobs.listener.JobsPaymentListener.onInventoryCraft(JobsPaymentListener.java:160)
        at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 10 more
    2012-03-25 11:11:07 [SEVERE] Could not pass event InventoryClickEvent to Jobs
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1071)
        at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at me.zford.jobs.listener.JobsPaymentListener.onInventoryCraft(JobsPaymentListener.java:160)
        at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 10 more
    
     
  14. Offline

    Elements11997

    same error as me
     
  15. Offline

    starwarscrafter

    in my jobConfig.yml it only says:

    # Jobs configuration.
    #
    # Stores information about each job.
    #
    # For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.

    Jobs: {}

    where can i configure new jobs? do i have to type in all configurations???:eek:
     
  16. Offline

    Malific

    I would suggest you follow that link in your post, then click "sample jobconfig.yml" at the bottom of the page.

    @phrstborn
    I'm having issues with the jobs rewritting my generalconfig.yml every time I restart the server and giving me "mysql database not selected errors" because of it.

    Below is my config. What it rewrite s my config to, and the error from console.
    My Config:
    Show Spoiler

    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: MySQL
     
    # Requires Mysql.
    mysql-username: ********
    mysql-password: ********
    mysql-database: ********
    mysql-url: jdbc:mysql://###.##.###.##:####/
    mysql-table-prefix: jobs_
     
    # 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: false
     
    # maximum number of jobs a player can join
    max-jobs: 2
     
    # 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: false
     
    # option to allow payment to be made in creative mode
    enable-pay-creative: false
     
    # choose, which economy plugin should be used as default (optional)
    # if not set, will use iConomy first
    # available options: iConomy, BOSEconomy, Essentials
    economy: Essentials
    

    Config it rewrites mine into (notice mysql-database: is removed)
    Also note when it rewrites the config the settings for the mysql database and the values of the options are all CORRECTLY transferred from the original file, except the ones it removes completely.
    Show Spoiler

    Code:
    #   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, sqlite, h2
    storage-method: MySQL
    # Requires Mysql.
    mysql-username: ********
    mysql-password: ********
    mysql-url: jdbc:mysql://###.##.###.##:####/
    mysql-table-prefix: jobs_
    # 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 level?
    broadcast-on-level-up: false
    # Maximum number of jobs a player can join.
    # Use 0 for no maximum
    max-jobs: 2
    # option to allow payment to be made when killing mobs from a spawner
    enable-pay-near-spawner: false
    # option to allow payment to be made in creative mode
    enable-pay-creative: false
    

    Console Start-up:
    Show Spoiler

    Code:
    2012-03-26 17:09:36 [INFO] Starting minecraft server version 1.2.4
    2012-03-26 17:09:36 [INFO] Loading properties
    2012-03-26 17:09:36 [INFO] Starting Minecraft server on ###.##.###.##:#####
    2012-03-26 17:09:37 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.3-R0.2-83-gcb50fd6-b2117jnks (MC: 1.2.4) (Implementing API version 1.2.4-R0.1-SNAPSHOT)
    2012-03-26 17:09:44 [INFO] [Essentials] Enabling Essentials v2.8.4
    2012-03-26 17:09:44 [INFO] Bukkit version format changed. Version not checked.
    2012-03-26 17:09:44 [INFO] git-Bukkit-1.2.3-R0.2-83-gcb50fd6-b2117jnks (MC: 1.2.4)
    2012-03-26 17:09:44 [INFO] 1.2.4-R0.1-SNAPSHOT
    2012-03-26 17:09:44 [INFO] [Vault][Economy] Essentials Economy hooked.
    2012-03-26 17:09:44 [INFO] Essentials: Using PermissionsBukkit based permissions.
    2012-03-26 17:09:44 [INFO] [Jobs] Enabling Jobs v2.7.3
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1662)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1581)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAOMySQL.setUp(JobsDAOMySQL.java:40)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAOMySQL.<init>(JobsDAOMySQL.java:31)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobsConfiguration.loadGeneralSettings(JobsConfiguration.java:164)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobsConfiguration.reload(JobsConfiguration.java:67)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:195)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [INFO] [Jobs] Plugin has been disabled succesfully.
    2012-03-26 17:09:44 [SEVERE] [Jobs] Unknown world Warzones, skipping area!
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [SEVERE] java.sql.SQLException: No database selected
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-03-26 17:09:44 [SEVERE]at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.dao.JobsDAO.getSlotsTaken(JobsDAO.java:178)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.loadSlots(JobConfig.java:418)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.config.JobConfig.reload(JobConfig.java:60)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.reloadConfigurations(Jobs.java:196)
    2012-03-26 17:09:44 [SEVERE]at me.zford.jobs.Jobs.onEnable(Jobs.java:81)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-03-26 17:09:44 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-26 17:09:44 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-26 17:09:44 [INFO] [CreeperHeal] Enabling CreeperHeal v4.10.0
    
     
  17. Offline

    rfsantos1996

    Im not using Jobs anymore, why ? Vault. // Remove it! :D
     
  18. phrstbrn


    it says DIAMOND_LEGGINGS and IRON_LEGGINGS are invalid crafting materials.
    It is supposed to be correct and i read the items from ur own list.


    [Jobs] Job Weaponsmith has an invalid DIAMOND_LEGGINS Craft material type property. Skipping!
    2012-03-27 16:02:52 [SEVERE] [Jobs] Job Weaponsmith has an invalid IRON_LEGGINS Craft material type property. Skipping!
     
  19. Offline

    WOOD_BLOCK

    This dont seem to work for me, i have permission's, vault, iconomy.
    It work's, but when i change the config file (change how much money / xp you earn from each block)
    it says ingame that the job does not exist.
    here is my config file :
    ------------------------------------------------------------------------------------------------------------------------------
    # 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: 10
    # [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: 0.5
    # base experience
    experience: 0.5
    # payment for placing a block
    Place:
    SAPLING:
    income: 0.5
    experience: 0.5
    WOOD:
    income: 0.5
    experience: 0.5
    # killing a mob
    Kill:
    # mob name
    Player:
    # base income
    income: 0.5
    # base experience
    experience: 0.5
    # killing a jobs class
    custom-kill:
    # full name of the jobs class
    Woodcutter:
    # base income
    income: 0.5
    # base experience
    experience: 0.5
    # permissions granted for joining class
    permissions:
    # example node
    aaaaaatest.node:
    # true to give, false to revoke
    value: true
    # minimum level needed to grant permission. Use 0 for all levels
    level: 0
    aaaaaatest.node2:
    value: true
    # Permission granted when reaching level 10
    level: 10
    Miner:
    fullname: Miner
    shortname: M
    ChatColour: DARK_GRAY
    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:
    STONE:
    income: 0.5
    experience: 0.5
    COAL_ORE:
    income: 0.5
    experience: 0.5
    REDSTONE_ORE:
    income: 0.5
    experience: 0.5
    IRON_ORE:
    income: 0.5
    experience: 0.5
    GOLD_ORE:
    income: 0.5
    experience: 0.5
    LAPIS_ORE:
    income: 0.5
    experience: 0.5
    DIAMOND_ORE:
    income: 0.5
    experience: 0.5
    OBSIDIAN:
    income: 0.5
    experience: 0.5
    MOSSY_COBBLESTONE:
    income: 0.5
    experience: 0.5
    Place:
    RAILS:
    income: 0.5
    experience: 0.5
    IRON_ORE:
    income: 0.5
    experience: 0.5
    GOLD_ORE:
    income: 0.5
    experience: 0.5
    Kill:
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Miner:
    income: 0.5
    experience: 0.5
    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: 0.5
    experience: 0.5
    WOOD:
    income: 0.5
    experience: 0.5
    FENCE:
    income: 0.5
    experience: 0.5
    WOOL:
    income: 0.5
    experience: 0.5
    STONE:
    income: 0.5
    experience: 0.5
    GLOWSTONE:
    income: 0.5
    experience: 0.5
    SANDSTONE:
    income: 0.5
    experience: 0.5
    GLASS:
    income: 0.5
    experience: 0.5
    BRICK:
    income: 0.5
    experience: 0.5
    LAPIS_BLOCK:
    income: 0.5
    experience: 0.5
    DOUBLE_STEP:
    income: 0.5
    experience: 0.5
    STEP:
    income: 0.5
    experience: 0.5
    BOOKSHELF:
    income: 0.5
    experience: 0.5
    WOOD_STAIRS:
    income: 0.5
    experience: 0.5
    COBBLESTONE_STAIRS:
    income: 0.5
    experience: 0.5
    MOSSY_COBBLESTONE:
    income: 0.5
    experience: 0.5
    DIAMOND_BLOCK:
    income: 0.5
    experience: 0.5
    GOLD_BLOCK:
    income: 0.5
    experience: 0.5
    Kill:
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Builder:
    income: 0.5
    experience: 0.5
    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: 0.5
    experience: 0.5
    GRASS:
    income: 0.5
    experience: 0.5
    GRAVEL:
    income: 0.5
    experience: 0.5
    SAND:
    income: 0.5
    experience: 0.5
    CLAY:
    income: 2.0
    experience: 2.0
    Kill:
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Digger:
    income: 0.5
    experience: 0.5
    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: 0.0
    experience: 0.0
    SUGAR_CANE_BLOCK:
    income: 0.0
    experience: 0.0
    Place:
    CROPS-0:
    income: 0.0
    experience: 0.0
    SUGAR_CANE_BLOCK:
    income: 0.0
    experience: 0.0
    Kill:
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Farmer:
    income: 0.5
    experience: 0.5
    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: 0.5
    experience: 0.5
    Cow:
    income: 0.5
    experience: 0.5
    Pig:
    income: 0.5
    experience: 0.5
    Sheep:
    income: 0.5
    experience: 0.5
    Wolf:
    income: 0.5
    experience: 0.5
    Creeper:
    income: 0.5
    experience: 0.5
    Skeleton:
    income: 0.5
    experience: 0.5
    Spider:
    income: 0.5
    experience: 0.5
    Zombie:
    income: 0.5
    experience: 0.5
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Woodcutter:
    income: 0.5
    experience: 0.5
    Miner:
    income: 0.5
    experience: 0.5
    Digger:
    income: 0.5
    experience: 0.5
    Farmer:
    income: 0.5
    experience: 0.5
    Builder:
    income: 0.5
    experience: 0.5
    Hunter:
    income: 0.5
    experience: 0.5

    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: 0.5
    experience: 0.5
    Kill:
    Player:
    income: 0.5
    experience: 0.5
    custom-kill:
    Fisherman:
    income: 0.5
    experience: 0.5

    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: 0.5
    experience: 0.5
    IRON_SWORD:
    income: 0.5
    experience: 0.5
    GOLD_SWORD:
    income: 0.5
    experience: 0.5
    DIAMOND_SWORD:
    income: 0.5
    experience: 0.5

    None:
    fullname: RSPer
    shortname: RSP
    ChatColour: BLACK
    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: 10.0
    ------------------------------------------------------------------------------------------------------------------------------
    any soultion?
    please give me answer back as fast as you can!
    i gotta run my server and i cant without jobs :\
    and at console it doesnt give any error, just says : No jobs were found, or something like that.
     
  20. Offline

    phrstbrn

    It would be if you spelt it correctly. LEGGINS
     
  21. Offline

    Elements11997

    I don't understand how you set up mySQL with this? can anyone help me?
     
  22. ahhahah ah thank you! i had medication going on and it made me dizzy :pP lol , fixing!
     
  23. Offline

    WOOD_BLOCK

    Can you answer my questiion please? :O
     
  24. Offline

    Telbaru

    The shortnames of Jobs blocks the normal chatcolor of the groups/Herochatcolors. If the shortnames are activ the name after them will be white:

    [​IMG]

    But the option of Herochat and permissionex suffix is &3 (lightblue) like the groupname on the left side of the picture ''Bewohner''. I tried to edit this colors in all Jobs configs but it doesn't work.
    The color of my name is the op-red.
     
    robsherwood likes this.
  25. Offline

    firecombat4

    Just wondering why
    Code:
        Break:
          LOG:
            income: 0.005
    Will do as 0 income when you use /jobs info, thanks!
     
  26. Offline

    RathelmMC

    Probably because they have numbers to show only to two decimal places.
     
  27. Offline

    Ethrock

    Could someone show a sample jobsconfig.yml that doesn't have three miles of comments and other sets on it? an example of perhaps one properly constructed job? I'm just utterly lost. Is it possible to have jobs that do not increase in experience, level, or income? that have a steady lasting income? I want a mob hunter job where players are paid a set amount for killing specific (unfriendly) mobs. Other jobs are a future consideration. Any suggestions, help to this please? the equations are way over my head.

    Still hoping for a reply to this!

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

    FuRiouSOne

    Someone explain this? It just crashed the server. Running jobs 2.7.3 on bukkit 1.2.4 R1

    never had a problem on jobs 2.6.3, May be going back to it, dont know why i even updated. Think im going to stick with the old saying "if it works dont f*ck with it"

    Code:
    2012-03-30 16:46:36 [SEVERE] Could not pass event InventoryClickEvent to Jobs
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1071)
        at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at me.zford.jobs.listener.JobsPaymentListener.onInventoryCraft(JobsPaymentListener.java:160)
        at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 10 more
    2012-03-30 16:46:37 [SEVERE] Could not pass event InventoryClickEvent to Jobs
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1071)
        at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at me.zford.jobs.listener.JobsPaymentListener.onInventoryCraft(JobsPaymentListener.java:160)
        at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLo
    Nevermind im done with jobs, too much headache imo. So many people exploit it just for game money and no way to stop exploits in jobs. Thanks for the plugin but im gonna have to move on.

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

    Ahmet66

    does it work for 1.2.4?
     

Share This Page