Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Essentials999
Все версииEssentials999 1.0.6

Essentials999 1.0.6

Release8 мес. назад

Список изменений

Bug Fixes & Improvements:

  • Teleport Request Logic (/tpask, /tpahere, /tpaccept, /tpdeny):
    • Corrected the teleportation direction for /tpahere requests, ensuring the target player teleports to the requester.
    • Addressed concurrency issues in /tpdeny to prevent race conditions and ensure consistent request handling.
  • RTP World Environment Handling:
    • Replaced hardcoded world names with World.Environment checks in the /rtp command and GUI, allowing for more flexible and accurate RTP across different world types (Overworld, Nether, End).
  • Command Not Found Handling:
    • Modified the onCommand method to send a custom "Unknown command" message instead of relying on Bukkit's default help message when an unrecognized command is entered.
  • /back Command Enhancement:
    • Implemented a PlayerDeathEvent handler to automatically save a player's location upon death, enabling the /back command to teleport players to their last death point.
  • Code Structure Refactoring:
    • Extracted PlayerHomes and WarpsManager from inner classes into their own dedicated files (PlayerHomes.java and WarpsManager.java) to improve code organization, readability, and maintainability.
    • Updated all instantiations and references to these classes accordingly.

New Features:

  • Teleport Countdown:
    • Introduced a configurable teleport countdown (teleport-countdown-seconds in config.yml) for commands like /home, /warp, /spawn, and /back.
    • If a player moves during the countdown, the teleportation is automatically cancelled.
  • Advanced Random Teleport (RTP):
    • Configurable Biome Targeting: Added the ability to specify a target biome for RTP in config.yml, allowing players to teleport to specific biomes.
    • World Border Check: Implemented a configurable option (check-world-border in config.yml) to prevent RTP from teleporting players outside the world border.
    • RTP Other Players: Added functionality for players with essentials999.rtp.others permission to use /rtp <playername> to randomly teleport other players.
  • Player Information Commands:
    • /seen <player>: Displays the last time a specified player was online.
    • /whois <player>: Provides detailed statistics about a player, including UUID, health, food level, gamemode, total kills, and total deaths.
  • Player Utility Commands:
    • /heal [player]: Heals the command sender or a specified player to full health, food, and removes negative potion effects and fire.
    • /feed [player]: Fills the food and saturation levels of the command sender or a specified player.
  • /jail <player> <time> Command:
    • Allows players with essentials999.jail permission to jail another player in a bedrock box for a specified duration.
    • Includes logic to prevent jailed players from teleporting out or escaping by logging out (re-jails on login).
  • Kit System:
    • /kit <name>: Allows players to claim a predefined kit of items.
    • /kit create <name>: Enables players with essentials999.kit.create permission to create new kits from their current inventory.
    • /kits: Opens a paginated GUI displaying all available kits.
    • Kit Cooldowns: Implemented cooldowns for kits to prevent spamming.
    • Kits are saved and loaded from a dedicated kits.yml file.
  • GUI Pagination:
    • Implemented pagination for the /homes and /warps GUIs, allowing for easier navigation through a large number of entries.
    • Added "Previous Page" and "Next Page" buttons to the GUI navigation.
  • Warp Deletion Confirmation:
    • Introduced a confirmation GUI for deleting warps, similar to the existing home deletion confirmation, to prevent accidental deletions.
  • Comprehensive config.yml Documentation:
    • Updated config.yml with detailed descriptions and usage examples for all commands and configurable options, enhancing clarity and ease of use for server administrators.

Метаданные

Канал релиза

Release

Номер версии

1.0.6

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.10

Загрузок

100

Дата публикации

8 мес. назад

Загрузил

ID версии

Главная