FluxWareScripting
Back to site

client

The client itself: output, other modules, and session facts.

Functions

8 functions. Signatures are generated from the client, so they describe the build you are running.

client.notify(message:string, [seconds:number])

A FluxWare toast.

client.print(message:string)

A FluxWare notification only you can see.

client.isModuleEnabled(name:string) -> boolean

By display name, as shown in the module list. False if no such module.

client.getFps() -> number
client.getPing() -> number

Milliseconds, 0 in singleplayer.

client.getServerIp() -> string|nil

nil in singleplayer.

client.isInGame() -> boolean

A world and a player both exist.

client.screenOpen() -> boolean

Any GUI screen is showing.