Escape

Warning: This project is experimental. Its files will not synchronize across the CurseForge network.

This plugin will allow a player to escape to a pre-determined safe location. The player may then return to the place he escaped from within a certain amount of time. There will be a certain amount of risk associated with escaping as well as a cool down period (both configurable).

Here is the implementation plan:

Phase 1 (basics):

  • /escape will always take the player to the current world's spawn point.
  • /goback will return the player to the last place they escaped from.
  • Player can only "go back" once per escape.
  • A "safe landing" routine will be used to prevent player suffocation/burnination/cactus-stabination during all teleportation.

Phase 2 (restrictions/risks):

  • A configurable cool-down period will be supported. The player may use /goback during the cool-down period, but may not use escape again.
  • A configurable risk of dropping items will be supported.
    • There will be a % chance that an item will be dropped. If an item is dropped, then a random slot in the inventory will be selected. If that slot is empty, then nothing will be dropped.
    • There will be a configurable # of items to drop. If it is set to 2 then the above % chance and random selection will occur two times.
    • There will be a configurable option as to whether the items are recoverable. If they are set to be recoverable then they will be dropped and can be picked up by anybody (assuming they don't fall into Lava or anything else that may destroy them). If they are set to be unrecoverable, then they will simply be removed from the player inventory.

Phase 3 (enhancements):

  • Permission system
  • Addition of /escapeto <location> which will allow a player to escape to a particular safe zone.
  • Ability to define safe zones through in-game commands.
  • Ability to restrict access to safe zones (blacklist/whitelist players)
  • Configuration option to protect equipped items from being lost when escaping.
  • Configuration to protect certain items from never being lost when escaping.

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

No files uploaded yet.