
HyperLog
HyperScript addon for CoreProtect: ask who changed a block and what a player placed and broke, and roll it back from a script.
Оцените первым
16
0
HyperLog
CoreProtect, in your HyperScript scripts: who changed a block, what a player placed and broke, and taking it back again.
command /who:
permission: "staff.who"
trigger:
async:
set {_name} to who last changed block at player's location
send "&7Last changed by &f%{_name}%"
command /undo <target> <time:duration>:
permission: "staff.undo"
trigger:
rollback arg.1 for arg.2 within 30 blocks of player
What it adds
- Who did it:
who last changed block at <location> - What happened:
block changes at <location>,block changes by <who> in the last 1 hour, alsowithin <n> blocks of <location> - Taking it back:
rollback <who> for <duration>,rollback everything for <duration> within <n> blocks of <location>, andrestoreto undo a rollback
Requirements
- HyperScript 1.7.4 or newer
- A recent version of CoreProtect, with its API switched on (the default)
- Paper or Spigot 1.16.5+, Java 8+
Documentation
Every statement, with examples that are checked to load: https://hyperscript.monoforge.net/addons.html
HyperLog is an addon for HyperScript, a scripting language for Paper and Spigot servers. MIT licence. It is not made by, and has nothing to do with, the people who make CoreProtect.
Партнёрский материал
Сервер для плагина HyperLog - как у профи
Плагин HyperLog создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином HyperLog для друзей можно за пару минут - BungeeHost всё уже подготовил.
