Granold's Bed What I want It'd be great if somebody could make me a plugin which teleports you to a certain place when you wake up from a certain bed. I only need one bed to work like this. The teleportation should work cross worlds, so if the bed is at world A and I set the destination in world B, it should still work. Im using Multiverse if that might help. Commands /granoldsbed setbed -> Sets granold's bed. /granoldsbed setdest -> Sets the location the player should wake up at. Ideas for permissions No permissions are needed, everyone should be able to use it and only ops should be able to change the beds location. When I'd like it In the next 1-5 days Thank you awesome devs!
Hmm, This seems simple but implying that you have to be in a bed and then wake up from it to then be teleported to another world. Teleport to another world is as simple as choosing where you want to be teleported when going from the overworld to the nether. But then before that you have the plugin detect the exact tick in the event you wake up so that the teleportation can apply to the player. Interesting, never seen anything like it. Well, Is it reasonable for me to ask you what exactly you plan on using this for? I'm not implying I'm taking on the job but I'm just asking, and then I can decide whether or not I'm going to do it.
I'd like to use it for my spawn so that new players can sleep in a bed to then get teleported to the main world. It would be really really nice if you could make this plugin <3
Oh, you don't have like a warp or a portal system or anything of that nature? because if it's simply for that It's alot easier to just have a portal since you can only sleep at night. Also, I'm assuming you are only addressing this for thematic purposes correct? because theres no other valid reason that it HAS to be in a bed.
Exactly. The server has like a little story and the bed is an important part of it. Beds are also much fancier in 'Granold's house' than a portal.
MinopolisMc I might be able to make this. You want so when you type /granoldsbed setbed it will get the block you are looking at and set it as the bed? Also, you want it so whenever a player leaves a bed, it will teleport them to the main bed, or when a player leaves the setbed?
Yes, but the idea is that when a player enters the setbed, he wakes up at the setdest. All other beds on the server should be unaffected from the plugin.
I want this too. I have a Dream World that is for creative and stuff and i really wanted people to have to go to sleep to get there.. But i want it to be any bed can you make both options available?
Get Skript and add this script: command /bedtp set: description: Sets TP spot of bed.usage: /bedtppermission: skript.bedtrigger:set {bedtp.%player%} to location of playermessage "Your bed TP spot has been set!"stop on bed enter: {bedtp.%player%} is setteleport player to {bedtp.%player%}message "You've been teleported!"stop
I've been working on this, it's almost done. I am now just adding support to use multiple beds. So far it only does one bed. It will be done shortly
I know java but Minecraft just makes it more complex -_- Well, It seems I have work to do on my own projects.
i ahve a first dev build done, let me explain it to you: it auto generates a conifg with these options: bed-tp delay: keep this on 5 or lower is reommented dream-time: the duration of your dream, 300 0= 5 min commands: /dl set - set your DreamLand (location) planned: * add noteblock sounds * add a option to egt a global dreamland instead of a private 1 for everyone * make it so you cant die in a dream * make it so you can fly in a dream * make it so you cant destroy/place blocks in a dream * add a low chance to egt a nightmare (w/ HeroBrine) download v1.0: https://dl.dropbox.com/u/67122021/DreamLand.jar recommented cb build: 1.3.2-R2.0 also works with: 1.2.5-R5.0
I guess you misunderstood me; the plugin should: - Teleport players from ONE certain bed to a certain location in a different world when they wake up - Not teleport them back after some time and finally leave all beds except 'Granold's bed' (the one which warps you) unaffected
The one I am making, will basically be warps, with beds. And it auto detect the name So you can have multiple I have a dev build so far also, but that one only works with one bed *Uses PlayerBedLeaveEvent EDIT by Moderator: merged posts, please use the edit button instead of double posting.
This is so easy! If you wsnt just this I'll get it to you tomorrow, cause I'm going to bed now Tjis will be 5min work
Nice! Make sure to tell me when you think it's ready One version with a timer, one version with the bed leave event. Couldn't be better for me! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It finds out who slept in the bed... I've already been testing this... I'm not that stupid so as to do that
i dont mean that, for example. 3 people on my server, i go sleep. but it wont get day! its confusing and whierd to get teleport once you click: leave you should have a delayed task that is going to make it day about 5sec after you go sleep. a AsyncDelayedTask shoudl be alright