Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| SleepPotion 1.4 release | 6.57 KB | Jul 24, 2017 | 1.12 | 180 | Download |
| SleepPotion 1.3 release | 10.35 KB | Dec 20, 2014 | CB 1.7.9-R0.2 | 355 | Download |
| SleepPotion 1.2 release | 10.17 KB | Dec 19, 2014 | CB 1.7.9-R0.2 | 127 | Download |
| SleepPotion 1.1 release | 9.83 KB | Dec 19, 2014 | CB 1.7.9-R0.2 | 92 | Download |
| SleepPotion 1.0 release | 8.95 KB | Dec 19, 2014 | CB 1.7.9-R0.2 | 107 | Download |
Screenshots
Description
SleepPotion
SleepPotion is a plugin which adds the Potion of Sleeping. Once thrown, all players within the splash radius will be put to sleep for a set period of time (5 seconds, or 10 seconds with an extended potion).
Crafting
The Potion of Sleeping is crafted from a water bottle and wool around it:

The Extended Potion of Sleeping is crafted from a water bottle, redstone around it and wool around that:

Commands (Version 1.1+)
The amount is optional and the <Player> has to be player's name.
To give a player a sleep potion: /sleeppotion give <Player> (amount)
To give a player an extended sleep potion: /sleeppotion giveextend <Player> (amount)
| Command syntax | Description |
|---|---|
| /sleeppotion give Skepter 5 | Give Skepter 5 sleep potions |
| /sleeppotion giveextend Skepter | Give Skepter 1 extended sleep potion |
Permissions
The permissions are relatively simple:
| Potion to craft | Permission required |
|---|---|
| Potion of Sleeping | SleepPotion.potion |
| Extended Potion of Sleeping | SleepPotion.potionExtended |
| Use command | SleepPotion.command |
Config (Version 1.2+)
The duration for each sleep potion can be changed in the config.yml file, in seconds (Must be whole numbers).
#SleepPotion time adjustments (seconds) potionTime: 5 extendedPotionTime: 10
Uses
Why use this? Here are a few reasons why you would want a sleeping potion:
- Hunger game maps
- PVP
- Trolling players
Installation
Installing the plugin is as simple as putting the plugin.jar file into your /plugins/ folder and restart/reloading the server.
From version 1.4 onwards, SleepPotion requires ProtocolLib to handle bed packets. ProtocolLib can be downloaded here.
Source
Source code is available on GitHub: here
Get 0.05 TON 💎
Download
Add a comment