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: true
- ## 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
- # Config cache only
- # This will only use placeholders in the config
- # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
- # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
- config-cache: false
- # 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:
- magnata:
- condition: '"{playername}" == "{leaderheads_score:balance#1}"'
- checkinterval: 120
- revoke: true
- cooldown: 200
- permissions:
- - 'deluxetags.tag.magnata'
- viciado:
- condition: '{stat_hours_played} >= 200'
- checkinterval: 120
- revoke: false
- permissions:
- - 'deluxetags.tag.viciado'
- minerador:
- condition: '{stat_blocksmined_diamond_ore} >= 500'
- checkinterval: 120
- revoke: false
- permissions:
- - 'deluxetags.tag.minerador'
- assasino:
- condition: '{stat_pkills} >= 500'
- checkinterval: 120
- revoke: false
- permissions:
- - 'deluxetags.tag.assassino'
- andarilho:
- condition: '{spawndistance} >= 100000'
- checkinterval: 120
- revoke: false
- permissions:
- - 'deluxetags.tag.andarilho'
- escrivao:
- condition: '{stat_itemsused_book_and_quill} >= 100'
- checkinterval: 600
- revoke: false
- permissions:
- - 'deluxetags.tag.escrivao'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement