VoidSpawn
This plugin will teleport players to spawn when they enter the void. This is useful on hub servers that have open void that players jump into.
Features
- Teleport players upon entering the void.
- Supports multiple types of teleportation types.
- Multi-World support
- Saves players from death.
- Skyblock Support (ASkyblock or IslandWorld or uSkyBlock, BentoBox, SuperiorSkyblock)
Commands
/vs - Provides some details of plugin.
/vs help - Shows a list of all commands.
/vs mode (mode) [world] - Sets the mode of the current world or the world specified.
/vs modes - Lists all available modes.
/vs set [world] - Sets the spawn point for the mode 'spawn' in current world or specified world.
/vs remove [world] - Removes a spawn point from current world or specified world.
/vs reload - Reloads the plugin.
/vs toggle - toggles whether the player is teleported upon entering the void.
/vs detector (detector) [world] - Sets the world detector, defaults to Void.
/vs options (set/clear) (option) [value...] - Set an option for the mode.
() - Mandatory [] - Optional
Permissions
vs.admin.* - Will give all /voidspawn commands
vs.admin.set - Gives /voidspawn set command
vs.admin.reload - Gives /voidspawn reload command
vs.admin.remove - Gives /voidspawn remove command
vs.admin.mode - Gives /voidspawn mode command
vs.admin.help - Gives /voidspawn help commandvs.admin.detector - Gives /voidspawn detector command
vs.admin.option- Gives /voidspawn option command
vs.* - Will grant all VoidSpawn permissions
vs.player.toggle - Permission for /vs toggle command
color-logs Enables/Disables Colored logging
Commands Variables:
In the command mode, to run the command as op just add "op:" to the front of the command. Also, there are a few variables available.
${player.name} - The name of the player.
${player.uuid} - The UUID of the player.
${player.coord.x} - The x coordinate of the player.
${player.coord.y} - The y coordinate of the player.
${player.coord.z} - The z coordinate of the player.
${player.coord.world} - The world name the player is in.
Here is an example command: "op:effect ${player.name} minecraft:strength 45"
Commands Variables:
sound: The sound played when detected in the void
sound_volume: The sound volume
sound_pitch: The sound pitch
hybrid: Whether to run in hybrid mode (mode and command)
keep_inventory: Whether players keep inventory
message: Message sent when detected in the void
offset: The offset for the detector
command: The command(s) for either command mode or hybrid
inc_death_stat: Whether to increment the death statistic
vertical_offset: The offset from the top of the world to teleport the player
keep_velocity: Whether the player's velocity should be maintained after being teleported
There is also a worlds.yml all information for world modes and other stuff is set and saved here.
Modes
Spawn - Teleports player back to a set spawn location
Touch - Teleports player back to the spot where they touched the ground last
None - Removes any mode from the world
Island - Teleports player to their own island. Requires IslandWorld or ASkyblock
Command - Execute command(s) when the player enters the void.
Looper - Will teleport player to the top of the world at the same x,z location.
Detectors
Void - (Default) Teleports players when they enter the void
Nether - Teleports players when they enter the void or go above the height of the nether bedrock.
To get the fastest response for issues or questions is to open a new ticket on github. I do not regularly keep an eye on Bukkit
Please make a ticket on github, and I will try to fix it as soon as I can.
PLEASE NOTE(V1.12.2 or below): Not Working? Do you use "*" for permissions? Make sure to negate "vs.override" in your permissions.
Please suggest some new features on github!
@Endercrest
Oh alright. Thanks! And I'm not sure if you misunderstood what I initially stated a while ago, but what I was wanting to happen was for players who fall in the void in World_sky to be teleported to the ground on World. I do not think you have currently set the plugin up to do this, which led me to believe we had a miscommunication :p. The random radius would work just as good though, if not better.
So would you be able to make it when you fall in the void in one world, you are teleported to the ground in an entirely different one?
@x_clucky
I have put you as an official tester of the plugin. For the random spawn. I did a random one instead of the multiplication becuase they multiplication could get you stuck in a infinite look. The radius limits you so you don't get teleported past there.
@Endercrest
So is it currently possible for the void in world A to take you to the ground on world B, or is this feature still a WIP? And I also do not yet see a way to specify the multiplication amount for calculating the location that the player will be placed, although I do see something about a radius?
@x_clucky
Ok I have uploaded the test version to github. https://github.com/endercrest/VoidSpawn/releases
@Endercrest
Alright, Thanks! I'll keep a lookout for it :) Also, your github isn't linked on your DBO page.
@x_clucky
Ok I will upload a test version onto github later today.
@Endercrest
I could test it if you would like. It does have it set up where it multiplies the position in the sky by a configurable number ( my preferrable one is 8 ) and puts the player in the topmost block, right?
@x_clucky
So I may release a snapshot version of the random spawn today. But the biggest missing feature is safe teleports... Currently it will teleport you but you might end up dying in lava or something.
@Endercrest
Alright, thanks!
@x_clucky
I am working on it. I am still trying to get it to connect with worldborder properly. But hopefully out Wednesday.
@Endercrest
I would like to say that I may use @ItIsMeMyself's idea on another one of my worlds that I have, although I can not guarantee I would use it. Also, how is the idea that I suggested last week coming along?
@ItIsMeMyself
hmm, That is an interesting idea. I am just thinking, and it would need a lot of processing because it would have to calculate and store the last block they touched... I will look into and see if it is a reasonable thing to do.
@Endercrest
Hello Endercrest!
I have a feature request for the next version of VoidSpawn.
Is it possible to add a feature where the player will return to the latest block they walked on when they enter the void?
@Endercrest
Alright, cool! Keep me updated on your progress :)
@x_clucky
I will look into this. However this will not be till the end of the week.or the weekend
@Endercrest
Actually. I already got that figured out. It would of course be compatible with WorldBorder (and Minecraft's integrated world border when it is released).
Basically, when a player touches the void, the plugin gets the player's last known coordinates, multiples the x and z by 4 (configurable), and places the player at that position in the world specified. The plugin, of course, would check for Lava, cactii and other potential hazards before placing the player down, and if any are found, place the player as close to that position as possible.
For the most part, you wont really have to worry about it putting the player a million blocks away, because who is insane enough to make a sky hub more than 1000 blocks from x:0,z:0. And if they are insane enough to do that, hopefully they aren't insane enough not to use WorldBorder.
@x_clucky
This is a possibility. But then I would have to figure out some way of limiting it so that it does not put you millions of blocks away. We will see.
@Tonilanda
I can defiantly do this for the next update. The planned date for next update is end of next week, maybe...
I've got a feature request as well. When a player falls into the void in one world, they are teleported to a random area in another world. This would be useful for servers that have sky hubs.
Hi, i've got a feature request :). How about making the void set and void clear commands usable from the console by requesting the current spawn coordinates of the entered world automatically or by providing the possibility to define them on their own? Example: void set world This command will automatically detect the current spawn coordinates of the world "world" and configure VoidSpawn to support the world "world". void set world values This command wouldn't detect the current spawn location, but it would use the entered values instead to register the spawn and activate VoidSpawn to use it. The void clear command should be more easy to activate for console, this command doesn't need coordinates at all. Would this be possible? Best Regards, Tonilanda
Have uploaded V1.5. Contains a complete rewrite and new features. If you have an old version installed please delete old config