2016-08-20 01:21:16 +08:00
|
|
|
##############################################################################
|
|
|
|
# +------------------------------------------------------------------------+ #
|
|
|
|
# | LuckPerms Configuration | #
|
|
|
|
# | https://github.com/lucko/LuckPerms | #
|
|
|
|
# +------------------------------------------------------------------------+ #
|
|
|
|
##############################################################################
|
2016-08-05 18:58:27 +08:00
|
|
|
|
|
|
|
# The name of the server, used for server specific permissions. Set to 'global' to disable.
|
|
|
|
server="global"
|
|
|
|
|
2016-09-18 02:05:56 +08:00
|
|
|
# If users on this server should have their global permissions applied.
|
|
|
|
# If set to false, only server specific permissions will apply for users on this server
|
2016-08-05 18:58:27 +08:00
|
|
|
include-global=true
|
|
|
|
|
2016-09-18 02:05:56 +08:00
|
|
|
# If users on this server should have their global world permissions applied.
|
|
|
|
# If set to false, only world specific permissions will apply for users on this server
|
|
|
|
include-global-world=true
|
|
|
|
|
|
|
|
# If users on this server should have global (non-server specific) groups applied
|
|
|
|
apply-global-groups=true
|
|
|
|
|
|
|
|
# If users on this server should have global (non-world specific) groups applied
|
|
|
|
apply-global-world-groups=true
|
|
|
|
|
2016-08-05 18:58:27 +08:00
|
|
|
# If this server is in offline or online mode.
|
|
|
|
# This setting allows a player to have the same UUID across a network of offline mode/mixed servers.
|
|
|
|
|
|
|
|
# You should generally reflect the setting in server.properties here. Except when...
|
|
|
|
|
|
|
|
# 1. You have Spigot servers connected to a BungeeCord proxy, with online-mode set to false, but 'bungeecord' set to
|
|
|
|
# true in the spigot.yml AND 'ip-forward' set to true in the BungeeCord config.yml
|
|
|
|
# In this case, set online-mode in LuckPerms to true, despite the server being in offline mode.
|
|
|
|
|
|
|
|
# 2. You are only running one server instance using LuckPerms, (not a network) In this case, set online-mode to true no
|
|
|
|
# matter what is set in server.properties. (we can just fallback to the servers uuid cache)
|
|
|
|
online-mode=true
|
|
|
|
|
2016-08-07 07:16:05 +08:00
|
|
|
# If the plugin should apply wildcard permissions.
|
|
|
|
# If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching
|
2016-09-17 05:09:55 +08:00
|
|
|
# the wildcard.
|
2016-08-07 07:16:05 +08:00
|
|
|
apply-wildcards=true
|
|
|
|
|
2016-08-09 17:09:45 +08:00
|
|
|
# If the plugin should parse regex permissions.
|
|
|
|
# If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the node, and resolve &
|
2016-09-20 04:00:23 +08:00
|
|
|
# apply all registered permissions matching the regex.
|
2016-08-09 17:09:45 +08:00
|
|
|
apply-regex=true
|
|
|
|
|
|
|
|
# If the plugin should complete and apply shorthand permissions.
|
|
|
|
# If set to true, LuckPerms will detect and expand shorthand node patterns.
|
|
|
|
apply-shorthand=true
|
|
|
|
|
2016-09-15 02:37:20 +08:00
|
|
|
# If LuckPerms should print to console every time a plugin checks if a player has a permission
|
|
|
|
debug-permission-checks=false
|
|
|
|
|
2016-08-30 23:02:01 +08:00
|
|
|
# If the plugin should send log notifications to users whenever permissions are modified.
|
|
|
|
log-notify=true
|
|
|
|
|
2016-09-24 01:58:19 +08:00
|
|
|
# Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in this list, the value assigned
|
|
|
|
# will be sent forward for permission calculation instead.
|
|
|
|
world-rewrite: {
|
|
|
|
#world_nether="world"
|
|
|
|
#world_the_end="world"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Rewrites group names. The underlying name of the group does not change, just the output in commands / placeholders / Vault.
|
|
|
|
group-name-rewrite: {
|
|
|
|
#default: "Member"
|
|
|
|
}
|
|
|
|
|
2016-08-05 18:58:27 +08:00
|
|
|
# Which storage method the plugin should use.
|
2016-09-03 02:15:31 +08:00
|
|
|
# Currently supported: mysql, sqlite, h2, json, yaml, mongodb
|
2016-08-20 01:21:16 +08:00
|
|
|
# Fill out connection info below if you're using MySQL or MongoDB
|
|
|
|
storage-method="h2"
|
2016-08-05 18:58:27 +08:00
|
|
|
|
2016-08-31 16:30:19 +08:00
|
|
|
# This block enables support for split datastores.
|
|
|
|
split-storage: {
|
|
|
|
enabled=false
|
|
|
|
methods: {
|
|
|
|
user="h2"
|
|
|
|
group="h2"
|
|
|
|
track="h2"
|
|
|
|
uuid="h2"
|
|
|
|
log="h2"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-20 01:21:16 +08:00
|
|
|
data: {
|
2016-08-05 18:58:27 +08:00
|
|
|
address="localhost:3306"
|
|
|
|
database="minecraft"
|
|
|
|
username="root"
|
|
|
|
password=""
|
2016-08-20 01:21:16 +08:00
|
|
|
|
|
|
|
# Set to -1 to disable. If this is the only instance accessing the datastore, you can disable syncing.
|
|
|
|
# e.g. if you're using sqlite or flatfile, this can be set to -1 to save resources.
|
2016-08-05 18:58:27 +08:00
|
|
|
sync-minutes=3
|
|
|
|
}
|