Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ------------------------------ #
- #
- # ConditionPerms
- # (c) Maxim Van de Wynckel
- #
- # ------------------------------ #
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # GENERAL PLUGIN SETTINGS
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- ## Config version (DO NOT EDIT)
- config: 1
- ## Language file
- lang: 'en'
- ## Debug mode
- debug: false
- ## Log to file
- log:
- enabled: true
- # Reset log on startup
- reset: false
- ## Update checking
- update:
- check: true # RECOMMENDED YOU LEAVE THIS TRUE
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # PLUGIN SPECIFIC SETTINGS
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- # Placeholder settings
- placeholder:
- # logs the memory usage of placeholders on startup
- log-memory: false
- # Clear unused placeholders that are not enabled.
- clear-unused: true
- # Condition engine
- # This is the engine that will be used to evaluate the conditions
- # Only edit when you know what you are doing!
- engine: 'javascript'
- # Configure the database. This database is used to keep track
- # of the players that have been granted the condition permissions
- # already.
- #
- # Default it is set up for SQLite. MySQL support
- # is possible but for this use case not recommended.
- #
- # NOTE: The databases are not convertible
- database:
- # Database name
- database: "conditionperms"
- # Database username
- username: bukkit
- # Database isolation type
- isolation: SERIALIZABLE
- # Database driver
- driver: org.sqlite.JDBC
- # Database password
- password: walrus
- # Database driver URL
- # {DIR} will be replaced with the plugin directory
- # {NAME} will be replaced wit the plugin name
- url: jdbc:sqlite:{DIR}{NAME}.db
- # A list of all conditions you configured
- # You can add your own conditions yourself
- # For more detailed info see the plugin page
- conditions:
- Menu:
- condition: '"{worldguard_region_id}" == "menu"'
- checkinterval: 5
- revoke: true
- allplayers: false
- commands-on-grant:
- - 'dm open menu {player}'
- commands-on-revoke:
- - ''
- Menu1:
- condition: '"{worldguard_region_id}" == "vote"'
- checkinterval: 5
- revoke: true
- allplayers: false
- commands-on-grant:
- - 'dm open Server {player}'
- commands-on-revoke:
- - ''
- C1:
- condition: '"{worldguard_region_id}" == "Commissary1"'
- checkinterval: 5
- revoke: true
- allplayers: false
- commands-on-grant:
- - 'tp {player} -102 105 249'
- commands-on-revoke:
- - ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement