FatPort

FatPort

What it does

FatPort is a teleportation plugin that lets you set one entry port with random multiple exit points. FatPort now also lets you associate multiple commands with a FatPort that are triggered when a player walks on a block.

Features

  • Turn any block into a teleport or command pad
  • Turn any block into a teleport destination
  • Unlimited destinations can be set for a teleport pad
  • Unlimited commands can be set for a command pad

This plugin was created in response to this request: Teleport plugin

 

How it works

Teleport blocks

  1. Select a block by right clicking it with the FatPort wand (by default a bone)
  2. Make the block a FatPort by typing /addport [name]
  3. Select aother block by right clicking it with the FatPort wand
  4. Link to a FatPort to by typing /linkport [the FatPort name from step 2]
  5. Simply destroy blocks to remove/unlink them (destroying the FatPort block automatically removes all links, destroying a link block just removes the link)

Command blocks

  1. Select a block by right clicking it with the FatPort wand (by default a bone)
  2. Make the block a FatPort by typing /addport [name]
  3. Add a command to the FatPort by typing /addcmd [the FatPort name from step 2] [number of uses] [cooldown period] [command + arguments] - see Commands below for more details

 

Commands

  • /addport [name] - adds a FatPort with the specified name
  • /linkport [name] - adds a link to a FatPort with the specified name
  • /listport - lists all FatPorts and links
  • /addcmd [name] [uses] [cooldown] [command] - adds a command to a FatPort with the specified name
    • [uses] - the number of times the player can use this FatPort to run the command, for unlimited use, set to -1
    • [cooldown] - the number of seconds between uses of the FatPort, for no cool down period set to 0
    • [command] - the command to run when the player steps on the FatPort block. Include any arguments as necessary, but don't put the slash at the beginning. You can also use @p to insert the players name into the command

/addcmd examples

/addcmd arena -1 10 bn join - sends the player to a Battle Night lobby ready for a PVP match, unlimited use, cool down period of 10 seconds
/addcmd bonus 3 30 give @p dirt 64 - gives the player a stack of 64 dirt, they can do this 3 times with a 30 second cool down period in between.

Permissions

fatport.add
fatport.cmd
fatport.link
fatport.remove
fatport.use
fatport.list

All permissions default to OP.

Config

You can change the way the FatPort plugin works by editing config.yml in the plugins/FatPort directory

  • wand: [material] - set the FatPort wand. Default BONE - Use any valid Bukkit/Spigot MATERIAL - a list can be found here Materials
  • use_radius: [true|false] - makes the destination location even more random by choosing a block within a min/max distance from the FatPort Link block. Default false
  • min: [distance] - the minimum distance in blocks the use_radius option uses. Default 0
  • max: [distance] - the maximum distance in blocks the use_radius option uses. Default 10

 

Download

Always the latest file -> FatPort.jar

 

Source code

GitHub repository


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit