Skip to content

Commit b2ffffe

Browse files
committed
Permission registry and zh_cn lang for EssentialCommands
1 parent dfcb8dc commit b2ffffe

File tree

2 files changed

+61
-17
lines changed

2 files changed

+61
-17
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
unsafe-teleport-spot: <ec>未能找到一个安全的传送地点.
2+
teleporting-player: <tc>正在传送 <tdc><player></tdc>...
3+
client-locale:
4+
message: <pdc><player><pc> 的客户端语言为 <sdc><locale>
5+
dimension-travel:
6+
unsupported-the-end: <ec>不能在末地进行维度切换.
7+
heal:
8+
healed-self: <pc>你已被治愈.
9+
healed-player: <pc>已治愈 <pdc><player></pc>.
10+
ip:
11+
message: <pdc><player><pc> 的IP地址为 <sdc><address>
12+
ip-group:
13+
no-same-ip: <pc>没有具有相同IP地址的玩家.
14+
entry: '<tdc><address><tc>: <players>'
15+
player-prefix: <sdc>
16+
player-separator: <pc>, <sdc>
17+
ping:
18+
message: <pdc><player><pc> 的网络延迟为 <sdc><ping><sc>ms
19+
player-chunk-tickets:
20+
gen-rate-top:
21+
no-data: <pc>目前没有区块生成请求.
22+
header: '<pdc>[玩家]<pc>: <sc>[区块生成请求/秒]'
23+
entry: '<tdc><player><tc>: <sdc><rate>'
24+
load-rate-top:
25+
no-data: <pc>目前没有区块加载请求.
26+
header: '<pdc>[玩家]<pc>: <sc>[区块加载请求/秒]'
27+
entry: '<tdc><player><tc>: <sdc><rate>'
28+
suicide:
29+
placeholders:
30+
suicided: (自杀了)
31+
confirm-button: <edc><hover:show_text:'<ec>再见了...'>[确认]
32+
confirm-suicide: <ec>你确定要自杀吗? 背包内所有物品都将掉落! <confirm>

bukkit/src/main/resources/plugin.yml

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ softdepend:
1313
- PlugManX
1414

1515
permissions:
16+
'esu.essentialCommands.player':
17+
default: true
18+
children:
19+
'esu.essentialCommands.suicide.command': true
20+
21+
'esu.esuChat.chat.shout':
22+
default: true
23+
24+
1625
'esu.antiCommandSpam.admin':
1726
default: op
1827
children:
@@ -24,8 +33,25 @@ permissions:
2433
'esu.chatAntiSpam.bypass': true
2534
'esu.chatAntiSpam.notify': true
2635

27-
'esu.esuChat.chat.shout':
28-
default: true
36+
'esu.essentialCommands.admin':
37+
default: op
38+
children:
39+
'esu.essentialCommands.clientLocale.command': true
40+
'esu.essentialCommands.dimensionTravel.command': true
41+
'esu.essentialCommands.dimensionTravel.command.others': true
42+
'esu.essentialCommands.heal.command': true
43+
'esu.essentialCommands.heal.command.others': true
44+
'esu.essentialCommands.ip.command': true
45+
'esu.essentialCommands.ipGroup.command': true
46+
'esu.essentialCommands.ping.command': true
47+
'esu.essentialCommands.playerChunkTickets.command.genRateTop': true
48+
'esu.essentialCommands.playerChunkTickets.command.loadRateTop': true
49+
'esu.essentialCommands.playerChunkTickets.command.tickDistance': true
50+
'esu.essentialCommands.playerChunkTickets.command.viewDistance': true
51+
'esu.essentialCommands.playerChunkTickets.command.sendDistance': true
52+
'esu.essentialCommands.tpChunk.command': true
53+
'esu.essentialCommands.tpChunk.command.others': true
54+
2955
'esu.esuChat.admin':
3056
default: op
3157
children:
@@ -42,18 +68,4 @@ permissions:
4268
'esu.news.admin':
4369
default: op
4470
children:
45-
'esu.news.command.editor': true
46-
47-
'esu.essentialCommands.admin':
48-
default: op
49-
children:
50-
'esu.utilCommands.command.ping': true
51-
'esu.utilCommands.command.clientLocale': true
52-
'esu.utilCommands.command.ip': true
53-
'esu.utilCommands.command.ipGroup': true
54-
'esu.utilCommands.command.tpChunk': true
55-
'esu.utilCommands.command.genRateTop': true
56-
'esu.utilCommands.command.loadRateTop': true
57-
'esu.utilCommands.command.tickDistance': true
58-
'esu.utilCommands.command.viewDistance': true
59-
'esu.utilCommands.command.sendDistance': true
71+
'esu.news.command.editor': true

0 commit comments

Comments
 (0)