mirror of
https://github.com/CarmJos/MoeTeleport.git
synced 2024-09-19 21:35:56 +00:00
fix(cmd): 修复点击指令异常的问题。
This commit is contained in:
parent
3a016fb560
commit
f2bfdf4635
@ -17,7 +17,7 @@ public class PluginMessages extends MessagesRoot {
|
|||||||
).build();
|
).build();
|
||||||
|
|
||||||
public static final EasyMessageList DEATH_MESSAGE = MoeMessageList.builder().contents(
|
public static final EasyMessageList DEATH_MESSAGE = MoeMessageList.builder().contents(
|
||||||
"&f您可以输入 &5/back &f或 [&d&l点击这里](show_text=点击返回到死亡地点 run_command=/back) &f返回您的死亡地点。"
|
"&f您可以输入 &5/back &f或 [&d&l点击这里](show_text=点击返回到死亡地点 run_command=/moeteleport:back) &f返回您的死亡地点。"
|
||||||
).build();
|
).build();
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -70,14 +70,14 @@ public class PluginMessages extends MessagesRoot {
|
|||||||
|
|
||||||
public static final EasyMessageList RECEIVED_TP_HERE = MoeMessageList.builder().contents(
|
public static final EasyMessageList RECEIVED_TP_HERE = MoeMessageList.builder().contents(
|
||||||
"&d%(player) &f请求传送到您身边,您有 &5%(expire)秒 &f的时间回应。",
|
"&d%(player) &f请求传送到您身边,您有 &5%(expire)秒 &f的时间回应。",
|
||||||
" [&a&l[点击同意]](show_text=点击同意请求 run_command=/tpAccept %(player)) &f或输入 &5/tpAccept &f同意该请求。",
|
" [&a&l[点击同意]](show_text=点击同意请求 run_command=/moeteleport:tpaccept %(player)) &f或输入 &5/tpAccept &f同意该请求。",
|
||||||
" [&c&l[点击拒绝]](show_text=点击拒绝请求 run_command=/tpDeny %(player)) &f或输入 &5/tpDeny &f拒绝该请求。"
|
" [&c&l[点击拒绝]](show_text=点击拒绝请求 run_command=/moeteleport:tpdeny %(player)) &f或输入 &5/tpDeny &f拒绝该请求。"
|
||||||
).params("player", "expire").build();
|
).params("player", "expire").build();
|
||||||
|
|
||||||
public static final EasyMessageList RECEIVED_TP_TO = MoeMessageList.builder().contents(
|
public static final EasyMessageList RECEIVED_TP_TO = MoeMessageList.builder().contents(
|
||||||
"&d%(player) &f请求传送您到Ta身边,您有 &5%(expire)秒 &f的时间回应。",
|
"&d%(player) &f请求传送您到Ta身边,您有 &5%(expire)秒 &f的时间回应。",
|
||||||
" [&a&l[点击同意]](show_text=点击同意请求 run_command=/tpAccept %(player)) &f或输入 &5/tpAccept &f同意该请求。",
|
" [&a&l[点击同意]](show_text=点击同意请求 run_command=/moeteleport:tpaccept %(player)) &f或输入 &5/tpAccept &f同意该请求。",
|
||||||
" [&c&l[点击拒绝]](show_text=点击拒绝请求 run_command=/tpDeny %(player)) &f或输入 &5/tpDeny &f拒绝该请求。"
|
" [&c&l[点击拒绝]](show_text=点击拒绝请求 run_command=/moeteleport:tpdeny %(player)) &f或输入 &5/tpDeny &f拒绝该请求。"
|
||||||
).params("player", "expire").build();
|
).params("player", "expire").build();
|
||||||
|
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ public class PluginMessages extends MessagesRoot {
|
|||||||
).build();
|
).build();
|
||||||
|
|
||||||
public static final EasyMessageList OBJECT = MoeMessageList.builder().contents(
|
public static final EasyMessageList OBJECT = MoeMessageList.builder().contents(
|
||||||
"&8# &f%(id) &d%(location) [&7✈](show_text=点击返回家 %(id) run_command=/home %(id))"
|
"&8# &f%(id) &d%(location) [&7✈](show_text=点击返回家 %(id) run_command=/moeteleport:home %(id))"
|
||||||
).params("id", "location").build();
|
).params("id", "location").build();
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -177,11 +177,11 @@ public class PluginMessages extends MessagesRoot {
|
|||||||
).params("max").build();
|
).params("max").build();
|
||||||
|
|
||||||
public static final EasyMessageList INFO_LOCATION = MoeMessageList.builder().contents(
|
public static final EasyMessageList INFO_LOCATION = MoeMessageList.builder().contents(
|
||||||
"&f地标点 &d%(name) &f所在位置为 &5%(location) &f。[&7✈](show_text=点击前往&d %(name) run_command=/warp %(name))"
|
"&f地标点 &d%(name) &f所在位置为 &5%(location) &f。[&7✈](show_text=点击前往&d %(name) run_command=/moeteleport:warp %(name))"
|
||||||
).params("name", "location").build();
|
).params("name", "location").build();
|
||||||
|
|
||||||
public static final EasyMessageList INFO_FULL = MoeMessageList.builder().contents(
|
public static final EasyMessageList INFO_FULL = MoeMessageList.builder().contents(
|
||||||
"&f地标点 &d%(name) &f由 &5%(owner) &f创建,所在位置为 &d%(location) &f。[&7✈](show_text=点击前往&d %(name) run_command=/warp %(name))"
|
"&f地标点 &d%(name) &f由 &5%(owner) &f创建,所在位置为 &d%(location) &f。[&7✈](show_text=点击前往&d %(name) run_command=/moeteleport:warp %(name))"
|
||||||
).params("name", "owner", "location").build();
|
).params("name", "owner", "location").build();
|
||||||
|
|
||||||
public static final EasyMessageList SET = MoeMessageList.builder().contents(
|
public static final EasyMessageList SET = MoeMessageList.builder().contents(
|
||||||
@ -207,12 +207,12 @@ public class PluginMessages extends MessagesRoot {
|
|||||||
|
|
||||||
public static final EasyMessageList OBJECT = MoeMessageList.builder().contents(
|
public static final EasyMessageList OBJECT = MoeMessageList.builder().contents(
|
||||||
"&8# &f%(id) &7[由%(owner)创建]",
|
"&8# &f%(id) &7[由%(owner)创建]",
|
||||||
"&8- &d%(location) [&7✈](show_text=点击前往&d %(id) run_command=/warp %(id))"
|
"&8- &d%(location) [&7✈](show_text=点击前往&d %(id) run_command=/moeteleport:warp %(id))"
|
||||||
).params("id", "owner", "location").build();
|
).params("id", "owner", "location").build();
|
||||||
|
|
||||||
public static final EasyMessageList OBJECT_NO_OWNER = MoeMessageList.builder().contents(
|
public static final EasyMessageList OBJECT_NO_OWNER = MoeMessageList.builder().contents(
|
||||||
"&8# &f%(id)",
|
"&8# &f%(id)",
|
||||||
"&8- &d%(location) [&7✈](show_text=点击前往&d %(id) run_command=/warp %(id))"
|
"&8- &d%(location) [&7✈](show_text=点击前往&d %(id) run_command=/moeteleport:warp %(id))"
|
||||||
).params("id", "location").build();
|
).params("id", "location").build();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user