Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for JvstvsHD

An easy-to-use plugin for managing various punishments for players

Report Necrify?

Release
1.2.2

JvstvsHD released Necrify version 1.2.2 on January 31, 2025

This release add punishment logs. Punishment logs track all actions that have been made to a punishment. To view said logs, use /necrify punishment <UUID> logs. This will provide a paginator where you can see all log entries. Punishment logs consist of a type (what was the action), an actor (who executed this) and what was changed, specifically all data of a punishment during that time.

Punishment log API:

Punishment logs can be loaded through Punishment#loadPunishmentLog which returns a future completing with the desired log. This object then can be used to query multiple or single entries to get their data or insert new entries (view Javadocs for all methods)-

known issues

Other API changes

  • MessageProvider:
    • all methods now have another method that allows for choosing whether to prefix
    • #prefix now prefixes per default in every circumstance, even if the MessageProvider does not auto-prefix
    • Changed #autoPrefixed() to return a new provider instance instead of changing the value
    • deprecated #unprefixedProvider() in favor of #autoPrefixed(false) and all prefixed methods
  • added constant PunishmentDuration#PERMANENT in favor of now-deprecated PunishmentDuration#permanent()
  • CommandSender now extends Adventure's Audience
  • UserManager#getLoadedUsers(): returns a collection of all currently loaded users subject to this system
  • Added PunishmentDuration.ofPunishment(Punishment) which returns a defined punishment duration for any punishment. If the punishment is temporal, its duration is returned, otherwise a permanent one.

Fixes:

  • No more tried duplicate account creation due to case sensitivity. Player names are now stored in lower-case letters.
  • Error in Paper plugin when user joins

Full Changelog: https://github.com/JvstvsHD/necrify/compare/1.2.1...1.2.2

Edit: Completed Fixes and Other API changes

Information

Published onJanuary 31, 2025
Downloads3

Platforms

Paper Paper (1.21)
Velocity Velocity (3.3)