Ok so I'm thinking of hosting a minecraft server of my own, but while I was thinking of ideas I thought of an awesome plugin. Ok so what I had in mind is that when you go to sleep you go to another world for just a little while maybe a minute or so, but It has to be dark and to where you can only see so far. But when you get there, there is a place you can get to and a treasure or something. Also Some times you can have a nightmare and zombies will be chasing you. I dont want them to die, but just wake up if they do die before times in the world is up. List of what plugin should have Dream World Limited time Limited sight Treasure Scenarios
In order to keep the player from death, though I may be wrong on this, you should use two separate worlds with separate inventories. For example, first you would get MultiVerse, then you'd make each dream/nightmare world, and then give each of them separate inventories, so if you die in the world you will not lose items. If you'd be willing to do that, a plugin could be made rather easily allowing players to be teleported to a world when they sleep, and teleported back to the bed upon death in that world.
Brilliant, orginal idea. I wish you the very best on getting a developer for this ;D This is what we like to see in the Plugin Request section
Quidam Or you'd just safe the inventory's content in a HashMap and get rid of the whole Multiverse thing. :l Also, I like the idea, I might work on this.
I remember there used to be a plugin that did this. I think it went inactive. Here it is: http://dev.bukkit.org/server-mods/dreamscape/
Thanks everyone for liking my post. I really hope this inspires some people to make this plugin. I would myself but I don't know how to code this stuff.
' You'd have to save the HashMap to YML files. That'd just be a waste of effort. If you didn't save the HashMap every time you updated it, the player would lose their entire inventory if the server stopped while they were in the Dream World
Quidam Obviously there's way more efficient way than doing it in your way. You could check for players that are in the dream world in onDisable(), and only save those items. Or you could just teleport everyone out of their dream world & give their items back when the server stops.. So no, you shouldn't use Multiverse.
Rprrr Quidam OR use that forum thats been going on for a while about getting rid of a players death message: http://forums.bukkit.org/threads/bypass-respawn-screen.89891/
There's also this plugin: http://dev.bukkit.org/server-mods/dreamland/ I wouldn't say it's an original idea from the OP.
http://dev.bukkit.org/server-mods/dreamworld/ All this plugins does, is teleporting players by a specified chance into a specified world (by default "dreamworld", which gets auto-created) when they leave their bed. I suggest using multiverse or a similiar plugin for creating the world. Their stuff is saved to memory (their inventories, etc.. ), they are teleported to the spawn of the "dream world", and given various potions effects (high jump, short range, slow aniamtions, speed, nightvision, confusion), and after a random time (specified via config) they get teleported back and restored. Nothing more so far.
Rprrr If the server crashes abruptly, there will be no onDisable(), so the player would lose everything. skipperguy12 Never thought of that, very clever.