Documentation/configuration/Requirements

The requirements section of the config.yml file allows you to specify that a player must have an avatar set on the forums or a minimum number of posts before they can connect to the game. For reference, here is a link to the Default/Blank config.yml.

Configuring this section is mainly about telling CommunityBridge where your web application stores information about a user's avatar and/or their post count.

Avatar

The way this requirement works is by checking the avatar column in the database for a given user and if it is empty the player will be kicked from the game when they try to connect. The information you will need is the table that the user's avatar is stored on, the column on that table that the user's ID is in, and the column that the user's avatar information is stored in.

NOTE: There is potential to use this feature to "require" some other critieria, where you want the user to have a specific column filled in with data before being able to connect. A custom profile field, perhaps.

Post Count

The way this requirement works is by checking the post count column in the web application's database for a given user and if it is smaller than the number you specify, CommunityBridge will kick the player when they try to connect. The information you will need is the table that the user's post count is stored on (frequently, this is the users/members table), the column on that table that the user's ID is in, and the column that the user's post count is stored in.

NOTE: There is potential to use this feature for requiring a particular number in any column. So this could be retooled to be used to check that some other numerical score is higher than the the specified number.


Comments

Posts Quoted:
Reply
Clear All Quotes