Created
December 8, 2013 20:51
-
-
Save iain-davis/7863650 to your computer and use it in GitHub Desktop.
New configuration for requirements (and rewards). This goes in the CommunityBridge config.yml, replacing the older requirements section.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Used either for requiring and avatar or rewarding the existence of an avatar. | |
app-avatar-config: | |
enabled: false | |
# Table that contains the avatar column | |
table-name: | |
# Column on the avatar table that contains the user ID. | |
user-id-column: | |
# Column on the avatar table that contains the avatar information. If this | |
# column contains data, the user is assumed by CommunityBridge to have an | |
# avatar. | |
avatar-column: | |
# Used for post count awards or for requiring a post count. | |
app-post-count-config: | |
enabled: false | |
# Table that contains the avatar column | |
table-name: | |
# Column on the avatar table that contains the user ID. | |
user-id-column: | |
# Column containing the user's post count. | |
post-count-column: | |
# Requirements | |
# ----------------------------------------------------------------------------- | |
requirement: | |
# Set this to true to require an avatar to be set to access the game. | |
# Requires app-avatar-config settings to be enabled and configured correctly. | |
avatar: false | |
# Require the player to have at least this many posts before being able to | |
# play. Requires app-post-count-config settings to be enabled and configured | |
# correctly. | |
post-count: | |
enabled: false | |
minimum: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment