Advertisement
Guest User

ConditionPerms_CONFIG

a guest
Jan 22nd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. # ------------------------------ #
  2. #
  3. # ConditionPerms
  4. # (c) Maxim Van de Wynckel
  5. #
  6. # ------------------------------ #
  7.  
  8. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  9. # GENERAL PLUGIN SETTINGS
  10. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  11.  
  12. ## Config version (DO NOT EDIT)
  13. config: 1
  14.  
  15. ## Language file
  16. lang: 'en'
  17.  
  18. ## Debug mode
  19. debug: false
  20.  
  21. ## Log to file
  22. log:
  23. enabled: true
  24. # Reset log on startup
  25. reset: true
  26.  
  27. ## Update checking
  28. update:
  29. check: true # RECOMMENDED YOU LEAVE THIS TRUE
  30.  
  31. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  32. # PLUGIN SPECIFIC SETTINGS
  33. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  34.  
  35. # Placeholder settings
  36. placeholder:
  37. # logs the memory usage of placeholders on startup
  38. log-memory: false
  39. # Clear unused placeholders that are not enabled.
  40. clear-unused: true
  41. # Config cache only
  42. # This will only use placeholders in the config
  43. # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
  44. # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
  45. config-cache: false
  46.  
  47.  
  48. # Condition engine
  49. # This is the engine that will be used to evaluate the conditions
  50. # Only edit when you know what you are doing!
  51. engine: 'javascript'
  52.  
  53.  
  54. # Configure the database. This database is used to keep track
  55. # of the players that have been granted the condition permissions
  56. # already.
  57. #
  58. # Default it is set up for SQLite. MySQL support
  59. # is possible but for this use case not recommended.
  60. #
  61. # NOTE: The databases are not convertible
  62. database:
  63. # Database name
  64. database: "conditionperms"
  65. # Database username
  66. username: bukkit
  67. # Database isolation type
  68. isolation: SERIALIZABLE
  69. # Database driver
  70. driver: org.sqlite.JDBC
  71. # Database password
  72. password: walrus
  73. # Database driver URL
  74. # {DIR} will be replaced with the plugin directory
  75. # {NAME} will be replaced wit the plugin name
  76. url: jdbc:sqlite:{DIR}{NAME}.db
  77.  
  78. # A list of all conditions you configured
  79. # You can add your own conditions yourself
  80. # For more detailed info see the plugin page
  81. conditions:
  82. magnata:
  83. condition: '"{playername}" == "{leaderheads_score:balance#1}"'
  84. checkinterval: 120
  85. revoke: true
  86. cooldown: 200
  87. permissions:
  88. - 'deluxetags.tag.magnata'
  89. viciado:
  90. condition: '{stat_hours_played} >= 200'
  91. checkinterval: 120
  92. revoke: false
  93. permissions:
  94. - 'deluxetags.tag.viciado'
  95. minerador:
  96. condition: '{stat_blocksmined_diamond_ore} >= 500'
  97. checkinterval: 120
  98. revoke: false
  99. permissions:
  100. - 'deluxetags.tag.minerador'
  101. assasino:
  102. condition: '{stat_pkills} >= 500'
  103. checkinterval: 120
  104. revoke: false
  105. permissions:
  106. - 'deluxetags.tag.assassino'
  107. andarilho:
  108. condition: '{spawndistance} >= 100000'
  109. checkinterval: 120
  110. revoke: false
  111. permissions:
  112. - 'deluxetags.tag.andarilho'
  113. escrivao:
  114. condition: '{stat_itemsused_book_and_quill} >= 100'
  115. checkinterval: 600
  116. revoke: false
  117. permissions:
  118. - 'deluxetags.tag.escrivao'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement