Skip to content

Commit

Permalink
更新一坨
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuanOwO committed Feb 12, 2024
1 parent cb60451 commit e081b71
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docs/小镇系统.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,49 @@ sidebar_position: 4
* 银行物品存储权限
* 银行更多格子存储权限
以及其它未上线的隐藏福利...或许可能是稀有度UPUP的物品?(在做了在做了)

# 申请界面可以自定义的部分
注意,没有注释的代表不可以自定义信息,或者是没有必要,不懂的请询问管理员
```yaml
menu_title: '&c加入御坂鎮'(可自定义 打开菜单GUI界面最上方的一行字)
size: 9 #菜单GUI界面大小
open_requirement: #打开的必须权限
requirements:
permission:
type: has permission
permission: ybz.open
deny_commands:
- '[message] 暂时无权限打开菜单' #无权限返回
#open_commands:
#- '[console] tm message %player_name% 菜单正在载入中请稍等. \n&6发送/h /c /menu都能直接打开菜单'
#- '[message] &e · 菜单正在载入中, 请稍等. 此外发送/h /c /menu都能直接打开菜单'
items:
'Dirt':
material: paper #在菜单中显示什么方块(可自定义 默认为纸)
data: 0
amount: 1
slot: 0
priority: 0
display_name: '&e&l點我加入御坂鎮喵' #将鼠标指针移动至物品上的显示名称(可自定义)
lore:
- '&e謝謝dalao的支持喵' #将鼠标指针移动至物品上的lore(可自定义,这部分取决于问卷中''给萌新的寄语'')
- '&e手续费200金币'#默认200金币 不可更改
left_click_requirement:
requirements:
requirements:
one:
type: javascript
expression: '%xconomy_balance_value% >=200'
deny_commands:
- '[message] &4&l[ ! ] &8没有足够的金币'
- '[sound] BLOCK_COMPOSTER_FILL_SUCCESS'
- '[close]'
left_click_commands: #鼠标左键执行指令
- '[console] economy take %player_name% 200' #扣除金币
- '[console]cmi titlemsg %player_name% &b歡迎新dalao!' #发送title信息(可自定义)
- '[minimessage]<b><aqua>欢迎dalao加入御坂镇喵!酷炫又摸鱼的小镇就是此镇,欸嘿</aqua></b>' #发送游戏内类似私聊的消息 但MiniMessage语法 预览见此(可自定义) https://webui.advntr.dev/
- '[console]lp user %player_name% parent set ybz'
- '[close]'
right_click_commands:
- '[connect]act2' #无意义的鼠标右键执行命令,默认跟鼠标左键执行命令相同
```

0 comments on commit e081b71

Please sign in to comment.