DisconnectReset
Function:
When a player disconnects the players inventory is cleared and the player is teleported to the coordinates and world specified in the config. Perfect for minigame servers and etc. There is a bypass permission for administrators, dr.bypass. There is also a command for setting the spawn, /dr setspawn.
Supports MultiVerse / MultiWorld!
Commands:
- /dr setspawn - sets spawn at the players location! (Permission: dr.setspawn)
Config:
Spawn coordinates: x: 500 y: 100 z: 400 Spawn world: world
Changelog:
v.1.4:
Added command /dr setspawn, sets spawn at players location!
v.1.2:
Fixed so that the config doesn't reset at restart.
v.1.1:
Added MultiWorld support, worldname is now configurable.
Added bypass permission, for admins. (dr.bypass)
v.1:
First version.
Added the feautures of teleporting and reseting inventories.
Added config.
Permissions:
dr.bypass - Bypass for admins.
dr.setspawn - Access to the command /dr setspawn.
Extra credits:
Thanks to Ruptur for helping me with errors regarding /dr setspawn.
can you add support for the the facing rotations y and x
@Camoleopard
I will look into it!
@Camoleopard
Try spigot1649, this plugin doesnt work on spigot 1.8.7
I am getting an error every time I use the command, here it is 16.06 17:43:08 [Server] INFO ... 8 more 16.06 17:43:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at se.fillefixsweden.dr.DR.onCommand(DR.java:51) [?:?] 16.06 17:43:08 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 16.06 17:43:08 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] 16.06 17:43:08 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:368) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:404) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:628) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.8.7-20150608a.jar:git-Spigot-07a5b1b-53433de] 16.06 17:43:08 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'dr' in plugin DisconnectReset v1.0 16.06 17:43:08 [Server] WARN Unexpected exception while parsing console command "dr"
I am running spigot 1.8.7
@LilOu1227
Maybe!
new suggestion: remove the effects of potions!?
@shukari90
Added in 1.4
@Fillefixsweden
Now if it works!
@LilOu1227
Fixed in v.1.2
@Fillefixsweden
Actually got some troubles now, will look in to it in a bit.
@shukari90
Really good idea! Should'nt be any trouble adding that:)
think about the command /dr setSpawn ;D
@Fillefixsweden
The coordinates are reset to save the settings:
Spawn coordinates: x: 500 y: 100 z: 400
@LilOu1227
Added support for it now! Have fun:)
@LilOu1227
Maybe in the future!
wow nice plugin!
would be nice to endure Multiverse-Core