ability to query client brand and server scarpet version.

This commit is contained in:
gnembon committed 2020-12-02 22:36:20 -04:00
1 parent 632d7c3268
commit 259bdc2c94
5 files changed
+27 -10

No files matched your search

+5
View File
@@ -366,6 +366,11 @@ Player's ping in milliseconds, or `null` if its not a player.
Player's permission level, or `null` if not applicable for this entity.
### `query(e, 'client_brand')`
Returns recognized type of client of the client connected. Possible results include `'vanilla'`, or `'carpet <version>'` where
version indicates the version of the connected carpet client.
### `query(e, 'effect', name?)`
Without extra arguments, it returns list of effect active on a living entity. Each entry is a triple of short