
功能介绍
该插件会随机启动“活动”,玩家可以在其中相互竞争以完成特定挑战。默认情况下,大多数活动免费参与,但部分活动需要支付入场费才能加入。获胜者将获得所有参与者支付的入场费总和作为奖励。
活动类型
要赢得比赛,玩家需要尽可能快地完成随机抽取的挑战:
- Advancement: 玩家必须获得 X 进度
- Biome: 玩家必须进入 X 生物群系
- Effect: 玩家必须获得 X 效果
- Item: 玩家必须获得 X 物品
- KillMob: 玩家必须击杀 X 个生物
- KillPet: 玩家必须击杀一个宠物
- PlaceBlockAt: 玩家必须在 X 坐标放置方块
- PlaceBlockAtIn: 玩家必须在 X 维度中的 X 坐标放置方块
- StructureEvent: 玩家必须进入 X 结构
- WinRaid: 玩家必须赢得袭击
其他特性
- 管理员命令允许通过
/smpe start/stop [EVENTNUMBER] 启动和停止活动
- 通过
/smpe voteskip 投票跳过活动
- 通过
/smpe leave 退出活动
- 使用
/smpe list 列出所有正在运行的活动
- 非常复杂的入场费选择系统
- 几乎可以完全自定义插件发送的所有消息
- 强大的配置文件
配置文件
# ███████╗███╗ ███╗██████╗ ███████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
# ██╔════╝████╗ ████║██╔══██╗██╔════╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
# ███████╗██╔████╔██║██████╔╝█████╗ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
# ╚════██║██║╚██╔╝██║██╔═══╝ ██╔══╝ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
# ███████║██║ ╚═╝ ██║██║ ███████╗ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
# ╚══════╝╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
# 提示:设置不合理的值可能会破坏插件的功能。
# 如果发生这种情况,问题不大。您可以通过删除其文件来重置配置,或者在
# 该插件的 GitHub 和 Modrinth 网站的 'config' 部分中找到默认值。
# 我建议保持大部分设置不变,但您可以查看 'entrycost' 部分,因为您可能
# 希望根据玩家的游玩风格进行调整
start_chance_denominator: 24000 # 更专业的说法是:每个刻(tick)有 1 / ... 的概率启动随机事件
# 默认为 24000,因此平均每隔 20 分钟启动一次活动
random_start_multiple_events: false # 允许在随机启动时多个活动重叠进行。
start_time: 121 # 活动开始所需的时间。
notify_times: [1,2,3,4,5,10,20,30] # 发送加入通知的具体时间点列表
multiples_of: 30 # 如果时间是这个数字的倍数,则始终发送通知;0=无
timeskip_percent: 80 # 在线玩家中有 % 的人参与活动时,时间将跳至 5 秒
min_players: 2
voteskip_percent: 75
console_logging: false
autoupdater: true # 仅通知更新,不执行更新
# 如果您希望所有活动都免费,请将除 'none' 以外的所有权重设置为 0
entrycost:
none:
weight: 10
item:
weight: 6
material_values:
# 工作原理:玩家在服务端上的进度会被评定为 0-1024(±30% 随机波动)(/smpe sprogress)。进度基于护甲和工具套装的类型
# 然后,从列表中随机选择一个物品。用进度除以物品价值,得出所需的物品数量
# 示例:所有人都有下界合金护甲和工具(进度 = 1024 ±30% -> 进度 = 870)。选择了风弹(值为 16)-> 870/16 = 54 [风弹]
- diamond: 60
- iron_ingot: 30
- wind_charge: 16
- gold_ingot: 16
- redstone: 12
- copper_ingot: 10
- lapis_lazuli: 10
- dirt: 2
xp:
weight: 1
# 工作原理:最终,平均值(带有轻微偏向穷人的平均值)除以这两个数字之间的随机值
divisor_min: 2
divisor_max: 10
events:
advancementEvent:
weight: 7
fireworks_disabled: false
biomeEvent:
weight: 7
fireworks_disabled: false
effectEvent:
weight: 5
fireworks_disabled: false
itemEvent:
weight: 12
fireworks_disabled: false
killMobEvent:
weight: 6
fireworks_disabled: false
killPetEvent:
weight: 1
fireworks_disabled: false
placeBlockAtEvent:
radius: 3000 # 所有玩家中心位置周围的最大随机半径
weight: 6
fireworks_disabled: true
placeBlockAtInEvent:
radius: 3000
weight: 6
fireworks_disabled: true
structureEvent:
weight: 6
fireworks_disabled: false
winRaidEvent:
weight: 1
fireworks_disabled: false
语言配置文件
# 此文件主要支持 MiniMessage 格式
# https://webui.advntr.dev 用于在线编辑器,https://docs.papermc.io/adventure/minimessage/format/ 用于文档
# 使用 /smpe echo TEXT 在游戏中测试
# 变量通常以 '%' 开头和结尾表示
# 大多数变量由插件硬编码,但有些在文件末尾映射
# 以 '_' 开头或结尾的变量,如果值不为空,将在其值的开头/结尾添加一个空格
command_feedback:
stop_all: "%p%a所有事件已停止。"
stop_single: "%p%a事件 %EVENT_NUMBER% 已停止。"
error:
usage: "%p%NO%%e用法: /smpe [join | leave | voteskip | list] "
usage_join: "%p%NO%%e用法: /smpe join [EVENTNUMBER] %EventListInteraction%"
usage_stop: "%p%NO%%e用法: /smpe stop [EVENTNUMBER] %EventListInteraction%"
not_a_player: "%p%e你必须是一名玩家才能执行此命令。"
no_permission: "%p%NO%%e你没有权限执行此命令。"
not_in_event: "%p%NO%%e你尚未加入任何事件。"
event_out_of_range: "%p%NO%%e该事件不存在。"
event_already_running: "%p%NO%%e你试图加入的事件已经在进行中。"
fireworks_disabled: "%p%NO%sprite:items:item/firework_rocket%e当前事件期间烟花已被禁用。"
info:
list: "%p目前有 %AMOUNT% 个事件正在进行中:<newline>%LIST%"
leaderboard: "%p<bold><gold>获胜次数排行榜:<reset><newline>%LIST%"
pregame:
not_joined: "%p一个事件将在 %CLOCK%%TIME%! 后开始!%JoinInteraction%<hover:show_text:'加入此事件需要花费 %ENTRYCOST_RAW%。获胜者将获得所有参与者费用的总和。如果事件被取消,你将收回费用。'>%_ENTRYCOST_FORMATTED%</hover>"
joined: "%p事件将在 %CLOCK%%TIME%! 后开始!%LeaveInteraction%"
join: "%p%YES%%PH% %PLAYER% 加入了事件 %EVENT_NUMBER%!"
join_already_joined: "%p%NO%%e你已经在这个事件中!"
join_already_joined_other: "%p%NO%%e你已经在事件 %OTHER_EVENT_NUMBER% 中。请退出以加入事件 %EVENT_NUMBER%"
join_no_entry_cost: "%p%NO%%e加入此事件需要花费 %ENTRYCOST_RAW%。 <hover:show_text:'加入此事件需要花费 %ENTRYCOST_RAW%。获胜者将获得所有参与者费用的总和。如果事件被取消,你将收回费用。'>?</hover>"
actionbar: "%p%YES%你已在事件中。将在 %CLOCK%%TIME% (%STEVE%ₓ%PLAYERCOUNT_LOWER%) 后开始"
start:
not_enough_players: "%p%NO%参与人数不足,无法开始事件。"
started_not_participating: "%p%i事件已开始,但你未参与。"
started_participating: "%p%YES%事件已开始!你的目标是尽可能快地完成 %EVENT_GOAL%。%VoteskipInteraction%%_NOTICE%"
goals:
# Special variables:
# %SOMEATTRIBUTE% - Formatted version of the goals attribute e.g. %ITEM%
# %SOMEATTRIBUTE_RAW% - Raw version of the goals attribute
# %TR_KEY% - Translation key for the event goals attribute. common usage: lang:%TR_KEY%
# Note that translation keys change based on the players selected language, but that %SOMEATTRIBUTE% also may not be what the attribute is called in English
advancementEvent: "获得进度 <hover:show_text:'%ADVANCEMENT%:<newline>lang:%DESCRIPTION%'>lang:%TR_KEY%</hover>"
biomeEvent: "%BOOTS% 进入生物群系 hover:show_text:'%BIOME%'lang:%TR_KEY%</hover>"
effectEvent: "获得药水效果 %EFFECT_ICON%hover:show_text:'%EFFECT%'lang:%TR_KEY%</hover>"
itemEvent: "获得物品 %ITEM_ICON%hover:show_text:'%ITEM%'lang:%TR_KEY%</hover>"
killMobEvent: "%SWORD%击杀怪物 hover:show_text:'%MOB%'sprite:items:item/%MOB_RAW%_spawn_egglang:%TR_KEY%</hover>"
killPetEvent: "%SWORD%击杀任意 sprite:items:item/cat_spawn_egg宠物"
placeBlockAtEvent: "sprite:gui:hud/locator_bar_arrow_down在 %LOCATION% 放置方块"
placeBlockAtInEvent: "sprite:gui:hud/locator_bar_arrow_down在 %WORLD_ICON%%WORLD% 的 %LOCATION% 放置方块"
structureEvent: "%STRUCTURE_BLOCK% 进入结构 %STRUCTURE%"
winRaidEvent: "sprite:gui:mob_effect/raid_omen赢得袭击"
notice:
advancementEvent: "hover:show_text:'如果你已经拥有该进度,它将被暂时移除。事件结束后你将重新获得它'?</hover>"
biomeEvent: ""
effectEvent: ""
itemEvent: ""
killMobEvent: ""
killPetEvent: "hover:show_text:'宠物被视为被任何玩家驯服的生物'?</hover>"
placeBlockAtEvent: ""
placeBlockAtInEvent: ""
structureEvent: ""
winRaidEvent: ""
main:
leave: "%p%NO%%PH% %PLAYER% 退出了事件!"
voteskip_already_done: "%p%NO%%e你已经投票跳过此事件"
voteskip_before_start: "%p%NO%%e你不能在开始前投票跳过"
voteskip: "%psprite:items:item/firework_rocket%PH% %PLAYER% 投票跳过此事件 (%VOTESKIPPER_AMOUNT%/%VOTESKIPPERS_REQUIRED%)"
actionbar: "%CLOCK%%TIME% - %ACTIONBAR_GOAL%"
actionbar_goal:
advancementEvent: "获得进度: lang:%TR_KEY%"
biomeEvent: "%BOOTS%进入生物群系: lang:%TR_KEY%"
effectEvent: "获得效果: %EFFECT_ICON%lang:%TR_KEY%"
itemEvent: "获得物品: %ITEM_ICON%lang:%TR_KEY%"
killMobEvent: "%SWORD%击杀怪物: sprite:items:item/%MOB_RAW%_spawn_egglang:%TR_KEY%"
killPetEvent: "%SWORD%击杀 sprite:items:item/cat_spawn_egg宠物"
placeBlockAtEvent: "在以下位置放置方块: sprite:gui:hud/locator_bar_arrow_down%LOCATION%"
placeBlockAtInEvent: "在以下位置放置方块: sprite:gui:hud/locator_bar_arrow_down%LOCATION% 在 %WORLD_ICON%%WORLD%"
structureEvent: "%STRUCTURE_BLOCK%进入结构: %STRUCTURE%"
winRaidEvent: "赢得 sprite:gui:mob_effect/raid_omen袭击"
end:
winner: "%p%YES%%PH% %PLAYER% 赢得了事件!"
voteskipped: "%p%NO%事件已被投票跳过!"
cancel: "%p%NO%事件已被取消!"
actionbar: ""
title_winner: "%p%PH% %PLAYER% 赢得了事件!"
console: # MiniMessage not supported in the console
join: "%p%PLAYER% 已加入事件 %EVENT_NUMBER%。"
leave: "%p%PLAYER% 已离开事件 %EVENT_NUMBER%。"
start: "%p事件 %EVENT_NUMBER% 已开始。"
end: "%p事件 %EVENT_NUMBER% 已结束,原因:%MESSAGE%"
updater:
updateCheckFailed: "%p未能检查 SMPE 的更新"
console_updateAvailable: "%pSMPE 有新版本可用!(%CURRENT% -> %NEW%)下载:
player_updateAvailable: "%p%aSMPE 有新版本可用!color:gray(%CURRENT% -> %NEW%)click:open_url:color:#00b138[下载]</click>"
将自定义变量映射为字符串
custom:
"%p": "" # 所有聊天消息的前缀;默认为空
"%PH%": "head:%PLAYER%" # 显示玩家头像图标
"%CLOCK%": "sprite:items:item/clock_20"
"%STEVE%": "head:entity/player/wide/steve"
"%SWORD%": "sprite:items:item/diamond_sword"
"%BOOTS%": "sprite:items:item/diamond_boots"
"%STRUCTURE_BLOCK%": "sprite:blocks/block/structure_block"
"%YES%": "sprite:gui:pending_invite/accept"
"%NO%": "sprite:gui:pending_invite/reject"
"%EventListInteraction%": "color:#ffffffhover:show_text:'点击以显示所有正在运行的事件列表'<click:run_command:'smpe list'>sprite:items:item/paperₗᵢₛₜ ₑᵥₑₙₜₛ</click>"
"%LeaveInteraction%": "hover:show_text:'点击退出事件'<click:run_command:'smpe leave'>sprite:items:item/spider_eyeₗₑₐᵥₑ</click></hover>"
"%JoinInteraction%": "hover:show_text:'点击加入事件'<click:run_command:'smpe join %EVENT_NUMBER%'>sprite:items:item/slime_ballⱼₒᵢₙ</click></hover>"
"%VoteskipInteraction%": "<hover:show_text:'点击投票跳过事件。你也可以始终使用 /smpe voteskip 命令来执行此操作'><click:run_command:'smpe voteskip'>sprite:items:item/firework_rocketᵥₒₜₑₛₖᵢₚ</click></hover>"
#=============================================
#========= 在此处自定义颜色 =========
#=============================================
"%a": "color:#b805ff" # 管理员命令的反馈颜色
"%e": "color:#7e0b01" # 错误信息的颜色
"%i": "color:gray" # 无关信息的颜色
</details>
## 链接
- Modrinth: [modrinth.com/plugin/smpe](https://modrinth.com/plugin/smpe)
- 源码: [github.com/KEL0002/SMPE](https://github.com/KEL0002/SMPE)
- 报告问题: [github.com/KEL0002/SMPE/issues](https://github.com/KEL0002/SMPE/issues) ← 请务必这样做!
- 查看指标: [bstats.org/plugin/bukkit/SMPE/25137](https://bstats.org/plugin/bukkit/SMPE/25137)

What it does
The plugin randomly starts 'Events', in which players can compete against each other to complete a certain challenge. By default, most events are free to play, but some require an entry cost to join. The winner will then receive the combined entry cost of all players as a price.
Events
To win, a player has to complete a randomly picked challenge as fast as possible:
- Advancement: Players have to get X advancement
- Biome: Players have to enter X biome
- Effect: Players have to get X effect
- Item: Players have to get X item
- KillMob: Players have to kill X mob
- KillPet: Players have to kill a pet
- PlaceBlockAt: Players have to place a block at X coordinates
- PlaceBlockAtIn: Players have to place a block at X coordinates in X dimension
- StructureEvent: Players have to enter X structure
- WinRaid: Players have win a raid
Other Features
- Admin command allowing for starting and stopping events with
/smpe start/stop [EVENTNUMBER]
- Voteskipping events with
/smpe voteskip
- Leaving events with
/smpe leave
- Listing all running events with
/smpe list
- Very overcomplicated entry cost selection system
- Basically 100% customization over every message the plugin sends
- A powerful config
Config
# ███████╗███╗ ███╗██████╗ ███████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
# ██╔════╝████╗ ████║██╔══██╗██╔════╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
# ███████╗██╔████╔██║██████╔╝█████╗ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
# ╚════██║██║╚██╔╝██║██╔═══╝ ██╔══╝ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
# ███████║██║ ╚═╝ ██║██║ ███████╗ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
# ╚══════╝╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
# Info: Setting values that don't make sense might break the plugins' functionality.
# If this happens, it's not a huge problem. You can either reset the config by deleting its file, or find the default value in the
# 'config' section of this plugins GitHub & Modrinth websites.
# I recommend leaving most stuff as is, but you may consider taking a look at the 'entrycost' section, as you might
# consider changing it to fit your players play-style
start_chance_denominator: 24000 # Fancy wording for: in each tick, there is a 1 in ... chance of a random event starting
# Default is 24000, so an event will on average start every 20 minutes
random_start_multiple_events: false # Allows for multiple events to be overlapping with random starting.
start_time: 121 # Time it takes for an event to start.
notify_times: [1,2,3,4,5,10,20,30] # List of specific times when to send a join message
multiples_of: 30 # Always sends a notification if the time is a multiple of this number; 0=none
timeskip_percent: 80 # % of online players that have to be in the event for it's time to skip to 5s
min_players: 2
voteskip_percent: 75
console_logging: false
autoupdater: true # Only notifies about updates, doesn't perform them
# If you want all events to be free, set all weights except 'none' to 0
entrycost:
none:
weight: 10
item:
weight: 6
material_values:
# How it works: The player progress on the server gets rated from 0-1024 (±30% random variation)(/smpe sprogress). The progress is based on type of armor and toolset
# Then, an item gets randomly chosen from this list. The progress gets divided by the item value, leading to the amount of items chosen
# Example: Everyone has netherite armor and tools (progress = 1024 ±30% -> progress = 870). Wind charge with value of 16 gets chosen -> 870/16 = 54 [Wind charges]
- diamond: 60
- iron_ingot: 30
- wind_charge: 16
- gold_ingot: 16
- redstone: 12
- copper_ingot: 10
- lapis_lazuli: 10
- dirt: 2
xp:
weight: 1
# How it works: In the end, the average (average with small bias to the poor people) is divided by a random value between those two numbers
divisor_min: 2
divisor_max: 10
events:
advancementEvent:
weight: 7
fireworks_disabled: false
biomeEvent:
weight: 7
fireworks_disabled: false
effectEvent:
weight: 5
fireworks_disabled: false
itemEvent:
weight: 12
fireworks_disabled: false
killMobEvent:
weight: 6
fireworks_disabled: false
killPetEvent:
weight: 1
fireworks_disabled: false
placeBlockAtEvent:
radius: 3000 # Max random radius around the center position of all players
weight: 6
fireworks_disabled: true
placeBlockAtInEvent:
radius: 3000
weight: 6
fireworks_disabled: true
structureEvent:
weight: 6
fireworks_disabled: false
winRaidEvent:
weight: 1
fireworks_disabled: false
Language Config
# This file mostly supports the MiniMessage format
# https://webui.advntr.dev for online creator, https://docs.papermc.io/adventure/minimessage/format/ for doc
# Use /smpe echo TEXT to test in game
# Variables are usually indicated by a '%' at the start and end
# Most Variables are hardcoded by the plugin, but some are mapped at the end of the file
# Variables starting or ending with '_' will have their values have added a ' ' at the start/end if the value is not empty
command_feedback:
stop_all: "%p%aAll Events were stopped."
stop_single: "%p%aEvent %EVENT_NUMBER% was stopped."
error:
usage: "%p%NO%%eUsage: /smpe [join | leave | voteskip | list] "
usage_join: "%p%NO%%eUsage: /smpe join [EVENTNUMBER] %EventListInteraction%"
usage_stop: "%p%NO%%eUsage: /smpe stop [EVENTNUMBER] %EventListInteraction%"
not_a_player: "%p%eYou have to be a player to perform this command."
no_permission: "%p%NO%%eYou do not have the permission to perform this command"
not_in_event: "%p%NO%%eYou are not in an event."
event_out_of_range: "%p%NO%%eThe event does not exist"
event_already_running: "%p%NO%%eThe event you are trying to join is already running"
fireworks_disabled: "%p%NO%<sprite:items:item/firework_rocket>%eFireworks are disabled during the current event"
info:
list: "%pThere are currently %AMOUNT% Event(s) running:<newline>%LIST%"
leaderboard: "%p<bold><gold>Top Wins:<reset><newline>%LIST%"
pregame:
not_joined: "%pAn Event is starting in %CLOCK%%TIME%! %JoinInteraction%<hover:show_text:'This Event requires %ENTRYCOST_RAW% to join. The winner will receive the combined cost of all players. If the event is cancelled, you will get it back.'>%_ENTRYCOST_FORMATTED%</hover>"
joined: "%pThe Event is starting in %CLOCK%%TIME%! %LeaveInteraction%"
join: "%p%YES%%PH% %PLAYER% joined Event %EVENT_NUMBER%!"
join_already_joined: "%p%NO%%eYou are already in this Event!"
join_already_joined_other: "%p%NO%%eYou are already in Event %OTHER_EVENT_NUMBER%. Leave it to join Event %EVENT_NUMBER%"
join_no_entry_cost: "%p%NO%%eThis Event requires %ENTRYCOST_RAW% to join. <hover:show_text:'This Event requires %ENTRYCOST_RAW% to join. The winner will receive the combined cost of all players. If the event is cancelled, you will get it back.'>?</hover>"
actionbar: "%p%YES%You are in the Event. Starting in %CLOCK%%TIME% (%STEVE%ₓ%PLAYERCOUNT_LOWER%)"
start:
not_enough_players: "%p%NO%There were not enough players to start the event"
started_not_participating: "%p%iThe Event has started without you participating"
started_participating: "%p%YES%The Event has started! Your goal is to %EVENT_GOAL% as fast as possible. %VoteskipInteraction%%_NOTICE%"
goals:
# Special variables:
# %SOMEATTRIBUTE% - Formatted version of the goals attribute e.g. %ITEM%
# %SOMEATTRIBUTE_RAW% - Raw version of the goals attribute
# %TR_KEY% - Translation key for the event goals attribute. common usage: <lang:%TR_KEY%>
# Note that translation keys change based on the players selected language, but that %SOMEATTRIBUTE% also may not be what the attribute is called in English
advancementEvent: "get the advancement <hover:show_text:'%ADVANCEMENT%:<newline><lang:%DESCRIPTION%>'><lang:%TR_KEY%></hover>"
biomeEvent: "%BOOTS% enter the biome <hover:show_text:'%BIOME%'><lang:%TR_KEY%></hover>"
effectEvent: "obtain the potion effect %EFFECT_ICON%<hover:show_text:'%EFFECT%'><lang:%TR_KEY%></hover>"
itemEvent: "get the item %ITEM_ICON%<hover:show_text:'%ITEM%'><lang:%TR_KEY%></hover>"
killMobEvent: "%SWORD%kill the mob <hover:show_text:'%MOB%'><sprite:items:item/%MOB_RAW%_spawn_egg><lang:%TR_KEY%></hover>"
killPetEvent: "%SWORD%kill any <sprite:items:item/cat_spawn_egg>pet"
placeBlockAtEvent: "<sprite:gui:hud/locator_bar_arrow_down>place a block at %LOCATION%"
placeBlockAtInEvent: "<sprite:gui:hud/locator_bar_arrow_down>place a block at %LOCATION% in %WORLD_ICON%%WORLD%"
structureEvent: "%STRUCTURE_BLOCK% enter the structure %STRUCTURE%"
winRaidEvent: "<sprite:gui:mob_effect/raid_omen>win a raid"
notice:
advancementEvent: "<hover:show_text:'The advancement has been temporarily revoked from you if you already had it. You will get it back after this event'>?</hover>"
biomeEvent: ""
effectEvent: ""
itemEvent: ""
killMobEvent: ""
killPetEvent: "<hover:show_text:'A pet is considered a mob that was tamed by any player'>?</hover>"
placeBlockAtEvent: ""
placeBlockAtInEvent: ""
structureEvent: ""
winRaidEvent: ""
main:
leave: "%p%NO%%PH% %PLAYER% left the event!"
voteskip_already_done: "%p%NO%%eYou have already voted for skipping this event"
voteskip_before_start: "%p%NO%%eYou cannot vote to skip before the start"
voteskip: "%p<sprite:items:item/firework_rocket>%PH% %PLAYER% voted for skipping this event (%VOTESKIPPER_AMOUNT%/%VOTESKIPPERS_REQUIRED%)"
actionbar: "%CLOCK%%TIME% - %ACTIONBAR_GOAL%"
actionbar_goal:
advancementEvent: "Get the advancement: <lang:%TR_KEY%>"
biomeEvent: "%BOOTS%Enter the biome: <lang:%TR_KEY%>"
effectEvent: "Obtain the effect: %EFFECT_ICON%<lang:%TR_KEY%>"
itemEvent: "Get the item: %ITEM_ICON%<lang:%TR_KEY%>"
killMobEvent: "%SWORD%Kill the mob: <sprite:items:item/%MOB_RAW%_spawn_egg><lang:%TR_KEY%>"
killPetEvent: "%SWORD%Kill a <sprite:items:item/cat_spawn_egg>pet"
placeBlockAtEvent: "Place a block at: <sprite:gui:hud/locator_bar_arrow_down>%LOCATION%"
placeBlockAtInEvent: "Place a block at: <sprite:gui:hud/locator_bar_arrow_down>%LOCATION% in %WORLD_ICON%%WORLD%"
structureEvent: "%STRUCTURE_BLOCK%Enter the structure: %STRUCTURE%"
winRaidEvent: "Win a <sprite:gui:mob_effect/raid_omen>raid"
end:
winner: "%p%YES%%PH% %PLAYER% won the event!"
voteskipped: "%p%NO%The event was voteskipped!"
cancel: "%p%NO%The event was cancelled!"
actionbar: ""
title_winner: "%p%PH% %PLAYER% won the event!"
console: # MiniMessage not supported in the console
join: "%p%PLAYER% has joined event %EVENT_NUMBER%."
leave: "%p%PLAYER% has left event %EVENT_NUMBER%."
start: "%pEvent %EVENT_NUMBER% has started."
end: "%pEvent %EVENT_NUMBER% has ended for reason: %MESSAGE%"
updater:
updateCheckFailed: "%pFailed to check fetch updates for SMPE"
console_updateAvailable: "%pThere is a new update for SMPE available! (%CURRENT% -> %NEW%) Download: https://modrinth.com/plugin/smpe/version/%NEW%"
player_updateAvailable: "%p%aThere is a new update available for SMPE! <color:gray>(%CURRENT% -> %NEW%) <click:open_url:https://modrinth.com/plugin/smpe/version/%NEW%><color:#00b138>[DOWNLOAD]</click>"
# Map custom Variables to Strings
custom:
"%p": "" #Preset for all chat messages; empty by default
"%PH%": "<head:%PLAYER%>" #Display the player head icon
"%CLOCK%": "<sprite:items:item/clock_20>"
"%STEVE%": "<head:entity/player/wide/steve>"
"%SWORD%": "<sprite:items:item/diamond_sword>"
"%BOOTS%": "<sprite:items:item/diamond_boots>"
"%STRUCTURE_BLOCK%": "<sprite:blocks:block/structure_block>"
"%YES%": "<sprite:gui:pending_invite/accept>"
"%NO%": "<sprite:gui:pending_invite/reject>"
"%EventListInteraction%": "<color:#ffffff><hover:show_text:'Click to show a list of all running events'><click:run_command:'smpe list'><sprite:items:item/paper>ₗᵢₛₜ ₑᵥₑₙₜₛ</click>"
"%LeaveInteraction%": "<hover:show_text:'Click to leave the event'><click:run_command:'smpe leave'><sprite:items:item/spider_eye>ₗₑₐᵥₑ</click></hover>"
"%JoinInteraction%": "<hover:show_text:'Click to join the event'><click:run_command:'smpe join %EVENT_NUMBER%'><sprite:items:item/slime_ball>ⱼₒᵢₙ</click></hover>"
"%VoteskipInteraction%": "<hover:show_text:'Click to voteskip the event. You can always use /smpe voteskip to do this'><click:run_command:'smpe voteskip'><sprite:items:item/firework_rocket>ᵥₒₜₑₛₖᵢₚ</click></hover>"
#=============================================
#========= Customise the colors here =========
#=============================================
"%a": "<color:#b805ff>" # Feedback for admin commands
"%e": "<color:#7e0b01>" # Color for errors
"%i": "<color:gray>" # Color for irrelevant information
Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧