Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
Insomnia 0.6.1 release | 26.70 KB | Mar 25, 2015 | 1.8.1 | 1,038 | Download |
Insomnia 0.6 release | 25.72 KB | Mar 24, 2015 | 1.8.1 | 161 | Download |
Insomnia 0.5 release | 27.73 KB | Mar 19, 2015 | 1.8.1 | 240 | Download |
Insomnia 0.4 release | 12.74 KB | Mar 3, 2015 | 1.8.1 | 354 | Download |
Insomnia 0.3 release | 12.02 KB | Mar 2, 2015 | 1.8.1 | 150 | Download |
Insomnia 0.3 release | 12.72 KB | Mar 1, 2015 | 1.8.1 | 184 | Download |
Screenshots
Description
This project requires SQLibrary 7.1+ plugin in order to function.
Features
Some players don't like to sleep. Give 'em a reason to, with Insomnia. Players who stay up more than one night will get a message, and start suffering from confusion – they're underslept. Adds a touch of realism to your survival or hardcore server.
During the day the insomnia fades, but comes back at dusk. Each night the insomnia gets progressively worse – yikes!
Using Insomnia? Give those players sweet dreams … or nightmares with Dream Messages!
Using Dream Messages, players can randomly receive a dream or nightmare that you make when they wake up. Use them to hint about RPG quests, or give them tips and tricks about your server. The choice is yours!
Commands
There are no commands for this plugin.
Permissions
insomnia.play
Players have insomnia.play by default. If you want to block it, use a negative node (ie -insomnia.play for ops, etc).
Configuration
There are seven settings in the configuration file.
debug
Set this to true if you'd like to see more detailed output in the console or server log. By default this is turned off.
language
There are five languages that are localized for this plugin: English, Italian, French, German, and Spanish. Simply change the language code (en-us, fr, de, es-mx, and Pirate) and reload the server and you're good to go.
ignoreBelowLevel
This setting is not functional yet.
mustSleepAfter
Specify the days after which a player must sleep to skip feeling the effects of insomnia. Defaults to 1.
worlds
A list of worlds that Insomnia works in. Don't list non-normal worlds like The End or The Nether, since they don't permit sleeping anyway.
showMessages
Defaults to true. Turn this off, and players won't see "You awake feeling fully refreshed!" or "You are becoming increasingly underslept …"
messages for that extra dose of realism.
version
Don't mess with this one, k? It's so players with older versions of Insomnia have their config file get upgraded without having to mess about with making a new one.
Source Code
Source is available upon request.
Add a comment