Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 00605db971 | |||
| e7ca60250d | |||
| 766a6e0b54 | |||
| 8508d869e2 | |||
| 52075ad98b | |||
| 2233b3b95d | |||
| 0241f6e5f0 |
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
#### 按钮操作
|
#### 按钮操作
|
||||||
|
|
||||||
1. 定义一个显示按钮时执行的函数,使用形如`tellraw @s {"text": "[按钮]", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set <触发器分数>"}}`的指令定义按钮。
|
1. 定义一个显示按钮时执行的函数,使用形如`tellraw @s {"text": "[按钮]", "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set <触发器分数>"}}`的指令定义按钮。
|
||||||
- *触发器分数为正数会重新向玩家发送交互按钮,如不想重新发送,请使用负数*
|
- *触发器分数为正数会重新向玩家发送交互按钮,如不想重新发送,请使用负数*
|
||||||
- 大多数情况下这里的触发器分数必须是独一无二的
|
- 大多数情况下这里的触发器分数必须是独一无二的
|
||||||
- 建议使用`>10000`的随机数作为自定义按钮的触发器分数
|
- 建议使用`>10000`的随机数作为自定义按钮的触发器分数
|
||||||
|
|||||||
@@ -2,13 +2,7 @@
|
|||||||
|
|
||||||
为FZ服务器写的Minecraft生存辅助数据包
|
为FZ服务器写的Minecraft生存辅助数据包
|
||||||
|
|
||||||
<<<<<<< HEAD
|
> [下载](https://gitee.com/harvey-husky/FZ-sDatapack/releases)
|
||||||
[](https://gitee.com/harvey-husky/FZ-sDatapack/releases) [](https://minecraft.net/)
|
|
||||||
=======
|
|
||||||
[](https://gitee.com/harvey-husky/FZ-sDatapack/releases) [](https://minecraft.net/)
|
|
||||||
>>>>>>> 82b1f0dcddcbfbb46d1ab272ded9c453531be507
|
|
||||||
|
|
||||||
> 其他版本见[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)
|
|
||||||
|
|
||||||
## 安装教程
|
## 安装教程
|
||||||
|
|
||||||
@@ -17,7 +11,7 @@
|
|||||||
- `数据包 v3.0.x` 支持 `Minecraft 1.18.2-1.19.x` (不再维护)
|
- `数据包 v3.0.x` 支持 `Minecraft 1.18.2-1.19.x` (不再维护)
|
||||||
2. 前往[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)下载对应MC版本的数据包
|
2. 前往[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)下载对应MC版本的数据包
|
||||||
3. 将数据包 `zip` 文件放入 `world/datapacks` 中(在客户端位于 `.minecraft/saves/<存档名>/datapacks`)
|
3. 将数据包 `zip` 文件放入 `world/datapacks` 中(在客户端位于 `.minecraft/saves/<存档名>/datapacks`)
|
||||||
4. (可选)下载并安装 [Carpet Mod](https://github.com/gnembon/fabric-carpet/releases)
|
4. (可选)下载并安装 Carpet Mod
|
||||||
5. (可选)从数据包 `zip` 文件的 `scripts` 目录中解压 `.sc` 文件,将其放入 `world/scripts` 中(在客户端位于 `.minecraft/saves/<存档名>/scripts` )
|
5. (可选)从数据包 `zip` 文件的 `scripts` 目录中解压 `.sc` 文件,将其放入 `world/scripts` 中(在客户端位于 `.minecraft/saves/<存档名>/scripts` )
|
||||||
- **注意:如果未正确安装该脚本,数据包会强制禁用 carpet mod 的 `player` 命令以避免假人污染记分板,需要在安装好脚本后手动启用 `player` 命令**
|
- **注意:如果未正确安装该脚本,数据包会强制禁用 carpet mod 的 `player` 命令以避免假人污染记分板,需要在安装好脚本后手动启用 `player` 命令**
|
||||||
6. 执行 `reload` 指令(或重新打开存档;在一些第三方服务端中可能需要改为`/minecraft:reload`)
|
6. 执行 `reload` 指令(或重新打开存档;在一些第三方服务端中可能需要改为`/minecraft:reload`)
|
||||||
@@ -71,7 +65,7 @@
|
|||||||
### 地毯脚本
|
### 地毯脚本
|
||||||
|
|
||||||
- 如果你不知道 Carpet Mod 或 Carpet 脚本,请忽略本节
|
- 如果你不知道 Carpet Mod 或 Carpet 脚本,请忽略本节
|
||||||
- 需要安装 [Carpet Mod](https://github.com/gnembon/fabric-carpet/releases)
|
- 需要安装 Carpet Mod
|
||||||
- 从数据包 `zip` 文件的 `scripts` 目录中解压 `.sc` 文件,将其放入 `world/scripts` 中(在客户端位于 `.minecraft/saves/<存档名>/scripts` )
|
- 从数据包 `zip` 文件的 `scripts` 目录中解压 `.sc` 文件,将其放入 `world/scripts` 中(在客户端位于 `.minecraft/saves/<存档名>/scripts` )
|
||||||
- **注意:如果未正确安装该脚本,数据包会强制禁用 carpet mod 的 `player` 命令以避免假人污染记分板,需要在安装好脚本后手动启用 `player` 命令**
|
- **注意:如果未正确安装该脚本,数据包会强制禁用 carpet mod 的 `player` 命令以避免假人污染记分板,需要在安装好脚本后手动启用 `player` 命令**
|
||||||
- 脚本:
|
- 脚本:
|
||||||
@@ -101,6 +95,7 @@
|
|||||||
### 管理员
|
### 管理员
|
||||||
|
|
||||||
- 使用`/function admin.fzsd:admin`命令管理(安装、卸载等)各模块
|
- 使用`/function admin.fzsd:admin`命令管理(安装、卸载等)各模块
|
||||||
|
- 开启权限限制后,权限tag为``
|
||||||
|
|
||||||
### 其他
|
### 其他
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
execute unless data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay below_name fzsd.module.health
|
|
||||||
execute if data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay below_name
|
|
||||||
execute unless data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list fzsd.module.health
|
|
||||||
execute if data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list
|
|
||||||
|
|
||||||
## 日志
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载组件:玩家血量显示"}]
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_fished": {
|
|
||||||
"trigger": "minecraft:fishing_rod_hooked",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"item": {
|
|
||||||
"items": "#fzsd:raw_fishes"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_fished"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_hurt_entity_with_tools": {
|
|
||||||
"trigger": "minecraft:player_hurt_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"equipment": {
|
|
||||||
"mainhand": {
|
|
||||||
"items": "#fzsd:tools"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_hurt_entity_with_tools"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event/on_placed_block",
|
|
||||||
"criteria": {
|
|
||||||
"on_placed_liquid": {
|
|
||||||
"trigger": "minecraft:placed_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"block": {
|
|
||||||
"blocks": "#fzsd:placed_liquid_ignore"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_placed_block/on_placed_liquid"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event/on_placed_block",
|
|
||||||
"criteria": {
|
|
||||||
"on_placed_solid": {
|
|
||||||
"trigger": "minecraft:placed_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term":
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"block": {
|
|
||||||
"blocks": "#fzsd:placed_liquid_ignore"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_placed_block/on_placed_solid"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_shears_used_on_entity": {
|
|
||||||
"trigger": "minecraft:player_interacted_with_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"entity": {
|
|
||||||
"type": "#fzsd:shearable"
|
|
||||||
},
|
|
||||||
"item": {
|
|
||||||
"items": "#fzsd:tool/shears"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_shears_used_on_entity"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_tools_exclude_axes_used_on_block": {
|
|
||||||
"trigger": "minecraft:item_used_on_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:any_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"items": "#fzsd:tools_exclude_axes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:all_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"items": "#fzsd:tool/axes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"__comment": "斧子剥树皮会触发两次,所以用目标方块限定只触发一次",
|
|
||||||
"block": {
|
|
||||||
"blocks": "#fzsd:stripped_blocks"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_tools_used_on_block"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,101 +0,0 @@
|
|||||||
{
|
|
||||||
"condition": "minecraft:any_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:minecart\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:hopper_minecart\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:chest_minecart\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:furnace_minecart\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:oak_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:birch_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:acacia_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:cherry_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:jungle_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:spruce_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "item",
|
|
||||||
"nbt": "{Item:{id:\"minecraft:bamboo_raft\"}}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"minecraft:stripped_acacia_log",
|
|
||||||
"minecraft:stripped_acacia_wood",
|
|
||||||
"minecraft:stripped_birch_log",
|
|
||||||
"minecraft:stripped_birch_wood",
|
|
||||||
"minecraft:stripped_crimson_hyphae",
|
|
||||||
"minecraft:stripped_crimson_stem",
|
|
||||||
"minecraft:stripped_dark_oak_log",
|
|
||||||
"minecraft:stripped_dark_oak_wood",
|
|
||||||
"minecraft:stripped_jungle_log",
|
|
||||||
"minecraft:stripped_jungle_wood",
|
|
||||||
"minecraft:stripped_oak_log",
|
|
||||||
"minecraft:stripped_oak_wood",
|
|
||||||
"minecraft:stripped_spruce_log",
|
|
||||||
"minecraft:stripped_spruce_wood",
|
|
||||||
"minecraft:stripped_warped_hyphae",
|
|
||||||
"minecraft:stripped_warped_stem",
|
|
||||||
"minecraft:stripped_cherry_log",
|
|
||||||
"minecraft:stripped_cherry_wood",
|
|
||||||
"minecraft:stripped_mangrove_log",
|
|
||||||
"minecraft:stripped_mangrove_wood"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"minecraft:armor_stand",
|
|
||||||
"minecraft:boat",
|
|
||||||
"minecraft:shulker_bullet",
|
|
||||||
"minecraft:item_frame",
|
|
||||||
"minecraft:glow_item_frame",
|
|
||||||
"minecraft:painting",
|
|
||||||
"minecraft:end_crystal"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -3,59 +3,59 @@ tag @s add fzsd.admin
|
|||||||
tellraw @s {"text": "管理员页面:", "color": "red"}
|
tellraw @s {"text": "管理员页面:", "color": "red"}
|
||||||
|
|
||||||
|
|
||||||
tellraw @s [{"text": "数据包:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/reload"}, "hoverEvent": {"action": "show_text", "contents": {"text": "重载", "color": "yellow"}}}, {"text": "重载", "color": "yellow"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "安装:", "color": "dark_green"}, {"text": "仅安装上次卸载前已安装的模块", "color": "red"}]}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "卸载:", "color": "dark_red"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "重装", "color": "gold"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度安装:", "color": "dark_green"}, {"text": "将安装所有模块", "color": "red"}]}}, {"text": "深度安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度卸载:", "color": "dark_red"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"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": "/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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/fake_player_prefix/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "启用假人前缀", "color": "green"}}}, {"text": "启用", "color": "green"}, {"text": "]"}],[{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/fake_player_prefix/off"}, "hoverEvent": {"action": "show_text", "contents": {"text": "禁用假人前缀", "color": "dark_red"}}}, {"text": "禁用", "color": "dark_red"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/fine"}, "hoverEvent": {"action": "show_text", "contents": {"text": "详细", "color": "gray"}}}, {"text": "详细", "color": "gray"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/debug"}, "hoverEvent": {"action": "show_text", "contents": {"text": "调试", "color": "dark_aqua"}}}, {"text": "调试", "color": "dark_aqua"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/info"}, "hoverEvent": {"action": "show_text", "contents": {"text": "信息", "color": "green"}}}, {"text": "信息", "color": "green"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/off"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/off"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm here set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm here"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_death set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_death"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_nether_portal set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_nether_portal"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_spawn_point set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_spawn_point"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm scoreboard set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm scoreboard"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm sweeper set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm sweeper"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm phantom_warning set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm phantom_warning"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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"}
|
tellraw @s {"text": "已为您添加管理员标签“fzsd.admin”,使用“/tag <player> add fzsd.admin”为其他人添加“仅管理员”功能的使用权限", "color": "white"}
|
||||||
@@ -3,59 +3,59 @@ tag @s add fzsd.admin
|
|||||||
tellraw @s {"text": "管理员页面:", "color": "red"}
|
tellraw @s {"text": "管理员页面:", "color": "red"}
|
||||||
|
|
||||||
|
|
||||||
tellraw @s [{"text": "数据包:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/reload"}, "hoverEvent": {"action": "show_text", "contents": {"text": "重载", "color": "yellow"}}}, {"text": "重载", "color": "yellow"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "安装:", "color": "dark_green"}, {"text": "仅安装上次卸载前已安装的模块", "color": "red"}]}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "卸载:", "color": "dark_red"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "重装", "color": "gold"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度安装:", "color": "dark_green"}, {"text": "将安装所有模块", "color": "red"}]}}, {"text": "深度安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度卸载:", "color": "dark_red"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"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": "/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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/fake_player_prefix/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "启用假人前缀", "color": "green"}}}, {"text": "启用", "color": "green"}, {"text": "]"}],[{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/fake_player_prefix/off"}, "hoverEvent": {"action": "show_text", "contents": {"text": "禁用假人前缀", "color": "dark_red"}}}, {"text": "禁用", "color": "dark_red"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/fine"}, "hoverEvent": {"action": "show_text", "contents": {"text": "详细", "color": "gray"}}}, {"text": "详细", "color": "gray"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/debug"}, "hoverEvent": {"action": "show_text", "contents": {"text": "调试", "color": "dark_aqua"}}}, {"text": "调试", "color": "dark_aqua"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/info"}, "hoverEvent": {"action": "show_text", "contents": {"text": "信息", "color": "green"}}}, {"text": "信息", "color": "green"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/off"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/off"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm here set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm here"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_death set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_death"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_nether_portal set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_nether_portal"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm last_spawn_point set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm last_spawn_point"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm scoreboard set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm scoreboard"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm sweeper set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm sweeper"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"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/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": "[", "clickEvent": {"action": "run_command", "value": "/data modify storage fzsd:perm phantom_warning set value 1"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为仅管理员", "color": "white"}}}, {"text": "仅管理员", "color": "white"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/data remove storage fzsd:perm phantom_warning"}, "hoverEvent": {"action": "show_text", "contents": {"text": "设为全体玩家", "color": "white"}}}, {"text": "全体玩家", "color": "white"}, {"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"}
|
tellraw @s {"text": "已为您添加管理员标签“fzsd.admin”,使用“/tag <player> add fzsd.admin”为其他人添加“仅管理员”功能的使用权限", "color": "white"}
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"broke_bedrock": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.extra.bbl": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd.extra.bbl:event/advancement/broke_bedrock"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "aqua"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "aqua"}
|
||||||
scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "aqua"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "aqua"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color aqua
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color aqua
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "black"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "black"}
|
||||||
scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "black"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "black"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color black
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color black
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "blue"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "blue"}
|
||||||
scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "blue"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "blue"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color blue
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color blue
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_aqua"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_aqua"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_aqua"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_aqua"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_aqua
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_aqua
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_blue"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_blue"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_blue"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_blue"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_blue
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_blue
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_gray"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_gray"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_gray"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_gray"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_gray
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_gray
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_green"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_green"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_green"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_green"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_green
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_green
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_purple"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_purple"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_purple"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_purple"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_purple
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_purple
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_red"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "dark_red"}
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_red"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_red"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_red
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_red
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gold"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "gold"}
|
||||||
scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gold"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gold"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gold
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gold
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gray"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "gray"}
|
||||||
scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gray"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gray"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gray
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gray
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "green"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "green"}
|
||||||
scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "green"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "green"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color green
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color green
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "light_purple"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "light_purple"}
|
||||||
scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "light_purple"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "light_purple"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color light_purple
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color light_purple
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "red"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "red"}
|
||||||
scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "red"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "red"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color red
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color red
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "white"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "white"}
|
||||||
scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "white"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "white"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color white
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color white
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
# 见#fzsd.extra.bbl:display/set_text
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "yellow"}'
|
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value {"text": "破基岩榜", "color": "yellow"}
|
||||||
scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count
|
scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "yellow"}
|
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "yellow"}
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color yellow
|
team modify fzsd.module.scoreboard.display.bedrock_broken_count color yellow
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# 见#fzsd:module/scoreboard/interactor/display
|
# 见#fzsd:module/scoreboard/interactor/display
|
||||||
## 当破基岩榜分数不为0时向玩家显示按钮
|
## 当破基岩榜分数不为0时向玩家显示按钮
|
||||||
execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1210"}, "hoverEvent": {"action": "show_text", "contents": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}]
|
execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set -1210"}, "hover_event": {"action": "show_text", "value": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}]
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:event/broke_bedrock
|
|
||||||
## 如果运行时id不存在则注册运行时id
|
|
||||||
execute unless score fzsd.module.scoreboard.display.bedrock_broken_count.id fzsd.variable.integer matches 0.. run function fzsd.extra.bbl:display/register_id
|
|
||||||
scoreboard players operation @s fzsd.module.scoreboard.display.bedrock_broken_count += fzsd.var.score fzsd.variable.integer
|
|
||||||
scoreboard players operation fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:event/broke_bedrock
|
|
||||||
team join fzsd.module.scoreboard.display.bedrock_broken_count 总破基岩数
|
|
||||||
|
|
||||||
scoreboard players operation 总破基岩数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general
|
|
||||||
scoreboard players operation 总破基岩数 fzsd.module.scoreboard.display.bedrock_broken_count = fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/clear_data
|
|
||||||
## 清除数据
|
|
||||||
scoreboard objectives remove fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# 见./try_display
|
|
||||||
## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
|
|
||||||
## 详细
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}]
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/display/carousel/try_display
|
|
||||||
execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.bedrock_broken_count fzsd.variable.integer run function fzsd.extra.bbl:display/carousel/set_display
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/display/register_id
|
|
||||||
#### 如果破基岩榜分数不为0,注册破基岩计分板id
|
|
||||||
execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run function #fzsd:calculation/highest_id_add_1
|
|
||||||
execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run scoreboard players operation fzsd.module.scoreboard.display.id.bedrock_broken_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer
|
|
||||||
|
|
||||||
execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.bedrock_broken_count", "objective": "fzsd.variable.integer"}}]
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "aqua"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "aqua"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color aqua
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "aqua"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "black"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "black"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color black
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "black"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "blue"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "blue"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color blue
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "blue"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_aqua"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_aqua"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_aqua
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_aqua"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_blue"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_blue"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_blue
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_blue"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_gray"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_gray"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_gray
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_gray"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_green"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_green"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_green
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_green"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_purple"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_purple"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_purple
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_purple"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_red"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_red"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_red
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_red"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gold"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gold"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gold
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "gold"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gray"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gray"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color gray
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "gray"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "green"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "green"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color green
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "green"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "light_purple"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "light_purple"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color light_purple
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "light_purple"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "red"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "red"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color red
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "red"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "white"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "white"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color white
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "white"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见#fzsd.extra.bbl:display/set_text
|
|
||||||
|
|
||||||
data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "yellow"}'
|
|
||||||
scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "yellow"}
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count color yellow
|
|
||||||
team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "yellow"}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 见advancements/fzsd.extra.bbl:broke_bedrock
|
|
||||||
## 排除假人并触发事件
|
|
||||||
execute if predicate fzsd:is_real_player run function fzsd.extra.bbl:event/player/broke_bedrock
|
|
||||||
|
|
||||||
## 重置事件
|
|
||||||
scoreboard players set @s fzsd.extra.bbl 0
|
|
||||||
advancement revoke @s only fzsd.extra.bbl:broke_bedrock
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
# 见../advancement/broke_bedrock
|
|
||||||
## 详细
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "破基岩"}]
|
|
||||||
|
|
||||||
scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.extra.bbl
|
|
||||||
function #fzsd.extra.bbl:event/broke_bedrock
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# 应在原模块安装时一并安装模块扩展,见#fzsd:module/scoreboard/install
|
|
||||||
## 同时应在加载时检测是否需要重新安装,见./try_install
|
|
||||||
## 添加底层实现计分板
|
|
||||||
scoreboard objectives add fzsd.extra.bbl dummy
|
|
||||||
## 添加显示计分板
|
|
||||||
scoreboard objectives add fzsd.module.scoreboard.display.bedrock_broken_count dummy
|
|
||||||
## 添加计分板订阅队伍
|
|
||||||
team add fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
## 设为已安装
|
|
||||||
data modify storage fzsd:install fzsd.extra.bbl set value 1b
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装扩展:破基岩榜"}]
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/interactor/display
|
|
||||||
## 当破基岩榜分数不为0时向玩家显示按钮
|
|
||||||
execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1210"}, "hoverEvent": {"action": "show_text", "contents": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}]
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/interactor/on_click
|
|
||||||
execute if score @s fzsd.module.interactor.trigger matches -1210 run function fzsd.extra.bbl:interactor/subscribe
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
# 见./on_click
|
|
||||||
|
|
||||||
team join fzsd.module.scoreboard.display.bedrock_broken_count @s
|
|
||||||
|
|
||||||
## 调试
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}]
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.bedrock_broken_count - "}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}]
|
|
||||||
|
|
||||||
execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载扩展:破基岩榜"}]
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# 扩展现有的模块时,应在加载时检测是否需要安装,见#fzsd:module/scoreboard/load
|
|
||||||
execute unless data storage fzsd:install fzsd.extra{bbl: 1b} run function fzsd.extra.bbl:install
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# 见#fzsd:module/scoreboard/uninstall
|
|
||||||
## 移除底层实现计分板
|
|
||||||
scoreboard objectives remove fzsd.extra.bbl
|
|
||||||
## 移除计分板订阅队伍
|
|
||||||
team remove fzsd.module.scoreboard.display.bedrock_broken_count
|
|
||||||
## 设为已卸载
|
|
||||||
data modify storage fzsd:install fzsd.extra.bbl set value 0b
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载扩展:破基岩榜"}]
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"fzsd.extra.bbl:display/set_text/dark_gray"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"replace": false,
|
|
||||||
"values": [
|
|
||||||
"fzsd.extra.bbl:assign/bbl",
|
|
||||||
"fzsd.extra.bbl:assign/general"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"criteria": {
|
|
||||||
"root":{
|
|
||||||
"trigger": "minecraft:impossible"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_aviate_one_meter": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.event.aviating_distance": {
|
|
||||||
"min": 200
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_aviate_one_meter"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_dead": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.event.death_count": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_dead"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_entered_nether_portal": {
|
|
||||||
"trigger": "minecraft:changed_dimension",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"location": {
|
|
||||||
"block": {
|
|
||||||
"blocks": [
|
|
||||||
"minecraft:nether_portal"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_entered_nether_portal"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_fished": {
|
|
||||||
"trigger": "minecraft:fishing_rod_hooked",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"item": {
|
|
||||||
"tag": "fzsd:raw_fishes"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_fished"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_hurt_entity_with_tools": {
|
|
||||||
"trigger": "minecraft:player_hurt_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"equipment": {
|
|
||||||
"mainhand": {
|
|
||||||
"tag": "fzsd:tools"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_hurt_entity_with_tools"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_killed_mob_or_player": {
|
|
||||||
"trigger": "minecraft:player_killed_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"entity": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"type": "#fzsd:ignore_on_player_killed_entity"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"killing_blow": {
|
|
||||||
"bypasses_invulnerability": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_killed_mob_or_player"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_login": {
|
|
||||||
"trigger": "tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term": {
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.event.leave_game": {
|
|
||||||
"max": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_login"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_piglin_trade": {
|
|
||||||
"trigger": "minecraft:thrown_item_picked_up_by_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"entity": {
|
|
||||||
"type": "minecraft:piglin",
|
|
||||||
"flags": {
|
|
||||||
"is_baby": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_piglin_trade"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_placed_block": {
|
|
||||||
"trigger": "minecraft:placed_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_placed_block"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event/on_placed_block",
|
|
||||||
"criteria": {
|
|
||||||
"on_placed_liquid": {
|
|
||||||
"trigger": "minecraft:placed_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"block": {
|
|
||||||
"tag": "fzsd:placed_liquid_ignore"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_placed_block/on_placed_liquid"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event/on_placed_block",
|
|
||||||
"criteria": {
|
|
||||||
"on_placed_solid": {
|
|
||||||
"trigger": "minecraft:placed_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:inverted",
|
|
||||||
"term":
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"block": {
|
|
||||||
"tag": "fzsd:placed_liquid_ignore"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_placed_block/on_placed_solid"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_play_one_hour": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.event.play_ticks": {
|
|
||||||
"min": 72000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_play_one_hour"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_shears_used_on_entity": {
|
|
||||||
"trigger": "minecraft:player_interacted_with_entity",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"entity": {
|
|
||||||
"type": "#fzsd:shearable"
|
|
||||||
},
|
|
||||||
"item": {
|
|
||||||
"tag": "fzsd:tool/shears"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_shears_used_on_entity"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_sleeping": {
|
|
||||||
"trigger": "minecraft:slept_in_bed",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_sleeping"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_sneak": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"flags": {
|
|
||||||
"is_sneaking": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_sneak"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_took_damage": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.event.damage_taken": {
|
|
||||||
"min": 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_took_damage"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_tools_exclude_axes_used_on_block": {
|
|
||||||
"trigger": "minecraft:item_used_on_block",
|
|
||||||
"conditions": {
|
|
||||||
"location": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:any_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"tag": "fzsd:tools_exclude_axes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:all_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:match_tool",
|
|
||||||
"predicate": {
|
|
||||||
"tag": "fzsd:tool/axes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:location_check",
|
|
||||||
"predicate": {
|
|
||||||
"__comment": "斧子剥树皮会触发两次,所以用目标方块限定只触发一次",
|
|
||||||
"block": {
|
|
||||||
"tag": "fzsd:stripped_blocks"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_tools_used_on_block"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event/on_sneak",
|
|
||||||
"criteria": {
|
|
||||||
"on_unsneak": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_properties",
|
|
||||||
"entity": "this",
|
|
||||||
"predicate": {
|
|
||||||
"flags": {
|
|
||||||
"is_sneaking": false
|
|
||||||
},
|
|
||||||
"type_specific": {
|
|
||||||
"type": "player",
|
|
||||||
"advancements": {
|
|
||||||
"fzsd:game_event/on_sneak": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_unsneak"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_used_tool": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:used_tool"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_used_tool"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:game_event",
|
|
||||||
"criteria": {
|
|
||||||
"on_villager_trade": {
|
|
||||||
"trigger": "minecraft:villager_trade",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:game_event/advancement/on_villager_trade"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"criteria": {
|
|
||||||
"interactor": {
|
|
||||||
"trigger": "minecraft:impossible"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "fzsd:module/interactor",
|
|
||||||
"criteria": {
|
|
||||||
"on_click": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:reference",
|
|
||||||
"name": "fzsd:is_real_player"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:any_of",
|
|
||||||
"terms": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.module.interactor.trigger": {
|
|
||||||
"min": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fzsd.module.interactor.trigger": {
|
|
||||||
"max": -1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fzsd:module/interactor/event/advamcement/on_click"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +1 @@
|
|||||||
data modify storage fzsd:global fzsd.api.dimension.name set value '{"nbt": "fzsd.api.dimension.id", "storage": "fzsd:global"}'
|
data modify storage fzsd:global fzsd.api.dimension.name set value {"nbt": "fzsd.api.dimension.id", "storage": "fzsd:global"}
|
||||||
@@ -1 +1 @@
|
|||||||
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:overworld'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "主世界", "color": "dark_green"}'
|
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:overworld'} run data modify storage fzsd:global fzsd.api.dimension.name set value {"text": "主世界", "color": "dark_green"}
|
||||||
@@ -1 +1 @@
|
|||||||
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_end'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "末地", "color": "dark_gray"}'
|
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_end'} run data modify storage fzsd:global fzsd.api.dimension.name set value {"text": "末地", "color": "dark_gray"}
|
||||||
@@ -1 +1 @@
|
|||||||
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_nether'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "下界", "color": "dark_red"}'
|
execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_nether'} run data modify storage fzsd:global fzsd.api.dimension.name set value {"text": "下界", "color": "dark_red"}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.12'}}
|
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.3.0-beta.0'}}
|
||||||
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
||||||
function fzsd:system/carpet/try_load_fzsd_score
|
function fzsd:system/carpet/try_load_fzsd_score
|
||||||
function #fzsd:load
|
function #fzsd:load
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## 调试
|
## 调试
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "进入了下届传送门"}]
|
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "进入了下界传送门"}]
|
||||||
|
|
||||||
function #fzsd:game_event/player/on_entered_nether_portal
|
function #fzsd:game_event/player/on_entered_nether_portal
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,22 @@
|
|||||||
##### 使用方式,形如:tellraw @a [{"nbt": "fzsd.exception.load_without_install_exception", "interpret": true, "storage": "fzsd:logger"}, {"text": "计分板"}]
|
##### 使用方式,形如:tellraw @a [{"nbt": "fzsd.exception.load_without_install_exception", "interpret": true, "storage": "fzsd:logger"}, {"text": "计分板"}]
|
||||||
|
|
||||||
## 根
|
## 根
|
||||||
data modify storage fzsd:logger fzsd.root set value '[{"text": "", "color": "white"}, {"text": "[", "color": "dark_gray"}, {"text": "FZSD", "color": "gold"}, {"text": "]", "color": "dark_gray"}]'
|
data modify storage fzsd:logger fzsd.root set value [{"text": "", "color": "white"}, {"text": "[", "color": "dark_gray"}, {"text": "FZSD", "color": "gold"}, {"text": "]", "color": "dark_gray"}]
|
||||||
|
|
||||||
## 不同日志等级
|
## 不同日志等级
|
||||||
### error 800
|
### error 800
|
||||||
data modify storage fzsd:logger fzsd.level.error set value '[{"text": "", "color": "red"}, {"nbt": "root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[错误]"}]'
|
data modify storage fzsd:logger fzsd.level.error set value [{"text": "", "color": "red"}, {"nbt": "root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[错误]"}]
|
||||||
### alert 600
|
### alert 600
|
||||||
data modify storage fzsd:logger fzsd.level.alert set value '[{"text": "", "color": "yellow"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[提醒]"}]'
|
data modify storage fzsd:logger fzsd.level.alert set value [{"text": "", "color": "yellow"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[提醒]"}]
|
||||||
### info 500
|
### info 500
|
||||||
data modify storage fzsd:logger fzsd.level.info set value '[{"text": "", "color": "green"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[信息]"}]'
|
data modify storage fzsd:logger fzsd.level.info set value [{"text": "", "color": "green"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[信息]"}]
|
||||||
### debug 400
|
### debug 400
|
||||||
data modify storage fzsd:logger fzsd.level.debug set value '[{"text": "", "color": "dark_aqua"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[调试]"}]'
|
data modify storage fzsd:logger fzsd.level.debug set value [{"text": "", "color": "dark_aqua"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[调试]"}]
|
||||||
### fine 300
|
### fine 300
|
||||||
data modify storage fzsd:logger fzsd.level.fine set value '[{"text": "", "color": "gray"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[详细]"}]'
|
data modify storage fzsd:logger fzsd.level.fine set value [{"text": "", "color": "gray"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[详细]"}]
|
||||||
|
|
||||||
## 异常
|
## 异常
|
||||||
data modify storage fzsd:logger fzsd.exception.load_without_install_exception set value '[{"nbt": "fzsd.level.error", "interpret": true, "storage": "fzsd:logger"}, {"text": "模块在未安装时被加载:"}]'
|
data modify storage fzsd:logger fzsd.exception.load_without_install_exception set value [{"nbt": "fzsd.level.error", "interpret": true, "storage": "fzsd:logger"}, {"text": "模块在未安装时被加载:"}]
|
||||||
|
|
||||||
## 首次安装时日志等级默认为一般消息
|
## 首次安装时日志等级默认为一般消息
|
||||||
execute unless data storage fzsd:logger fzsd.levels.current run data modify storage fzsd:logger fzsd.levels.current set value 500
|
execute unless data storage fzsd:logger fzsd.levels.current run data modify storage fzsd:logger fzsd.levels.current set value 500
|
||||||
|
|||||||
@@ -4,4 +4,4 @@
|
|||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:日志"}]
|
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:日志"}]
|
||||||
|
|
||||||
## 询问是否清除数据
|
## 询问是否清除数据
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fzsd:logger/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}]
|
execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "click_event": {"action": "suggest_command", "command": "/function #fzsd:logger/clear_data"}, "hover_event": {"action": "show_text", "value": {"text": "将命令填入聊天框"}}}]
|
||||||
@@ -3,4 +3,4 @@ execute store result storage fzsd:here fzsd.nether.x int 0.125 run data get enti
|
|||||||
execute store result storage fzsd:here fzsd.nether.z int 0.125 run data get entity @s Pos[2]
|
execute store result storage fzsd:here fzsd.nether.z int 0.125 run data get entity @s Pos[2]
|
||||||
data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:the_nether"
|
data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:the_nether"
|
||||||
function #fzsd:api/get_dimension_name
|
function #fzsd:api/get_dimension_name
|
||||||
data modify storage fzsd:here fzsd.message.append set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.nether.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.nether.z", "storage": "fzsd:here"}, {"text": "]"}]]'
|
data modify storage fzsd:here fzsd.message.append set value [{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.nether.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.nether.z", "storage": "fzsd:here"}, {"text": "]"}]]
|
||||||
@@ -3,5 +3,5 @@ execute store result storage fzsd:here fzsd.overworld.x int 8 run data get entit
|
|||||||
execute store result storage fzsd:here fzsd.overworld.z int 8 run data get entity @s Pos[2]
|
execute store result storage fzsd:here fzsd.overworld.z int 8 run data get entity @s Pos[2]
|
||||||
data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:overworld"
|
data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:overworld"
|
||||||
function #fzsd:api/get_dimension_name
|
function #fzsd:api/get_dimension_name
|
||||||
data modify storage fzsd:here fzsd.message.append set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.overworld.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.overworld.z", "storage": "fzsd:here"}, {"text": "]"}]]'
|
data modify storage fzsd:here fzsd.message.append set value [{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.overworld.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.overworld.z", "storage": "fzsd:here"}, {"text": "]"}]]
|
||||||
## 恢复用于判断的维度id
|
## 恢复用于判断的维度id
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
execute if data storage fzsd:install fzsd.module{last_nether_portal:1b} unless data storage fzsd:perm {here:1} run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2000"}},{"text": "私信", "color": "aqua"},{"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
execute if data storage fzsd:install fzsd.module{last_nether_portal:1b} unless data storage fzsd:perm {here:1} run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "发送给:自己"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set -2000"}},{"text": "私信", "color": "aqua"},{"text": "] "}], [{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "发送给:所有人"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set -2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
||||||
|
|
||||||
# 仅管理员
|
# 仅管理员
|
||||||
execute if data storage fzsd:install fzsd.module{last_nether_portal:1b} if data storage fzsd:perm {here:1} if entity @s[tag=fzsd.admin] run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2000"}},{"text": "私信", "color": "aqua"},{"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
execute if data storage fzsd:install fzsd.module{last_nether_portal:1b} if data storage fzsd:perm {here:1} if entity @s[tag=fzsd.admin] run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "发送给:自己"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set -2000"}},{"text": "私信", "color": "aqua"},{"text": "] "}], [{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "发送给:所有人"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set -2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
||||||
@@ -3,5 +3,5 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
|
|
||||||
execute if data storage fzsd:install fzsd.module{interactor:1b} run tellraw @s {"text": "交互器:"}
|
execute if data storage fzsd:install fzsd.module{interactor:1b} run tellraw @s {"text": "交互器:"}
|
||||||
|
|
||||||
execute if data storage fzsd:install fzsd.module{interactor:1b} if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"text": "- 打开方式“抬头+蹲起”:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 900"}},{"text": "已启用", "color": "green"},{"text": "]"}]]
|
execute if data storage fzsd:install fzsd.module{interactor:1b} if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"text": "- 打开方式“抬头+蹲起”:"}, [{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "点击关闭"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set 900"}},{"text": "已启用", "color": "green"},{"text": "]"}]]
|
||||||
execute if data storage fzsd:install fzsd.module{interactor:1b} if entity @s[tag=fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"text": "- 打开方式“抬头+蹲起”:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 910"}},{"text": "已关闭", "color": "red"},{"text": "]"}]]
|
execute if data storage fzsd:install fzsd.module{interactor:1b} if entity @s[tag=fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"text": "- 打开方式“抬头+蹲起”:"}, [{"text": "[", "color": "dark_gray", "hover_event": {"action": "show_text", "value": "点击启用"}, "click_event": {"action": "run_command", "command": "/trigger fzsd.module.interactor.trigger set 910"}},{"text": "已关闭", "color": "red"},{"text": "]"}]]
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user