Advertisement
Guest User

ConditionPerms_CONFIG

a guest
Jan 29th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 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: false
  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.  
  42.  
  43. # Condition engine
  44. # This is the engine that will be used to evaluate the conditions
  45. # Only edit when you know what you are doing!
  46. engine: 'javascript'
  47.  
  48.  
  49. # Configure the database. This database is used to keep track
  50. # of the players that have been granted the condition permissions
  51. # already.
  52. #
  53. # Default it is set up for SQLite. MySQL support
  54. # is possible but for this use case not recommended.
  55. #
  56. # NOTE: The databases are not convertible
  57. database:
  58. # Database name
  59. database: "conditionperms"
  60. # Database username
  61. username: bukkit
  62. # Database isolation type
  63. isolation: SERIALIZABLE
  64. # Database driver
  65. driver: org.sqlite.JDBC
  66. # Database password
  67. password: walrus
  68. # Database driver URL
  69. # {DIR} will be replaced with the plugin directory
  70. # {NAME} will be replaced wit the plugin name
  71. url: jdbc:sqlite:{DIR}{NAME}.db
  72.  
  73. # A list of all conditions you configured
  74. # You can add your own conditions yourself
  75. # For more detailed info see the plugin page
  76. conditions:
  77. Menu:
  78. condition: '"{worldguard_region_id}" == "menu"'
  79. checkinterval: 5
  80. revoke: true
  81. allplayers: false
  82. commands-on-grant:
  83. - 'dm open menu {player}'
  84. commands-on-revoke:
  85. - ''
  86. Menu1:
  87. condition: '"{worldguard_region_id}" == "vote"'
  88. checkinterval: 5
  89. revoke: true
  90. allplayers: false
  91. commands-on-grant:
  92. - 'dm open Server {player}'
  93. commands-on-revoke:
  94. - ''
  95. C1:
  96. condition: '"{worldguard_region_id}" == "Commissary1"'
  97. checkinterval: 5
  98. revoke: true
  99. allplayers: false
  100. commands-on-grant:
  101. - 'tp {player} -102 105 249'
  102. commands-on-revoke:
  103. - ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement