Teleport Random Location

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Description

Teleport Random Location is a mod that I made for PVP servers to use as a means of giving new players a chance to get started without having to go through PVP areas. It's still a WIP, and I will be doing my best to perfect it over the course of the next week or so.

Usage

This plugin has just one command, /tprl.

/tprl - Will teleport a player to a random location in the world within the bounds specified in config.yml (default -10000, 10000)

/tprl [min] [max] - will teleport a player to a random location in the world between the supplied bounds

Configuration Options

min_default_location - The minimum value to generate random locations from

max_default_location: - The maximum value to generate random locations from

default_invulnerability_ticks - How many ticks invulnerability the player has after teleporting. Should at least be set to 200, as the player spawns 255 blocks in the air and then falls (without the invulnerability, the player would die).

Coming Soon

  • Currently the plugin only supports a square box drawn from 0,0.
  • Add a configurable center point.
  • Add in the ability to supply more options (Like the ability to supply polygons of coords to spawn a player in)

Source

This is my second plugin for Bukkit, and I'm a bit new at Java programming. If anyone wants to check out the source, or give me pointers on my code it can be viewed/cloned at https://github.com/xylude/tprl.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    44187
  • Created
    Sep 1, 2012
  • Last Released File
    Never
  • Total Downloads
    2,053
  • License

Categories

Members

Recent Files