promotional bannermobile promotional banner

Insomnia

Want your players to sleep? Give 'em insomnia if they stay up more than one night long.
<p>Insomnia Banner</p>

Insomnia Banner

Description

Insomnia Banner

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.

The Insomnia Team

profile avatar
  • 1
    Followers
  • 5
    Projects
  • 15.2K
    Downloads

More from _ForgeUser6861851View all

  • CommandRank project image

    CommandRank

    • 58.7K
    • Bukkit Plugins

    CommandRank

    • 58.7K
    • April 26, 2016
    • Bukkit Plugins
    • +3
  • MobsDropHeads project image

    MobsDropHeads

    • 2.1K
    • Bukkit Plugins

    Make those mobs drop their heads. Classy, mobs. Classy.

    • 2.1K
    • May 29, 2015
    • Bukkit Plugins
    • +2
  • Fount of Evil project image

    Fount of Evil

    • 4.4K
    • Bukkit Plugins

    Set up custom hostile mob spawn locations - perfect for RPG dungeons.

    • 4.4K
    • May 28, 2015
    • Bukkit Plugins
    • +3
  • Out Come The Wolves project image

    Out Come The Wolves

    • 2.1K
    • Bukkit Plugins

    Out Come The Wolves

    • 2.1K
    • January 21, 2015
    • Bukkit Plugins
    • +3
  • CommandRank project image

    CommandRank

    • 58.7K
    • Bukkit Plugins

    CommandRank

    • 58.7K
    • April 26, 2016
    • Bukkit Plugins
    • +3
  • MobsDropHeads project image

    MobsDropHeads

    • 2.1K
    • Bukkit Plugins

    Make those mobs drop their heads. Classy, mobs. Classy.

    • 2.1K
    • May 29, 2015
    • Bukkit Plugins
    • +2
  • Fount of Evil project image

    Fount of Evil

    • 4.4K
    • Bukkit Plugins

    Set up custom hostile mob spawn locations - perfect for RPG dungeons.

    • 4.4K
    • May 28, 2015
    • Bukkit Plugins
    • +3
  • Out Come The Wolves project image

    Out Come The Wolves

    • 2.1K
    • Bukkit Plugins

    Out Come The Wolves

    • 2.1K
    • January 21, 2015
    • Bukkit Plugins
    • +3