Minecraft Maps / Redstone Device

Exhaustion System - Sleep Or Else! [1.5.1]

  • 351 views, 1 today
  • 20 downloads, 0 today
Raecchi's Avatar Raecchi
Level 15 : Journeyman Explorer
1
This is a system intended to be put into the spawn chunks of any Minecraft world, custom or vanilla. What it does is tests if players go to sleep in a reasonable amount of time (roughly 3 real minutes after sunset). In the morning, it gives either positive or negative status effects at random based on players' exhaustion levels.

At 19x16x9, it's a little bulky, but it adds a useful mechanic for any survival style map and can easily be customized!

Here are the default settings:

Positive Status Effects
Exhaustion level required / status effect

0 / Haste II
0 / Jump Boost I
-1 / Healing I
-1 / Speed I
-1 / Strength I
-3 / Haste IV
-2 / Resistance I
-2 / Water Breathing
-2/ Jump Boost II
-3/ Speed II
-3 / Healing II
-4 / Strength II
-4 / Resistance II
-5 / Fire Res
-5 / Regen I

Negative Status Effects
Exhaustion level required / status effect

3 / Damage I
5 / Damage II
1 / Mining Fatigue II
3 / Mining Fatigue IV
4 / Hunger
1 / Slow I
3 / Slow II
1 / Weakness I
2 / Weakness II
2 / Nausea (Max 30 secs)
5 / Wither I (35 seconds)
4 / Poison (30 seconds)
2 / Blindness (45 seconds)

All status effects have a 1 in 4 chance of being given to one random player with the appropriate exhaustion level every morning. If playing with more than 2-3 players, I recommend increasing the odds to 1 in 3.

If the player stays up past the 3 minute mark (1.5 minutes after the warning message) and then sleeps, they will gain one point of exhaustion. If the player stays up at least an additional 3 minutes, they gain two points of exhaustion.

If a player goes to bed before the warning and has a positive level of exhaustion, it will be reset to zero. If the player has 0 or lower and goes to bed within 3 minutes, they lose one point of exhaustion.

Because of how Minecraft works, the system does not function normally if the only player in the world is in the Nether or The End. From my limited testing, it appears to remain suspended until the player returns to the normal world. Please let me know if you get other unusual functioning!

How to edit the system
The first and most helpful thing to know is that every command block is labeled with what it does.

To change chance of a status effect occurring, you need to change the contents of the droppers underneath the hoppers. Adding more varieties of stackable items will lower the chance, and removing them will increase it (the signal is strong enough only when the cake/non-stackable item is chosen).

The status effect command blocks are set to target a random player. You could alter this to all players, or players on a certain team/with a certain level, etc.

The length of time required before a player is penalized for sleeping can be changed by altering how the top command blocks deal with the objective "late", or by adding/removing cobwebs from the item elevator setup.


I hope you guys enjoy the system. If you have any questions/comments, let me know!

Additional Download: System in a superflat world (creative mode, objectives already created)

Additional Notes

Item Elevator system from Generikb
Progress100% complete
Tags

Create an account or sign in to comment.

1
07/09/2013 12:26 pm
Level 1 : New Explorer
whotton
whotton's Avatar
Psst isnt it time you visited us :)

just sayin!
1
07/11/2013 6:06 pm
Level 15 : Journeyman Explorer
Raecchi
Raecchi's Avatar
What? XD
1
08/07/2013 9:42 am
Level 1 : New Explorer
whotton
whotton's Avatar
The realm of Dirkocraft.net needs you back!
Plus you still need to make me a sammich.
1
05/04/2013 3:50 pm
Level 22 : Expert Pony
sellXD
sellXD's Avatar
can u make a vid?
1
05/04/2013 3:55 pm
Level 15 : Journeyman Explorer
Raecchi
Raecchi's Avatar
I haven't actually made one before. Were you looking for a video of gameplay or of how to build the system?
1
05/04/2013 5:53 pm
Level 22 : Expert Pony
sellXD
sellXD's Avatar
gameplay
1
05/04/2013 6:16 pm
Level 15 : Journeyman Explorer
Raecchi
Raecchi's Avatar
There honestly isn't much to see besides a lot of frantic sheep-hunting. :) It's normal MC + daily status effects. I'll look into it, but I'm not likely to get a video up soon.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome