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!
Works with 1.19.2, great Plugin!! Love it so much....
Honestly, that's one of the easiest most useful plugins for my server. The plugin is basically amazing! I LOVE IT!!! Good luck and Keep up the good work I'd love to see what will you offer in future updates/other plugins!
Just saying if you need to teleport earlier than the void to where you set the /vs set
You can type /vs offset with a MINUS number
Example for my server I want to be respawned when I hit a Y level of 121 so I type /vs offset -121
Hey so I have a problem with the plugin can anyone help?. My problem is when I jump into the void it will spawn me on peace of glass at the bottom of the void. Does anyone know how to fix it?
In reply to KingButterPat:
In reply to KingButterPat:
Hello,
Is it possible to make it so only a certain group will be teleported to spawn (eg As a donator permission)? Where as defaults can not respawn when in the void?
Thanks!
In reply to CraftyBell:
good plugin!
could you add setting for animal/monster spawn at a configured x, z range when they vall on void?
Thanks.
At this time, I have no plans on adding animal support. However, I recommend creating a new issue on github. I might revisit this idea in the future.
The plugin is working, I did the commands and I tried it by jumping in the void but I died!
Is there something I did wrong?
EDIT: I know why, I need to negate the permission but I dont know how to negate.
Can someone help?
@Anemul
Try using a different version.
@Endercrest will you be updating this ? It does not work in 1.8.8 , all the commands work and the config are written with info from the commands , but when falling into the void it says no spawn is set and I know I set one and it is in the config .
Hello
It is possible to add a message that could be adjusted as when the person falls and is teleported a message like "going away!" that may have changed. it's possible ?
Great plugin. Could you please make an option that runs a command that acts the same way that the player types it or a console command (when someone falls in2 void, they are teleported to island (/island) and the console clears their inventory (/clear {playername})) Thanks!
Hello! I figured out how to fix a problem with the teleporting just simply not working! It is because of vs.override. If you are OP (like me being the Owner), you are automatically given vs.override, thus keeping you from teleporting. To change this without deoping yourself, in PEX (my permission plugin I use) -vs.override in the owner group to remove it. So then when listing them it would be like:
- otherpermission.other - otherpermission.other - -vs.override - otherpermission.other
I take this plugin, and instant put my server :3
I find a bug, when I use PermissionsEx, VS plugin don't work, I don't know why... I'm using the - '*' permission for OWNER group but this don't work... however, when I disable the permissions plugin, VS works fine.
I'm using Bukkit 1.8.7 in Bungee Cord net... The plugin works fine whitout PermissionsEx
@Endercrest
This plugin's functions do not work on Spigot 1.8.7. The /vs command does however, show all the info and messages when you do a command, but no matter your setting, you die in the void normally as if the plugin is not even installed.
@fr233
Yes it is open source. https://github.com/endercrest/VoidSpawn. It is actually really easy to add a new mode. If you are looking to adding your own mode. Create a new class that implements SubMode. Add the necessary code to onActivate and onSet. Once you have created the class. Add the mode to ModeManager by using ModeManager.getInstance().addMode("mode string", new ModeClass());
If you need any help with that feel free to msg me.
is it open source?