Advertisement
Guest User

[bukkit]CommunityBridge IPB config

a guest
Aug 23rd, 2012
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.94 KB | None | 0 0
  1. # Sample Invision Power Board Config
  2. #
  3. # Lines marked with brakcets (#) are comments. The plugin does not read these lines.
  4. # You need to replace [yourdata] with your information.
  5. # Enabling basic tracking has made my server lag. As far as I understand this come from the huge amount of mysql write queries the plugin executes.
  6. #
  7. #
  8. # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
  9. #
  10. # I have set my IPB so that the users fill out a custom field with their minecraft username which is than
  11. # used in CommunityBridge authentication check. In my opinion this is a better way of authenticating,
  12. # because users can set their own username.
  13. #
  14. # This will require basic phpMyAdmin knowledge.
  15. #
  16. # You will need to create a custom profile field in IPB AdminCP.
  17. # Now using phpMyAdmin find which field the new custom profile field uses.
  18. # - The field is stored in the table <prefix>pfields_content
  19.  
  20.  
  21. db-host: [yourdata]
  22. db-port: [yourdata]
  23. db-database: [yourdata]
  24. db-username: [yourdata]
  25. db-password: [yourdata]
  26.  
  27. #This will make the plugin print out your config into your console on start.
  28. show-config: true
  29.  
  30. # If set to true it will show a message to the user that they have been place into a group
  31. show-primary-group: true
  32.  
  33. # This is the msg displayed to registered users.
  34. registered-message: Registered Account, Linked to Server Forums. Full features unlocked.
  35.  
  36. # Msg displayed to unregistered users.
  37. unregistered-message: Unregistered Account
  38.  
  39. # Msg displayed after [auto-remind-every] time.
  40. unregistered-messagereminder: Just a reminder to visit [yourdata] and register for full access!
  41.  
  42. kick-unregistered: false
  43.  
  44. # [CUSTOM USER FIELD CONFIG]
  45. # Because now, the minecraft username is stored in a different location than other data like ranks, we need to use multi tables configuration.
  46. multi-tables: true
  47.  
  48. # This is unrelated to IPB
  49. multi-tables-use-key: false
  50. use-banned-field: false
  51. banlist-table:
  52.   enabled: false
  53.   table: phpbb_banlist
  54.   user-id-field: ban_userid
  55.   reason-field: ban_reason
  56. groups-table:
  57.   enabled: false
  58.   table: phpbb_users_groups
  59.   user-id-field: ban_userid
  60.   group-id-field: ban_reason
  61. secondary-groups: false
  62.  
  63. #The permissions system you are using. (PEX, bPerms, GroupManager)
  64. permissions-system: bPerms
  65.  
  66. #This will make the plugin autosync. Which means that the plugin will check the database for any changes to your users. This will cause some server load, and because the sync is done on login, this feature is on such a long timer, it will just cause lag with no real gain. In my opinion, best set to false.
  67. #users will have to relogin to get new ranks you set.
  68. auto-sync: false
  69.  
  70. # Remind unregistered people to register.
  71. auto-remind: true
  72.  
  73. # These numbers are ms(miliseconds) so if you divide by 1000 you get the seconds.
  74. auto-sync-every: 1200000
  75. auto-remind-every: 470000
  76.  
  77. #This feature will record all basic user stats and store them into the forum database.
  78. #Because there is currently no documentation on the configuration of website-end scripts that would display this data, this feature is currently useless. Unless you want the data stored for some reason.
  79. #But there's better plugins for this.
  80. enable-basic-tracking: false
  81.  
  82. # The configuration of mysql.
  83. users-table:
  84. # Table name where basic user details are stored. This is for IPB 3.3. The tables might be named differently for you. You can google this or find it yourself. The [yourdata] marks the prefix.
  85.   table: [yourdata]_members
  86.  
  87. # User name field. Since we are using a custom field for minecraft identification this is useless.
  88. # To demostrate, you can set it to anything and it will still work.
  89.   user-name-field: brbr
  90.  
  91. # This is a number.
  92.   user-id-field: member_id
  93.  
  94. # This identifies the group members are in. In our case this translates into mnc ranks.
  95.   groups-id-field: member_group_id
  96.  
  97. # Not important for IPB.
  98.   secondary-groups-id-field: sub_group_ids
  99.   banned-field: member_banned
  100.   banned-users-group: 5
  101.  
  102. # The group which unregistered people (aka guests) are in. It's 2, but in case your forum config is messed up you can check in 'conf_global.php'.
  103.   default-group: 2
  104.  
  105. # Here we will set the custom field you've checked in the start.
  106. multi-table:
  107. # The name of the SQL table containing the custom field. [yourdata] marks the prefix.
  108.   table: [yourdata]_pfields_content
  109.  
  110. # member_id linking the column to the user.
  111.   field-user-id-field: member_id
  112.  
  113. #unimportant for IPB.
  114.   field-key-field: key_str
  115.   field-key-value: mcusername
  116.  
  117. #The name of the field in which the mnc username custom field is stored. If unsure, you can check it like this:
  118. #Fill the custom profile field for minecraft username with something and remember what you filled it with.
  119. #Now open phpMyAdmin and open _pfields_content and look for the value you used in the forum.
  120.   field-value-field: field_11
  121.  
  122. #s
  123. profile-requirements:
  124.   require-avatar: false
  125.   require-avatar-message: This server requires players to upload an avatar to their profile.
  126.   require-avatar-table: ipbog3profile_portal
  127.   require-avatar-user-id-field: member_id
  128.   require-avatar-field: pp_main_photo
  129.   require-minposts: false
  130.   require-minposts-message: This server requires players to have a minimum of 3 forum posts.
  131.   require-minposts-count: 3
  132.   require-minposts-table: ipbog3members
  133.   require-minposts-user-id-field: member_id
  134.   require-minposts-field: posts
  135.  
  136. # As said in the header: useless for now.
  137. # However if you do want to track this, you'll need to create new fields in the table [yourdata]_pfields_content
  138. # All the fields are int(16) and nullable. Define their names with for example. 'field-onlinestatus-field'
  139. basic-tracking:
  140.   table: ipb_pfields_content
  141.   field-onlinestatus-enabled: true
  142.   field-onlinestatus-valueonline: 1
  143.   field-onlinestatus-valueoffline: 0
  144.   field-onlinestatus-key-value: mconlinestatus
  145.   field-onlinestatus-field: field_14
  146.   field-lastonline-enabled: true
  147.   field-lastonline-key-value: mclastonline
  148.   field-lastonline-field: field_15
  149.   field-gametime-enabled: true
  150.   field-gametime-key-value: mcgametime
  151.   field-gametime-field: field_16
  152.   field-totalxp-enabled: true
  153.   field-totalxp-key-value: mctotalxp
  154.   field-totalxp-field: field_18
  155.   field-currentxp-enabled: true
  156.   field-currentxp-key-value: mccurrentxp
  157.   field-currentxp-field: field_17
  158.   field-level-enabled: true
  159.   field-level-key-value: mclevel
  160.   field-level-field: field_19
  161.   field-health-enabled: true
  162.   field-health-key-value: mchealth
  163.   field-health-field: field_20
  164.   field-lifeticks-enabled: true
  165.   field-lifeticks-key-value: mclifeticks
  166.   field-lifeticks-field: field_21
  167.   field-wallet-enabled: false
  168.   field-wallet-key-value: mcwallet
  169.   field-wallet-field: field_23
  170.  
  171. # Groups you want this plugin to set for users according to the forum ranks. The number is the user group ID, and the name is the name of the group you set.
  172. groups:
  173.   '1': validating
  174.   '2': Guest
  175.   '3': Member
  176.   '6': Moderator
  177.   '4': Admin
  178.   '5': banned
  179.   '7': SuperAdmin
  180.   '8': Member*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement