mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2024-12-23 05:18:47 +00:00
配置说明
This commit is contained in:
parent
a2dc898934
commit
b6c73470a4
21
config/config.yml
Normal file
21
config/config.yml
Normal file
@ -0,0 +1,21 @@
|
||||
# 插件提示前缀.
|
||||
pluginPrefix: '&4[&b限时权限&4]'
|
||||
# 是否开启DEBUG模式.
|
||||
debug: false
|
||||
# 是否同意插件统计信息.
|
||||
metrics: true
|
||||
# 语言文件名称 在'lang'文件夹内.
|
||||
lang: zh-cn
|
||||
# 数据库相关.
|
||||
mysql:
|
||||
# 是否使用MySQL数据库.
|
||||
enable: false
|
||||
# 服务器唯一标识, 用来区分权限是哪个服务器的.
|
||||
serverId: default
|
||||
hostname: localhost
|
||||
port: 3306
|
||||
database: minecraft
|
||||
username: user
|
||||
password: '123456'
|
||||
# 数据库表前缀
|
||||
tablePrefix: pt_
|
35
config/packages.yml
Normal file
35
config/packages.yml
Normal file
@ -0,0 +1,35 @@
|
||||
# 配置文件版本.
|
||||
# Config version.
|
||||
version: 1.00
|
||||
# 默认权限组.
|
||||
# Default permission group.
|
||||
defaultGroup: Default
|
||||
packages:
|
||||
# 权限包名称.
|
||||
# Permission package name.
|
||||
example1:
|
||||
# 权限包显示名称.
|
||||
# Permission package display name.
|
||||
displayName: '&4Test Package'
|
||||
# 显示的物品类型.
|
||||
# Show the type of item.
|
||||
type: NETHER_STAR
|
||||
# 标签.
|
||||
# Lores.
|
||||
lores:
|
||||
- '&2This is a test lore.'
|
||||
# 是否跨服权限?
|
||||
# Is multiple server permission?
|
||||
global: false
|
||||
# 权限包含有的权限 world1、world2、world3是赋值给玩家permission2权限的世界.
|
||||
# 如果所有世界都赋值权限则不用注明世界名称如:permission1.
|
||||
# Package contain permissions.
|
||||
# Add ':world1' at the end can restrict permissions used in 'world1'.
|
||||
permissions:
|
||||
- permission1
|
||||
- permission2:world1:world2:world3
|
||||
# 权限包含有的权限组.
|
||||
# Package contain groups.
|
||||
groups:
|
||||
- group1
|
||||
- group2:world1
|
@ -1,33 +1,35 @@
|
||||
# 配置文件版本.
|
||||
# Config version.
|
||||
version: 1.00
|
||||
# 默认权限组
|
||||
# Default permission group
|
||||
# 默认权限组.
|
||||
# Default permission group.
|
||||
defaultGroup: Default
|
||||
packages:
|
||||
# 权限包名称
|
||||
# Permission package name
|
||||
# 权限包名称.
|
||||
# Permission package name.
|
||||
example1:
|
||||
# 权限包显示名称
|
||||
# Permission package display name
|
||||
# 权限包显示名称.
|
||||
# Permission package display name.
|
||||
displayName: '&4Test Package'
|
||||
# 显示的物品类型
|
||||
# Show the type of item
|
||||
# 显示的物品类型.
|
||||
# Show the type of item.
|
||||
type: NETHER_STAR
|
||||
# 标签
|
||||
# Lores
|
||||
# 标签.
|
||||
# Lores.
|
||||
lores:
|
||||
- '&2This is a test lore.'
|
||||
# 是否跨服权限
|
||||
# 是否跨服权限?
|
||||
# Is multiple server permission?
|
||||
global: false
|
||||
# 权限包含有的权限 world1、world2、world3是赋值给玩家permission2权限的世界
|
||||
# 如果所有世界都赋值权限则不用注明世界名称如:permission1
|
||||
# Package contain permissions
|
||||
# Add ':world1' at the end can restrict permissions used in 'world1'
|
||||
# 权限包含有的权限 world1、world2、world3是赋值给玩家permission2权限的世界.
|
||||
# 如果所有世界都赋值权限则不用注明世界名称如:permission1.
|
||||
# Package contain permissions.
|
||||
# Add ':world1' at the end can restrict permissions used in 'world1'.
|
||||
permissions:
|
||||
- permission1
|
||||
- permission2:world1:world2:world3
|
||||
# 权限包含有的权限组
|
||||
# Package contain groups
|
||||
# 权限包含有的权限组.
|
||||
# Package contain groups.
|
||||
groups:
|
||||
- group1
|
||||
- group2:world1
|
||||
|
Loading…
Reference in New Issue
Block a user