HyperScript
Docs

← All of the Docs HyperGrim

What Grim knows about a player HyperGrim

expressiongrim violations of <who>HyperGrim

How many violations the player has, all checks together

reset grim violations of arg.1
expressiongrim violations of <who> for <check>HyperGrim

For one check: grim violations of player for "Reach"

reset grim violations of arg.1 for "Reach"
expressiongrim checks of <who>HyperGrim

The names of the checks the player has violations of, as a list

send "&7Failed: &f%grim checks of arg.1%"
expressiongrim ping of <who>HyperGrim

Their ping as Grim measures it, in milliseconds

send "&7Ping: &f%grim ping of arg.1% ms"
expressionclient brand of <who>HyperGrim

What their game says it is: vanilla, fabric, lunarclient

send "&7Client: &f%client brand of arg.1% %client version of arg.1%"
expressionclient version of <who>HyperGrim

Which version of Minecraft they play with

send "&7Client: &f%client brand of arg.1% %client version of arg.1%"
expressiongrim versionHyperGrim

Which version of Grim the server runs

send "&8Grim %grim version%"
Guide and examples
command /check <target:player>:
    permission: "staff.check"
    trigger:
        send "&7%arg.1%: &f%grim violations of arg.1% &7violations"
        send "&7Failed: &f%grim checks of arg.1%"
        set {_reach} to grim violations of arg.1 for "Reach"
        send "&7Of those for Reach: &f%{_reach}%"
        send "&7Client: &f%client brand of arg.1% %client version of arg.1%"
        send "&7Ping: &f%grim ping of arg.1% ms"
        send "&8Grim %grim version%"
SyntaxMeaning
grim violations of <who>How many violations the player has, all checks together
grim violations of <who> for <check>For one check: grim violations of player for "Reach"
grim checks of <who>The names of the checks the player has violations of, as a list
grim ping of <who>Their ping as Grim measures it, in milliseconds
client brand of <who>What their game says it is: vanilla, fabric, lunarclient
client version of <who>Which version of Minecraft they play with
grim versionWhich version of Grim the server runs
  • In a sum, put the whole in brackets: (grim violations of player) + 1.
  • These are about players who are online. For somebody who is not, the numbers are unset and the list is empty.
  • Violations are Grim's own count and fade as Grim lets them. They are not kept through a restart; keep your own count in a variable if it has to last.