I would like to know if it is possible to have my auto message plugin display current world border size. It will shrink from a diameter of 20000 to 213 at a rate of 34 meters per hour. So occasionally players should get a message like: Warning! The world border is shrinking! Worldborder is currently 18354 meters from spawn. And the number would be in the next message eg. 18320 and gradually getting smaller.
Does anyone know if this even possible? I don't know if auto message plugin can deliver other placeholders than its own.
I am using an automessage by ELCHILEN096 dev.bukkit.org/projects/automessage If you know any better up to date plugin like this one, or that supports papi and can put any placeholder in the message, if happy to hear one.
EDIT: I have come to a partial solution on this issue. My current solution is to have automessage tell a message that runs a command "/worldborder get" by the player when clicked the text. also added a permission minecraft.command.worldborder.get to let them run the command.
I am still looking for a placeholder type of result without the player having to click the text to get the information.
/execute @s worldborder get
or if you really need a custom message you'll probably need a scoreboard value./execute store result score #border border run worldborder get
in Vanilla (after creating the "border" scoreboard) and then display that using e.g./tellraw
,/title
or whatever.