61 lines
16 KiB
MCFunction
61 lines
16 KiB
MCFunction
tag @s add fzsd.admin
|
||
|
||
tellraw @s {"text": "管理员页面:", "color": "red"}
|
||
|
||
|
||
tellraw @s [{"text": "数据包:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/reload"}, "hover_event": {"action": "show_text", "value": {"text": "重载", "color": "yellow"}}}, {"text": "重载", "color": "yellow"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:install"}, "hover_event": {"action": "show_text", "value": [{"text": "安装:", "color": "dark_green"}, {"text": "仅安装上次卸载前已安装的模块", "color": "red"}]}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:uninstall"}, "hover_event": {"action": "show_text", "value": [{"text": "卸载:", "color": "dark_red"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:reinstall"}, "hover_event": {"action": "show_text", "value": [{"text": "重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "重装", "color": "gold"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:deep_install"}, "hover_event": {"action": "show_text", "value": [{"text": "深度安装:", "color": "dark_green"}, {"text": "将安装所有模块", "color": "red"}]}}, {"text": "深度安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:deep_uninstall"}, "hover_event": {"action": "show_text", "value": [{"text": "深度卸载:", "color": "dark_red"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:deep_reinstall"}, "hover_event": {"action": "show_text", "value": [{"text": "深度重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度重装", "color": "gold"}, {"text": "]"}]]]
|
||
|
||
tellraw @s [{"text": "假人前缀:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/fake_player_prefix/on"}, "hover_event": {"action": "show_text", "value": {"text": "启用假人前缀", "color": "green"}}}, {"text": "启用", "color": "green"}, {"text": "]"}],[{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/fake_player_prefix/off"}, "hover_event": {"action": "show_text", "value": {"text": "禁用假人前缀", "color": "dark_red"}}}, {"text": "禁用", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
tellraw @s [{"text": "日志等级:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function fzsd:logger/level/fine"}, "hover_event": {"action": "show_text", "value": {"text": "详细", "color": "gray"}}}, {"text": "详细", "color": "gray"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function fzsd:logger/level/debug"}, "hover_event": {"action": "show_text", "value": {"text": "调试", "color": "dark_aqua"}}}, {"text": "调试", "color": "dark_aqua"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function fzsd:logger/level/info"}, "hover_event": {"action": "show_text", "value": {"text": "信息", "color": "green"}}}, {"text": "信息", "color": "green"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "血量显示:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/health/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/health/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
tellraw @s [{"text": "- 名牌下方:", "color": "gray"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/health/below_name/on"}, "hover_event": {"action": "show_text", "value": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/health/below_name/off"}, "hover_event": {"action": "show_text", "value": {"text": "隐藏", "color": "dark_red"}}}, {"text": "隐藏", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
tellraw @s [{"text": "- 玩家列表内:", "color": "gray"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/health/list/on"}, "hover_event": {"action": "show_text", "value": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function admin.fzsd:module/health/list/off"}, "hover_event": {"action": "show_text", "value": {"text": "隐藏", "color": "dark_red"}}}, {"text": "隐藏", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "交互器:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/interactor/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/interactor/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "登录消息:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/join_message/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/join_message/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "玩家位置:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/here/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/here/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm here set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm here"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "上一死亡点:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_death/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_death/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm last_death set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm last_death"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "上次穿出的下界传送门:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_nether_portal/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_nether_portal/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm last_nether_portal set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm last_nether_portal"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "上一出生点:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_spawn_point/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/last_spawn_point/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm last_spawn_point set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm last_spawn_point"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "计分板:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/scoreboard/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/scoreboard/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm scoreboard set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm scoreboard"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "扫地机:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/sweeper/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/sweeper/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm sweeper set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm sweeper"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s [{"text": "幻翼预警:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/phantom_warning/install"}, "hover_event": {"action": "show_text", "value": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/function #fzsd:module/phantom_warning/uninstall"}, "hover_event": {"action": "show_text", "value": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]]
|
||
## [权限管理]
|
||
tellraw @s ["- 权限:",[{"text": "", "color": "dark_gray"}, [{"text": "[", "click_event": {"action": "run_command", "command": "/data modify storage fzsd:perm phantom_warning set value 1"}, "hover_event": {"action": "show_text", "value": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "click_event": {"action": "run_command", "command": "/data remove storage fzsd:perm phantom_warning"}, "hover_event": {"action": "show_text", "value": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"text": "]"}]]]
|
||
|
||
|
||
tellraw @s {"text": "已为您添加管理员标签“fzsd.admin”,使用“/tag <player> add fzsd.admin”为其他人添加“仅管理员”功能的使用权限", "color": "white"} |