Initial release of the guild storage log (#3365)
Thanks to @aleos89 and @Everade
This commit is contained in:
@@ -5502,6 +5502,32 @@ Return values:
|
||||
|
||||
---------------------------------------
|
||||
|
||||
*guildopenstorage_log({<char id>})
|
||||
|
||||
Opens the guild storage log window for the attached character or the given character id.
|
||||
|
||||
Possible return values:
|
||||
GUILDSTORAGE_LOG_FINAL_SUCCESS Window was opened successfully.
|
||||
GUILDSTORAGE_LOG_EMPTY Window was not opened, because no entries exist.
|
||||
GUILDSTORAGE_LOG_FAILED Some database error occurred.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
*guild_has_permission(<permission>{,<char id>})
|
||||
|
||||
Checks if the attached player or the player with the given character id has the given permission(s).
|
||||
Permission can be a bitmask and allows to use multiple values at the same time.
|
||||
Returns true if the player has all of the given permissions or false if the player does at least
|
||||
miss one of the given permissions or is not in a guild at all.
|
||||
|
||||
Available permissions are:
|
||||
GUILD_PERM_INVITE If a player is allowed to invite other players.
|
||||
GUILD_PERM_EXPEL If a player is allowed to expel other guild members.
|
||||
GUILD_PERM_STORAGE If a player is allowed to access the guild storage.
|
||||
GUILD_PERM_ALL A combination of all permissions above.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
*guildchangegm(<guild id>,<new master's name>)
|
||||
|
||||
This function will change the Guild Master of a guild. The ID is the guild's
|
||||
|
||||
Reference in New Issue
Block a user