Some messages gave an error on the Spigot core
API
- The API is now more Java-friendly
- Added new methods to the API:
getInspectorByPlayer()
,getInspectors()
,addLog()
- Fixed the behavior of methods in
CheckedPlayer()
:setTimer()
,getTimer()
,hasTimer()
- You can now pass
null
to methods in the API ForBoolean
values, no validation is needed on your part; it will returnfalse
ifnull
- The
stopAll()
method now returns a list ofCheckedPlayer
. It includes those for whom the check was stopped.
Changed
- In
abilities
:teleport-to-staff
has been renamed toteleport-to-inspector
. - The approach to using the API has been changed.
Added
- Information about available commands is now sent when the
/check
or/check help
command is used. - It is now possible to teleport a player for inspection to specific locations For example, you can create buildings and specify their locations so that all checks are conducted there.
- Now, titles and action bars are displayed for the inspector to indicate how much time is left before the player is penalized.
Fixed:
- When changing the language, the reload command did not restart it.
- During the check, the player could teleport to the inspector under the blocks.
Added:
- A message about inactive checks when executing commands. Example:
/check approve
. - Multi-message support. MiniMessage is selected by default.
- The ability to disable hover message. To do this, leave the
"hover"
parameter empty in messages. Example:chat: hover: ""