No door logout teleport

Description

NoDoorLogoutTeleport fixes a bug in vanilla Minecraft, in which a player is able to travel through or above a server-side protected/locked/closed door. Generally, this is done by walking into a door whilst attempting opening it (the door will open, and the player will move through it a little before the server snaps the door and player back) and logging out instantly. When the player logs back in they will either teleport on the other side of the door, or teleport to the next air block above the door. Normally this wouldn't be a problem, but for hardcore PVP players it can be incredibly annoying for raiders to teleport into their heavily protected areas. This plugin simply bypasses the vanilla Minecraft position storage by keeping track of each players last position when they log out, and restoring it when they log in.

Installing

  1. Drop the .jar into /plugins
  2. Reload plugins with /reload or restart the server
  3. DONE :O

To Do

  • Nothing
  • Maybe make a sandwich

Other points of interest

  • The plugin has no configuration
  • The plugin stores all of its information in RAM, so if the server is restarted the player tracking information is lost. This is done by design, so if there is a bug with the plugin, it can be disabled without any damage to player data, map data etc.
  • Player tracking data is cleared when the plugin is disabled, so for most problems a reload should fix the problem
  • Source code is provided in the .jar file

ChangeLog

Version 0.1

  • Initial release

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files