-
-
Notifications
You must be signed in to change notification settings - Fork 9
Guild API
The Guild API is very useful when you wish to do actions pertaining to guilds.
GuildFetchInfo();
GuildAddNotification();
GuildFetchInfo(); is a function used to return a single data row, or all the data rows, pertaining to the specified guild. This function takes two variables, one required, one optional.
$api->UserHasCurrency($var1,$var2);
Variable #1 - Integer. Specifies the guild to return data from.
Variable #2 - Text. Field to select specifically. Optional. If omitted, will return all the rows.
This function returns the specified data on success, and false if it was unable to.
GuildAddNotification(); is a function used to add a notification for the guild specified. This function takes two variables.
$api->UserHasCurrency($var1,$var2);
Variable #1 - Integer. Specifies the guild to return data from.
Variable #2 - Text. Notification text.
This function returns true if the notification was added, false if it wasn't.
Current Chivalry Engine Versions:
V1 - 1.0.3b released March 21, 2025
V2 - 2.0.2 released Jun 13, 2020
V3- 3.0.0-alpha1 released Sept 29, 2019