TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AresChat/sb0t/llms.txt
Use this file to discover all available pages before exploring further.
Channels and Stats static objects provide read-only access to the Ares room-search channel list and runtime server statistics. Both objects are always available in scripts but reflect live data from the server at the moment they are read — they do not cache values.
Both
Channels and Stats expose read-only data. Assigning to any property has no effect.Channels
TheChannels object lets scripts query the Ares room-search directory that the server participates in. Before searching, check Channels.available and Channels.enabled to confirm that channel data is ready to use.
Properties
true if there are channels currently available to search. Reflects whether the server has received channel list data from the Ares network.true if the room-search feature is enabled in the server configuration.Channels.search(query)
Searches the channel list for rooms whose names contain the given string (case-insensitive). Returns up to 10 results, sorted by user count descending. Only rooms with fewer than 200 users are included.
The search string to match against room names.
ChannelCollection — an array-like collection of Channel objects. The collection has a length property and numeric indexes starting at 0.
Channel Object
Each item in aChannelCollection is a Channel object with the following read-only properties:
The display name of the room.
The room’s current topic string.
The server software version string reported by the room.
The number of users currently in the room.
The data port the room is listening on.
The external IP address of the room as a dotted-decimal string (e.g.
"1.2.3.4").The language code reported by the room.
A pre-generated
arlnk:// link that Ares clients can use to connect directly to this room.Examples
Stats
TheStats static object exposes runtime counters for the current server session. All values are read-only and update continuously as the server runs.
Properties
The number of users currently connected to the server.
The highest number of simultaneous users seen during this session.
Total number of users who have joined the server since it started.
Total number of users who have left the server since it started.
Total number of public chat messages received by the server since it started.
Total number of private messages received by the server since it started.
Total bytes of data received by the server since it started.
Total bytes of data sent by the server since it started.
Total number of users who have been disconnected for flooding since the server started.
Total number of invalid login attempts received since the server started.
Total number of users who were refused entry to the server since it started (e.g. banned, full room).