The root directory of the server.
Adds an extra config key that will be passed from resource.toml to client
the key to be added
Removes the specified key and the data connected to that specific key.
The key of the value to remove.
Emits specified event across resources.
Name of the event.
Rest parameters for emit to send.
Emits specified event to all clients.
Name of the event.
Rest parameters for emit to send.
Emits specified event to all clients.
Name of the event.
Rest parameters for emit to send.
Emits specified event to all clients.
Name of the event.
Rest parameters for emit to send.
Emits specified event to specific client.
Event is sent to specific player or players.
Name of the event.
Rest parameters for emit to send.
Emits specified event to specific client.
Event is sent to specific player or players.
Name of the event.
Rest parameters for emit to send.
Emits specified event to specific client.
Event is sent to specific player or players.
Name of the event.
Rest parameters for emit to send.
Emits specified event across resources.
Name of the event.
Rest parameters for emit to send.
Returns only the closest entities of the specified type (or types) at the specified position, in the given range, dimension and limit.
Can be set to 0
to get entities in any range.
Can be set to "alt-shared".globalDimension to get entities in any dimension.
How many entities to return if there are more entities in the specified range, dimension. (-1
to disable).
Returns all entities of the specified type (or types) in the specified dimension.
Returns all entities of the specified type (or types) at the specified position, in the given range and dimension.
Gets all the listeners that have been subscribed using onClient for the specified remote event.
Name of the event or null for generic event.
Array of listener functions for that event.
Checks wheter or not the server has a specific benefit.
benefit to check
Hash a string with alt:V algorithm.
The string you want to hash.
Unsubscribes from a event with the specified listener.
Name of the event.
Listener that should be removed.
Unsubscribes from a client event with the specified listener.
Name of the event.
Listener that should be removed.
Unsubscribes from all user-created client events with the specified listener.
Listener that should be removed.
Name of the RPC
Listener that should be removed (if not passed current listener will be removed).
Subscribes to a server event with the specified listener.
Name of the event.
Listener that should be added.
Subscribes to a client event with the specified listener.
Name of the event.
Listener that should be added.
Subscribes to all client events with the specified listener.
Listener that should be added.
Subscribes to a client -> server RPC with the specified listener.
Name of the RPC
Listener to be assigned to this RPC name (there can only be one listener for each RPC name).
Subscribes to a server event with the specified listener, which only triggers once.
Name of the event.
Listener that should be added.
Subscribes to a client event with the specified listener, which only triggers once.
Name of the event.
Listener that should be added.
Subscribes to all client events with the specified listener, which only triggers once.
Listener that should be added.
Restarts the specified resource.
Name of the resource.
Change the server password at runtime.
The new server password.
Stores the given value with the specified key.
The key of the value to store.
The value to store.
Starts the specified resource.
Name of the resource.
Stops the specified resource.
Name of the resource.
alt-server