This is just a simple plugin that will give a player a nightmare.
How it works:
When a player sleep, there will be a low chance that they will experience a nightmare and be teleported somewhere. By default it is set to nether but it can be configured in config.yml
The only way to escape this is by dying or by exiting the current world dimension.
So far there is not much in this plugin aside from teleporting them to a random location. But there's an option where you can set their Gamemode to adventure when they teleported, therefore they won't be able to place/break blocks until they exit or until they die.
NOTE:
Discord
- If you set the nightmare world to your overworld dimension, then you can only escape by going to Nether or End or by dying.
Hey!! I have a discord sever, if you find any bugs or needs some help, kindly post a chat in the channel, it will help my greatly. You can also suggest a simple plugin in the suggestion channel. This channel is pretty new so come and join me!
https://discord.gg/n3etEnttM2

Nightmare 1.4.0
There's a random chance the player will get a nightmare when they sleep
Recent Updates
- Re-Wrote the code and added Multi World Support Apr 4, 2021
- Fixed small bug from the previous version Mar 2, 2021
- Fix some bugs and added more options Feb 19, 2021