RandomPort
RandomPort
Basic Information
This plugin is a mod that allows Admins or whoever has the permissions to randomly teleport themselves or another player to a random set of coordinates. The maximum and minimum x and z values can be set in the config file, as well as whether or not the plugin uses PEX or OP's for permissions. Custom Cooldown are a feature that are set by default at 120 seconds for every player. RandomPort also adds options for RandomPorting players automatically on respawn/death, or when they use a nether portal (entering or leaving the nether). These can each be set to enabled or disabled, as well as if they occur to people with a permission or randomly. If they occur randomly, the frequency can also be set.
This plugin is great for hardcore and soft core PvP servers. Players may use RandomPort as a way to get right into the action and start building a base, with out having to wander through the wreckage of close to spawn bases. It also keeps everyone watchful and wary, as players may teleport nearby your base at any time!
PermissionsEx Nodes
- randomport.portself
- randomport.portother
- randomport.deathport
- randomport.netherport
- randomport.nocooldown
Commands
- /rp (RandomPorts the sender if they have permissions)
- /rp <player> (RandomPorts the specified player if the sender has permission)
Change Log
3.0 Major Update
- Added official support for latest craftbukkit build
- Added additional information to the readme file for ease of use and fixed issue with the readme file generating incomplete text
- Massive overhaul/rewrite of code, making the plugin significantly less memory intensive (and easier for me to update)
- Added support for issuing RandomPort commands from the console
- Added new permission to allow players to bypass cooldowns
- Randomport now places players in the center of a block, rather than on the very edge (in order to prevent players from RandomPorting and falling off a cliff)
- Fixed bug which reset player cooldowns if they logged out
- Fixed bug which would teleport players underground and suffocate them
- Fixed various other small bugs
2.0 Full Release
- Added official support for CraftBukkit 1.7.2-R0.3
- RandomPorting in the Nether is now fully functional! RandomPort with no fear of teleporting into or over lava, over the map, or out of the map!
- Multiple bug fixes
2.0 Beta - It's finally here!
- Added full support for CraftBukkit 1.4.6-R0.1
- Many many bug fixes
- Added a new permission to avoid cool downs on specific players
- Keep in mind this is a Beta. As of now most features are working as intended. However, there have been problems using Random Port in the nether (teleporting into/under blocks). Use the beta at your own risk.
1.9
- Added official support for CraftBukkit 1.3.1-R1
1.8
- Added official support for CraftBukkit 1.2.5-R1
1.7
- Added a custom cooldown option to the config
- Fixed a permissions bug
- Fixed a bug from Beta Build involving cooldown not stating proper time remaining
1.6
- Fixed minor bugs from version 1.4/1.5
- Many new additions to RandomPort
- Added a ReadMe for ease of use
1.5
- Fixed major bug from version 1.4
- If you downloaded and run your server with version 1.4, delete your old config file!
- Code cleaned up
1.4
- Updated for 1.2.3-R.02
- Added many new options to the config
- Cleaned up code/More lightweight
1.3
- Updated for all current builds support (1.1R-7 and 1.2.3-R.01)
1.2
- Fixed another bug.
1.1
- Fixed permissions bug.
1.0
- Release!
If you enjoy this plugin, please consider donating to help development!
Is there any way that you could enable the use of this in the server console ?
Ok, that is more than enough. When I say laggy I mean it may run slower on my server that I test plugins on that runs off my computer.
As long as you have a real dedicated server you will be fine.
@Rhino107
Hmm how laggy? I have 8 cores, 32GB ram, SSD, 1gb Network
A whitelist would be very possible, but keep in mind the fewer blocks you chose to allow the random porter to land on, the more laggy it would be.
I will start working on this and have it up within a week!
@Rhino107
Hell yeah! Thanks for updating this :) Works perfectly.
Only thing I can think of to add would possibly be like a block whitelist instead of blacklist. Like I want people only to get tele'd on sand, and nothing else, and adding every block ID to the list is gona be a pain!
Sorry for the delay on the update to 1.2.4 and 1.2.5! Seeing as I haven't yet uploaded a RB for 1.2.4, I see no need unless someone needs it. The new 1.2.5 build has been officially uploaded, with no major changes.
In other news, I will continue working on my new project (McJoust), which I hope to have finished in a month or so.
@Rhino107
So about that 1.2.5 update?
Thanks!
I will have an update out by tomorrow!
Im really busy at the moment, sorry for the delay...
Sounds like this isn't working in 1.2.4 yet? Any thoughts on an update?
@joannou1
That is the problem. You are using RandomPort on Minecraft 1.2.4. Currently, RandomPort only supports 1.2.3. I will add support for the new build as soon as a beta build comes out for MC 1.2.4
As I have previously stated, RandomPort is built for MC 1.2.3, and may not work for 1.2.4
@Rhino107
It seemed to be randomly on /rp It worked alot before then, but BAM. The server recovered 2 minutes later, but I have no idea what the actual cause was other than randomport.
This server is running CraftBukkit version git-Bukkit-1.2.3-R0.2-76-g3bbc33b-b2110jnks (MC: 1.2.4) (Implementing API version 1.2.4-R0.1-SNAPSHOT
@joannou1 Also, are you sure you are running the latest version of RandomPort, and CraftBukkit version 1.2.3-R0.2?
It appears that MultiVerse is conflicting with RandomPort. Can you tell me the circumstances of the teleport (ie: command, deathport, netherport)?
@Rhino107
Thanks for adding the cooldown! I just put my server back up live, and it crashed because of this, http://pastebin.com/rPSsLn0p
Thanks :(
Version 1.7 is out!
The beta build for RandomPort 1.7 has been uploaded! Currently the only change is the ability to set custom cooldown lengths!
A few notes: 1), The cooldown is used for the command /rp, and the command /rp <player> only. In future versions, I may add an option for other cooldowns 2), Both commands share the same cooldown timer, to minimize spammign of the commands
@joannou1
Thanks for the comment! I was actually planning on adding this in 1.7 or 1.8, as its impractical to allow users to spam the command. Look for it to be added within a week!
In other news, RandomPort will be updating to MineCraft 1.2.4 as soon as a CraftBukkit Recommended or Beta build comes out. I currently do not support building for dev builds.
While RandomPort may work for MineCraft1.2.4 and CraftBukkit dev builds, I currently only support MineCraft 1.2.3 and CraftBukkit 1.3.3-R0.2. Use other builds at your own risk!
@Rhino107 Hey, thanks for this amazing plugin. This is just what I needed :) I have a few ideas that would be great!
-A cooldown timer for the /rp / /randomport commands. (Because I don't want people lagging out the server by loading a million chunks at once by spamming the /rp command... eg cooldown: 900 so they can do it once per 15 minutes. -Give the player a 3 second god mode maybe?
-Reset the players cooldown timer on player death.
Thanks!
Version 1.6 has officially been uploaded!
Thank you for the bug report, this has been fixed in the next version that I will upload later today or tomorrow!