Greedy Compass

插件

· 作者 StillAdum

付费了解他人的行踪。

0 本站下载 0 关注 更新于 5 个月前

最新 1.0.0 · 26.1.2 · Paper

一键开服(送7天)

Greedy Compass


这是什么?
这是一个(适用于 Paper 服务器)的插件,允许玩家通过指南针追踪另一名玩家的位置。不过需要注意的是,追踪需要支付一定的 费用。

不错,但我该怎么使用它?
只需下载该插件并将其放入你的 plugins 文件夹即可。

命令:

  • /track <player_name> - 允许你追踪其他玩家。

配置

要更改此插件的任何设置,你可以编辑位于 plugins/GreedyCompass/config.yml 的配置文件。

你的 config.yml 应该如下所示:

# configuration (config.yml)
# ===========================

# 指南针追踪持续时间(秒)(16分钟 = 960秒)
compass-duration: 960

enable-streak-reset: true
streak-reset-days: 4

streak-costs:
  1: "10, DIAMOND"
  2: "10, DIAMOND"
  3: "20, GOLD_INGOT"
  4: "30, EMERALD"
  5: "40, DIAMOND_BLOCK"
  6: "50, EMERALD_BLOCK"
  7: "60, NETHERITE_INGOT"
  default-increment: "10, NETHERITE_INGOT"

gui:
  title: "<dark_gray>Confirm Tracking Purchase</dark_gray>"
  confirm-button: "<green><bold>CONFIRM PURCHASE</bold></green>"
  deny-button: "<red><bold>CANCEL</bold></red>"
  info-button: "<gold><bold>Tracking Details</bold></gold>"

messages:
  prefix: "<gold>[GreedyCompass]</gold> "
  no-permission: "<red>You do not have permission to run this command.</red>"
  player-only: "<red>Only players can execute this command.</red>"
  player-not-found: "<red>That player cannot be found or is offline.</red>"
  cannot-track-self: "<red>You cannot track yourself!</red>"
  not-enough-items: "<red>You do not have enough items! Requires: <yellow><cost> <item></yellow>.</red>"
  started-tracking: "<green>Tracking session activated for <white><target></white>!</green>"
  dimension-info: "<yellow>Target <white><target></white> is currently located in the <light_purple><dimension></light_purple> dimension.</yellow>"
  dimension-change: "<gold>Alert: <white><target></white> has jumped to the <light_purple><dimension></light_purple> dimension!</gold>"
  expired: "<red>Your tracking tracking compass has been expired.</red>"
  • compass-duration: 960 - 定义指南针的有效期(秒)。超过此持续时间后,指南针将从玩家物品栏中移除。

  • enable-streak-reset: true - 用于确定在特定天数(streak-reset-days: 4)后是否将追踪成本重置为 10 个钻石。

  • streak-reset-days: 4 - 等待重置追踪成本(连击/连续追踪次数)的天数。

streak-costs:
  1: "10, DIAMOND"
  2: "10, DIAMOND"
  3: "20, GOLD_INGOT"
  4: "30, EMERALD"
  5: "40, DIAMOND_BLOCK"
  6: "50, EMERALD_BLOCK"
  7: "60, NETHERITE_INGOT"
  default-increment: "10, NETHERITE_INGOT"

此配置部分定义了购买追踪器的费用,以及每次玩家购买追踪器时费用的变化(例如,在 streak-costs: 中,如果数字 5 设置为 5: "40, DIRT",那么在第 5 次购买追踪器时,你需要支付 40 个泥土)。

default-increment: 用于确定第 7 次之后的费用金额(例如,如果第 7 次购买追踪器的费用是 60 下界合金锭,那么第 8 次购买时追踪器的费用将是 70 个下界合金锭(假设 default-increment 设置为 10:default-increment: "10, NETHERITE_INGOT"),之后每次增加 10 个)。

(注意:7: 行和 default-increment: 行中的材料必须相同才能生效。)

gui:
  title: "<dark_gray>Confirm Tracking Purchase</dark_gray>"
  confirm-button: "<green><bold>CONFIRM PURCHASE</bold></green>"
  deny-button: "<red><bold>CANCEL</bold></red>"
  info-button: "<gold><bold>Tracking Details</bold></gold>"

此配置部分定义了当玩家购买追踪器时,箱子 GUI 上显示的文本及其样式。 例如,如果标题配置为:title: "<dark_gray>Confirm Tracking Purchase</dark_gray>",那么 GUI 中的文本将以深灰色显示为“Confirm Tracking Purchase”。

如果你想更改任何文本和/或其格式(例如添加下划线等),请使用 此 格式化器生成你的文本(我并未开发此网站)

messages:
  prefix: "<gold>[GreedyCompass]</gold> "
  no-permission: "<red>You do not have permission to run this command.</red>"
  player-only: "<red>Only players can execute this command.</red>"
  player-not-found: "<red>That player cannot be found or is offline.</red>"
  cannot-track-self: "<red>You cannot track yourself!</red>"
  not-enough-items: "<red>You do not have enough items! Requires: <yellow><cost> <item></yellow>.</red>"
  started-tracking: "<green>Tracking session activated for <white><target></white>!</green>"
  dimension-info: "<yellow>Target <white><target></white> is currently located in the <light_purple><dimension></light_purple> dimension.</yellow>"
  dimension-change: "<gold>Alert: <white><target></white> has jumped to the <light_purple><dimension></light_purple> dimension!</gold>"
  expired: "<red>Your tracking tracking compass has run out of power and expired.</red>"

此配置部分用于更改插件的消息/前缀。 不建议修改这些内容。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源