HygienePlus
Version: v1.5
See my Plugin in action!
Hygiene is what Notch forgot to implement in Minecraft!
Hard work makes you perspiring and smell like an old sock if you don't take a bath.
So it's time to care for your body and take a daily shower!
Features:
- A hygiene-bar about your current hygiene-status!
- Take a bath by standing in a with water filled cauldron!
- Take a bath by creating a "[Take a bath]" sign [video]!
- Particles coming out of you, if you're stinking!
- Working hard with the hoe as a "farmer" decreases your hygien-status!
- Butchering all kinds of animals[cows, pigs, etc.] decreases your hygien-status!
- Breaking/placing dirt/grass makes you loose hygiene-points too!
- Shows your hygiene-bar only if its status changed!
- Poison player if he's dirty and doesn't take a bath!
- Fully configurable messages!
- ChatColor-Support!
- Permission-Support!
- Vault-Support
To-do list:
- Waiting for your suggestions!
Commands:
- /hyg - Shows your actual hygiene-status!
Permission:
hygiene.hyg - Permission for the command /hyg
hygiene.bypass - Permission for bypassing the water disappearing
hygiene.createSign - Permission for creating a "[Take a bath]"- sign
Changelog:
v1.5 - added feature to take a bath in normal water [configurable] || optimized code a bit [was one of my first plugins..]
v1.4 - Fixed the invisibility-glitch!
v1.3 - Updated/Compiled with 1.4.7
v1.2 - creating a normal sign without [take a bath] won't throw any permission errors out
- only wall signs are used as bath signs
v1.1 -showing the hygiene bar in chat only if it's status changes!
-poison player if dirty and doesn't take a bath
v1.0 -added Vault-Support (download Vault)
v0.4 -fixed some bugs listed by fazaro below
v0.3 -added configurable chat-prefix
v0.2 -added permission to bypass water disappearing
-fixed the command bug
v0.1: Already implemented a lot functions!
Known bugs:
- None at this time!
- Fixing them as fast as possible, same day!
I'm waiting for your suggestions and ready to implement them as fast as I can!
Is your economy-plugin listed on this page? http://dev.bukkit.org/server-mods/vault/pages/using-vault/
If so, I'll add Vault-support to support all the plugins listed there. Didn't do it till now, because 95% of all servers are using iConomy 6/7.
@Ahmet094
im usin Economy, not iConomy :c
This Is Quite An Excellent Looking Plugin I Probably Wont Use It For A While But Hey I Will Download Anyways ;D
Keep Up The Great Work!
Sure it works.. Console executes the command /money take playername costs It has to work, if you're using iConomy :)
Yes, I'll add this in the next update, but at the moment I have more than 3 plugins, about which I've to care...
Prefix is working, empty sign is fixed, But the [Take a bath] sign doesnt take the money :c thanks for your effort.
Just asking, if You can add the configurable damage or being poisoned for not taking a bath?
Thanks for your comment! Nice idea, but on respawn their hygiene would be set to 100% again anyways.. :/ So it would be an "abuse"..
@Ahmet094
yes... lets say in real life i get dirty and stay dirty. well every day i stay dirty i could develope a disease or virus so why not implement the same idea and just like in real life you could get it right away or never thats why i suggest the 1-99% never a 100% and it could be an adjustable chance in the config lets say based on x amount of ticks it'll add x amount % chance that it'll infect until the clean themselves the chance keeps stacking until either a. they become infected or b clean if clean then all is good if infect it could be poisoned or hunger or nasua and you could have different things to clean each or the same thing which i feel should be a golden apple or enchancted one or a health pot. something out of their way for not staying clean. Ok recap
player a has an empty clean bar after x amount of ticks(configable) the system rolls starting at a configurable set start percent... after the roll it then either adds x amount more(configable amount even 0 in case the server just wants it to stay at a fixed amount) and then begins the countdown again. At any point and time they can clean up and reset it unless infected which has to be cured with pre set items.
Now all this is fine and dandy but if you wanted to you could just do a poison attack until they clean themselves when the bar hits zero everytime (configable to true or false if servers dont want this turned on)
Sorry for the bugs! Fixed them all now :) Aren't you using iConomy 6/7 ?
File is waiting for approval, till then you can download it here <==
Found a bug.
You can use sign-bath with any text on it, ( it works too when sign is empty ), and it says that I paid *money for taking a bath but it doesnt take the money
When I try to take a sign bath it says i did it, but my hygiene is still 0, and there are some errors in console "PlayerInteractEvent to HygienePlus"
@Ahmet094
when i changed the prefix it says
&b<&eYour Hygiene&b>:
Not like the old looks,
@fazaro
Added it, it's waiting for approval. Till then you can download it here.
Gute Arbeit :) Nur weiter so! xD
@Ahmet094
I can't change it in config, there isnt that option ;c
@CoffeeNutz
So you mean that there should be a certain chance that the players, who don't care about themselves, can get a poison etc.?
@fazaro Well, it would be nice, if you leave it as it is, but you can still change the chat-prefix in the config ;)
Fixed the command-bug and added the permission hygiene.bypass You can download it here, till it's approved.
wondering if the hygeine bar stays empty long nuff is they can get diseased debuff or a chance once a hour that stack 1% chance then 2 then 3 until 99% that they get a disease and are infect till they eat a golden apple or a heal pot (something medical)
No problem ;o, I just wanna ask if You can add to configure the ign text. I mean
<<Hygiene>>: |||||||||||||||||||||, because I dont wanna someone to "steal" plugins from my server
o0 Sorry, the command was working, but somehow.. I'll fix it in the next few minutes and add a permission to bypass the disappearing of the water. It will be very difficult and almost impossible to control after how many times the water will disappear. I can't add this.. only the permission for bypassing it :)