Skip to content

Commit 5a04cd8

Browse files
Update server.lua
1 parent ea9942e commit 5a04cd8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

AutoComplete/library/server.lua

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ function server.ping(average) end
3030
function server.worldName() end
3131

3232

33+
---If you are currently in a realm server
34+
---@return boolean isRealm If you are in a realm server
35+
function server.isRealm() end
36+
37+
---If you could be in a realm server (basically are you on latest)
38+
---@return boolean couldBeInRealm If you could in a realm server
39+
function server.couldBeInRealm() end
40+
41+
---@class RealmWorld
42+
---@field id integer The realm id
43+
---@field name string The realm name
44+
---@field description string The realm description
45+
---@field ownerXuid string The realm owner xuid
46+
---@field clubId string The realm club id
47+
48+
---The realm information
49+
---@return RealmWorld? realm The realm information
50+
function server.realmWolrld() end
51+
52+
3353
---The name of everyone in the pause menu
3454
---example of usage:
3555
---for _, playerName in pairs(server.players()) do

0 commit comments

Comments
 (0)