HyperScript
Docs

← All of the Docs HyperBedrock

Who is on Bedrock HyperBedrock

expressionplatform of <who>HyperBedrock

bedrock or java; unset for someone who is not online

send "&7%arg.1% plays on &f%platform of arg.1%&7."
expressiondevice of <who>HyperBedrock

What they play on, as Bedrock names it: Android, iOS, Windows, Xbox One, PlayStation, Switch and so on. Unset on Java

send "&7Device: &f%device of arg.1% &7Input: &f%input of arg.1%"
expressioninput of <who>HyperBedrock

How they play: touch, controller or keyboard mouse. Unset on Java

send "&7Device: &f%device of arg.1% &7Input: &f%input of arg.1%"
expressionbedrock name of <who>HyperBedrock

Their gamertag, without the prefix Floodgate puts in front of the name on your server

send "&7Gamertag: &f%bedrock name of arg.1% &7Version: &f%bedrock version of arg.1%"
expressionxuid of <who>HyperBedrock

Their Xbox id, which never changes

send "&7Xbox id: &f%xuid of arg.1% &7Language: &f%bedrock language of arg.1%"
expressionbedrock version of <who>HyperBedrock

The version of their game

send "&7Gamertag: &f%bedrock name of arg.1% &7Version: &f%bedrock version of arg.1%"
expressionbedrock language of <who>HyperBedrock

The language of their game, such as en_US

send "&7Xbox id: &f%xuid of arg.1% &7Language: &f%bedrock language of arg.1%"
expressionbedrock playersHyperBedrock

A list of the names of everybody online who is on Bedrock

send "&7On Bedrock now: &f" + join bedrock players with ", "
Guide and examples
on player join:
    if platform of player is "bedrock":
        send "&7Welcome from %device of player%! Menus open as forms for you."

command /platform <player>:
    trigger:
        if platform of arg.1 is not set:
            send "&c%arg.1% is not online."
            stop
        send "&7%arg.1% plays on &f%platform of arg.1%&7."
        if platform of arg.1 is "bedrock":
            send "&7Device: &f%device of arg.1% &7Input: &f%input of arg.1%"
            send "&7Gamertag: &f%bedrock name of arg.1% &7Version: &f%bedrock version of arg.1%"
            send "&7Xbox id: &f%xuid of arg.1% &7Language: &f%bedrock language of arg.1%"

command /bedrock:
    trigger:
        send "&7On Bedrock now: &f" + join bedrock players with ", "
SyntaxResult
platform of <who>bedrock or java; unset for someone who is not online
device of <who>What they play on, as Bedrock names it: Android, iOS, Windows, Xbox One, PlayStation, Switch and so on. Unset on Java
input of <who>How they play: touch, controller or keyboard mouse. Unset on Java
bedrock name of <who>Their gamertag, without the prefix Floodgate puts in front of the name on your server
xuid of <who>Their Xbox id, which never changes
bedrock version of <who>The version of their game
bedrock language of <who>The language of their game, such as en_US
bedrock playersA list of the names of everybody online who is on Bedrock
  • Everything but platform of and bedrock players is unset for a Java player, so is set works as a test as well.
  • A Bedrock player's name on the server usually starts with a dot. Use player, arg.1 and the like as with anyone else; nothing here needs the dot written out.