Inactive Jobs v2.0.1 - Jobs plugin for Minecraft (iConomy 4/5 & BOSEconomy, Permissions) [860]

Discussion in 'Inactive/Unsupported Plugins' started by flametornado, Apr 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    flametornado

    NOTE: THIS PLUGIN IS NO LONGER BEING DEVELOPED \ SUPPORTED BY ME.

    phrstbrn HAS TAKEN UP THE DEVELOPMENT \ SUPPORT AND ALL QUERIES SHOULD GO TO HIM ON HIS POST. (http://forums.bukkit.org/threads/ec...t-935-iconomy-5-boseconomy-permissions.23429/)


    Jobs - The Job plugin for Minecraft:
    Version: 2.0.1

    Requires:
    • iConomy 4/5 / BOSEconomy
    Optional

    • Stats and Achievements
    • Permissions
    • MySQL
    A fully configurable plugin that allows you to get paid for breaking, placing and killing. Class based (experience increases as you perform your job).


    NOTE: Please read the comments in the configuration file thoroughly and check the console errors before posting here for help.

    [fire]IMPORTANT [fire]: If you want to upload your config for help, please do so using the forum's upload functionality.

    If you like this plugin, please donate.

    [​IMG]

    Video



    Thanks Samkio for the plugin tutorial video.

    Downloads
    Previous Versions (open)



    Features:
    • Create your own custom jobs and choose what they get paid for and how much.
    • Leveling mechanic where higher level jobs will give higher incomes. Income earnt = experience gained.
    • Equation determining maximum experience, experience gained and income gained is customizable.
    • Customizable skill levels in the game to mark leveling milestones (fully customizable in the configuration file).
    • Your profession and skill level is part of your display name and whenever you talk everyone will know what you do and how good you are. (optional)
    • Stats of your maximum level in a job is saved if you have the stats and achievements plugin. ( for bragging rights) (optional)
    • Does periodic saving and save on player exiting the server.
    • Leaving a job resets your job level and experience to 0.
    • Permissions support.
    • Admin commands work even when the players are offline.
    Source:


    I made a sourceforge account for this. It will allow you to report bugs and feature requests. It'll help me a lot to make sense of this.

    The link is https://sourceforge.net/projects/flametornadjobs/.

    Some rules before you go there:
    1. Please look through the bugs that have already been reported to see if someone else has already reported that bug. If you have any extra information, post it on the bug's comments. The more information I have, the easier it is for me to fix it and test it.
    2. Same as above for feature requests.


    Commands:
    Code:
    Player:
    /jobs browse -  View a list of the available jobs.
    /jobs join [job name] - Join the job.
    /jobs leave [job name] - Leave the job.
    /jobs info [job name] [break, place, kill] - view information about that job.
    /jobs stats - view your job level and experience needed to level up.
    
    Admins:
    /jobs fire [playername] [job] - fire the player from the specified job.
    /jobs employ [playername] [job] - employ the player into the specified job.
    /jobs promote [playername] [job] [levels] - promote the player in their job X levels.
    /jobs demote [playername] [job] [levels] - demote the player in their job X levels.
    /jobs grantxp [playername] [job] [experience] - grant the player X experience in the selected job.
    /jobs removexp [playername] [job] [experience] - remove X experience from the player in the selected job.
    /jobs transfer [playername] [oldjob] [newjob] - transfer the player's job (keeps levels and experience)
    
    NOTE: All job names are case sensitive.
    
    Permissions Nodes:
    Code:
    jobs.join.<jobname> - allows the group to join the job. Where <jobname> is replaced with the job name (e.g. jobs.join.Woodcutter or jobs.join.* to join all jobs).
    jobs.world.<worldname> - allows players to get paid on selected world.
    
    jobs.admin.fire - enables the fire admin command.
    jobs.admin.employ - enables the employ admin command.
    jobs.admin.promote - enables the promote admin command.
    jobs.admin.demote - enables the demote admin command.
    jobs.admin.grantxp - enables the grant experience admin command.
    jobs.admin.removexp - enables the remove experience admin command.
    jobs.admin.transfer - enables the transfer admin command.
    Changelog:

    Version 2.0.2 WIP
    • Added more parameters to job level up (jobname, jobcolour, titlename, titlecolour, playername, playerdisplayname, joblevel)
    • Fixed promote and demote to correctly change the max exp.
    • job names are no longer case sensitive.
    • Changed the saving mechanism to be synchronous instead of asynchronous (may help with people losing jobs)
    • added config option of enable-pay-near-spawner in general config.
    • Fixed some NPE
    • Wolves killing things gives the player money and experience.
    • Fixed empty tags not resulting in errors.
    • fixed mysql password is all numbers.
    • fixed honorific error
    NOTE: This version is stable, but not fully tested. I will not release this version fully until i track down the jobs vanishing bug and destroy it for all the hassle it has cause me :p


    Version 2.0.1
    • Small bugfixes
    • Moved where the update stats command is called so it won't break anything if there's an error in it. Should also improve performance slightly
    • made the enabling of the stats and achievements plugin optional (configuration parameter in general settings
    • ChatColour can now be in any case and it'll still work.
    Version 2.o.0

    • Multiple jobs
    • Exposed equations
    • More customization
    • Can specify sub-class
    • Can specify job class kills.
    • Messages are customizable.
    • Kills with arrows works
    • Admin commands (work offline too)
    • Can disable payout on certain worlds (mainly for creative servers).
    • Can limit the number of jobs a player can have
    • Can limit the number of people that can have a certain job per server.
    • Better console error messages.
    • Plugin disables itself properly.
    Changelog (open)



    Version 1.3.3b and 1.3.2b
    • Killing works properly now. Drops seem to have gone back to normal levels and you can kill stuff and get paid for it all the time.
    • 1.3.3b is for iConomy 5 AND ONLY iConomy 5
    • 1.3.2b is for before iConomy 5 AND ONLY before iConomy 5
    Version 1.3.3

    • iConomy 5 support.
    Version 1.3.2

    • Removed annoying spam message which was for debugging and i forgot in for 1.3.1
    • Changed experience to be a double so people get experience for things less than 1. Saving mechanism still saves using integers, it would create waaaay too much fuss to change this since the database schema would need to be changed for everyone that used this plugin and it would render all previous saves incompatible. This seems like a decent compromise. People will lose a maximum of .99 exp when they log out.
    • Better method for checking when an animal's dead, should fix the weird animation problem and the lack of drops some people have been experiencing.
    Version 1.3.1

    • Killing near mob spawners will not give you money anymore.
    • Displays payment amount when you do /jobs info for killing now too.
    • Changed way that you create kill tags incode. Results in the system crashing and the plugin not being enabled if you got the wrong name (e.g. capitals or misspelt name)
    Version 1.3.0

    • Killing stuff should work now. This section is not as thoroughly tested, but should work fine.
    • No jobs have been made with killing stuff, you're on your own with the configuration for a while but the template section has been updated, it follows the same pattern as break and place.
    Version 1.2.3 - Bugfix update

    • changed priority to make sure it gets run last (to make the following points work properly)
    • checks if you can place a block or if the event is canceled by another plugin. Done to avoid people getting rick very easily by placing blocks in areas they are not allowed.
    • Fix for players not getting removed properly in the onDisable function which results in weird names when people reload their plugins.
    Version 1.2.2

    • The titles will now take into account any previous modifications to your display name by another plugin and simply tack on the title at the front (and when you change jobs, strip it from your title and tack a new title at the front).
    Version 1.2.1

    • Base experience is now configurable
    • experience multiplier is not configurable (for those who want lower economies). If you want to give 0.2 of your currency to per item, then set the multiplier to 10.
    Version 1.2.0

    • A little code cleanup.
    • Permissions support
    • customizable flat rate pay
    • customizable skill titles.
    Version 1.1.2

    • Cleaned up sql commands more to make them more specific and avoid errors as much as possible. Hard to test this since neither my testing server and my proper server have any problems seen by other people.
    • Fixed the system to work with /reloadall command. The experience was still being saved, you just needed to log out. I didn't even know that this command existed, so i never thought i'd have the plugin enable with people in the server. It now takes that into account and online users will not need to log out to see their stats and work on their jobs.
    Version 1.1.1 [fire] RECOMMENDED [fire]

    • Cleaned up SQL commands to be more exact, should result in less errors.
    • New configuration for what kind of prefix to add to the username (job, skill level, both or none).
    • New configuration to toggle the option of broadcasting messages when users reach the next skill level.
    • [Stats & Achievements] - further integration, this plugin now also adds the iConomy money amount to the stats table. (will always be 1 block behind)
    • URGENT FIX - tables were not getting cleared and players ended up having multiple jobs with multiple levels instead of one job and one set of levels. Code written to auto correct this.
    Version 1.1.0

    • Added BOSEconomy integration. This should be automatically detected.
    • Added flatfile functionality for server admins who don't want to use mysql.
    • EXPERIMENTAL : Added sqlite functionality, I sadly couldn't get sqlite to work properly on my testing machine so i haven't tested it. It should work though.
    Version 1.0.1

    • Small fix on /jobs stats command. It now rounds off the two decimal places and is less annoying to look at when it gives you the price for placing/destroying a block
    Version 1.0

    • Initial build, spent the weekend on it, pretty satisfied with it, added all mentioned functionality.
    [\SPOILER]

    TODO:



    See sourceforge for requested features and bugs.
     
  2. Offline

    flametornado

    Works for me, I have no idea what could be wrong. Try downloading the plugin again.

    I have: iConomyDeath, Permissions, MCTelnet, Stats, CommandBook, LWC, HeroicDeath, iConomy, ServerAutoStop, GravelClay, WorldBorder, mcMMO, SimpleSave, LocalShops, Jobs, Jobs, FireFix, Residence, Achievements

    Thanks :D
     
  3. Offline

    RustyDagger

    hey flame about to set this up on my dev server any thing i should be careful of that's changed a lot besides the format. of the jobs always love to avoid those /facepalm moments when i can.


    Edit Flame i found a typo in your config file for the messages.

    Code:
    ChatColor.<Color> will make any works following (including spaces that colour. 
    meant to be words yes?
     
  4. Offline

    flametornado

    only things you should be aware of is the ability to set the maximum number of jobs someone can join and the slots. Otherwise the changes i made were to increase the cofigurability. The default configurations are the same as the old plugin (e.g. equations)
     
  5. Offline

    6y7t8h

    Still doesn't work but i have a suspicion it is Stats and Achievements. Can you make a version of Jobs which doesn't hook up with Stats? Thanksssss
     
  6. Offline

    flametornado

    that should have no stats. I don't see how that could be the problem though.
     

    Attached Files:

  7. Offline

    Schulzi

    The Plugin is great, but it's a bit buggy, because a Builder can place LOG and the Woodcutter can break it, for example.
    So both make profit.

    Is there a way to fix that?
     
  8. Offline

    6y7t8h

    thanks, you're a hero. I'll try this now.

    I actually love you, it worked! <3

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 4, 2019
  9. Offline

    flametornado

    Looking into a way to do that. Also, it's not technically a bug since it's not supposed to do that.
    Bukkit (to my knowledge) has no way of checking if a block is placed by a player, and the plugins that do that, will increase the performance requirements. Whether they'll increase it out of a workable rage is still for me to discover.

    super werid. I'll prob introduce a config option that lets you disable that.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 4, 2019
  10. Offline

    EdvinL

    Maybe I misread or missed something, but how do you have a job prefix in the chat, i.e. "[Owner] Lumberjack Apprentice EdvinL: Hello!"

    I have iChat and Permissions 2.7.4.
     
  11. Offline

    flametornado

    change the 'chat-display' property
     
  12. Offline

    Danoth

    Well this is pretty much what I get. (Sorry its a wall of text) when i try to use the latest jobs plugin downloaded last night. Linux OS, files uploaded straight from the archive with no configs changed from default, all files chmodded to 774 and no file access errors from any other plugins.
    Help please :)

    Show Spoiler

    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 06:26:51 [SEVERE] [Jobs] - configuration file titleConfig.yml does not exist, disabling titles
    2011-06-03 06:26:51 [SEVERE] [Jobs] - configuration file messageConfig.yml does not exist
    2011-06-03 06:26:51 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/messageConfig.yml (Permission denied)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.open(Native Method)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:106)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:66)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.loadMessageSettings(JobsConfiguration.java:953)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:80)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.Jobs.onDisable(Jobs.java:62)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.Jobs.disablePlugin(Jobs.java:1340)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.loadGeneralSettings(JobsConfiguration.java:231)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:74)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 06:26:51 [SEVERE] Error occurred while disabling Jobs v2.0.0 (Is it up to date?): null
    java.lang.NullPointerException
    at me.alex.jobs.config.JobsConfiguration.loadSlots(JobsConfiguration.java:90)
    at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:82)
    at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    at me.alex.jobs.Jobs.onDisable(Jobs.java:62)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
    at me.alex.jobs.Jobs.disablePlugin(Jobs.java:1340)
    at me.alex.jobs.config.JobsConfiguration.loadGeneralSettings(JobsConfiguration.java:231)
    at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:74)
    at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 06:26:51 [SEVERE] [Jobs] - configuration file jobConfig.yml does not exist
    2011-06-03 06:26:51 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobConfig.yml (Permission denied)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.open(Native Method)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:106)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:66)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.loadJobSettings(JobsConfiguration.java:244)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:76)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 06:26:51 [SEVERE] [Jobs] - configuration file titleConfig.yml does not exist, disabling titles
    2011-06-03 06:26:51 [SEVERE] [Jobs] - configuration file messageConfig.yml does not exist
    2011-06-03 06:26:51 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/messageConfig.yml (Permission denied)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.open(Native Method)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:106)
    2011-06-03 06:26:51 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:66)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.loadMessageSettings(JobsConfiguration.java:953)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:80)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    2011-06-03 06:26:51 [SEVERE] at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-03 06:26:51 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-03 06:26:51 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 06:26:51 [SEVERE] Error occurred while enabling Jobs v2.0.0 (Is it up to date?): null
    java.lang.NullPointerException
    at me.alex.jobs.config.JobsConfiguration.loadSlots(JobsConfiguration.java:90)
    at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:82)
    at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  13. Offline

    EdvinL

    Well, I have chat-display: full like this:
    Show Spoiler


    Code:
        Miner:
            fullname: Miner
            shortname: M
            ChatColour: DARK_GRAY
            chat-display: full
            max-level: 150
            #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: 1.0
                    experience: 1.0
                IRON_ORE:
                    income: -5.0
                    experience: -5.0
                GOLD_ORE:
                    income: -6.0
                    experience: -6.0
    


    But I still don't have the prefixes, just "[OWNER] EdvinL:".
     
  14. Offline

    CaiusTSM

    does this plugin work without iconomy and just with BOSEconomy?
     
  15. Offline

    Schulzi

    You can't get money with wheat :/. Because when you place it, you'll lose/get money and when you break it you get money. And you can't make the place price higher than the break price because then you make losses.

    Or I am doing sth wrong??
     
  16. Offline

    Ripper76

    Someone can tell me the problem with this config file? :
    Code:
    Jobs:
        Bucheron:
            fullname: Bucheron
            shortname: B
            ChatColour: White
            chat-display: full
            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: 0.10
                    experience: 0.10
        Mineur:
            fullname: Mineur
            shortname: M
            ChatColour: White
            chat-display: full
            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.01
                    experience: 0.01
                COAL_ORE:
                    income: 0.08
                    experience: 0.08
                REDSTONE_ORE:
                    income: 0.25
                    experience: 0.25
                IRON_ORE:
                    income: 0.10
                    experience: 0.10
                GOLD_ORE:
                    income: 0.25
                    experience: 0.25
                LAPIS_ORE:
                    income: 0.50
                    experience: 0.50
                DIAMOND_ORE:
                    income: 1.0
                    experience: 1.0
                OBSIDIAN:
                    income: 1.0
                    experience: 1.0
                MOSSY_COBBLESTONE:
                    income: 0.50
                    experience: 0.50
            Place:
                RAILS:
                    income: 0.05
                    experience: 0.05
        Paysan:
            fullname: Paysan
            shortname: Paysan
            ChatColour: White
            chat-display: full
            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:
                WHEAT:
                    income: 0.10
                    experience: 0.10
                SUGAR_CANE_BLOCK:
                    income: 0.10
                    experience: 0.10
            Place:
                SEEDS:
                    income: 0.05
                    experience: 0.05
                SUGAR_CANE_BLOCK:
                    income: 0.05
                    experience: 0.05
        Chasseur:
            fullname: Chasseur
            shortname: C
            ChatColour: White
            chat-display: full
            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:
                Red_flower:
                    income: 0.25
                    experience: 0.25
                Yellow_flowwer:
                    income: 0.25
                    experience: 0.25
                Cactus:
                    income: 0.25
                    experience: 0.25
                Red_Mushroom:
                    income: 0.30
                    experience: 0.30
                Brown_Mushroom:
                    income: 0.30
                    experience: 0.30
            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
        Garde:
            fullname: Garde
            shortname: G
            ChatColour: White
            chat-display: full
            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:
                Wolf:
                    income: 2.5
                    experience: 2.5
                Creeper:
                    income: 3.0
                    experience: 3.0
                Skeleton:
                    income: 2.0
                    experience: 2.0
                Spider:
                    income: 2.0
                    experience: 2.0
                Zombie:
                    income: 2.0
                    experience: 2.0
                Player:
                    income: 3.0
                    experience: 3.0
                Giant:
                    income: 5.0
                    experience: 5.0
                Ghast:
                    income: 5.0
                    experience: 5.0
                Pig_zombie:
                    income: 3.0
                    experience: 3.0
                Slime:
                    income: 2.0
                    experience: 2.0
        Pecheur:
            fullname: Pecheur
            shortname: P
            ChatColour: White
            chat-display: full
            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:
                Squid:
                    income: 3.0
                    experience: 3.0
        Teinturier:
            fullname: Teinturier
            shortname: Teinturier
            ChatColour: White
            chat-display: full
        Vendeur:
            fullname: Vendeur
            shortname: Vendeur
            ChatColour: White
            chat-display: full
        Cuisinier:
            fullname: Cuisinier
            shortname: Cuisinier
            ChatColour: White
            chat-display: full
        Chauffeur:
            fullname: Chauffeur
            shortname: Chauffeur
            ChatColour: White
            chat-display: full
        Ouvrier:
            fullname: Ouvrier
            shortname: Ouvrier
            ChatColour: White
            chat-display: full
        Cartographe:
            fullname: Cartographe
            shortname: Cartographe
            ChatColour: White
            chat-display: full
    When i launch my serv, the plugin not working
     
  17. Offline

    HadrienM

    Les couleurs sont pas en majuscules normalement ?
     
  18. Offline

    Ripper76

    Comment ca?
     
  19. Offline

    HadrienM

    Comme ceci (c'est un exemple les espaces sont pas respectés, fais pas un copier/coller de celui-ci) :

    Code:
                Mineur:
                    fullname: Mineur
                    shortname: M
                    chatcolour: White   <====== WHITE
                    caht-display: full
    
     
  20. Offline

    Taien

    Ok so I whittled down my list a bit using yours...my question is what do you use for block protection? Nothing? I have WorldEdit and WorldGuard installed, which I thought were pretty essential parts of a server. You don't have essentials either, which I totally thought was an "essential" so to speak. What version of permissions are you using? I haven't been able to get permissions to work correctly...

    I have to go to work, will worry about this more later. Everyone on my server is still losing their jobs though...there is definitely some conflict :(

    Data is definitely being lost somehow....I just checked the jobs.data and while I picked two jobs last night, they are now no longer in the jobs.data. This is so frustrating...I want to use this plugin :(

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

    flametornado

    must be a plugin conflict :(

    You can specify sub-groups. Also i think it's crops not wheat. Wheat is the item, crops is the block.
    For example Crops-7 is fully grown wheat and others are not.

    I don't use worldedit or worldguard or essentials :p. I don't do anything for block protection :p. It's a small server with only my friends on it. Also if they do anything bad, they'll get removed from the whitelist permanently.

    We run residences to protect areas that we want (like our homes).

    I'm using permissions 2.7.4. I tried getting permissions 3 working but i couldn't figure it out :(, so i reverted. I'll probably try again later.

    I have no idea why data would be lost :(

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

    RaccoonLand

    hi, for some reason when i change something but only sometimes it says error and jobs doesnt work
     
  23. Offline

    flametornado

    What console errors does it give you?
     
  24. Offline

    RaccoonLand

    it says 09:24:18 [SEVERE] Error occurred while enabling Jobs v2.0.0 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
    in "<reader>", line 26, column 31:
    levelReq: 20 Master:
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
    at me.alex.jobs.config.JobsConfiguration.loadTitleSettings(JobsConfiguration.java:837)
    at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:78)
    at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  25. Offline

    flametornado

    Yes

    did you copy across the new configuration files? Because it seems to not be finding most of them.

    the end of line character seems to be missing from your configuration file.

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

    RaccoonLand

  27. Offline

    ValBGaming

    Is there anywhere containing a list of all the possible item names? I mean I know what all the ID's are but it would be much nicer to be able to use the item names in the config, easier to read than ID numbers. :)

    Also -- Does this plugin support Tall Grass introduced in 1.6?
     
  28. Offline

    Taien

     
  29. Offline

    RaccoonLand

    What is the end of line character?
     
  30. Offline

    ledhead900

    Might wanna rename this
    Moved where the update stats command is called so it won't break anything if there's an error in it. Should also lower performance slightly

    ;p
     
  31. Offline

    Wintermelon

    I have iConomy but Permissions does not work on my server, I can't destroy anything, and permissions is optional so i won't use it. There is no .jar for it its .rar, so seriously, My server is new as it was made in 2 June 2011

    btw I its a text only

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

    EdvinL

    It seems that it conflicts with iChat. :(
    EDIT: Switched to HeroChat, works fine now.
     
Thread Status:
Not open for further replies.

Share This Page