Sueta

JailPlugin

1.2

Minecraft plugin for customizable player jailing.

·Plugin
  1. 1.2latestAdded data archiving, file separation, and task optimization.Jan 6, 2025
    1. New Files for Data Storage · Two new files are introduced: jail.yml and archive.yml. · jail.yml: Used to store information about currently jailed players and the jail location. · archive.yml: Keeps a record of jail-related events (e.g., who was jailed, when, for how long, and by whom). 2. Event Archiving · The /jail command now logs events into archive.yml, including: · Player's name. · Time of jailing (timestamp). · Jail duration. · The sender who initiated the jailing. 3. Separation of Jail Configuration · Jail configuration (jailLocation) is now loaded and stored in jail.yml instead of the main configuration file. 4. Improved Message Management · Added a getConfigMessage(String path, String defaultMessage) method for easier retrieval of configuration messages with fallback defaults. 5. Optimized Distance and Release Tasks · Replaced startReleaseTask and startCheckDistanceTask with startUnjailCheckTask and startDistanceCheckTask. · These tasks now run every second and provide more robust checks. 6. Enhancements in Commands · The /jail command now verifies that the jail location is set before jailing a player. · Improved messages for players in commands like /setjail, /jail, and /unjail. 7. Improved Time Handling · Jail duration supports time units (s for seconds, m for minutes, h for hours), with better validation. · Applied and tested on live server: majnuj.com
    2 downloads
  2. 1.1Persistent jail records after server restarts added.Jan 5, 2025
    A new feature in the JailPlugin plugin allows players to remain in jail even after a server restart. This functionality was achieved by saving and loading the list of prisoners from the config.yml file.
    5 downloads
  3. 1.0Jan 4, 2025
    7 downloads

Similar projects

Plugin →