CheckIn
CheckIn
What it does:
Players can CheckIn and CheckOut jobs. When they are Checked In, they get money every x seconds. You can Configure how much a job is worth every x seconds. You can Configure every how many seconds die Player gets the configured amount for each Job.
RangeSigns: If you are CheckedIn and you leave the range marked on the range-Sign you are automaticaly checked out.
It is like in Real Life. The Owners have to look, that their employees work and don't just hang around. ;)
Configuration
The config.yml has one point:
- useRangeCheck : if true, this uses Range-Signes
Creating Jobs: This is done in the jobs.yml. Here is an Example with 2 jobs: Miner and OtherJob
jobs: Miner: messageStart: "Hello some strange Miner, welcome in the Mine please start working, or you will get killed" messageEnd: "That was a Hard day. Please come back tomorrow" gainedMoney: 42 everySeconds: 2 OtherJob: messageStart: "I am some fancy welcoming message" messageEnd: "Bye, I hate you" gainedMoney: 9001 everySeconds: 3
This means: A Miner gets every 2 seconds 42 (whatever is your currency)
The Nodes in the jobs.yml: jobs: jobname: messageStart: "message to send on CheckIn" messageEnd: "message to send on CheckOut" gainedMoney: Integer number of money gained every x seconds everySeconds: Integer means it adds every x seconds the money to the account.
HOW TO (create CheckIn / CheckOut / Range-Signs)
CheckIn Sign: Create a Sign with the following:
- line1: checkin
- line2: jobname here
- line3:
- line4:
It will then auto fill the Sign.
CheckOut Sign: Create a Sign with the following: line1: checkout line2: jobname here line3: line4: It will then auto fill the Sign.
RangeCheck Sign: Create a Sign with the following:
- line1: rangecheck
- line2: 14x4 (the first value is the x value, the second the z value, meaning 14x4 means: 14 in x direction, 4 in z direction)
- line3:
- line4:
The Sign will then auto fill.
Commands
- /job join <jobname> : joins a job (to use the CheckIn Sign of this job)
- /job leave : leaves the current job and ends all running CheckIns
- /joblist : lists all available jobs and your current job, if you have one.
- /jobdebugrangesigns : regenerates all Range-Signs which are in the list but already destroyed. (Debug command)
Permission Nodes:
- checkin.sign.create : Permission to create a CheckIn/CheckOut-Sign
- checkin.areasign.create : Permission to create an Range-Sign
- checkin.job.use : Permission to use a sign.
- checkin.sign.debug : Permission to use debug commands.
dependencies:
Permissions: (one of the following)
- Vault
- PermissionsEx
- GroupManager
- BukkitPermissions
Economy: (one of the following:)
- Vault
- Essentials
Plugin Support
Be sure to comment or make a support ticket if you need help with the plugin!
THANKS
- To @garrett2smart87 for the Idea for this plugin.
- To all the Plugin Developers for making good Plugins!
-
View User Profile
-
Send Message
Posted Sep 15, 2013Can you make this work so if a player simply logs in that adds to their "CheckIn" time? So that, say, a if a player logs in for a total of 24 hours, they get paid, and so on. The reason for this being that I host a Roleplay server, and I'd like to be able to make it so that Nobles and Guards can get paid periodically for just being on.
-
View User Profile
-
Send Message
Posted Jul 20, 2012My players says that it says "You haven't learned this job yet" But htey have type /job join JobName
Please help
-
View User Profile
-
Send Message
Posted May 10, 2012@Tobiyas
so for example player A hits the sign and "checks in"
player B turns up to try and do the job hits the sign and it says "sorry someone is doing that job already"
therefore player B can only start a job when player A is done and "checks out"
@C0nsoleMC
i would strongly recommend the suggestions of adding additional perms for people in a job
that way you can pay people to work for the server e.g. replanting trees in a restricted area or giving prison guards the ability to /jail people without giving the whole group access
-
View User Profile
-
Send Message
Posted May 9, 2012@Master_Zangetsu
Can you please specify what "option of 1 player per job at any time" should do? I don't get it right now :)
-
View User Profile
-
Send Message
Posted May 9, 2012@Master_Zangetsu
Thanks for your comment!
@tobiyas It'd be great if you could add the first two! The next three, not so much :/
-
View User Profile
-
Send Message
Posted May 7, 2012please add:
also would be nice:
-
View User Profile
-
Send Message
Posted Apr 10, 2012@iDeViLxD
1. Yes, If a player is loged out, he doesn't get any money. 2. If you use Vault, it supports iConomy, I guess.
-
View User Profile
-
Send Message
Posted Apr 10, 2012Does this have an auto check-out feature if the player logs out? Cause i know some people would be greedy and just keep the "Checked-In" toggled.
Also, does this support iConomy
-
View User Profile
-
Send Message
Posted Apr 10, 2012@CronosDage
Ok! Cool!
-
View User Profile
-
Send Message
Posted Apr 10, 2012Seems cool! Will use it.