RandomPort: A New Adventure Every Time ~Version: 1.0~ Download: [JAR] I wanted an adventure/survival world for my server, but after the world was created I realized that people would be exploring the same place over and over, building everywhere, and basically defeating the purpose of a world strictly for surviving and exploring. Therefore, I made this plugin that, on command, teleports a player to a completely random location (up to 5000 blocks away) in the current world. That way, they will never (or rarely), see the same place twice. Commands: /randtp ~ Teleports a player to a random location after a 10 second countdown timer. (This is necessary to allow the chunk the player is teleporting to to load beforehand, to make sure the player does not fall into the void). Permissions: 'RandomPort.use' ~ Allows a player to use the command. Known Bugs: My biggest issue with this was the player falling into the void after teleporting, but I haven't had this issue in a while after Many tests. Let me know if it reoccurs. The use the /randtp command seems to hold up command usage for a few seconds afterward. Changelog: v1.0 Initial Release.
When you teleport to a random place does it check for hazards like spawning inside a block, cacti, water, lava, etc.?
You won't spawn in lava, it spawns you on the surface. I have yet to spawn in a cacti, but I have spawned up in a tree and underwater.
If it doesn't check for lava you could still spawn in lava because of the rare aboveground lava pools. But anyway spawning in a tree probably isn't comfortable.
Good plugin! My players are fallen sometimes in the void .. but i solved the problem with WorldGuard: For all without WorldGuard: Use the Plugin "ItemVoid"
So far I really like this plugin. Does it TP you to +/- 5000 of the origin, or from your current location?
Could you add a cooldown and a sign function? Like in the second line of a sign: [RandomPort], and right click and boom .. you was random teleported
Yea this idea is prime. Sign function would make this even more awesome for my survival server where players have to walk to get most of their extra functions.... otherwise people are TPing and warping and everything else all over the place :/
earlier i asked you if it teleported the player in relation to their current location or the origin. You said it teleported players relative to their current location. I walked to 10,000 10,000 because if it teleported me closer to 0,0 than 5,000 5,000 then it doesn't teleport you relative to your current location, but relative to the origin.
Very nice. This is exactly what I was looking for. 1 thing. Can you make it so that a user can step on a woodenpressureplate to trigger this? Another thing, can you make it so that they wont spawn in water? My server has oceans.
This would make sense, but I'm almost positive I related it to the current position of the player. I'll have to look into it. Sorry, I've been really, Really busy lately so I have no time for Bukkit ): I could do that eventually, like I said I'm super busy /: I might make it so it drops you in the sky and disables fall damage for the next 10 seconds or so.
Using this now, thanks for the plugin Can you make a config which sets the maximum you can teleport to, also does this teleport you from spawnpoint or user location?
Glad you like it, I think. I can work on it, and to be honest I'm not sure, it's a very experimental thing.
Any way to make this always TP to the highest block, in the random coordinates, so you can't use it to /tp into vaults and such?