Skip to content

guild_rank

This table holds the information on all of the ranks available in a guild along with their names and what rights a person with that rank has.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guildidintunsignedPRINO0
ridtinyintunsignedPRINO
rnamevarchar(20)NO''
rightsmediumintunsignedNO0
BankMoneyPerDayintunsignedNO0
 

Description of fields ​

guildid ​

references guild.guildid.  

rid ​

The particular rank ID. This number must be unique to each rank in a guild. A guild must have at least 5 and can have at most 10 ranks.

  • 0: GR_GUILDMASTER
  • 1: GR_OFFICER
  • 2: GR_VETERAN
  • 3: GR_MEMBER
  • 4: GR_INITIATE  

rname ​

The name of the rank that is displayed in-game.  

rights ​

The rights a player of this rank has in the guild.

ValueFlagNameComment
640x00000040GR_RIGHT_EMPTYHaving just this flag by itself is equivalent to having no rights at all.
650x00000041GR_RIGHT_GCHATLISTENPlayer can read messages in the guild general chat channel.
660x00000042GR_RIGHT_GCHATSPEAKPlayer can type messages in the guild general chat channel.
680x00000044GR_RIGHT_OFFCHATLISTENPlayer can read messages in the guild officers channel.
720x00000048GR_RIGHT_OFFCHATSPEAKPlayer can type messages in the guild officers channel.
800x00000050GR_RIGHT_INVITECan invite other players to guild.
960x00000060GR_RIGHT_REMOVECan kick other players out of guild.
1920x000000C0GR_RIGHT_PROMOTECan promote other players.
3200x00000140GR_RIGHT_DEMOTECan demote other players.
41600x00001040GR_RIGHT_SETMOTDCan change the guild message of the day.
82560x00002040GR_RIGHT_EPNOTECan edit other players' personal notes.
164480x00004040GR_RIGHT_VIEWOFFNOTECan view the officer notes of other players.
328320x00008040GR_RIGHT_EOFFNOTECan edit officer notes of other players.
656000x00010040GR_RIGHT_MODIFY_GUILD_INFOCan edit guild info.
1310720x00020000GR_RIGHT_WITHDRAW_GOLD_LOCKCan remove money withdraw capacity.
2621440x00040000GR_RIGHT_WITHDRAW_REPAIRCan withdraw gold for repair.
5242880x00080000GR_RIGHT_WITHDRAW_GOLDCan withdraw gold.
10485760x00100000GR_RIGHT_CREATE_GUILD_EVENTCan create a guild event.
19624950x001DF1FFGR_RIGHT_ALLHas all of the rights.

 

BankMoneyPerDay ​

The total money per day, in copper, that a person with this rank can withdraw. Use the maximum value of an unsigned int (4294967295) to specify unlimited amount.