Void Teleport
Teleport players to the spawn after they fall into void!
- Загрузки
- 635
- Подписчики
- 1
- Обновлён
- 5 февраля 2024 г.
- Лицензия
- Apache-2.0
Опубликован 8 ноября 2023 г.
Void Teleport has an Discord Server to help you with setup.
Info
Teleports a player automatically back to specified point, after the player falls into the void.
Features
- Supports custom dimensions
- Per-world spawn points
- Global spawn point
- Uses storage to store locations instead of scoreboards
- Does not round-up the co-ordinates hence teleports to precise location.
- Multiplayer support
- Does not use entities for teleporting players
- Supported versions: 1.20.2-1.20.5
Installation
To install this datapack you simply download the zip and put it in your "datapacks" folder inside your desired world.
Basic setup:
- Run the command
/function vtp:adminto get access to datapack features - Run
/trigger VoidTP.SetSpawnto set the spawn - Modify the minimum teleport height by using
/trigger VoidTP.MinHeight set {value} - You've successfully set your first spawn point
Also try: AutoTree
Videos
Here's a small tutorial video that my friend made:
Ченджлог
0.1.1Бета24w03a, 24w03b, 24w04a · 5 февраля 2024 г.
Another Update...
- Added a condition that will execute a macro function only if the path of storage exists (Global logic)
- Updated to add support for the latest snapshot
- Slow falling effect level is now applied 127 instead of 255 if VoidTP.ApplyEffect setting is enabled
- A couple of other small fixes
Edit: Should work fine on 24w06a
Edit 2: Survives 24w09a, I Just need to reverse that effect change but it's definitely not important.
Edit 3: Yeah I lost motivation to maintain this datapack but still most things should work fine, if you want help with updating the datapack, you can contact me on discord.
0.1.0Бета1.20.4, 23w51a, 23w51b · 22 декабря 2023 г.
The Beta Phase
- Updated pack.mcmeta
- Added support for snapshot 23w51a & 23w51b
- Renamed some folders and files
- Updated messages
- Almost all messages are almost similar now in color, format etc.
- Attempts to reduce file size
- Code cleanup
After this, the updates will be slower because I will only release them if they are really that important (Fixing a major bug, version updates etc)
0.0.9Альфа1.20.2, 1.20.3, 1.20.4 · 18 декабря 2023 г.
Just another update
This update aims on improving /trigger VoidTP.MinHeight and looking forward into the Beta phase, it will just aim at fixing bugs that will be reported
Improvements to
/trigger VoidTP.MinHeight:- This command can now set specific teleport Y-Levels for each world if the logic is set to
per-worldin/trigger VoidTP.Logic - Getting the storage, getting the world and checking if the player is at minimum Y-level is now done inside the
eventsfolder instead ofexecutorsfolder
- This command can now set specific teleport Y-Levels for each world if the logic is set to
If minimum Y-level for global is 0 then it is now set to
-1in order to not break anythingFixed
/trigger VoidTP.Helpmisspelt as/trigger VoidTP.helpinside the help menu (I was so confused while typing this)With this update the wiki and the repository have been moved to a new organization
Ps: if you didn't understand anything check out the wiki
0.0.8Альфа1.20.2, 1.20.3, 1.20.4 · 16 декабря 2023 г.
Bug fixes, Improvements, Better naming & Additions
- Added
/trigger VoidTP.Rotation - Added
/trigger VoidTP.Logic - Removed
/trigger VoidTP.SendToParent - Merged
/trigger VoidTP.AddSpawninto/trigger VoidTP.SetSpawn- Sets per-world or global spawns based on logic types same as
/trigger VoidTP.RemoveSpawn
- Sets per-world or global spawns based on logic types same as
- Updated messages
- All messages are no longer bold or italic
/trigger VoidTP.MinHeightmessage now returns the value that was entered
- Fixed a bug wherein if Minimum height (At which the player teleports to set point) was 0, it would run the teleport functions
- Updated pack.mcmeta
- Older versions will not be tested but the support will be still continued (23w31a-1.20.2)
- Some internal additions
- Some code optimizations
- Slow falling effect now applies for 1 second
- Slow falling particles are now hidden
- Updated Help menu
0.0.7Альфа1.20.2, 1.20.3, 1.20.4 · 10 декабря 2023 г.
Most Important update yet
This updates fixes a major problem that was: Per world teleport points.
Changelog:
Added ability to set spawns for every world
- Requires the
VoidTP.SendToParentto be disabled
- Requires the
Added command
/trigger VoidTP.AddSpawn- This command is completely different from
/trigger VoidTP.SetSpawn - Only works when
VoidTP.SendToParentis disabled
- This command is completely different from
Modified the the
/trigger VoidTP.RemoveSpawncommand- Now it works differently when
/trigger VoidTP.SendToParentis disabled/enabled
- Now it works differently when
Organized some commands into folders
Removed
/trigger VoidTP.SendToCurrentas it has been replaced by/trigger VoidTP.AddSpawnUpdated messages
0.0.6Альфа1.20.3-rc1, 1.20.3, 1.20.4 · 4 декабря 2023 г.
Hello, sorry for quick updates:
this update focuses on fixing some bugs and changing logic of /trigger VoidTP.SetSpawn command
Changes:
Changed how the set spawn command stores co-ordinates, instead of using
execute store result..., now it usesdata modify storage foo:bar i.x set from entity...directly- This also fixes a bug where decimal numbers were not stored for some reason hence not allowing to store precise location
Fixed a message spam that was introduced in one of the previous updates (I found this out after I installed datapack on my server, NOBODY reported this :(, the code was looking fine tho. )
Re-arranged commands for better readability
Updated help menu ("/trigger VoidTP.SendToCurrent" was not shown)
Updated messages for "/trigger VoidTP.SendToParent" command
Edit: Please use version 0.0.7 because this one has a message spam bug
0.0.5Альфа1.20.3-pre3, 1.20.3-pre4, 1.20.3-rc1 · 3 декабря 2023 г.
This update focuses on code improvements and some additional features, more can be seen here
Main changes:
added
/trigger VoidTP.RemoveSpawncommandRenamed
/trigger VoidTP.DimensionCheckto/trigger VoidTP.SendToParentAdded
/trigger VoidTP.TeleportToCurrentcommandRenamed
/trigger VoidTP.setspawnto/trigger VoidTP.SetSpawn(Case sensitive)
Slowfalling now applies for 3 seconds instead of 4 (Maybe reduced in future)
0.0.4Альфа1.20.2 · 17 ноября 2023 г.
- Updated pack.mcmeta
- removed a empty folder
(This update is not important just updating pack.mcmeta to support version 23w46a)
Комментарии
Загружаем…