feat: add paper plugin
This commit is contained in:
23
paper/src/main/resources/config.yml
Normal file
23
paper/src/main/resources/config.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
server:
|
||||
# Only for bind commands
|
||||
serverName: ""
|
||||
description: "A minecraft server"
|
||||
|
||||
# Only for bind commands
|
||||
bind:
|
||||
address: ""
|
||||
port: 0
|
||||
token: "get token from `mineroo.online/resources/servers` page!"
|
||||
|
||||
player:
|
||||
bind:
|
||||
# Only bound player can enter this server
|
||||
# > server will kick all mineroo unknown player
|
||||
required: false
|
||||
|
||||
# Share player information on mineroo
|
||||
#
|
||||
# !WARNING
|
||||
# > when you open this, player's info can be display on mineroo server status page.
|
||||
# > unless the player already turn on the stealth or private mode.
|
||||
share_player_info: true,
|
||||
7
paper/src/main/resources/i18n/messages.properties
Normal file
7
paper/src/main/resources/i18n/messages.properties
Normal file
@@ -0,0 +1,7 @@
|
||||
dialog.bind.player.title = <green>绑定您的 Mineroo.Online 账户</green>
|
||||
dialog.bind.player.content = <aqua>绑定 Mineroo Online 账号以解锁更多实用功能</aqua>
|
||||
dialog.bind.player.email = <aqua>Mineroo 账户邮箱</aqua>
|
||||
dialog.bind.player.confirm = <green>确认</green>
|
||||
dialog.bind.player.cancel = <red>取消</red>
|
||||
|
||||
message.bind.player.success = 请前往 Mineroo 个人中心完成验证。
|
||||
6
paper/src/main/resources/plugin.yml
Normal file
6
paper/src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
name: MinerooCore
|
||||
main: online.mineroo.paper.MinerooCore
|
||||
version: 1.0.0
|
||||
author: YuKun Liu
|
||||
description: Mineroo Base Plugin
|
||||
api-version: "1.21.10"
|
||||
Reference in New Issue
Block a user