Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.45 KB | None | 0 0
  1. # Community Bridge Configuration File
  2. # -----------------------------------------------------------------------------
  3.  
  4. # General Settings
  5. # -----------------------------------------------------------------------------
  6. general:
  7. # Log level controls the degree of detail that is sent to the console/log
  8. # The possible settings are (in order of quietest to noisiest:
  9. # info, config, fine, finer, finest, all
  10. # - During configuration, I recommend using 'config'.
  11. # - During normal operation, I recommend using 'info'.
  12. # - If you want to see the notifications that the synchronize and reminder
  13. # notices have been sent, use 'fine'
  14. # - During troubleshooting of problems, set this to either finest or all.
  15. log-level: config
  16.  
  17. # Allow plugin metrics to start up for this plugin. Please turn on
  18. # metrics! It helps plugin authors determine what features to include!
  19. # For more details see:
  20. # http://dev.bukkit.org/bukkit-plugins/communitybridge-fm/pages/why-plugin-metrics/
  21. # Enable/Disable for all plugins by editing plugins/PluginMetrics/config.yml
  22. # and setting 'opt-out' to false.
  23. plugin-metrics: true
  24.  
  25. # Turns on the achievements (rewards) system. See achievements.yml for more
  26. # information.
  27. use-achievements: false
  28.  
  29. # Set the unit of measurement for sync and reminder scheduling. Options are:
  30. # ticks, seconds, minutes, hours, or days. Note that this applies to both
  31. # auto-sync-every and auto-remind-every.
  32. auto-every-unit: minutes
  33.  
  34. # This is a timer that will check and sync all data with your database at a
  35. # set interval. Otherwise group and player statistics will only be
  36. # synchronized when the player joins and leaves the Minecraft server.
  37. auto-sync: true
  38.  
  39. # The interval for the auto-sync timer, this should not be set any lower than
  40. # 20 minutes.
  41. auto-sync-every: 20
  42.  
  43. # Enables/disables synchronization during join and quit events. Recommend both
  44. # being set to true.
  45. sync-during-join: true
  46. sync-during-quit: true
  47.  
  48. # NOTE: GroupManager will not create groups on the fly. So any groups you
  49. # specify in the linking or synchronization sections must already
  50. # exist. That is, you need to have used mangadd <groupname>)
  51. # Also, GroupManager announces primary group changes with no option
  52. # to override this behavior.
  53. # NOTE: PermissionsBukkit will not create groups on the fly. So any groups you
  54. # specify in the linking or synchronization sections must already
  55. # exist.
  56. # NOTE: zPermissions will not create groups on the fly. So any groups you
  57. # specify in the linking or synchronization sections must already
  58. # exist. That is, you need to have used: permissions group <group>
  59. # create. Further, zPermissions lacks a real API. A player's group
  60. # assignment can fail without CommunityBridge being aware of the
  61. # failure.
  62.  
  63. # The permissions system you're using. A permissions system is required for
  64. # the following features:
  65. # * Group Synchronization (both primary and secondary)
  66. # * Unregistered/Registered group assignment (sub-features of 'linking')
  67. # Current Options are: bPerms, GroupManager, PermsBukkit, PEX, Vault,
  68. # zPermissions.
  69. permissions-system: GroupManager
  70.  
  71. # If ~APPURL~ appears in a message in messages.yml, it will be replaced with
  72. # this:
  73. application-url: http://ormocraft.etowns.net
  74.  
  75. # Set the date format for any of the dates used by CommunityBridge.
  76. date-format: "yyyy-MM-dd hh:mm:ss a"
  77.  
  78. # Database Settings
  79. # -----------------------------------------------------------------------------
  80. # Please ensure if you run your Minecraft server on a remote host
  81. # that your MySQL server allows REMOTE connections. This WILL NOT WORK unless
  82. # your MySQL server is configured to allow connections from the machine that
  83. # your Minecraft server is running on. If you don't know what that means,
  84. # consult your hosting provider on how to configure your MySQL server correctly.
  85. # All of this information should be the same server and database used by your
  86. # web-application...
  87. database:
  88. # Hostname for your MySQL Server
  89. hostname: localhost
  90.  
  91. # MySQL Port
  92. port: 3306
  93.  
  94. # Database Name
  95. name: ormocraft
  96.  
  97. # Database Username
  98. username: 888888888
  99.  
  100. # Database Password
  101. password: 88888888
  102.  
  103. # SQL binding address
  104. # Normally you won't need to set anything here.
  105. # Recommended setting is blank.
  106. # If needed the local binding address for the SQL client can be set here.
  107. # Use 'minecraft' to use the address set in the server.properties.
  108. binding-address:
  109.  
  110. # Player Linking Settings
  111. # -----------------------------------------------------------------------------
  112. # Settings associated with linking a Minecraft player with a web application's
  113. # user. As this feature is a prerequisite for all other features, it cannot
  114. # be disabled.
  115. player-user-linking:
  116. # Use this to specify which method you are using: uuid, name, or both.
  117. # uuid - Players are identified by uuid in your web application's database.
  118. # name - Players are identified by player name in your web application's database.
  119. # both - Communitybridge will try both ways before giving up.
  120. linking-method: uuid
  121.  
  122. # If you want the player disconnected from the game if they haven't
  123. # registered, then set this to true. They will be shown the
  124. # link-unregistered-player message (in message.yml) on the disconnected
  125. # screen.
  126. kick-unregistered: false
  127.  
  128. # This is a timer that will notify unregistered users to register every few
  129. # minutes.
  130. auto-remind: true
  131.  
  132. # The interval for the auto-remind timer, this should be no less than
  133. # 5-10 minutes. Note that this uses the units specified above in
  134. # auto-every-unit.
  135. auto-remind-every: 10
  136.  
  137. # Set these to true to inform players when they log in if they're linked to
  138. # the web application. These correspond to the link-unregistered-player and
  139. # link-registered-player messages in messages.yml.
  140. notify-registered-player: true
  141. notify-unregistered-player: true
  142.  
  143. # If you have a permissions system and you want the player to be placed
  144. # in a group based on (un)registered status, set the following.
  145. # If left blank the setting won't be used. If a group-synchronization
  146. # feature is turned on, the 'registered-player-group' won't be used.
  147. # NOTE: GroupManager will not create groups on the fly. So the groups you
  148. # specify here must already exist. That is, you need to have used
  149. # mangadd <groupname>)
  150. unregistered-player-group:
  151. registered-player-group:
  152. notify-player-of-group: true
  153.  
  154. # If you want a player to be added to the 'registered-player-group' ONLY if:
  155. # * they are a member of the unregistered-player-group OR
  156. # * they have no assigned groups
  157. # then set this to true.
  158. registered-former-unregistered-only: true
  159.  
  160. # If you want a player to be added to the 'unregistered-player-group' if they
  161. # are no longer registered, set this to true.
  162. unregister-former-registered: false
  163.  
  164. # This is where we specify how to associate a Minecraft player with a web
  165. # application user. We do this by matching up the player name with a name
  166. # stored in the web application's database.
  167. #
  168. # If you want your players to use the same name on both the server and the
  169. # web application, then you will need to provide the table and column
  170. # information where the web application relates its user IDs with the user's
  171. # name/login ID/login/username.
  172. #
  173. # If you want to allow them to use a different name on the web application,
  174. # you need to add a custom field or column to your web application's database
  175. # for their minecraft name and specify below where the minecraft name is stored
  176. # in the web application's database.
  177.  
  178. # The name of the table which contains the columns:
  179. table-name: mc_profiler_users
  180.  
  181. # Column on the table that contains the user ID. Typically, the column will be
  182. # named something like user_id or member_id and contains a unique number for each
  183. # user.
  184. user-id-column: userid
  185.  
  186. # If the player name is stored in a key-value pair of columns instead of
  187. # its own column, set this to true:
  188. uses-key: false
  189.  
  190. # If you set 'linking-uses-key' to false, then set this to the column that
  191. # the minecraft uuid or playername is stored in. Otherwise, leave it empty.
  192. identifier-column: pro_minecraft_uuid
  193.  
  194. # If you set 'linking-uses-key' to true, then set the key column, value
  195. # column, and the key-name here. Otherwise, leave these fields empty.
  196. key-name:
  197. key-column:
  198. value-column:
  199.  
  200. # Used either for requiring and avatar or rewarding the existence of an avatar.
  201. app-avatar-config:
  202. enabled: false
  203. # Table that contains the avatar column
  204. table-name:
  205. # Column on the avatar table that contains the user ID.
  206. user-id-column:
  207. # Column on the avatar table that contains the avatar information. If this
  208. # column contains data, the user is assumed by CommunityBridge to have an
  209. # avatar.
  210. avatar-column:
  211.  
  212. # Used for post count awards or for requiring a post count.
  213. app-post-count-config:
  214. enabled: false
  215. # Table that contains the post count column
  216. table-name:
  217. # Column on the avatar table that contains the user ID.
  218. user-id-column:
  219. # Column containing the user's post count.
  220. post-count-column:
  221.  
  222. # Requirements
  223. # -----------------------------------------------------------------------------
  224. requirement:
  225. # Set this to true to require an avatar to be set to access the game.
  226. # Requires app-avatar-config settings to be enabled and configured correctly.
  227. avatar: false
  228. # Require the player to have at least this many posts before being able to
  229. # play. Requires app-post-count-config settings to be enabled and configured
  230. # correctly.
  231. post-count:
  232. enabled: false
  233. minimum: 0
  234.  
  235. # Statistics Tracking
  236. # -----------------------------------------------------------------------------
  237. # In general, to make this work, your web application will need to support
  238. # custom profile fields or a similar feature. CommunityBridge will put the
  239. # information in the database. It is up to you to configure your web application
  240. # so that it displays the information.
  241. statistics:
  242. # Enables statistics tracking. Nothing will be tracked unless you also enable
  243. # at least one of the trackers below.
  244. enabled: false
  245. # Name of the table to insert the tracking information on to.
  246. table-name:
  247. # Name of the column that contains the player's User ID on the table.
  248. user-id-column:
  249. # Set this to true if data on the table is stored in key-value pairs.
  250. uses-key: false
  251.  
  252. # If uses-key is true, set these as well. These settings are not used if
  253. # uses-key is false.
  254. key-column:
  255. value-column:
  256.  
  257. # Some web applications require an insert the first time a custom profile
  258. # field is filled with data (SMF, for example). If that's the case, enable
  259. # this and provide the required information.
  260. insert:
  261. enabled: false
  262. # Options are: generic and smf.
  263. method: generic
  264.  
  265. # Required for the 'smf' method, ignored for other methods. Most likely id_theme.
  266. theme-id-column: id_theme
  267.  
  268. # Required for the 'smf' method, ignored for other methods. Most likely value is 1.
  269. theme-id: 1
  270.  
  271. # Individual trackers
  272. # -------------------
  273. trackers:
  274. # Below each tracker can be enabled and configured. For each tracker:
  275. # * If uses key is true, set column-or-key-name to the key name OR
  276. # If uses key is false, set column-or-key-name to the column name
  277. # For some trackers, there is a formatted version as well. For those
  278. # trackers, the formatted version is optional. If you wish to use the
  279. # formatted version, set the formatted-column-or-key-name appropriately.
  280. # If set, the formatted column will be filled in with a human readable
  281. # string.
  282.  
  283. # Online Status: Show a player is playing on the server in the forums.
  284. online-status:
  285. enabled: false
  286. column-or-key-name:
  287. # Set this to what should be stored in the field when the user is online.
  288. online-value:
  289. # Set this to what should be stored in the field when the user is offline.
  290. offline-value:
  291.  
  292. # Last Online: Record the time that player was last online
  293. last-online:
  294. enabled: false
  295. # Numeric column, should be able to store a 32 bit integer. Will be seconds since epoch.
  296. column-or-key-name:
  297. # String (varchar, etc.) column at least 60 characters in length.
  298. formatted-column-or-key-name:
  299.  
  300. # Game Time: Record how much time the player has played.
  301. # Requires the last-online tracker to be turned on as well.
  302. game-time:
  303. enabled: false
  304. # Numeric column, should be able to store a 32 bit integer. Time played in seconds.
  305. column-or-key-name:
  306. formatted-column-or-key-name:
  307.  
  308. # Player's current level
  309. level:
  310. enabled: false
  311. # Numeric column, a single byte will be sufficient in most cases.
  312. column-or-key-name:
  313.  
  314. # Player's current progress toward next level
  315. current-xp:
  316. enabled: false
  317. # Numeric floating point column.
  318. column-or-key-name:
  319. # String column with at least 4 characters capacity.
  320. formatted-column-or-key-name:
  321.  
  322. # Player's XP total
  323. total-xp:
  324. enabled: false
  325. # Numeric column, capable of storing a 32 bit integer.
  326. column-or-key-name:
  327.  
  328. # Player's current health
  329. health:
  330. enabled: false
  331. # Numeric column, a single byte should be sufficient.
  332. column-or-key-name:
  333.  
  334. # Lifeticks; the amount of time the player has been alive.
  335. lifeticks:
  336. enabled: false
  337. # Numeric column, capable of storing a 32 bit integer.
  338. column-or-key-name:
  339. # String field with at least 100 characters of storage.
  340. formatted-column-or-key-name:
  341.  
  342. # Wallet. The amount of money the player currently has. REQUIRES VAULT.
  343. wallet:
  344. enabled: false
  345. # Numeric column capable of storing a "double" floating point number.
  346. column-or-key-name:
  347.  
  348. # Web Application Group Configuration
  349. # -----------------------------------------------------------------------------
  350. #
  351. # Some terminology:
  352. # - Primary group: A group setting such that the setting can only be set to
  353. # exactly one group. Most web applications have such a feature. Very few
  354. # permissions systems have such a feature. A given player/user can be a member
  355. # of only one primary group at a time.
  356. # NOTE: If you wish to utilize the primary group synchronization feature and
  357. # your permissions system does not support primary groups, then you must
  358. # list groups you wish to be synchronized into the web applications
  359. # primary group field in the "groups-treated-as-primary" setting (see
  360. # the synchronization options below). The permissions systems that this
  361. # applies to are: bPerms, PermissionsBukkit, PermissionsEx, and Vault.
  362. # - Secondary group(s): A group setting such that the setting can be set to
  363. # multiple groups or none. A given player/user can be a member multiple
  364. # secondary groups at a time in addition to being member of a single
  365. # primary group.
  366.  
  367. # This section describes to Communitybridge how the web application stores
  368. # user group/role information.
  369. app-group-config:
  370. # If the web application has a primary group/role feature, configure it here.
  371. primary:
  372. enabled: false
  373. # The table that contains the primary group ID.
  374. table-name:
  375.  
  376. # The column on the table that contains the user ID.
  377. user-id-column:
  378.  
  379. # If the primary group is stored in a key-value pair, set this to true.
  380. uses-key: false
  381.  
  382. # The column that the primary group ID is stored in. If uses-key is true,
  383. # this is the column that the "value" of the key-value pair is stored in.
  384. group-id-column:
  385.  
  386. # If you set uses-key to true, then set the following three settings:
  387. # Key name for the key-value pair.
  388. key-name:
  389. # Column that the key name is in
  390. key-column:
  391.  
  392. # If the web application has a secondary groups feature, configure it here.
  393. secondary:
  394. enabled: false
  395. # The table that contains the secondary groups.
  396. table-name:
  397.  
  398. # The column on the table that contains the user ID.
  399. user-id-column:
  400.  
  401. # Storage method. Set to one of the following:
  402. # - single: All the group ids in a single row & column separated by the
  403. # delimiter specified below.
  404. # - key-value: All the group ids are in a single row & column, separated
  405. # by the delimiter specified below, on a table that stores
  406. # its data in key-value pairs
  407. # - multiple-key-value: Group IDs are stored on a table of key-value pairs,
  408. # where the key name can appear in multiple rows.
  409. # - junction: The table can contain multiple rows for a given user_id,
  410. # each with their own group_id.
  411. storage-method: single
  412.  
  413. # The column that the group ID(s) are stored in:
  414. # (For the key-value method, this is the 'value' column)
  415. group-id-column:
  416.  
  417. # For single-column or key-value storage methods, the delimiter/separator
  418. # that separates the group IDs:
  419. # (ignored for junction and multiple-key-value storage method)
  420. group-id-delimiter: ','
  421.  
  422. # For the key-value storage method:
  423. # (ignored for the junction and single methods)
  424. # Key name for the key-value pair.
  425. key-name:
  426. # Column that the key name is in
  427. key-column:
  428.  
  429. # This applies to the junction storage method. If there are additional columns on
  430. # the junction table that need to be set to a value different from the table default
  431. # add the column name and value to this list.
  432. additional-columns:
  433. # group_leader: 0
  434. # user_pending: 0
  435.  
  436. # Simple Synchronization Configuration
  437. # NOTE: If you wish to utilize the primary group synchronization feature and
  438. # your permissions system does not support primary groups, then you must
  439. # list groups you wish to be synchronized into the web applications
  440. # primary group field in the "groups-treated-as-primary" setting. The
  441. # permissions systems that this applies to are: bPerms, PermissionsBukkit,
  442. # PermissionsEx, Vault, and zPermissions.
  443. simple-synchronization:
  444. # Set this to true for simple synchronization
  445. enabled: false
  446.  
  447. # Controls the "direction" of synchronization.
  448. # Options are: two-way, web-application, or minecraft.
  449. # - two-way: Changes on either side are synchronized to the other.
  450. # - web-application: Changes made in the web-application are
  451. # synchronized to the Minecraft server.
  452. # - minecraft: Changes made in Minecraft are synchronized to the
  453. # web-application.
  454. direction: two-way
  455.  
  456. # If player hasn't been seen before on server, CommunityBridge will use this
  457. # setting to determine the direction of the synchronization. 'web-application'
  458. # is the only option available at this time.
  459. first-direction: web-application
  460.  
  461. # Set this to true if you want the player to be notified when their primary
  462. # group changes.
  463. primary-group-change-notify: false
  464.  
  465. # This is a safety net. Since CommunityBridge directly modifies group
  466. # membership information, there is a risk that a misconfiguration could
  467. # cause the main administrative account (e.g. super-user) of a webapp to not
  468. # have administrative privileges to the forum, potentially leaving the forum
  469. # in a state where it cannot be administered. To protect against this
  470. # possibility, provide the user-id of the main administrative account of the
  471. # web application here. Generally, this is the account created when the web
  472. # application was installed. For this user-id, group changes will not be
  473. # synchronized from Minecraft to the web application, that is, the
  474. # synchronization for this user will be as if direction was set to
  475. # 'web' (see above). Be absolutely sure this user-id is your super-user
  476. # all-access administrative account.
  477. super-user-user-id: '17'
  478.  
  479. # If you're using primary group synchronization and a permissions system that
  480. # does NOT have the notion of primary groups (bPerms, PermissionsBukkit,
  481. # PermissionsEx, Vault) you must list permission group names that you wish to
  482. # be synchronized into the user's primary group field on the web application
  483. # here. Be sure to include these groups in the group-mapping as well.
  484. # Sample: groups-treated-as-primary: [guest, member, premium]
  485. # note that the brackets are required.
  486. groups-treated-as-primary: []
  487.  
  488. # If you have groups that are secondary groups on the web application that
  489. # you wish to be treated as if they are primary on your permissions system
  490. # (that is, these groups will be mutually exclusive), List them here.
  491. # Sample: groups-treated-as-primary: [guest, member, premium]
  492. # note that the brackets are required.
  493. webapp-secondary-groups-treated-as-primary: []
  494.  
  495. # List groups and group IDs to be synchronized here. On the left side of
  496. # the colon put a web application's group ID. On the right side of the colon
  497. # put the corresponding permissions group name. Only list group IDs and
  498. # group names you wish to be synchronized.
  499.  
  500. # NOTE: GroupManager will not create groups on the fly. So any groups you
  501. # specify here must already exist. That is, you need to have used
  502. # mangadd <groupname>.
  503. # NOTE: Regarding ladders(promotions/inherited groups): Either ALL of the
  504. # groups that are part of a ladder need to have entries on this table
  505. # and have corresponding group on the web application or NONE of them
  506. # should be on this list. It may be that you want to use the
  507. # unregistered/registered group settings instead.
  508. group-mapping:
  509. '1' : 'guest'
  510. '2' : 'member'
  511. '9' : 'memberpro'
  512. '10' : 'vip'
  513. '11' : 'donator'
  514. '12' : 'sponsor'
  515. '13' : 'builder'
  516. '14' : 'moderator'
  517. '15' : 'supermoderator'
  518. '16' : 'admin'
  519. '17' : 'superadmin'
  520. '18' : 'plugin-developer'
  521. '19' : 'partner'
  522. '20' : 'co-owner'
  523. '21' : 'spotter'
  524. '8' : 'owner'
  525.  
  526. ban-synchronization:
  527. enabled: false
  528.  
  529. # Controls the "direction" of synchronization.
  530. # Options are: two-way, web-application, or minecraft.
  531. # - two-way: Changes on either side are synchronized to the other.
  532. # - web-application: Changes made in the web-application are
  533. # synchronized to the Minecraft server.
  534. # - minecraft: Changes made in Minecraft are synchronized to the
  535. # web-application.
  536. direction: two-way
  537.  
  538. # Method options:
  539. # - table: Banned users will be inserted and deleted from a table that is a list of bans
  540. # - user: A column on the users/members table designates whether a user is banned.
  541. # - group: Specify a web-application group whose members are banned. Specify whether
  542. # the group is a primary or secondary group and configure app-group-config
  543. # above as appropiate.
  544. method: table
  545.  
  546. # Group method settings
  547. # Group type is either primary or secondary
  548. group-type:
  549. banned-group:
  550.  
  551. # Name of the table that holds ban information for your web application. Only needed for
  552. # user and table methods.
  553. table-name:
  554.  
  555. # Column that contains the user ID of the banee. Only needed for the user and table methods.
  556. banned-user-id-column:
  557.  
  558. # Settings for the user method. Only needed if method above is set to user
  559. # The value parameters can be strings, numbers, whatever your web application
  560. # uses to indicate the user is banned or not.
  561. ban-column:
  562. value-banned:
  563. value-notbanned:
  564.  
  565. # Settings for table method. Only needed if method above is 'table'. Set
  566. # options that seem relevant to your web application.
  567. # The column containing the reason for the ban. Leave blank if your web
  568. # application does not support this.
  569. ban-reason-column:
  570. # The column containing the ban start time (systime expected). Leave blank
  571. # if your application does not support this.
  572. ban-start-column:
  573. # The column containing the ban end time (systime expected). Leave blank
  574. # if your application does not support this.
  575. ban-end-column:
  576. # The column containing ban-group-id. Leave blank if your web application
  577. # does not support this.
  578. ban-group-id-column:
  579. # The ban-group-id. Leave blank if your web application does not support this.
  580. ban-group-id:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement