Ok so I need this plugin for my friends and I in my private server that allows one to teleport to a random location with the command /random . So far I have been searching but none has been found. All I see is old/inactive plugin that has the similar function but different command name. It is called Randman. If someone could make the plugin that would be really awesome. Thanks and cheers!
I'm planning on making my second plugin an all in one so i may add this, but then again that won't be for a while . One thing i will suggest is contacting the maker of that plugin and asking them to do a quick update of it, i've just checked their profile and they're still active on bukkit .
oh ok thanks...but if you could make the plugin though... Or maybe you could teach me? I add you on skype/raidcall
This is not hard to accomplish. The basics would be to use a random generator generating some x and z coordinates (preferably not too high ones) then load the chunk it's in and start checking for the highest possible spot to spawn a player (might be a good idea to check if it has any of the possible surface blocks straight under the two blocks of air. If it fails to find a location simply redo the process until it does.
Yeah, this would be a small plugin, it's mostly just a matter of generating a random but SAFE location, then teleporting the player there. I just finished my last request, so I'll give it go! I'll PM you with details and will link the project here if I finish it.
Heh, I had this made a while ago, except with signs. Adding command right now, do you want to specify the word or just players current world?
oh thanks bro! That would really do a lot of help to me for my server! Appreciate the help! Cheers! I didn't quite understand what u said there. Like for the plugin I would like the player to be able to be teleported randomly at a safe location(no lava, water or air) so to do so they would use the command /random oh ok...so could ou help me with the plugin and give me the link? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can do it. As I said, I made this EXACTLY how you wanted it, just instead of a command I made a [Random] sign. Give me till tomorrow to uncompile it, and I'll fix it up for you. EDIT: Also, as I said. Do you want it to be a random spot in a specific world, or just the world they are in?
oh ok thanks ^^ but what do u mean when you said "Do you want it to be a random spot in a specific world, or just the world they are in?"
What he means is, you have more than one world on a server, even if you only have one "world" (the one you made) you still have the nether and the end, or if you have created two worlds, you now have the two normal worlds, plus each worlds own nether and end. He's asking if you want the /random function to only teleport the player somewhere random IN THEIR CURRENT WORLD, or somewhere random, in a random world (you could end up in the nether at a random location, for example). Not trying to step on ya toes, Ultimate, just trying to get the question answered before you check back And if you can modify your plugin to his needs I don't want to be making redundant plugins, so I'll leave it to you.
oh ok so er....for my plugin I would want the command to teleport the player in their current world thus meaning that if they went to nether, they would be teleported somewhere random in the nether. Thanks for the help brad and ultimate! so could I have the link? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ultimate_n00b To try speed things up for you, from what I've read I'm pretty sure he wants /random to teleport the player to a random (safe) point within the current world.
Thanks keep up the work I guess? but thanks anyways ^^ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
There's already a plugin for this. Ever do a bukkit search? I found about 4. http://dev.bukkit.org/bukkit-mods/teleport-random-location/
[quote uid=90657893 name="ThunderWaffeMC" post=1704720]There's already a plugin for this. Ever do a bukkit search? I found about 4. http://dev.bukkit.org/bukkit-mods/teleport-random-location/[/quote] For one, that one hasn't been update since 1.3. Also, didn't I finish this? I'll upload it now, I must've forgotten. I finished it like a week ago. EDIT: <Edit by Moderator: Redacted mediafire url>
[quote uid=90707285 name="Ultimate_n00b" post=1704978]For one, that one hasn't been update since 1.3. Also, didn't I finish this? I'll upload it now, I must've forgotten. I finished it like a week ago. EDIT: <Edit by Moderator: Redacted mediafire url> is that the plugin?(I hope not) because I tried and the teleporting took VERY LONG(no offence) and also could u make it so that it says in gold colour, "Teleporting." and no potion effect [quote uid=90657893 name="ThunderWaffeMC" post=1704720]There's already a plugin for this. Ever do a bukkit search? I found about 4. http://dev.bukkit.org/bukkit-mods/teleport-random-location/[/quote] dude you think I didn't try that plugin? it sucks!!!(no offence) it just keeps bringing me to the end and plus and the command is not the same as what I wanted! it should be /random EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It takes a few seconds, because the chunks are loading. And it takes longer if your server is lagging/slow. The reason for the slowness, is so you don't run around while be teleported.
EverCandy, this will probably give some weird effects on your server XD. Like chunks not loaded on teleport etc
That will go automatically by the server itself, but it will cause the players to spas out till the chunk is fully loaded
oh but I saw a plugin that was different. It actually teleported the player and let him/her to load the chunk but they didn't spas out. go check out the survival world in this server---->gizmic.no-ip.org
Maybe they load the chunk before the teleport? Or keep the player at an certain height till the chunk is loaded