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!
help if i restart my server it dont work anymore
@koenkoro
Will look into this.
Players without vs.* permission still get fall damage when tp-ed back to spawnpoint.
Please fix this.
@Therobodavo
No.
This may be a really stupid question, but for the permissions do I need to give the default rank a permission node for the void to work on them? If so, do I have to give them vs.* or something else?
I have had this suggetion but I have yet to come up with a good solution. I will have to do some sort of tracking.
One feature I think this plugin really needs is the ability to place a player back to the location they fell from.
Our server has a sky island type KitPVP and with the aspect of falling in the void makes it very interesting gameplay. Players spawn back in a safe area and jump back to battle, but even this can get annoying to some players. A way to fix this would be to place a player back falling into/before the void.
I don't see anyway on a technical level to know where a player fell vs when they entered the void. Perhaps one possible way would be to monitor a players movement in cord and react on an event of a player cords drastically decreasing.
Thank you for your amazing plugin!
Video Tutorial on the Plugin
http://youtu.be/IQOsdSEEddg
Credits Video: (AbsintoJ/VoidSpawn)
Thank you so much it works so good
Well I do not test against spigot but I may in the future. Do you get any errors in the console?
Not working for me in 1.7.2 Spigot last build. Simply nothing happens. (and yes, I put / void set)
Thank you!
@PrimeRobot
Yes it works I actually marked it on the wrong version. Also keep in mind that most plugins work even if they do not use most recent version.
Are you going to work on 1.7.9? O;
It's very simple and works great! :D
@Endercrest
Good point, perhaps making sure that ignoreCancelled = false? Still, not my plugin so who am I to say :).
@THEREDBARON24
The problem with this is that if say damage is disabled or other things along those lines, then this would be useless.
This is really cool and simple. Glad to see that there is something updated that supports this. One thing that I noticed is that you are utilizing the PlayerMoveEvent. You could change this so that it checks to see on damage if the damage cause is DamageCause.VOID and then handle it there. Just an option, still great job.
I have uploaded a snapshot version of 1.6.2. This version contains the random spawn support. Just waiting on the bukkitdev staff to approve.
@x_clucky
Ok I have a semi working version? I will upload it to github if you want to test it. If there are any issues with it please make an official issue on the github page.
@Endercrest
VariationVault has create video for you bukkit plugin link: https://www.youtube.com/watch?v=xVC-aF976QQ