The `guild_bank_right` table
This table hold informations regarding the right guild member have to withdraw, deposit etc at the guild bank.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
guildid | INT | UNSIGNED | PRI | NO | 0 | ||
TabId | TINYINT | UNSIGNED | PRI | NO | 0 | ||
rid | TINYINT | UNSIGNED | PRI | NO | 0 | ||
gbright | TINYINT | UNSIGNED | NO | 0 | |||
SlotPerDay | INT | UNSIGNED | NO | 0 |
Description of the fields
The ID of the guild.
The ID of the Tab you are setting the permissions for.
The rank you are setting the permissions for.
The permissions you want to give to a player of that rank on the tab. This is a bitmask. To combine permissions, you must do the OR operation sum the flags.
FLAGS:
Value | Description |
---|---|
1 | view items |
2 | deposit items |
4 | update item name shown when navigating the tab |
8 | withdraw items |
255 | Has all rights |
The number of items that a player can withdraw per day (if permissions give him the right to withdraw items).