JobSuite
JobSuite adds a (relatively) simple way of posting requested items for a reward to the server's population. This requires no interaction from the part of an admin - all of a job's administrative functions are available to the person who posted it (the economy can be entirely player-driven).
To get help with the available commands, just type: /job
Information
- Jenkins 1.1. Use of the plugin builds from Jenkins is unofficial, unsupported and unapproved by BukkitDev Staff!
- GitHub
Features
- Create and post jobs for the entire server to view.
- Lock jobs to prevent other people from sneaking in and sniping you at the last second.
- When a job is completed, the items are stored virtually; claim them at your convenience! (even across server restarts or log in and log out!)
- Posting a job takes the money from your account immediately. You can't be scammed by someone who won't pay up!
- SQLite and MySQL are both supported.
Commands
/job make [name]
Creates a job with the specified name. This name is shown in the job info header and when players search for it in the job list. Also displays the next step in creating the job.
Example: /job make Demo
/job desc [description]
Sets the newly created job's description to the specified value. This is shown when players see your job in the job list. Also displays the next step in job creation.
Example: /job desc This is a demo job. Deliver 64 stone blocks and 32 dark wood.
/job reward [amount]
Sets the reward for successfully delivering the items that you request. This amount is taken from you immediately when you post the job. You cannot set a reward with funds you don't have. Also shows the next step in creating the job.
Example: /job reward 100
/job additem [type[:data]] [amount]
Attempts to add the specified item by either ID (first) or name (second), with the specified data value. Command will fail if the amount provided is higher than the maximum stack size for that item.
Examples: /job additem 1 64
, /job additem 17:1 64
/job remitem [item id]
Removes the specified item by its id from your current job creation session. Fails if there is no item at the specified index. Job items start at index 0.
Example: /job remitem 0
/job addenchant [item id] [enchantment id] [power]
Attempts to add an enchantment to the specified item by its id. While creating a job, you can do /job listitems
to show available items and their ID. This command will fail if the power level provided is too high (or too low), if the enchantment doesn't exist, or if the enchantment can't be added to the item.
Example: /job addenchant 0 16 5
/job remenchant [item id] [enchantment id]
Tries to remove any enchantments from the item with the specified enchantment ID. This command will fail if the item doesn't exist or if the specified enchantment isn't on the item.
Example: /job remenchant 0 16
/job post
Posts the job that you are currently created and exits "job make" mode. This also assigns the job ID, which is how you will interact with it in-game. This command will fail if you skipped any of the steps in creation and the job is not complete.
Example: /job post
/job quit
Quits the job creation process and clears out anything you've already done. This command can't be un-done, so be sure before you use it!
Example: /job quit
/job cancel [job id]
Cancels the job specified by the ID you provide. This command will fail if you are not the owner of the job. If you have the permission jobsuite.admin.cancel
, you can bypass the owner requirement. Also works from the console.
Example: /job cancel 1
/job list [page]
Shows a list of available jobs, by their ID - Name - Description.
Example: /job list
/job info [job id] [item id]
Shows all of the relevant information about a job and the required items to fulfill it. If you specify the optional [item id] argument, you can see more specific information about that item (such as enchantments or data values).
Example: job info 1
May/20/2015 :D :D :D :D :D :) :) :) Running cauldron-1.7.10-2.1403.1.54 This JobSuite 1.1 b86_1.5.2 plugin is still working ! Works with modded items !
Also what Dunem666 was saying below... It would be a Great addition to the plugin. if someone could possibly setup some type of hourly or daily reset, so that there is a permanent job or first come first served for the job per hour/day. Collect 10 apples, earn $100 for example. Would be added in the /job admin (section ).
For now, my Suggestion to current server owners or admins, I would find a plugin or use a command block and set something up, so that every 1 ,6, or 24 hours.. the command block or plugin makes console run a command delayed/slowly so that console slowly creates a job or 2.... repeatedly every so many hours of what you setup. :side-note: if command block or plugin won't let console set the job, or pay for rewards, then use a fake admin account or something. some-times with bukkit you can make a fake user for your server specifically. otherwise buy a 2'ed mc account.
update it. I like this plugin This is a create Job plugin Update Please Update Update Please
Awesome plugin, exactly what I was looking for!
UPdate it!
@jamcghie
9 days ago GASP!
lol... kids and their time frames.
this plugin still active?
this plugin seems worthy of going on my server! BUT i have a couple of questions....
Can Myself as an Admin post a permanent job, which everyone can claim 1 or 2 times a day?
If you can support this feature, allowing admins to post permanent jobs, I will deffinatly add this!!!
@jamcghie
Post a ticket. He got back to me with his other plugin he created fairly quickly. :)
@mohawkguy360
There is a duplication glitch I found, so it doesn't work. I left the dev a PM but he hasn't responded at all. This was 9 days ago...
Looks great, but does it work in 1.5.1? doesn't seem to for me..
@krinsdeath
Hey. your right (of course). Sorry about that. was getting the language mixed up a little. Yes I just tested it and all is working. Can you make a minor change though. If a job has been completed is it possible to remove it as a count of jobs when you do a job list. It could be confusing for the players if they were to see a job list stating [5/5] - total 5 but nothing is displayed in the list. I understand what your doing there but I guarantee they won't and will just badger staff members for explanations, etc...
Will keep you posted if other things take place, but so far so good. Again thanks for the promptness in your messaging and updates to the build.
zrocweb: You lock a job with
/job lock id
(this allows you to do/job finish id
)./job claim id
is used by the poster of the job to claim the items that were gained from the job.I just tested it with both MySQL and SQLite and everything works perfectly. Can you screenshot in the in-game output and paste the console output?
@krinsdeath
Ok.
Downloaded build 79. Create a test job tried to claim it and receive msg "Can't find a matching job". The job id is [ID:1]. I tried with three different player accounts all having the perms needed to claim and use jobsuite.
Server Restart:
As you can see it says it loaded the one job I created and this time, the job is there in-game. Good... making progress..
But still can't claim a job to execute it..... Perhaps another query mishap..
@krinsdeath
Sounds good. I'll download and check it out. Will let ya know. Appreciate your promptness in getting it fixed!
SQLite cannot translate the value of 'false' to a 0 in the table. MySQL does. This is a shortcoming of SQLite and has nothing to do with the select statement. It's not using a string. It's using a boolean.
That being said, MySQL is smart enough to translate both 0 and false as booleans, so I switched it to 0.
From what I see (I tested making, claiming, canceling, finishing and everything else I could think of), the problem is now resolved in the latest build.
@krinsdeath
Krin: There are NO ERRORS during startups. I actually just download that build and put it on my test server where JobSuite has never been seen before. So there are no DBs to delete, etc... Its like I said, the jobs are in the DB which means they save, and I'm not sure where during the startup its being reported that they loaded, but it does reflect that job(s) were loaded during startup.
The issues is this as you might recall from my earlier posts way-back-when.. The sqlQuery string is trying to retrieve a string I think it is but the value of that column is a boolean value.. It might be the other way around, as I truly forget right now... But I know it's one of those two and that's why the jobs don't load. If I manually change the type of field in the db and re-upload the DB to the server and restart, everything works fine. But the field type keeps getting switched back and then it fails again...
Another issue with your latest build is that there are internal (null) errors when trying to claim or do anything, in-game, with the jobs now. Not sure what happened there. All in-game functionality worked perfectly before.. It was just a DB (query) datatype discrepancy that was causing all the issues.
EDIT: (from previous post down in the thread...)
In your select statements your are asking for a state for the "claimed" column to be string of 'false', but in the database itself your are saving as boolean value.
I need to re-design the database for SQLite because it's the worst implementation of SQL in the history of the universe. MySQL works perfectly fine. I've tested it.
Please report these problems in my ticket tracker so I'm able to use them properly. On github would also be a good place so I can close the tickets for my changelogs.
Krin:
I just downloaded your latest build #78. Sorry to report that it's getting worse rather than better.
1) You can create the jobs in-game and thats all you can do in game now. You can't claim a job to execute it or anything... nothing is working in-game now.
2) Server re-starts still does not load the job, however during startup the log reflects "x" jobs loaded. So where are they? They are still in the DB, yes, just not getting loaded as before from the DB.
Just thought I would pass on the results in case your were not aware. Patiently awaiting full functionality of this!!!
I noticed jobs will disappear after reboot? This would be helpful to fix :3
@krinsdeath
Build 74 still has issues with loading jobs after a server restart. I have 4 jobs in the DB and there are no jobs loaded?