Dream World

Discussion in 'Archived: Plugin Requests' started by magranger16, Feb 8, 2013.

  1. Offline

    magranger16

    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
     
    MrBluebear3 likes this.
  2. Offline

    -_Husky_-

    Hahaha, this is cool, possible too, would like to see this made
     
  3. Offline

    Quidam

    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.
     
  4. Offline

    Hoolean

    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 :D
     
  5. Offline

    Rprrr

    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.
     
  6. Offline

    Stevensaurus

  7. Offline

    magranger16

    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.
     
  8. Offline

    shopnoguro

    I also think the same matter just about you.
     
  9. Offline

    Quidam

    '
    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
     
  10. Offline

    Rprrr

    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.
     
  11. Offline

    skipperguy12

  12. Offline

    Reptar_

  13. Offline

    blablubbabc

    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.
     
  14. Offline

    magranger16

    This plugin is pretty awesome. Thanks I hope other people will get use out of it too.
     
  15. Offline

    Quidam

    Rprrr
    If the server crashes abruptly, there will be no onDisable(), so the player would lose everything.

    skipperguy12
    Never thought of that, very clever.
     

Share This Page