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.com1.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.1.0Jan 4, 2025
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta