1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2024-11-22 07:28:47 +00:00

更新配置文件

This commit is contained in:
GeekFrog 2018-06-17 00:30:32 +08:00
parent d236296e69
commit adcb919b32
3 changed files with 115 additions and 1 deletions

View File

@ -7,6 +7,9 @@ debug: false
# 是否同意插件上传统计信息. # 是否同意插件上传统计信息.
# Whether or not you agree with the plugin to upload statistics. # Whether or not you agree with the plugin to upload statistics.
metrics: true metrics: true
# 开启称号系统.
# Use prefix system.
tagSystem: false
# 语言文件名称 在'lang'文件夹内. # 语言文件名称 在'lang'文件夹内.
# Language file name. # Language file name.
lang: en lang: en
@ -14,9 +17,10 @@ lang: en
# Database settings. # Database settings.
mysql: mysql:
# 是否使用MySQL数据库. # 是否使用MySQL数据库.
# Whether to use the MySQL database. # Use the MySQL database?
enable: false enable: false
# 服务器唯一标识, 用来区分权限是哪个服务器的. # 服务器唯一标识, 用来区分权限是哪个服务器的.
# 想要权限跨服,serverId必须一致.
# Server ID. # Server ID.
serverId: default serverId: default
hostname: localhost hostname: localhost

57
config/plugin.yml Normal file
View File

@ -0,0 +1,57 @@
name: PermissionsTime
version: 0.4.0-SNAPSHOT
main: gg.frog.mc.permissionstime.PluginMain
author: GeekFrog
softdepend:
- SQLibrary
- Vault
- PlaceholderAPI
commands:
permissionstime:
description: Show all commands.
usage: /permissionstime [param]
pt:
description: Aliases commands for permissionstime.
usage: /pt [param]
permissions:
permissionstime.*:
description: Gives access to all PermissionsTime commands.
default: op
children:
permissionstime.me: true
permissionstime.tag: true
permissionstime.reload: true
permissionstime.give: true
permissionstime.set: true
permissionstime.get: true
permissionstime.remove: true
permissionstime.removeall: true
permissionstime.packages: true
permissionstime.me:
description: View your packages.
default: true
permissionstime.tag:
description: View your color/prefix/suffix tags.
default: true
permissionstime.reload:
description: Reloads the config file.
default: op
permissionstime.give:
description: Give player package some time.
default: op
permissionstime.set:
description: Set player package some time.
default: op
permissionstime.get:
description: View player packages.
default: op
permissionstime.remove:
description: Remove player package.
default: op
permissionstime.removeall:
description: Remove player all package.
default: op
permissionstime.packages:
description: View packages.
default: op

53
config/tagNames.yml Normal file
View File

@ -0,0 +1,53 @@
# 默认昵称样式.
# Default Name Color.
defaultNamecolor: '&6'
# 默认前缀.
# Default Prefix.
defaultPrefix: ''
# 默认后缀.
# Default Suffix.
defaultSuffix: ''
packages:
# 称号包名称.
# Tag package name.
example1:
# 称号包描述,可以填写如何获得这些称号.
# Tag package describes. You can type how to get these tag.
description: '&4Tag package description.'
# 称号包所需权限. 不需要权限请留空,输入 ''
# Tag package needs permission. Keep null to make no permission.
permissions: ''
# 称号包所含的昵称样式.
# Name Colors.
namecolor:
- '&3'
- '&4:SKULL_ITEM:5'
- '&5:SKULL_ITEM:MHF_Present1'
# 称号包所含的昵称前缀.
# Name prefix.
prefix:
- '&3[prefix]'
- '&4[prefix]:1'
# 称号包所含的昵称后缀.
# Name suffix.
suffix:
- '&3[suffix]'
- '&4[suffix]:1:6'
vip:
description: '&4VIP Tags.'
permissions: 'player.vip'
namecolor:
- '&3&l'
- '&4&n:SKULL_ITEM:5'
- '&5&o:SKULL_ITEM:MHF_Present1'
# 称号包所含的昵称前缀.
# Name prefix.
prefix:
- '&3&l[prefix]'
- '&4&n[prefix]:1'
# 称号包所含的昵称后缀.
# Name suffix.
suffix:
- '&3&o[suffix]'
- '&4&l&n[suffix]:1:6'