Перейти к содержимому
Mineforgian

NewBack

A simple plugin that allows players to return to their last death location using /back

Загрузки
934
Подписчики
4
Обновлён
18 октября 2025 г.
Лицензия
MIT

Опубликован 2 сентября 2025 г.

NewBack Plugin

A powerful, configurable /back plugin for Minecraft Paper 1.21 (and newer) that lets players instantly return to a previously recorded death location. Built with modular managers and extensive options, NewBack offers safety‑checked teleportation, cooldowns, XP costs, location history, and full admin control.

Key Features

  • Death‑Location Tracking – Automatically saves the exact coordinates of each death.
  • Location History – Stores up to 5 recent death points per player, enabling multiple “back” attempts.
  • Configurable Cooldown – Prevents abuse with a default 60 s wait time (customizable).
  • XP Cost Option – Can charge a configurable number of XP levels before teleporting.
  • Teleport Delay & Safety – A default 3‑second delay that cancels automatically if the player moves or takes damage.
  • Admin Commands
    • /back reload – Reloads the plugin configuration on the fly.
    • /back clear <player> – Clears a specific player’s death‑location history.
  • Customizable Messages & Color Codes – All user‑facing texts are editable in config.yml and support & color codes.
  • Bypass Permissions – Admins can ignore cooldowns and XP costs (newback.bypass.cooldown, newback.bypass.cost).
  • Specialized Managers – Clean architecture with CooldownManager, TeleportManager, ConfigManager, and DeathLocationManager.
  • Full Compatibility – Works with Paper 1.21, Java 21, and earlier 1.20.4 builds.

Permissions

Permission Description
newback.use Allows the player to use the /back command.
newback.admin Grants access to admin commands (/back reload, /back clear).
newback.bypass.cooldown Skips the cooldown timer.
newback.bypass.cost Skips the XP cost.

Ченджлог

2.0.0Релиз1.21.8, 1.21.9, 1.21.10 · 18 октября 2025 г.

Added

  • Location History System: Now saves up to 5 previous locations per player
  • Cooldown System: Configurable wait time between uses of the /back command
  • Cost System: Option to charge XP levels before teleporting
  • Teleport Delay: Wait time before teleport with automatic cancellation if the player moves or takes damage
  • Administrative Commands:
    • /back reload – Reloads the plugin’s configuration
    • /back clear <player> – Clears a player’s location history
  • Configuration File: Full config.yml with all customizable options
  • Customizable Messages: All messages can be edited in config.yml
  • Color Code Support: Messages support color codes using &
  • Bypass Permissions: Administrators can bypass cooldowns and costs
  • Specialized Managers:
    • CooldownManager – Manages per‑player cooldowns
    • TeleportManager – Handles teleports with delay and cancellation
    • ConfigManager – Manages configuration and messages
    • DeathLocationManager – Enhanced to support location history

Improved

  • More robust teleport system with safety checks
  • Better code organization with specialized classes
  • More informative and user‑friendly messages
  • Full compatibility with Paper 1.21 and Java 21

Permissions

  • newback.use – Allows use of the /back command
  • newback.admin – Allows use of administrative commands
  • newback.bypass.cooldown – Bypasses the command’s cooldown
  • newback.bypass.cost – Bypasses the XP cost of the command

Main Settings

  • cooldown-seconds: Wait time between uses (default: 60 seconds)
  • teleport-delay-seconds: Delay before teleport (default: 3 seconds)
  • xp-cost-levels: XP level cost (default: 0)
  • max-history-size: Number of saved locations (default: 5)
  • cancel-on-move: Cancels teleport if the player moves (default: true)
  • cancel-on-damage: Cancels teleport if the player takes damage (default: true)

Комментарии

Загружаем…