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!
I would like to happen "take a bath" by simply entering water too :)
@Zaridragonfly
I like the idea.
I would suggest using the "sponges" for this.
There are plugins that allow crafting sponges. It is the most logical object to take a bath :D
You can add this option Ahmet094?
Is there a way to make it so you can take a bath in a river/lake/ocean by using an item to resemble soap if you're on the road?
It prevents the water from getting "used" after taking a bath^^
Does the hygiene.bypass node prevent people from having to take baths? I tried adding it but it's still lowering my hygiene level.
Thanks for reporting it! Updated :)
There is a bug, whenever I put a sign, I get the message "You do not have the permission to create a bath-sign".
I tried to install the "plugin" without more "plugins", only with: 1.1 Hygiene Pex (last version) Vault (last version) Spout (last version).
The only way that do not display the message is getting permission:
- hygiene.createSign
Logically not the solution .... :) (I do not want people to create signs baths)
The message appears when you type anything into a sign, (not to put [take a bath]), no matter what you write, the message always appears.
Greetings.
I'm not using Vault for the permissions Only for the economy [costs for using a sign-bath]
@Ahmet094
You could also hook directly into the mostly used permissions plugin, if vault isn't installed... Then ppl who don't wan't Vault on their server can use ur plugin too
@Torondork
Just install Vault on your server. There are loooots of plugins which use vault and are compatible to each other through vault^^
You could post the error later too, but it won't change anything, because you have to install vault on your server to make this plugin work :)
Ahmet, I noticed that it has Vault support added, but it is not listed as a requirement. I don't use Vault but noticed that when my server loads with HygienePlus installed, it gives me a severe warning error and cites the absence of Vault. I appologize for not having the actual error code with me to post here as the server is at home. Presumably because of this error, it fails to create a config folder, either initially, or after I get in and dig dirt and slaughter animals. Any thoughts or should I post the specific code later today? -T
Sorry, forgot to add it to the description.
Sure there's a permission for it: hygiene.createSign - Permission for creating a "[Take a bath]"- sign
so only ops can make bath signs i see no perms for it and everyone says they cany make bath signs
@Ahmet094
No worries. I like that it adds another use for cauldrons, as I said, and I will just be sure and have people make them and keep them filled :-) Thanks! -T
@Torondork
I'm sorry, but I only want the users to take a bath via sign or by standing in a cauldron :p You could make the bottom of your showers out of cauldrons, but there needs to be at least one free air block next to it, otherwise they'll take a shower, but the messages will flood the chat as they move inside it and can't get teleported outside. [I'll "fix" this]
ok i've tested it and it's fine. Thanks :)
I really love this idea and plan to impliment it on our server tonight. Though while I like the idea of having an additional use for cauldrons, is there any way to add being in any body of flowing water to the mix? I would like to make use of the "showers" I have built out of dispensers and water buckets.
If it's possible. Thanks! -T
"don't reset on die" is possible^^
When do you get this error? I've tested it and got no errors. You have to delete the old hygiene.jar-file, also delete it's folder. Drop the v1.1 in you plugins folder, reload the server, now the config will be generated. Kill a pig or do sth, with affects the hygiene-bar [breaking dirt block e.g.] and then reload your server again
[SEVERE] org.apache.commons.lang.UnhandledException: Plugin HygienePlus v0.1 generated an exception while executing task 45
and
14.34.18 GMT+02.00 CONSOLE: [SEVERE] Exception in thread "pool-1-thread-1017" 14.34.18 GMT+02.00 CONSOLE: [SEVERE] org.apache.commons.lang.UnhandledException: Plugin HygienePlus v0.1 generated an exception while executing task 45
Thanks man :) I thing this will be cool. Lots of people asking what Hygiene is and a lot of them die a lot and never need to see that bar. You can include as well a "don't reset on die" setting but the spam chat was the most important for me. Thanks and I'll try the new version in a minute! :D