feat: code
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
proxy:
|
||||
use_velocity: false
|
||||
|
||||
server:
|
||||
# Only for bind commands
|
||||
# Only for `bind server` commands
|
||||
serverName: ""
|
||||
description: "A minecraft server"
|
||||
|
||||
# Only for bind commands
|
||||
# Only for `bind server` commands
|
||||
bind:
|
||||
address: ""
|
||||
port: 0
|
||||
token: "get token from `mineroo.online/resources/servers` page!"
|
||||
|
||||
player:
|
||||
players:
|
||||
# for player bind
|
||||
bind:
|
||||
# Only bound player can enter this server
|
||||
# > server will kick all mineroo unknown player
|
||||
|
||||
@@ -5,3 +5,5 @@ dialog.bind.player.confirm = <green>确认</green>
|
||||
dialog.bind.player.cancel = <red>取消</red>
|
||||
|
||||
message.bind.player.success = 请前往 Mineroo 个人中心完成验证。
|
||||
|
||||
message.reload.success = <green>插件配置文件重载成功!</green>
|
||||
|
||||
@@ -1,6 +1,27 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/paper-plugin.json
|
||||
name: MinerooCore
|
||||
main: online.mineroo.paper.MinerooCore
|
||||
version: 1.0.0
|
||||
author: YuKun Liu
|
||||
website: https://mineroo.online
|
||||
description: Mineroo Base Plugin
|
||||
api-version: "1.21.10"
|
||||
permissions:
|
||||
mineroo.admin.reload:
|
||||
description: "Reload plugin config files."
|
||||
default: op
|
||||
|
||||
mineroo.admin.bind.server:
|
||||
description: Bind the server instance
|
||||
default: op
|
||||
|
||||
mineroo.user.bind.player:
|
||||
description: Bind user account
|
||||
default: "true"
|
||||
|
||||
mineroo.admin:
|
||||
description: Grant all administrative permissions
|
||||
default: op
|
||||
children:
|
||||
mineroo.admin.reload: true
|
||||
mineroo.admin.bind.server: true
|
||||
|
||||
Reference in New Issue
Block a user