Skip to content

session

username

Type

string


uid

Type

number


level

Type

number


license

Type

string


fid

Type

string

Description

Forum UID


unread_alerts

Type

number


unread_conversations

Type

number


posts

Type

number


score

Type

number


is_sdk

Type

boolean

Description

Is SDK contributor?


is_media

Type

boolean

Description

Is media contributor?


directory

Type

string


server

Type

string

Description

The fantasy.cat server the member is using.


Type

number


Type

number


os

Type

string

Description

The operating system the member is using. Will either return windows or linux.


protection

Type

number


minimum_mode

Type

number


get_scripts

Type

function

Description

This calls getMember&scripts from the Web API. It then converts that to a nested Lua table.

Returns

  • table

api

Type

function

Description

Calls api.php. This is essentially just a wrapper for the following:

Text Only
https://constelia.ai/api.php?key=YOURKEYISAUTOMATICALLYENTERED&cmd=api_method

Parameters

  • string api_method

Returns

  • string

get_perks

Type

function

Description

This gets all perks the member has unlocked. It will only return a table of the ID and the time when unlocked. It will not get the actual name and description of the perk. You can use the listPerks API method for that.

Returns

  • table
    • number id
    • number time

get_perks

Type

function

Description

This gets all perks the member has unlocked. It will only return a table of the ID and the time when unlocked. It will not get the actual name and description of the perk. You can use the listPerks API method for that.

Returns

  • table
    • number id
    • number time

has_perk

Type

function

Parameters

  • number id

Returns

  • boolean