Sueta
PE

PerWorldTP

1.05

Allow for teleportation but only to players in the same world or group of worlds

·Plugin

This is a basic teleport plugin. The caveat about this one is the target player you are teleporting to must be in the same worldgroup as the player. Worldgroups are just collections of worlds.

Commands, their permission nodes and how to use them:

/tp
target
pwtp.tp

This teleports the player to the target.

/tpa target
pwtp.tpa

Sends a request to the target player asking to let the player teleport to them.

/tpyes target
pwtp.tpyes

Accepts a teleport request. If you omit target and you only have one pending request, it accepts that request otherwise you need to specify target so it knows which to accept.

/tpno target
pwtp.tpno

Same as /tpyes, but denies a request.

/tpalist
pwtp.tpalist

Shows all inbound and outbound teleport requests.

/tpcancel target
pwtp.tpcancel

Cancels an outbound request to target player. If you omit target and if you only have one outbound request, it cancels that one otherwise you need to specify target so it knows which to cancel.

/tpmsg
pwtp.tpmsg

This is the localization configuration, allowing you to change any of the messages the plugin sends. Specific command usage is as follows:

/tpmsg: Lists all the message codes
/tpmsg ?: Shows help for this command
/tpmsg code: Displays the message for that code
/tpmsg code msg: Sets the message for that code. Use /d to clear

/wg
pwtp.wg

This is the worldgroup configuration command. Specific command usage is as follows:

/wg: Shows all the current worldgroups
/wg ?: Shows help for this command
/wg add group: Adds a new worldgroup
/wg del group: Deletes a worldgroup
/wg group: Lists all worlds in a worldgroup
/wg group add world: Adds a world to a worldgroup
/wg group del world: Deletes a world from a worldgroup

The messages part of the configuration should be fairly self explanatory as to what each code is for. There are a few variables you can use in the messages:

%p: Player name
%t: Target player name
%c: Message code (for localization config)
%m: Message (for localization config)
%wg: Worldgroup
%wc: World count (for when listing worldgroups)
%wo: World

Similar projects

Plugin →