MineJobs
Notice!
Quote from eNnillaMS:To all those who have come, and to those who will come in future (should there be any): This is my goodbye.
With all the old staff gone, Minecraft sold to Microsoft, and the Bukkit project basically in limbo, I've resolved to leave the Minecraft Modding community. No further updates to MineJobs will be released, and neither will there be any new plugins from myself now that I see no future for this medium.
A great thanks however to those who've supported me since my plugin's inception! 12000+ downloads is an impressive count, as is having as many as 150 servers running my plugin at once, and I won't soon forget what you've all done for me.
Adios friends.
- Heath
About:
This is a jobs plugin designed to allow staff members to create and modify jobs for players on their servers. It was originally designed to be a no-fluff get-to-work kinda plugin, but I've been hard at work adding numerous OPTIONAL features. Players can log in, get a job, and start making money right away. Admins can modify every aspect of a job from in-game. Some players (Optional feature) can even create jobs for other people to work at, and they have the same job-modding commands as admins (they can't mod server jobs)! Job systems available include: Digging, Killing, Fishing, Building, Crafting, Smelting, Brewing, and Enchanting AND Digging and Killing have optional tool value modifiers!
Installation and Use:
It's as simple as dragging and dropping the jar file into your plugins folder, as long as you have Vault installed. If you don't have Vault, then get it because MineJobs is useless without an economy hook. As said above, players can join and get started right away under the right setups, but you might also need to run some Commands to make everything work right for you; and for more advanced setups, you should head over to the Permissions page, along with the Configuration help page.
Comment with suggestions for new features and tricky errors (read the startup logs first, they'll tell you what's up)!
Important Update (v5.0):
I'm back everybody! The new update features a number of small enhancements, including a version checker to tell you if there's a new version available, PluginMetrics to tell me just how many of you guys really care, and some new error outputs for Signs, mainly to tell you whether they're enabled or not because tests really didn't show anything but success on my end. UUIDs have been implemented, and configuration files will automatically update as players begin to filter into your servers.
Note about data collection:
PluginMetrics collects minimal data about the system you are operating the plugin on (Operating System, Number of Processor Cores, Java version, etc.) and can be disabled by toggling the "opt-out" variable in the configuration file of the PluginMetrics folder. This plugin also checks for updates using the Curse ServerMods-API, which can be disabled via. config.yml of the MineJobs folder. The variable "updateChecks" will disable checking for updates AND automatically downloading updates, while the variable "autoUpdate" thereby relies on "updateChecks" and can disable automatically updating the plugin, should you only want to check for updates and then download the update yourself later. All of the above toggles are set by default to 'true', and can be disabled by changing their values to 'false'.
Videos:
((I'll do a DevWalkthrough Video soon, since I just upgraded my computer, just gimmie a bit))
@eNnillaMS I changed it in the jobs.yml file, not via command. Maybe i should try it with the command. I will try to reload the plug-in after changes. Thanks so far!
EDIT: I used the commands to create new jobs. That works, jobs.yml gets not deletet and the signs work. But i don't get paid for using the new jobs. I created a blacksmith and get no money for crafting a iron helmet for example.
@GrauherzX
As far as the server overwriting your values when you restart the server; that's supposed to happen. The plugin has to save the file it's been working on in-game when the server shuts down to prevent change losses. To get around that whole issue: I put in the /mja reload command. It loads the config from disk and then saves your modified config back when the server restarts. You just have to reload the plugin before restarting when you do manual file changes. I just have to ask though: "when i try to add a new job". That's via. command? Or just normal file? Command is the only way I can think of that would act on your changes at all..
I have a quite similar problem like pepper82. When i edit the values in the jobs.yml and then restart the server, the plugin overwrites my edited values with the standard ones. I solved this problem with saving the file while restarting the server several times. The next problem ist that the complete jobs.yml gets emptied when i try to add a new job or rename the existing ones. Very weird behavior For now it works with my own values but it would be great if i could add new jobs. Thanks G.
@pepper82
I personally have no idea how that's happening either; but yes, I'll add that to my list of to-dos for the next update. Strangely, this is the first time anyone's mentioned it to me...
EDIT: Okay, I really am curious about this..... you mean like when the config is being loaded when the server is starting, if there's errors; or when a person runs a command with bad syntax..?
I have this problem with the plugin:
If you have an error in your jobs config (e.g. adding new jobs, entering wrong data values etc. and reloading the plugin) the plugin is deleting the whole content of the jobs file. So I am not able to use this plugin because of the bad error handling ... you are planning to fix this?
@KJ_Shipp
Unfortunately no but that is one of the things I'm going to check out further during the update process.
@eNnillaMS
Was there ever any headway made towards the problem with the farmer getting paid for other crops? Never heard back from you on it.
@FreeNation
Really? I guess I actually will have some work to do... I must have let some updates slide somewhere along the line.
Oh well, my testing server is fixed (mostly) so I can get back to work on this ASAP.
EDIT: You know, I think I'm just going to rebuild the plugin altogether. I've been meaning to make use of classes for a while instead of just constantly (and messily) referencing the config files. I'll see you guys later, with v4 in my pocket!
@eNnillaMS
Only problems I seem to be having is no payouts to crafting,placing & brewing other than that every one on my server loves your plugin.
Pastebin of jobs file
@FreeNation
Hey, I know it's an old comment, but I'm curious what was wrong with your config file back at the end of Feb... Just in case it's a clue for what's wrong with savannahj96 and joneau100's files..
@eNnillaMS
Oops I forgot about that part can tell who was typing half asleep lol.
Warning for you @FreeNation; you should put the data value for the last stage of crop growth there too (like "CROPS_7: 2") so that people can't just put down seeds and break them to get the same amount of money they'd get from breaking fully grown crops.
@Pepper82
Put CROPS: [price]
Should work that's what I had to use.
WHEAT + SEEDS still not working. :-(
@savannahj96
Very odd, just like last time, I can't seem to find anything wrong with that.
I'll run it through my testing server just as soon as I fix it. Might be a couple more days though, I really messed it up testing out Async and Synced timers...
@eNnillaMS
Ok Here: http://pastebin.com/BG8WxXau
@savannahj96
I could tell you if you were to PasteBin your jobs.yml for me~
Fishing dont work,placing blocks dont work, enchanting dont work,smelting dont work, But Demonslayer, Miner, Farmer, Lumberman, Hunter all work but the other ones dont, Is this a glitch? Or Need To Be Fixed?
@joneau100
I honestly have no idea what's causing that... It almost sounds like an issue the plugin had in the early versions where it was loading from the files in the .jar instead of from the modified files in the MineJobs folder... I'll test it on my server in a bit, but APPARENTLY there's some issues I have to deal with there first.
An unrelated note though: I made a mistake in the Job Config help page (possibly the included comment too). Potion brewing pays per INGREDIENT, not by created potion. Instead of the potions you have listed there, you'd want to list glowstone dust or redstone.
I'll be back soon for ya.
im trying to add some more admin jobs to the server but those arent showing up at ingame. can someone tell me whats the problem with this config? and do i need to configurate something else to make it work? this is a jobs.yml file then. http://pastebin.com/CcjVbyhN
note that it still includes the default jobs. i added there fisherman, blacksmith, cook and brewer which are all at the bottom