RegionTeleport icon

RegionTeleport -----

RegionTeleport allows you to teleport all players within a WG region to a specified location.




NOTICE: Spigot Support will be dropped in the near future to take in use things like async teleportation, Kyori Adventure, etc.

This also means that any updates after dropping spigot support will only be posted to Modrinth.


New Features
- Four WorldGuard flags have been added!
- player-loot-drop - Stop player loot from dropping on death
- mob-loot-drop - Stop mob loot from dropping on death
- regiontp-on-entry - Teleport a player to one of the specified locations when they enter the region
- regiontp-on-exit - Teleport a player to one of the specified locations when they exit the region
- The regiontp flags works exactly the same as the tp command for spawns, just add the spawns as `spawn1,spawn2` as the flag value. This also includes CMI/Essentials addons, ex: `ess:spawn1,spawn2`

Changes
- Plugin now depends on 1.20.1
- Updated dependencies
- api-version has been changed from 1.13 to 1.18, this means 1.17 support has been dropped.
- Plugin now depends on Paper instead of Spigot (Still works on spigot atm)
- Recoded RegionTeleportCommands
- Split some of the code into their own methods for ease of use with other parts of the plugin
- Removed the two different versions I had for player senders & other senders, there's now only 1 sender.
- All commands should work from anything that can send commands
- `/regiontp setspawn <name>` is now `/regiontp setspawn <name> (-x:<x>) (-y:<y>) (-z:<z>) (-w:<world>) (-yaw:<yaw>) (-p:<pitch>)` with the variables being optional for players.
- If a command like setspawn or tp was sent by a player, they, as before, don't have to enter any coordinates / worlds, but they can now do that if they want to.
- If setspawn is run by a player, the player, if they choose, to include only some of the variables, and the unspecified ones will be grabbed from their location, for example if the player is standing at X 10 Y 50 Z 40, and they specify -x:25 in setspawn, the spawn location will be X 25 Y 50 Z 40.
- Changed some folder & java file names.
- Deleted some unused code
- Made some stuff static
----------, Jun 27, 2023

  • Added permission "regionteleport.command.clear" to "regionteleport.command.*"
  • If -w:<worldname> is not specified when running /regionclear in console, it'll now send a msg about it instead of a NPE error.
----------, May 23, 2023

Added /regionclear. This command allows you to clear specific entities from specific regions.
Available Types:
( ) are optional specifications
-all
-monsters
-animals
-ambient (bats)
-items( :[item name]) (colon gooes into -items, but spigot for some reason auto-makes it into an emoji)
-vehicles (Living vehicles like horses are excluded)
(all of the above are included in -all)
-displays (Only 1.19.4+)
-specific:<entity name>

The ones above don't clear npcs, named entities & tamed entities, to also clear those you can use:
-npcs(-only)
-tamed(-only)
-named(-only:[name])

The -only means only tamed entities will get removed, or only entities named "Steve" will get removed, etc.

Command examples:
/regionclear <region(s)> <types> (-s) (-w:[worldname])
/regionclear example1,example2 -animals -named:steve
/regionclear __global__ -animals -named-only:steve
/regionclear example1 -items:diamond,emerald -monsters -w:world_example

Specifying multiple sources is possible, so specifying
"-monsters -vehicles -specific:block_display" will remove all monsters, all non-living vehicles and all block displays.

Moved /regiontp help message from the language file into the plugin directly. This was done to keep /regiontp help up to date at all times.

Fixed the default lang msg for console-wrong-usage showing the wrong format.

Some internal code changes:
  • Java version & language is now 17.
  • Updated dependency versions.
----------, May 21, 2023

  • Adds support for selecting multiple regions to teleport players from
  • Adds support for teleporting players to multiple spawn locations
Examples:
/regiontp tp region1,region2,region3 spawn1,spawn2
/regiontp tp region1 spawn1,spawn2

This works with cmi and essentials warps aswell.
----------, Mar 4, 2023

+ Some code cleanup courtesy of Ntdi
+ Some more general code cleanup
----------, Feb 20, 2023

+ Added two placeholders:
%regionteleport_player_count_w:<world>_r:<region>%
%regionteleport_player_count_exclude_bypass_w:<world>_r:<region>%
+ Updated spigot dependency to 1.19.3
+ Fixed up parts of the code
----------, Dec 15, 2022

- Removed Google Guice so now the file size is considerably lower
+ Plugin is now built on 1.18.2 spigot
+ Updated EssentialsX and EssentialsXSpawn dependency versions
----------, Apr 11, 2022

+ Updated dependencies
+ Plugin is now built on 1.18 spigot
+ Added an api-version so the legacy error at startup goes away
----------, Feb 8, 2022

Fixed /regiontp reload giving a NullPointerException
----------, Nov 12, 2021

+ Added CMI and Essentials Warp Support to console commands
+ Added /regiontp reload
----------, Nov 10, 2021

+ Adds support for CMI warps in teleports, by using cmi:<warp> instead of spawn name
+ Adds support for Essentials warps in teleports, by using ess:<warp> or essentials:<warp> instead of spawn name
Ex:
- /regiontp tp __global__ ess:test

+ Fixed an issue with yaw and pitch not being properly set.
----------, Nov 10, 2021

+ Added 1.17 support
+ Updated WorldGuard API Version
+ Updated Guice API Version
----------, Jul 30, 2021

- Added console support for all commands
- Optimized some code
- Removed unnecessary permission-message from plugin.yml
- Did so __global__ as region will now work even if it hasnt been made
- Fixed -s as that wasnt working properly
- Teleport bypass permission now work
----------, Oct 14, 2020

Resource Information
Author:
----------
Total Downloads: 1,402
First Release: Oct 12, 2020
Last Update: Jun 27, 2023
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings