
RegionTeleport
RegionTeleport allows you to teleport all players within a WG region to a specified location.
- Загрузки
- 2K
- Подписчики
- 4
- Обновлён
- 6 мая 2026 г.
- Лицензия
- MIT
Опубликован 18 февраля 2023 г.
- Spawn locations to teleport players from specified region(s) to.
- Teleporting all players from specified region(s) to the specified location(s).
- Stop certain players from being teleported.
- Clear specific entities from specific regions.
- regiontp-on-entry flag - Teleport player to one of the specified locations on region entry.
- regiontp-on-exit flag - Teleport player to one of the specified locations on region exit.
- player-loot-drop flag - Stop player loot from being dropped on death.
- mob-loot-drop flag - Stop mob loot from being dropped on death.
1. Download the RegionTeleport.jar.
2. Make sure your server is running Java 21 or higher.
3. Download WorldGuard.
4. Upload all files to your plugins folder.
5. Restart your server.
- WorldGuard (7.0.0+) - Required for the entire plugin to work.
- CMI (9.0.0.0+) - Adds the ability to use cmi warps as spawn locations. Enabled through config. Usage: /regiontp tp cmi:
- EssentialsX - Adds the ability to use essentials warps as spawn locations. Enabled through config. Usage: /regiontp tp ess:
- PlaceholderAPI - Adds a few placeholders (see below)
- Command: /regiontp help
Description: Shows all commands
Permission: regionteleport.command.help
- Command: /regiontp reload
Description: Reloads the plugin
Permission: regionteleport.command.reload
- Command: /regiontp list (page)
Description: Lists all spawn locations
Permission: regionteleport.command.list
- Command: /regiontp setspawn (x y z) (yaw pitch) (world)
Description: Creates a spawn location
Permission: regionteleport.command.setspawn
- Command: /regiontp delspawn
Description: Deletes the specified spawn location
Permission: regionteleport.command.delspawn
- Command: /regiontp tp <"region1 region2 ..."> <"spawn1 spawn2 ..."> (-s)
Command: /regiontp tp <"region1 region2 ..."> <"spawn1 spawn2 ..."> (-s)
Description: Teleports all players within the region(s) to the specified location(s)
Permission: regionteleport.command.teleport
Examples:
- /regiontp tp minecraft:world
__global__"spawn1 spawn2" (Would teleport players in minecraft:world to either spawn1 & spawn2) - /regiontp tp "region1 region2" spawn1 (Would teleport players in region1 & region2 to spawn1)
- Command: /regionclear <"region1 region2 ..."> <"option1 option2 ..."> (-s)
Command: /regionclear <"region1 region2 ..."> <"option1 option2 ..."> (-s)
Description: Remove all specified entities from all specified regions
Permission: regionteleport.command.clear
Available Options:
all (Removes all monsters/animals/ambient/items/vehicles that aren't named, tamed or an npc)
monsters
animals
ambient (bat)
items(:<item1,item2,...>) (separate different item types with commas)
vehicles (Doesn't include living vehicles like horses, use -animals for those)
specific:<entity1,entity2,...> (separate different entity types with commas)
displays (Only 1.19.4+)
named(-only:<name1,name2,...>)
tamed(-only)
npcs(-only) (Will remove any entities that have the metadata NPC)
Using -only will remove only those entities. So, named-only would only remove named entities, and named-only:Steve,Dave would only remove entities named Steve & Dave.
Examples:
- /regionclear minecraft:world
__global__"animals named-only:dave" (Would remove any animals named dave in minecraft:world) - /regionclear "region1 region2" "items:diamond,dirt animals tamed" (Would remove all animals, all tamed animals & any dropped diamonds/dirt items from region1 & region2)
- /regionclear region1 specific:sheep,ender_crystal (Would remove any sheep & end crystals in region1)
- Permission: regiontp.teleport.bypass
Description: Does so the player doesnt get teleported if he is within the region.
- Permission: regiontp.*
Description: Gives you all permissions except teleport bypass.
- Placeholder: %regionteleport_player_count_w:_r:%
Description: Counts amount of players in that region in that world. use __global__ for entire world.
- Placeholder: %regionteleport_player_count_exclude_bypass_w:_r:%
Description: Counts amount of players except for players with teleport bypass permission in that region in that world. use __global__ for entire world.
Ченджлог
4.0.2Релиз26.1, 26.1.1, 26.1.2 · 6 мая 2026 г.
Adds support for 26.1+.
Removes support for 1.21-1.21.4.
EssentialsX addon has not been tested due to EssentialsX not having updated to 26.1 yet, but will most likely work.
4.0.1Релиз1.21.2, 1.21.3, 1.21.4 · 5 января 2025 г.
Plugin now works on 1.21.1 -> 1.21.4
Removed support for 1.20.6
4.0.0Релиз1.20.6, 1.21 · 26 июля 2024 г.
IMPORTANT INFO
This version is close to a full rewrite of the entire plugin, so a lot of things are different in this version than previous ones!
Also, even though I have tested it extensively, due to this being a large update, there might be bugs that snuck through my testing. So if you find any, please report them on github.
Changes:
Teleport command has been changed to:
/regiontp tp "region1 region2 ..." "spawn1 spawn2 ..." (-s)/regiontp tp <world> "region1 region2 ..." "spawn1 ..." (-s)
The quotes are only needed for multiple regions or spawns.
/regiontp tp region1 spawn1works aswell.Clear command has been changed to:
/regionclear "region1 region2 ..." "option1 option2 ..." (-s)/regionclear <world> "region1 region2 ..." "option1 ..." (-s)
Quotes are here also only needed for multiple regions or options.
The options which you can provide a list of your own, specific, named-only & items, work the same, with each type being split by a comma. Example:/regionclear __global__ "specific:wolf,cow named-only:dave"Setspawn command has been changed to
/regiontp setspawn <name> (x y z) (yaw pitch) (world)/regiontp spawnlist has been changed to /regiontp list (page). The permission has also been changed to regionteleport.command.list.
/regiontp list is now split into pages, and you can easily teleport to each spawn by clicking on it.
Took in use CommandAPI as the command framework instead of bukkit commands. This also means all commands are now brigadier commands.
Removed the lang file because I didn't see the point in having it.
The plugin is now using Papers teleportAsync to teleport players.
Java 21 is now required.
Changed the API version to 1.20.
3.2.0Релиз1.20, 1.20.1, 1.20.2 · 27 июня 2023 г.
NOTICE: Spigot Support will be dropped in the near future to take in use things like async teleportation, Kyori Adventure, etc.
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,spawn2as 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
- 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
3.1.1Релиз1.19.2, 1.19.3, 1.19.4 · 23 мая 2023 г.
- Added permission
regionteleport.command.cleartoregionteleport.command.* - If -w: is not specified when running /regionclear in console, it'll now send a msg about it instead of a NPE error.
3.1.0Релиз1.19.2, 1.19.3, 1.19.4 · 21 мая 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>)
-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.
3.0.0Релиз1.19.1, 1.19.2, 1.19.3 · 4 марта 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.
2.2.1Релиз1.19.1, 1.19.2, 1.19.3 · 20 февраля 2023 г.
- Some code cleanup courtesy of Ntdi
- Some more general code cleanup
Комментарии
Загружаем…