~~Astral Projection~~

Discussion in 'Archived: Plugin Requests' started by ChronoShaman, Aug 24, 2014.

  1. Offline

    ChronoShaman

    Plugin request:

    Astral Projection Plugin.

    Overview:

    Astral Mode is a way to explore the world safely from your home! Players lay down in a bed and issue /astral to activate Astral Mode. After a set time, ie 30 seconds, the player will leave their body! While players are in Astral Mode they look like a ghost, may fly, activate buttons, levers, doors. While in Astral Mode players may not place blocks, attack players, pick items, use inventory.

    If players are attacked in astral mode they are pulled back into their bodies.

    Requested Features:

    Configurable time to enter Astral Mode.
    Configurable time that Astral Mode lasts in seconds.
    Configurable cooldown time to use Astral Mode.
    Configurable time of day it may be used.
    Command to enter and leave Astral Mode.
    Permission system PEX


    Thank you for reading this post!!!

    ChronoShaman
     
  2. Offline

    BlizzardFyre

    I will look into doing this, will say something later if I will pick this up. It seems cool and I think I can do it
     
  3. Offline

    Polie

    That's kind of like spectator mode :D

    It's a really cool idea!
     
  4. Offline

    BlizzardFyre

    There is no way to make an NPC stay in a bed to allow them to go flowing elsewhere and leave a version behind. I can make the /astral to make them fly, but there is not a way to cancel it by having them hit in bed while flying.
     
  5. Offline

    simgar98

    Get the interactevent, check if its a bed that has been clicked, get the location and
    for (Player p : Bukkit.getOnlinePlayers()){
    if (player.getBedSpawnLocation() == loc ){//of the bed
    player.teleport(loc);
    player.setFlying(false);
    player.setAllowedFlight(false);
    }

    }
    And maybe add some checks to see if they are in astral mode (check if they fly, etc)

    Should work...
     
  6. Offline

    Skye

    I love the idea behind this plugin. Let me know if BlizzardFyre abandons the project, 'cause I'd totally be up for it. :)
     
  7. Offline

    BlizzardFyre


    Well that would be fine, I could do it like that but it sounded like he wanted to have an actual NPC in the bed
     
  8. Offline

    ChronoShaman

    Here I saw a plugin that could lead to more info on how to add someone in the bed while in astral mode...

    http://dev.bukkit.org/bukkit-plugins/leiche/

    Also I was going more for that if your body took damage back in the bed that it would end the projection and take u back to your body.

    Maybe leave the hitbox in the bed? and still have monsters drawn to it? maybe it puts the players head above the bed?

    Chrono

    PS Im open to having multiple people work on this. :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 10, 2016

Share This Page