[TP] TeleportArea v0.2 - Teleports players into set areas randomly [1337]

Discussion in 'Inactive/Unsupported Plugins' started by NuclearW, Jul 2, 2011.

  1. Offline

    NuclearW

    TeleportArea - Teleports players into set areas randomly
    Version: v0.2

    TeleportArea allows players to teleport to pre-set areas, but they will be teleported within that area randomly.

    On first run TeleportArea will create a file called "areas" in the "TeleportArea" folder. Within this file areas may be defined. The initial area will be defined as such:
    Code:
    area0-point2-z=10
    area0-point2-x=10
    area0-point1-z=-10
    area0-point1-x=-10
    You may add more areas by copy pasting those lines, and changing the number after "area" up to 63, then setting the points. This allows for the setting of 64 unique teleport areas. If you really need more, please request in this thread that the number be raised, it is a trivial change.

    area0 is the default area that players will teleport to if they do not specify an area to teleport to.

    TeleportArea supports and is tested with PermissionsEx. TeleportArea also supports default Bukkit Permissions! And will support any permissions plugin that does the same. TeleportArea also tentatively supports Permissions 2.7.4 and 3.1.x, but is not tested against these.

    Plugin inspired by questions asked in #bukkitdev by @supermaxman

    Features:
    • Lets player teleport to a random location in a set area.
    • Up to 64 areas may be defined.
    • Area is customizable from a file.
    • Will not spawn players on lava, fire, water, or cacti.
    • Supports PermissionsEx, Permission 2/3, Bukkit Permissions, and defaults to OP
    Download TeleportArea

    Commands:
    • /tprandom [areanumber] - Teleports player randomly in that area, or in area 0 if areanumber is not specified
    • /tpr [areanumber] - Alias of /tprandom
    Permissions:
    Nodes (open)

    • teleportarea.* - Imples teleportarea.area.all
    • teleportarea.area.all - To teleport to any area
    • teleportarea.area.0 - /tpr and /tpr 0
    • teleportarea.area.1 - /tpr 1
    • And so on.


    Changelog:
    • Version 0.2
      • Supports Bukkit Permissions and Permissions 2/3
    • Version 0.1
      • First release.
     
    kahlilnc likes this.
  2. Offline

    Soldier187

    Possible to teleport players to random areas defined, instead of a random spot within a defined area?
     
  3. Offline

    RESPRiT

    No multiworld?
     
  4. Offline

    NuclearW

    Version 0.2: Supports Bukkit Permissions and Permission 2/3

    @Soldier187
    Just set the point 1 and point 2 for a random teleport to the same point, and it will do this.

    @RESPRiT
    Coming soon: Multiworld.
     
  5. Offline

    afay19

    Is it possible to teleport the player(s) to random areas within a predefined region only when they walk through a set area?
     
  6. Offline

    jonas1102

    How can man set a area?
     
  7. Offline

    ZeroDrake

    Is it possible to teleport other players to an area?
     
  8. Offline

    NuclearW

    Simply set the two points that make the rectangle in the config file.
    Not at present, no.

    Also, confirmed working in 1060
     

Share This Page