
是否曾想过在你的服务器上举办活动以增强玩家互动?
现在就有机会运行一场问答测验!
仅限“是”或“否”的回答。开始答题吧

- 可点击的消息
- 可选的竞技场支持
- 丰富的自定义选项
- 仅竞技场聊天
- 竞技场全息图
- 安排游戏时间
- 可点击加入的标志牌
- 多版本支持
- PlaceholderAPI 占位符
- 背包备份(可禁用)
- 完全自定义的消息(支持十六进制颜色代码)
- 奖励系统(给予权限、金钱、物品、经验值,甚至执行命令)
- 观战者系统(可禁用)

如需支持、功能请求或任何其他帮助,请在 Discord 上联系我。


玩家指令
| 指令 |
权限 |
描述 |
默认值 |
| /game |
tfquiz.player |
否定此权限将移除以下所有指令的访问权 |
true |
|
tfquiz.player.* |
|
true |
| /game list |
tfquiz.player.list |
列出所有可用游戏及其状态和玩家数量 |
true |
| /game join <ID> |
tfquiz.player.join |
允许玩家加入游戏 |
true |
| /game leave |
tfquiz.player.leave |
允许玩家离开游戏 |
true |
管理员指令
| 指令 |
权限 |
描述 |
默认值 |
| /tf |
tfquiz.admin |
允许访问该指令 |
OP |
| /tf help |
tfquiz.admin |
访问管理员帮助指令 |
OP |
| /tf list |
tfquiz.admin |
列出所有游戏 |
OP |
| /tf setspawn |
tfquiz.admin |
设置登录时的出生点(可在配置中禁用) |
OP |
| /tf game <gameID> setspawn |
tfquiz.admin |
为指定游戏设置竞技场出生点 |
OP |
| /tf game <gameID> open|close |
tfquiz.admin |
打开或关闭指定游戏。不能用于已设置调度程序的游戏 |
OP |
| /tf game <gameID> start |
tfquiz.admin |
开始倒计时,当倒计时归零时游戏开始。这将绕过最少玩家要求,但游戏中必须至少有 1 名玩家。不能用于已设置调度程序的游戏 |
OP |
| /tf game <gameID> end |
tfquiz.admin |
在本轮结束时结束游戏。它将宣布所有仍在游戏中的玩家为获胜者。如果在倒计时阶段结束游戏,则仅停止倒计时,所有玩家保留。不能用于已设置调度程序的游戏 |
OP |
| /tf game <gameID> end -without |
tfquiz.admin |
使用标志“-without”立即结束游戏且无获胜者。不能用于已设置调度程序的游戏 |
OP |
| /tf game <gameID> addPlayer|removePlayer <player> |
tfquiz.admin |
向游戏中添加或移除玩家 |
OP |
| /tf game <gameID> setHoloSpawn |
tfquiz.admin |
设置全息图的出生位置 |
OP |
| /tf game <gameID> info |
tfquiz.admin |
显示关于该配置游戏的信息 |
OP |
| /tf reload |
tfquiz.reload |
重载插件 |
None |
|
tfquiz.admin.bypassflags |
允许该玩家绕过所有竞技场标志 |
OP |
标志牌指令
| 指令 |
权限 |
描述 |
默认值 |
| /tf sign list |
tfquiz.admin.sign |
显示所有游戏标志牌的列表 |
OP |
| /tf sign add <gameID> |
tfquiz.admin.sign |
为指定游戏添加新的游戏标志牌 |
OP |
| /tf sign remove |
tfquiz.admin.sign |
删除你正在查看的游戏标志牌 |
OP |
| /tf sign remove <signID> |
tfquiz.admin.sign |
删除具有指定标志牌 ID 的游戏标志牌 |
OP |
| /tf sign edit <signID> <lineNo> "Text..." |
tfquiz.admin.sign |
编辑具有指定标志牌 ID 的游戏标志牌上的文本。或者你也可以右键单击游戏标志牌进行编辑 |
OP |
|
tfquiz.admin.sign |
赋予右键单击标志牌以编辑文本的能力 |
OP |

config.yml
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
## True False Quiz ##
## By Soapiee ##
## ##
## Message me on Discord for support, feature requests, bug reports, etc ##
## discord.com/users/152044111153594369 ##
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
```yaml
# 如果检测到更新,则在控制台发送通知
update_notification: true
# 选择要使用的语言文件
# 选项:lang_en, lang_es, lang_de, lang_fr, lang_nl
language: lang_en
# 以下设置仅适用于包含竞技场(arena)的游戏
arena_flags:
allow_fall_damage: false # 玩家是否承受坠落伤害
allow_pvp_damage: false # 玩家是否可以对其他玩家造成伤害
allow_hunger: false # 玩家是否会失去饥饿值(同时也无法恢复饱食度)
allow_block_break: false # 玩家是否可以破坏方块
allow_block_place: false # 玩家是否可以放置方块
allow_teleport: false # 玩家是否可以进行传送
# 当玩家在竞技场内时,是否将玩家的物品栏备份保存到文件中
save_player_inventories: false
# 当玩家加入竞技场时,是否清空其物品栏(离开竞技场时会恢复)
empty_inv_on_arena_join: true
# 阻止非生存模式的玩家加入游戏
enforce_survival_mode: true
# 当玩家加入服务器时,将其传送至此处。注意:如果此项为 false 且服务器崩溃,原本在竞技场上的玩家将直接重生在竞技场地图/位置内
enforce_lobby_spawn: false
# 玩家离开竞技场后的传送目标位置,或者服务器加入时的出生点(如果上述设置 enforce_lobby_spawn 为 true)
lobby_spawn:
world: world
x: 0
y: 64
z: 0
yaw: -180
pitch: 0
# 列出玩家处于竞技场内时被禁止执行的命令列表
disallowed_commands:
- '/example1'
#signs:
# 1: # 示例
# game_ID: 1
# material: OAK_WALL_SIGN
# world: world
# x: 2
# y: 65
# z: 2
# facing: south
# format:
# - '%game_ID%'
# - '%game_state%'
# - ' '
# - '%game_players%/%game_maxplayers%'
games:
# # 示例 1(无竞技场)
1:
# 选项:Recruiting(招募中)或 Closed(关闭)
state_on_startup: RECRUITING
minimum_players: 5
maximum_players: 20
countdown_seconds: 10
# 游戏结束前允许的最大回合数。如果仅剩 1 名玩家,游戏将提前结束
maximum_rounds: 10
# 是否向全服广播游戏获胜者信息
broadcast_winners: true
reward:
type: none
# reward: # 示例
# type: 'command' # 选项:permission(权限)、currency(货币)、experience(经验)、item(物品)、command(命令)、none(无)
# reward: 'xp give %player% 100'
message: You gained some experience for winning
arena: false
# (秒)仅在 arena 选项为 false 时生效。
# 游戏开放前的等待时间
# schedule_delay: 300
# (秒)游戏保持开放并处于招募状态的时间,之后将再次关闭(如果游戏正在进行中则不会关闭)。
# 确保此值大于 countdown_seconds 选项的值。如果未设置,默认为 60。
# schedule_resets: 120
# # 示例 2(含竞技场)
# 2:
# # 选项:Recruiting(招募中)或 Closed(关闭)
# state_on_startup: RECRUITING
# minimum_players: 5
# maximum_players: 20
# countdown_seconds: 60
# maximum_rounds: 20
# # 是否向全服广播游戏获胜者信息
# broadcast_winners: true
# reward:
# type: 'item'
# reward: oak_planks, 2
# message: 'You won 2 oak planks'
# arena: true
# arena_options:
# # 选项:‘both’、‘chat’ 或 ‘hologram’
# desc_option: hologram
# # 启用观战系统
# spectators: true
# # 全息图生成点(仅当 desc_option 不是 ‘chat’ 时生效)
# holo_location:
# world: world
# x: -50
# y: 64
# z: 64
# # 玩家加入游戏/竞技场时的传送出生点
# spawn_point:
# world: world
# x: -50
# y: 64
# z: 64
# yaw: -180
# pitch: 0
messages.yml
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
## English Language File ##
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
# # # # ---> GENERAL MESSAGES <--- # # # #
console_usage_error: "&cYou must be a player to use this command"
no_permission: "&cYou do not have permission to use this command"
player_not_found: "&cPlayer not found"
hooked_placeholderapi: "&aHooked into PlaceholderAPI"
hooked_vault: "&aHooked into Vault"
hooked_vault_error: "&cError hooking into Vault"
# # # ---> 管理员命令消息 <--- # # #
update_available: "&aTFQuiz 有可用更新"
unsupported_version: "&c检测到不支持的版本。插件可能无法正常工作。请联系开发者以获取对您版本的支持"
disable_spectators_warning:
- "&c[TFQuiz] 检测到不支持的 NMS 版本。旁观者系统将被削弱。"
- "&c建议在配置文件中禁用它。其他功能将正常运行"
spectator_system_error: "&c错误:旁观者系统未工作。请联系开发者"
unsupported_platform_spigot: "&c[TFQuiz] 检测到不正确的服务器平台。此插件专为在 Spigot 上运行而设计。"
unsupported_platform_paper: "&c[TFQuiz] 检测到不正确的服务器平台。此插件专为在 Paper 上运行而设计。"
download_spigot_jar: "&c[TFQuiz] 请下载 Spigot jar 包。"
download_paper_jar: "&c[TFQuiz] 请下载 Paper jar 包。"
admin_command_usage:
- "#01d54a--------- 管理员帮助 ---------"
- "#01d54a/tf reload &7- 重载插件"
- "#01d54a/tf list &7- 列出所有已加载的游戏"
- "#01d54a/tf setspawn &7- 设置大厅出生点"
- "#01d54a/tf game <gameID> setSpawn &7- 设置指定游戏的出生点"
- "#01d54a/tf game <gameID> setHoloSpawn &7- 设置指定游戏的全息投影位置"
- "#01d54a/tf game <gameID> open|close &7- 手动开启或关闭游戏"
- "#01d54a/tf game <gameID> start &7- 开始游戏的倒计时"
- "#01d54a/tf game <gameID> end [-without] &7- 结束游戏。使用标志 "-without" 可立即结束且无获胜者。"
- "#01d54a/tf game <gameID> addPlayer|removePlayer <player> &7- 向游戏中添加/移除玩家"
- "#01d54a/tf game <gameID> info &7- 显示基于游戏设置的信息"
- "#01d54a/tf sign add <gameID> &7- 为指定游戏添加新的游戏告示牌"
- "#01d54a/tf sign remove <signID> &7- 删除游戏告示牌"
- "#01d54a/tf sign edit <signID> <lineNo> text... &7- 编辑游戏告示牌上的文本"
admin_reload_command_usage: "&c用法: /tf reload"
admin_reload_success: "&a成功重载 TFQuiz"
admin_reload_error: "&c重载 TFQuiz 时遇到错误"
admin_reload_inprogress: "&e正在重载配置..."
reload_convo_cancel: "&c您已取消重载"
reload_convo_invalid: "&c请输入 'CONFIRM' 或 'CANCEL'"
reload_convo_start:
- "&c这将强制重置所有游戏、所有计划中的游戏,并将所有玩家返回到大厅出生点"
- "&c输入 'confirm' 以确认重载"
- "&c这将在 10 秒后超时"
invalid_number_input: "&c%input% 不是有效的数字"
games_error: "&c请在 config.yml 中设置一些游戏"
questions_error: "&c在 questions.yml 中找不到任何问题"
questions_file_error: "&c无法加载 questions.yml"
logger_file_error: "&c无法创建 logger.log 文件"
logger_log_success: "&c错误已添加到 logger.log 文件"
logger_log_error: "&c无法创建 logger.log 文件"
inventories_file_error: "&c无法加载 playerInventories.yml"
inventories_saving_error: "&c保存 %player% 的物品栏到 playerInventories.yml 时出错"
inventories_removing_error: "&c从 playerInventories.yml 中移除 %player% 的物品栏时出错"
language_file_error: "&c无法加载语言文件"
language_field_error: "&c无法向语言文件添加新字段"
invalid_language: "&c配置的語言无效。默认为 "lang_en""
settings_error: "&c配置字段 &e%field% &c未设置。默认为 &e%default_value%"
lobby_spawn_error: "&c您必须在配置中设置大厅出生点"
invalid_reward_type: "&c游戏 &e%game_ID%&c 的奖励类型无效。不会发放任何奖励。"
missing_reward_message: "&c游戏 &e%game_ID%&c 的奖励消息缺失。不会向玩家发送消息。"
missing_vault_hook: "&c游戏 &e%game_ID%&c 的奖励需要安装 Vault。"
invalid_reward_number: "&c您必须为游戏 &e%game_ID%&c 的奖励金额输入一个数字"
invalid_reward_amount: "&c游戏 &e%game_ID%&c 的奖励金额过低"
missing_reward: "&c游戏 &e%game_ID%&c 未定义任何奖励"
invalid_reward_material: "&c游戏 &e%game_ID%&c 的奖励材料无效"
invalid_reward_item: "&c游戏 &e%game_ID%&c 的奖励物品无效。请遵循此格式: "apple, 5" (材料, 数量)"
invalid_game_spawn: "&c游戏 &e%game_ID%&c 的出生点无效。"
admin_list_command_usage: "&c用法: /tf list"
admin_setspawn_command_usage: "&c用法: /tf setspawn"
admin_lobby_spawn_set: "&a大厅出生点已设置"
game_admin_command_usage:
- "#01d54a--------- 游戏帮助 ---------"
- "#01d54a/tf game <gameID> setSpawn &7- 设置指定游戏的出生点"
- "#01d54a/tf game <gameID> setHoloSpawn &7- 设置指定游戏的全息投影位置"
- "#01d54a/tf game <gameID> open|close &7- 手动开启或关闭游戏"
- "#01d54a/tf game <gameID> start &7- 开始游戏的倒计时"
- "#01d54a/tf game <gameID> end [-without] &7- 结束游戏。使用标志 "-without" 可立即结束且无获胜者。"
- "#01d54a/tf game <gameID> addPlayer|removePlayer <player> &7- 向游戏中添加/移除玩家"
- "#01d54a/tf game <gameID> info &7- 显示基于游戏设置的信息"
game_force_started: "&a游戏 &e%game_ID%'s &c倒计时已开始!"
game_force_start_error: "&c尝试启动此游戏时出错。游戏已在进行中"
game_start_scheduler_error: "&c您不能手动启动具有活动调度程序的游戏"
game_start_closed_error: "&c尝试启动此游戏时出错。游戏已关闭。请使用 /tf game <ID> open"
game_start_empty_error: "&c尝试启动此游戏时出错。游戏中没有玩家"
game_force_ended: "&a游戏 &e%game_ID% &c已结束"
game_force_ended_with_winners: "&a游戏 &e(%game_ID%) &a将在本轮结束后结束"
game_force_end_error: "&c尝试结束此游戏时出错。当前游戏尚未开始"
game_end_scheduler_error: "&c您无法手动结束具有活动调度器的游戏"
game_player_removed_target: "&c您已被从游戏 %game_ID% 中移除"
game_spawn_set: "&a已为游戏 %game_ID% 设置出生点"
game_holo_spawn_set: "&a您已为游戏 %game_ID% 设置全息图出生点"
game_holo_spawn_removed: "&a您已移除全息图出生点"
game_opened: "&a游戏 %game_ID% 已向玩家开放"
game_opened_error: "&c游戏 %game_ID% 已处于活跃状态"
game_opened_scheduler_error: "&c您无法手动打开具有活动调度器的游戏"
game_closed: "&c游戏 %game_ID% 不再接受新玩家"
game_closed_error: "&c游戏 %game_ID% 当前无法关闭"
game_closed_scheduler_error: "&c您无法手动关闭具有活动调度器的游戏"
game_player_added: "&e%player% &a已加入游戏 %game_ID%"
game_player_added_error: "&c此游戏当前不接受新玩家"
game_invalid_gamemode_error_other: "&c玩家必须处于生存模式才能加入此游戏"
game_player_already_in_game: "&e%player% &c已在其他游戏中"
game_player_removed: "&e%player% &a已从游戏 %game_ID% 中移除"
game_player_not_in_game: "&e%player% &c不在该游戏中"
game_info:
- "#01d54a--------- &l游戏 %game_ID% 信息 #01d54a---------"
- "#01d54a当前状态: &7%game_players%/%game_maxplayers% - %game_status%"
- "#01d54a最少所需玩家数: &7%game_minplayers%"
- "#01d54a倒计时: &7%game_countdown%"
- "#01d54a最大回合数: &7%game_maxrounds%"
- "#01d54a广播获胜者: &7%game_doesbroadcast%"
- "#01d54a奖励: &7%game_reward%"
- "#01d54a "
- "#01d54a&l竞技场特定设置"
- "#01d54a是否拥有竞技场: &7%game_hasarena%"
- "#01d54a是否拥有调度器: &7%game_hasscheduler% %game_schedulerseconds%"
- "#01d54a描述选项: &7%game_desc%"
- "#01d54a旁观者: &7%game_doesspectators%"
- "#01d54a全息图坐标: &7%game_holocoordinates%"
- "#01d54a出生点坐标: &7%game_spawncoordinates%"
# # # ---> 游戏消息 <--- # # #
game_state_closed: "不可用"
game_state_recruiting: "招募中"
game_state_countdown: "即将开始"
game_state_live: "游戏进行中"
game_list_header: "--------- 游戏列表 ---------"
game_list_format: "&e> %game_ID% &7(%game_players%/%game_maxplayers%) &e- %game_status%"
game_list_hover_text: "&e点击加入"
game_opened_scheduler: "&e新的问答游戏已开启。使用 &a/game join %game_ID% &e 加入乐趣"
game_open_scheduler_hover: "&e点击加入"
game_closed_scheduler: "&e问答游戏 &7(%game_ID%) &e因参与人数不足现已关闭。"
game_join: "&a你已加入游戏 %game_ID% &7(%game_players%/%game_minplayers%)"
game_other_player_join: "&a%player% 加入了游戏 &7(%game_players%/%game_minplayers%)"
game_invalid_gameID: "&c你必须输入有效的游戏 ID"
game_invalid_state_error: "&c此游戏当前不接受玩家加入"
game_invalid_gamemode_error: "&c你必须处于生存模式才能加入此游戏"
forced_game_leave: "&a管理员将你从游戏 %game_ID% 中移除"
game_full_error: "&c此游戏已满员"
already_in_game_error: "&c你已在游戏中"
game_leave: "&c你已离开游戏"
game_other_player_left: "&c%player% 离开了游戏 &7(%game_players%/%game_minplayers%)"
error_game_leave: "&c你不在游戏中"
game_countdown_start: "&a游戏将在 %countdown% 后开始"
game_countdown_title_prefix: "&a%countdown%"
game_countdown_title_suffix: "&e直到游戏开始"
game_started: "&a&l真假问答游戏已开始"
game_description: "通过回答“真”或“假”来正确回答问题。"
game_hologram_desc:
- "&e-----------------------------------"
- "&e正确回答问题"
- "&e你只能回答“真”或“假”"
- "&e-----------------------------------"
game_round_countdown_message: "&a你有 %round_countdown% 的时间来回答问题"
game_round_countdown_title_prefix: "&a%round_countdown%"
game_round_countdown_title_suffix: "&e直到回合结束"
game_not_enough_players: "&c玩家人数不足。倒计时已停止"
game_below_min_required: "&c因过多玩家离开,游戏已结束"
game_disallowed_command: "&c在竞技场游戏中你不能使用该命令"
game_prompt:
- "&e-----------------------------------"
- " "
- "&6&l是真是假? %question%"
- " "
- "&e-----------------------------------"
game_true_outcome_message:
- "&e-----------------------------------"
- "&e正确答案是"
- " "
- "&a真"
- "&e%correction_message%"
- " "
- "&e-----------------------------------"
game_false_outcome_message:
- "&e-----------------------------------"
- "&e正确答案是"
- " "
- "&c假"
- "&e%correction_message%"
- " "
- "&e-----------------------------------"
game_eliminate_message:
- "&e-----------------------------------"
- " "
- "&c你已被淘汰!"
- " "
- "&e-----------------------------------"
game_continued_message:
- "&e-----------------------------------"
- " "
- "&a做得好!你进入下一回合.."
- " "
- "&e-----------------------------------"
game_win_message:
- "&e-----------------------------------"
- " "
- "&a恭喜!你赢了!"
- " "
- "&e-----------------------------------"
game_multi_player_broadcast:
- "&e-----------------------------------"
- " "
- "&a%winners% 全部获胜 &7(游戏:%game_ID%)&a!"
- " "
- "&e-----------------------------------"
game_single_player_broadcast:
- "&e-----------------------------------"
- " "
- "&a%winner% 获胜 &7(游戏:%game_ID%)&a!"
- " "
- "&e-----------------------------------"
game_no_winner_broadcast:
- "&e-----------------------------------"
- " "
- "&c由于所有玩家均被淘汰,因此没有获胜者"
- "&c游戏 &7(%game_ID%) &e已结束"
- " "
- "&e-----------------------------------"
game_item_win_error: "&c你的背包空间不足,无法接收奖励,因此奖励被掉落在了地上。"
game_command_usage: "&c用法:/game <join | leave | list> <gameID>"
game_join_command_usage: "&c用法:/game join <gameID>"
game_spectator_error: "&c设置你为旁观者时出错。你已被移出竞技场"
game_created: "&a游戏 &e%game_ID% &a已成功创建"
# # # ---> 告示牌消息 <--- # # #
sign_admin_command_usage:
- "#01d54a--------- 告示牌帮助 ---------"
- "#01d54a/tf sign add <gameID> &7- 为指定游戏添加一个新的游戏告示牌"
- "#01d54a/tf sign remove &7- 删除你正在注视的游戏告示牌"
- "#01d54a/tf sign remove <signID> &7- 删除具有指定 ID 的游戏告示牌"
- "#01d54a/tf sign edit <lineNo> "Text..." &7- 编辑你正在注视的游戏告示牌上的文本"
- "#01d54a/tf sign edit <signID> <lineNo> "Text..." &7- 编辑具有指定 ID 的游戏告示牌上的文本"
sign_list_header: "--------- 告示牌列表 ---------"
sign_list_format: "&e> (游戏 ID: %game_ID%) 告示牌 ID: %sign_ID%"
sign_list_hover: "&e点击传送至告示牌"
sign_id_edit_command_usage: "#01d54a/tf sign edit <signID> <line> "新文本..""
sign_edit_command_usage: "#01d54a/tf sign edit <line> "新文本..""
sign_added: "&a你添加了一个新的游戏告示牌 &7(游戏 : %game_ID%)"
sign_removed: "&a你移除了一块游戏告示牌 &7(告示牌ID: %sign_ID%)"
sign_edited: "&a你成功编辑了一块游戏告示牌 &7(告示牌ID: %sign_ID%)"
sign_invalid_line_number: "&c请输入有效的行号 (1-4)"
sign_invalid_signID_error: "&c你必须输入一个有效的 signID。&7(使用 /sign list 查看所有已加载的告示牌)"
not_looking_at_game_sign: "&c你并未注视游戏告示牌"
not_looking_at_sign: "&c你并未注视告示牌"
sign_already_exists: "&c此告示牌已经是游戏告示牌"
sign_game_id_error: "&c由于无效的游戏 ID,跳过 ID 为 &e%sign_ID% &c的告示牌"
sign_material_error: "&c告示牌 &e%sign_ID%&c 的材质无效。默认设置为 OAK_SIGN"
sign_location_error: "&c由于世界无效,跳过 ID 为 &e%sign_ID% &c的告示牌"
sign_created: "&a游戏告示牌 &e%sign_ID% &a已成功创建"
sign_convo_start: "&e欢迎使用 GameSign 文本编辑器。"
sign_convo_line_prompt: "&e你想编辑哪一行?选项:1 - 4 &7(输入 'EXIT' 退出编辑器)"
sign_convo_line_invalid: "&c输入必须在 1 到 4 之间"
sign_convo_text_prompt: "&e请声明你想放在第 &6&l%line_number%&e 行的文本"
</details>
<details>
<summary>questions.yml</summary>
Questions:
1:
# 用引号写出问题
Question: "'A' is the most common letter used in the English language"
# 声明正确答案是 "True" 还是 "False"
Answer: False
# (可选) 写出正确答案的解释。答案揭晓后将显示此内容。
Correction_Message: "'E' is the most common letter used in the English language"
2:
Question: "In the English language there is no word that rhymes with orange"
Answer: True
# (可选) 如果不想显示消息,请将更正消息留空
Correction_Message: ""
3:
Question: "The unicorn is the national animal of Scotland"
Answer: True
Correction_Message: ""
4:
Question: "Goldfish have a two second memory"
Answer: False
Correction_Message: ""
5:
Question: "An octopus has two hearts"
Answer: False
Correction_Message: "An octopus has three hearts"
6:
Question: "An octopus has three hearts"
Answer: True
Correction_Message: ""
7:
Question: "An octopus has four hearts"
Answer: False
Correction_Message: "An octopus has three hearts"
8:
Question: "Cinderella was the first Disney princess"
Answer: False
Correction_Message: "The first disney princess was Snow White"
9:
Question: "Alexander Fleming discovered penicillin"
Answer: True
Correction_Message: ""
10:
Question: "The black box in a plane is black"
Answer: False
Correction_Message: "The 'black box' in a plane is actually orange"
</details>

**PlaceholderAPI**:
| 占位符 | 描述 |
| --- | --- |
| `%tfquiz_gameID%` | 显示玩家所在的游戏 ID。如果玩家不在游戏中,则为 “null” |
| `%tfquiz_in_game%` | 显示玩家是否在游戏中,值为 “true” 或 “false” |
| `%tfquiz_gamestate%` | 显示游戏状态。如果玩家不在游戏中,则为 “null” |
| `%tfquiz__countdown%` | 显示游戏开始前倒计时的剩余秒数。如果玩家不在游戏中,则为 “null” |

**游戏设置示例**
<details>
<summary>带竞技场(Arena)的游戏</summary>
games:
1:
state_on_startup: RECRUITING # 选项:Recruiting 或 Closed
minimum_players: 5
maximum_players: 20
countdown_seconds: 60
maximum_end_point: 20
broadcast_winners: true # 是否向全服广播获胜者
reward:
type: 'item'
reward: oak_planks, 2
message: 'You won 2 oak planks'
arena: true
arena_options:
desc_option: hologram # 选项:‘both’, ‘chat’ 或 ‘hologram’
spectators: true # 启用观战系统
holo_location: # 全息图的生成点(仅当 desc_option 不是 ‘chat’ 时有效
world: world
x: -50
y: 64
z: 64
spawn_point: # 玩家加入游戏/竞技场时被传送到此处的出生点
world: world
x: -50
y: 64
z: 64
yaw: -180
pitch: 0
</details>
<details>
<summary>不带竞技场(Arena)的游戏</summary>
games:
1:
state_on_startup: 'RECRUITING' # 选项:招募中或已关闭
minimum_players: 5
maximum_players: 10
maximum_end_point: 10
countdown_seconds: 10
# 是否向全服广播游戏获胜者
broadcast_winners: true
reward:
type: 'currency'
reward: 500
message: You won $500
arena: false
# (以秒为单位)仅在 arena 选项为 false 时生效。
schedule_delay: 300
# (以秒为单位)游戏在重新关闭之前保持开放并处于招募状态的时间长度(如果游戏正在进行,则不会关闭)。确保此值长于你的 countdown_seconds 选项。若未设置,默认为 60。
schedule_resets: 120
</details>
**奖励示例**
<details>
<summary>命令奖励</summary>
reward:
type: command
reward: xp give %player% 100
message: You won some experience # (可选)如果你不希望显示奖励消息,请不要添加此选项
</details>
<details>
<summary>列表形式的命令奖励</summary>
reward:
type: command
reward:
- xp give %player% 100
- eco give %player% 500
- broadcast %player% won the game
</details>
<details>
<summary>物品奖励</summary>
reward:
type: item
reward: apple, 5 # 对于物品奖励,先声明 Bukkit 材质名称,后跟数量
message: ‘&aYou won 5 Apples’
</details>
<details>
<summary>列表形式的物品奖励</summary>
reward:
type: item
Reward:
- apple, 5 # 对于物品奖励,先声明 Bukkit 材质名称,后跟数量
- oak_planks, 2
- ender_chest, 1
message: ‘#01d54aYou won some items’
</details>
<details>
<summary>权限奖励</summary>
reward:
type: permissions
reward: test.permission
</details>
<details>
<summary>列表形式的权限奖励</summary>
reward:
type: permission
reward:
- test.permission
- test.permission2
- test.permission3
message: You have won some permissions
</details>
<details>
<summary>货币奖励</summary>
reward:
type: 'currency'
reward: 500
message: You won $500
</details>
<details>
<summary>经验值奖励</summary>
reward:
type: experience
reward: 500
message: You won $500
</details>
<details>
<summary>无奖励</summary>
reward:
type: none
</details>
**告示牌示例**
<details>
<summary>基础告示牌</summary>
signs:
1:
game: 1
material: OAK_WALL_SIGN
world: world
x: 2
y: 65
z: 2
facing: south
format:
- ' '
- 'Click me to join'
- 'game #1'
- ' '
</details>
<details>
<summary>带占位符和颜色的告示牌</summary>
signs:
1:
game: 1
material: OAK_SIGN
world: world
x: 2
y: 65
z: 2
facing: south
format:
- '&a%game_ID%'
- '&e%game_state%'
- ' '
- '#01d54a%game_players%/%game_maxplayers%'
</details>

Ever wanted to host events on your server to engage your players?
Well here’s your chance to run a quiz!
True or False answers only..Get quizzing

- Clickable messages
- Optional arena support
- Lots of customisation
- Arena only chat
- Arena holograms
- Schedule games
- Clickable join signs
- Multi version support
- PlaceholderAPI placeholders
- Inventory backups (Can be disabled)
- Fully customisable messages (Hex colour support)
- Reward system (Give permissions, money, items, experience or even run commands)
- Spectator system (Can be disabled)

Message me on Discord for support, feature requests or any other assistance you may need.


Player commands
| Command |
Permission |
Description |
Default |
| /game |
tfquiz.player |
Negate this to remove access to all of the following commands |
true |
|
tfquiz.player.* |
|
true |
| /game list |
tfquiz.player.list |
Lists all the games available, along with its status and player count |
true |
| /game join <ID> |
tfquiz.player.join |
Allows player to join the game |
true |
| /game leave |
tfquiz.player.join |
Allows player to leave the game |
true |
Admin commands
| Command |
Permission |
Description |
Default |
| /tf |
tfquiz.admin |
Allows access to the command |
OP |
| /tf help |
tfquiz.admin |
Access to the admin help command |
OP |
| /tf list |
tfquiz.admin |
Lists all the games |
OP |
| /tf setspawn |
tfquiz.admin |
Set the spawn point for logging in (can be disabled in config) |
OP |
| /tf game <gameID> setspawn |
tfquiz.admin |
Sets the arena spawn point for the specified game |
OP |
| /tf game <gameID> open|close |
tfquiz.admin |
Opens or closes the specified game. You cannot use this on games that have schedulers set up |
OP |
| /tf game <gameID> start |
tfquiz.admin |
Starts the countdown, and the game will begin once the countdown gets to 0. This bypasses the minimum required players, but there must be atleast 1 player in the game. You cannot use this on games that have schedulers set up |
OP |
| /tf game <gameID> end |
tfquiz.admin |
This ends the game at the end of that round. It will announce all those who remain in play as winners. Ending a game when its in the countdown stage, just stops the countdown, all players remain. You cannot use this on games that have schedulers set up |
OP |
| /tf game <gameID> end -without |
tfquiz.admin |
Use the flag “-without” to immediately end the game without any winners. You cannot use this on games that have schedulers set up |
OP |
| /tf game <gameID> addPlayer|removePlayer <player> |
tfquiz.admin |
Adds|Removes a player from the game |
OP |
| /tf game <gameID> setHoloSpawn |
tfquiz.admin |
Sets the hologram spawn location |
OP |
| /tf game <gameID> info |
tfquiz.admin |
Displays information about that configured game |
OP |
| /tf reload |
tfquiz.reload |
Reloads the plugin |
None |
|
tfquiz.admin.bypassflags |
Allows that player to bypass all arena flags |
OP |
Sign commands
| Command |
Permission |
Description |
Default |
| /tf sign list |
tfquiz.admin.sign |
Shows a list of all game signs |
OP |
| /tf sign add <gameID> |
tfquiz.admin.sign |
Adds a new game sign for the specified game |
OP |
| /tf sign remove |
tfquiz.admin.sign |
Deletes an game sign that you are looking at |
OP |
| /tf sign remove <signID> |
tfquiz.admin.sign |
Deletes an game sign with that specified sign ID |
OP |
| /tf sign edit <signID> <lineNo> "Text..." |
tfquiz.admin.sign |
Edits the text on the game sign with that specified sign ID. Alternatively you can also right click game signs to edit them |
OP |
|
tfquiz.admin.sign |
Gives the ability to right-click a sign to edit the text |
OP |

config.yml
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
## True False Quiz ##
## By Soapiee ##
## ##
## Message me on Discord for support, feature requests, bug reports, etc ##
## discord.com/users/152044111153594369 ##
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
# Sends a message in console if there is an update available
update_notification: true
# Choose which language file you want to use
# Options: lang_en, lang_es, lang_de, lang_fr, lang_nl
language: lang_en
# These only apply if a game has an arena
arena_flags:
allow_fall_damage: false # Should players take fall damage
allow_pvp_damage: false # Can players deal damage to other players
allow_hunger: false # Will a player lose hunger (they also cannot be satiated)
allow_block_break: false # Can players break blocks
allow_block_place: false # Can players place blocks
allow_teleport: false # Should players be able to teleport
# Whether to save a backup of player inventories to a file when they are in an arena or not
save_player_inventories: false
# Whether to clear players inventories when they join an arena (it will be restored when they leave the arena)
empty_inv_on_arena_join: true
# Prevent players who are not in Survival mode to join games
enforce_survival_mode: true
# When a player joins the server, they are teleported here. NOTE: If false and your server crashes, players who were in arenas, will physically re-join inside the arena map/location
enforce_lobby_spawn: false
# Where you want players to be teleported to after they leave an arena, or where they spawn on server join (if the above setting is true)
lobby_spawn:
world: world
x: 0
y: 64
z: 0
yaw: -180
pitch: 0
# List commands that you want to be disallowed whilst the player is in an arena
disallowed_commands:
- '/example1'
#signs:
# 1: # EXAMPLE
# game_ID: 1
# material: OAK_WALL_SIGN
# world: world
# x: 2
# y: 65
# z: 2
# facing: south
# format:
# - '%game_ID%'
# - '%game_state%'
# - ' '
# - '%game_players%/%game_maxplayers%'
games:
# # EXAMPLE 1 (without an arena)
1:
# Options: Recruiting or Closed
state_on_startup: RECRUITING
minimum_players: 5
maximum_players: 20
countdown_seconds: 10
# Maximum amount of rounds to reach before ending the game. It will end earlier if there is 1 player remaining
maximum_rounds: 10
# Whether to announce the winner of a game to the whole server
broadcast_winners: true
reward:
type: none
# reward: # EXAMPLE
# type: 'command' # Options: permission, currency, experience, item, command, none
# reward: 'xp give %player% 100'
message: You gained some experience for winning
arena: false
# (in seconds) Only works when the arena option is false.
# How long to wait before the game is opened
# schedule_delay: 300
# (in seconds) How long the game remains open and in the recruiting state, before it closes again (will not close if the game is active).
# Make sure this is longer than your countdown_seconds option. Defaults to 60 if this isn’t set.
# schedule_resets: 120
# # EXAMPLE 2 (with an arena)
# 2:
# # Options: Recruiting or Closed
# state_on_startup: RECRUITING
# minimum_players: 5
# maximum_players: 20
# countdown_seconds: 60
# maximum_rounds: 20
# # Whether to announce the winner of a game to the whole server
# broadcast_winners: true
# reward:
# type: 'item'
# reward: oak_planks, 2
# message: 'You won 2 oak planks'
# arena: true
# arena_options:
# # Options: ‘both’, ‘chat’ or ‘hologram’
# desc_option: hologram
# # Enables the spectator system
# spectators: true
# # The spawn point for the hologram (Only works if desc_option is not ‘chat’
# holo_location:
# world: world
# x: -50
# y: 64
# z: 64
# # The spawn point where players get teleported to when they join the game/arena
# spawn_point:
# world: world
# x: -50
# y: 64
# z: 64
# yaw: -180
# pitch: 0
messages.yml
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
## English Language File ##
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ##
# # # # ---> GENERAL MESSAGES <--- # # # #
console_usage_error: "&cYou must be a player to use this command"
no_permission: "&cYou do not have permission to use this command"
player_not_found: "&cPlayer not found"
hooked_placeholderapi: "&aHooked into PlaceholderAPI"
hooked_vault: "&aHooked into Vault"
hooked_vault_error: "&cError hooking into Vault"
# # # # ---> ADMIN COMMAND MESSAGES <--- # # # #
update_available: "&aThere is an update available for TFQuiz"
unsupported_version: "&cUnsupported version detected. Plugin may not function correctly. Contact the developer to get your version supported"
disable_spectators_warning:
- "&c[TFQuiz] Unsupported NMS version detected. The Spectator system will be diminished."
- "&cIts recommended that you disable it in the config. All other features will work as normal"
spectator_system_error: "&cERROR: The spectator system is not working. Contact the developer"
unsupported_platform_spigot: "&c[TFQuiz] Incorrect server platform detected. This plugin is designed to be ran on Spigot."
unsupported_platform_paper: "&c[TFQuiz] Incorrect server platform detected. This plugin is designed to be ran on Paper."
download_spigot_jar: "&c[TFQuiz] Please download the Spigot jar instead."
download_paper_jar: "&c[TFQuiz] Please download the Paper jar instead."
admin_command_usage:
- "#01d54a--------- Admin Help ---------"
- "#01d54a/tf reload &7- Reloads the plugin"
- "#01d54a/tf list &7- Lists all loaded games"
- "#01d54a/tf setspawn &7- Sets the lobby spawn"
- "#01d54a/tf game <gameID> setSpawn &7- Sets the spawn point of a specified game"
- "#01d54a/tf game <gameID> setHoloSpawn &7- Sets the hologram location of a specified game"
- "#01d54a/tf game <gameID> open|close &7- Manually opens or closes a game"
- "#01d54a/tf game <gameID> start &7- Starts the countdown of a game"
- "#01d54a/tf game <gameID> end [-without] &7- Ends a game. Use the flag \"-without\" to instantly end without winners."
- "#01d54a/tf game <gameID> addPlayer|removePlayer <player> &7- Adds|Removes a player from the game"
- "#01d54a/tf game <gameID> info &7- Displays information based on the games setup"
- "#01d54a/tf sign add <gameID> &7- Adds a new game sign for the specified game"
- "#01d54a/tf sign remove <signID> &7- Deletes a game sign"
- "#01d54a/tf sign edit <signID> <lineNo> text... &7- Edits the text on the game sign "
admin_reload_command_usage: "&cUsage: /tf reload"
admin_reload_success: "&aSuccessfully reloaded TFQuiz"
admin_reload_error: "&cRan into an error whilst reloading TFQuiz"
admin_reload_inprogress: "&eReloading configuration..."
reload_convo_cancel: "&cYou have cancelled the reload"
reload_convo_invalid: "&cPlease type 'CONFIRM' or 'CANCEL'"
reload_convo_start:
- "&cThis will force reset all games, all scheduled games, and return all players to the lobby spawn"
- "&cType 'confirm' to confirm the reload"
- "&cThis will time out in 10 seconds"
invalid_number_input: "&c%input% is not a valid number"
games_error: "&cPlease set up some games in the config.yml"
questions_error: "&cCould not find any questions inside questions.yml"
questions_file_error: "&cThe questions.yml could not be loaded"
logger_file_error: "&cThe logger.log file could not be created"
logger_log_success: "&cAn error was added to the logger.log file"
logger_log_error: "&cThe logger.log file could not be created"
inventories_file_error: "&cThe playerInventories.yml could not be loaded"
inventories_saving_error: "&cThere was an error saving %player%'s inventory to playerInventories.yml"
inventories_removing_error: "&cThere was an error removing %player%'s inventory to playerInventories.yml"
language_file_error: "&cThe language file could not be loaded"
language_field_error: "&cCould not add new fields to the language file"
invalid_language: "&cAn invalid language has been configured. Defaulting to \"lang_en\""
settings_error: "&cThe config field &e%field% &cis not set. Defaulting to &e%default_value%"
lobby_spawn_error: "&cYou must set a lobby spawn point in the config"
invalid_reward_type: "&cInvalid reward type for game &e%game_ID%&c. No reward will be given."
missing_reward_message: "&cThe reward message for game &e%game_ID%&c is missing. No message will be sent to the player."
missing_vault_hook: "&cThe reward for game &e%game_ID%&c requires Vault to be installed."
invalid_reward_number: "&cYou must input a number for the reward amount of game &e%game_ID%"
invalid_reward_amount: "&cThe amount for the reward of game &e%game_ID% &cis to low"
missing_reward: "&cThere is no reward defined for game &e%game_ID%"
invalid_reward_material: "&cThe reward for game &e%game_ID%&c has an invalid material"
invalid_reward_item: "&cThe reward for game &e%game_ID%&c has an invalid item. Follow this format: \"apple, 5\" (material, quantity)"
invalid_game_spawn: "&cThe spawn point for game &e%game_ID% &cis invalid."
admin_list_command_usage: "&cUsage: /tf list"
admin_setspawn_command_usage: "&cUsage: /tf setspawn"
admin_lobby_spawn_set: "&aThe Lobby spawn has been set"
game_admin_command_usage:
- "#01d54a--------- Game Help ---------"
- "#01d54a/tf game <gameID> setSpawn &7- Sets the spawn point of a specified game"
- "#01d54a/tf game <gameID> setHoloSpawn &7- Sets the hologram location of a specified game"
- "#01d54a/tf game <gameID> open|close &7- Manually opens or closes a game"
- "#01d54a/tf game <gameID> start &7- Starts the countdown of a game"
- "#01d54a/tf game <gameID> end [-without] &7- Ends a game. Use the flag \"-without\" to instantly end without winners."
- "#01d54a/tf game <gameID> addPlayer|removePlayer <player> &7- Adds|Removes a player from the game"
- "#01d54a/tf game <gameID> info &7- Displays information based on the games setup"
game_force_started: "&aGame &e%game_ID%'s &acountdown has begun!"
game_force_start_error: "&cError trying to start this game. It is already in play"
game_start_scheduler_error: "&cYou cannot manually start a game that has an active scheduler"
game_start_closed_error: "&cError trying to start this game. It is closed. Use /tf game <ID> open"
game_start_empty_error: "&cError trying to start this game. There are no players in this game"
game_force_ended: "&aGame &e%game_ID% &ahas been ended"
game_force_ended_with_winners: "&aGame &e(%game_ID%) &awill end at the end of the round"
game_force_end_error: "&cError trying to end this game. It is not currently in play"
game_end_scheduler_error: "&cYou cannot manually end a game that has an active scheduler"
game_player_removed_target: "&cYou have been removed from game %game_ID%"
game_spawn_set: "&aThe spawn has been set for game %game_ID%"
game_holo_spawn_set: "&aYou set the hologram spawn point for game %game_ID%"
game_holo_spawn_removed: "&aYou have removed the hologram spawn point"
game_opened: "&aGame %game_ID% has been opened to players"
game_opened_error: "&cGame %game_ID% is already active"
game_opened_scheduler_error: "&cYou cannot manually open a game that has an active scheduler"
game_closed: "&cGame %game_ID% is no longer accepting players"
game_closed_error: "&cGame %game_ID% cannot be closed right now"
game_closed_scheduler_error: "&cYou cannot manually close a game that has an active scheduler"
game_player_added: "&e%player% &ahas been added to game %game_ID%"
game_player_added_error: "&cThis game is not currently accepting new players"
game_invalid_gamemode_error_other: "&cThe player must be in survival mode to join this game"
game_player_already_in_game: "&e%player% &cis already in a game"
game_player_removed: "&e%player% &ahas been removed from game %game_ID%"
game_player_not_in_game: "&e%player% &cis not in that game"
game_info:
- "#01d54a--------- &lGame %game_ID% Info #01d54a---------"
- "#01d54aCurrent Status: &7%game_players%/%game_maxplayers% - %game_status%"
- "#01d54aMin required players: &7%game_minplayers%"
- "#01d54aCountdown: &7%game_countdown%"
- "#01d54aMax rounds: &7%game_maxrounds%"
- "#01d54aBroadcasts winner: &7%game_doesbroadcast%"
- "#01d54aReward: &7%game_reward%"
- "#01d54a "
- "#01d54a&lArena Specifics"
- "#01d54aHas arena: &7%game_hasarena%"
- "#01d54aHas scheduler: &7%game_hasscheduler% %game_schedulerseconds%"
- "#01d54aDescription option: &7%game_desc%"
- "#01d54aSpectators: &7%game_doesspectators%"
- "#01d54aHologram: &7%game_holocoordinates%"
- "#01d54aSpawn point: &7%game_spawncoordinates%"
# # # # ---> GAME MESSAGES <--- # # # #
game_state_closed: "Not available"
game_state_recruiting: "Recruiting"
game_state_countdown: "Starting soon"
game_state_live: "Game is active"
game_list_header: "--------- Games List ---------"
game_list_format: "&e> %game_ID% &7(%game_players%/%game_maxplayers%) &e- %game_status%"
game_list_hover_text: "&eClick to join"
game_opened_scheduler: "&eA new quiz game has opened. Use &a/game join %game_ID% &e to join the fun"
game_open_scheduler_hover: "&eClick to join"
game_closed_scheduler: "&eThe quiz &7(%game_ID%) &eis now closed as not enough players joined."
game_join: "&aYou have joined game %game_ID% &7(%game_players%/%game_minplayers%)"
game_other_player_join: "&a%player% joined the game &7(%game_players%/%game_minplayers%)"
game_invalid_gameID: "&cYou must enter a valid gameID"
game_invalid_state_error: "&cThis game is not currently accepting players"
game_invalid_gamemode_error: "&cYou must be in survival mode to join this game "
forced_game_leave: "&aAn admin removed you from game %game_ID%"
game_full_error: "&cThis game is full"
already_in_game_error: "&cYou are already in a game"
game_leave: "&cYou have left the game"
game_other_player_left: "&c%player% left the game &7(%game_players%/%game_minplayers%)"
error_game_leave: "&cYou are not in a game "
game_countdown_start: "&aThe game is starting in %countdown%"
game_countdown_title_prefix: "&a%countdown%"
game_countdown_title_suffix: "&euntil the game starts"
game_started: "&a&lTrue/False Game started"
game_description: "Answer the questions correctly with either true or false."
game_hologram_desc:
- "&e-----------------------------------"
- "&eAnswer the questions correctly"
- "&eYou can only answer with True or False"
- "&e-----------------------------------"
game_round_countdown_message: "&aYou have %round_countdown% to answer the question"
game_round_countdown_title_prefix: "&a%round_countdown%"
game_round_countdown_title_suffix: "&euntil the round ends"
game_not_enough_players: "&cThere are not enough players. Countdown has stopped"
game_below_min_required: "&cThe game has ended as too many players have left"
game_disallowed_command: "&cYou cannot use that command when in a game with an arena"
game_prompt:
- "&e-----------------------------------"
- " "
- "&6&lTrue or False? %question%"
- " "
- "&e-----------------------------------"
game_true_outcome_message:
- "&e-----------------------------------"
- "&eThe correct answer was"
- " "
- "&aTRUE"
- "&e%correction_message%"
- " "
- "&e-----------------------------------"
game_false_outcome_message:
- "&e-----------------------------------"
- "&eThe correct answer was"
- " "
- "&cFALSE"
- "&e%correction_message%"
- " "
- "&e-----------------------------------"
game_eliminate_message:
- "&e-----------------------------------"
- " "
- "&cYou have been eliminated!"
- " "
- "&e-----------------------------------"
game_continued_message:
- "&e-----------------------------------"
- " "
- "&aWell done! You continue to the next round.."
- " "
- "&e-----------------------------------"
game_win_message:
- "&e-----------------------------------"
- " "
- "&aCongratulations! You have won!"
- " "
- "&e-----------------------------------"
game_multi_player_broadcast:
- "&e-----------------------------------"
- " "
- "&a%winners% have all won &7(Game: %game_ID%)&a!"
- " "
- "&e-----------------------------------"
game_single_player_broadcast:
- "&e-----------------------------------"
- " "
- "&a%winner% has won &7(Game: %game_ID%)&a!"
- " "
- "&e-----------------------------------"
game_no_winner_broadcast:
- "&e-----------------------------------"
- " "
- "&cThere were no winners as all players have been eliminated"
- "&cThe game &7(%game_ID%) &chas ended"
- " "
- "&e-----------------------------------"
game_item_win_error: "&cYou didn't have enough space in your inventory to receive your reward, so it was dropped on the floor."
game_command_usage: "&cUsage: /game <join | leave | list> <gameID>"
game_join_command_usage: "&cUsage: /game join <gameID>"
game_spectator_error: "&cThere was an error setting you as a spectator. You have been removed from the arena"
game_created: "&aGame &e%game_ID% &awas successfully created"
# # # # ---> SIGN MESSAGES <--- # # # #
sign_admin_command_usage:
- "#01d54a--------- Sign Help ---------"
- "#01d54a/tf sign add <gameID> &7- Adds a new game sign for the specified game "
- "#01d54a/tf sign remove &7- Deletes a game sign that you are looking at"
- "#01d54a/tf sign remove <signID> &7- Deletes a game sign with that specified sign ID"
- "#01d54a/tf sign edit <lineNo> \"Text...\" &7- Edits the text on the game sign you are looking at"
- "#01d54a/tf sign edit <signID> <lineNo> \"Text...\" &7- Edits the text on the game sign with that specified sign ID"
sign_list_header: "--------- Signs List ---------"
sign_list_format: "&e> (Game ID: %game_ID%) Sign ID: %sign_ID%"
sign_list_hover: "&eClick to teleport to sign"
sign_id_edit_command_usage: "#01d54a/tf sign edit <signID> <line> \"new text..\""
sign_edit_command_usage: "#01d54a/tf sign edit <line> \"new text..\""
sign_added: "&aYou added a new game sign &7(to game : %game_ID%)"
sign_removed: "&aYou removed a game sign &7(signID: %sign_ID%)"
sign_edited: "&aYou successfully edited a game sign &7(signID: %sign_ID%)"
sign_invalid_line_number: "&cEnter a valid line number (1-4)"
sign_invalid_signID_error: "&cYou must input a invalid signID. &7(Use /sign list to view all loaded signs"
not_looking_at_game_sign: "&cYou are not looking at a game sign"
not_looking_at_sign: "&cYou are not looking at a sign"
sign_already_exists: "&cThis sign is already a game sign"
sign_game_id_error: "&cSkipping sign with ID &e%sign_ID% &cdue to invalid game ID"
sign_material_error: "&cInvalid sign material for sign &e%sign_ID%&c. Defaulting to OAK_SIGN"
sign_location_error: "&cSkipping sign with ID &e%sign_ID% &cdue to invalid world"
sign_created: "&aGame sign &e%sign_ID% &awas successfully created"
sign_convo_start: "&eWelcome to the GameSign text editor."
sign_convo_line_prompt: "&eWhich line would you like to edit? Options: 1 - 4 &7(Type 'EXIT' to exit the editor)"
sign_convo_line_invalid: "&cInput must be between 1 and 4"
sign_convo_text_prompt: "&ePlease state the text you want to put on line &6&l%line_number%"
questions.yml
Questions:
1:
# Write the question in speech marks
Question: "'A' is the most common letter used in the English language"
# State whether the correct answer is "True" or "False"
Answer: False
# (Optional) Write an explanation for the correct answer. This will be shown once the answer is reveal.
Correction_Message: "'E' is the most common letter used in the English language"
2:
Question: "In the English language there is no word that rhymes with orange"
Answer: True
# (Optional) Leave the correction message blank if you do not want a message to be shown
Correction_Message: ""
3:
Question: "The unicorn is the national animal of Scotland"
Answer: True
Correction_Message: ""
4:
Question: "Goldfish have a two second memory"
Answer: False
Correction_Message: ""
5:
Question: "An octopus has two hearts"
Answer: False
Correction_Message: "An octopus has three hearts"
6:
Question: "An octopus has three hearts"
Answer: True
Correction_Message: ""
7:
Question: "An octopus has four hearts"
Answer: False
Correction_Message: "An octopus has three hearts"
8:
Question: "Cinderella was the first Disney princess"
Answer: False
Correction_Message: "The first disney princess was Snow White"
9:
Question: "Alexander Fleming discovered penicillin"
Answer: True
Correction_Message: ""
10:
Question: "The black box in a plane is black"
Answer: False
Correction_Message: "The 'black box' in a plane is actually orange"

PlaceholderAPI:
| Placeholder |
Description |
%tfquiz_gameID% |
Displays the game ID that the player is in. Will be “null” if the player isn't in a game |
%tfquiz_in_game% |
Shows “true” or “false” whether the player is in a game |
%tfquiz_gamestate% |
Shows the status of the game. Will be “null” if the player isn't in a game |
%tfquiz__countdown% |
Displays the amount of seconds remaining on the countdown before a game starts.. Will be “null” if the player isn't in a game |
Game setup examples
game with an arena
games:
1:
state_on_startup: RECRUITING # Options: Recruiting or Closed
minimum_players: 5
maximum_players: 20
countdown_seconds: 60
maximum_end_point: 20
broadcast_winners: true # Whether to announce the winner of a game to the whole server
reward:
type: 'item'
reward: oak_planks, 2
message: 'You won 2 oak planks'
arena: true
arena_options:
desc_option: hologram # Options: ‘both’, ‘chat’ or ‘hologram’
spectators: true # Enables the spectator system
holo_location: # The spawn point for the hologram (Only works if desc_option is not ‘chat’
world: world
x: -50
y: 64
z: 64
spawn_point: # The spawn point where players get teleported to when they join the game/arena
world: world
x: -50
y: 64
z: 64
yaw: -180
pitch: 0
game without an arena
games:
1:
state_on_startup: 'RECRUITING' # Options: Recruiting or Closed
minimum_players: 5
maximum_players: 10
maximum_end_point: 10
countdown_seconds: 10
# Whether to announce the winner of a game to the whole server
broadcast_winners: true
reward:
type: 'currency'
reward: 500
message: You won $500
arena: false
# (in seconds) Only works when the arena option is false.
schedule_delay: 300
# (in seconds) How long the game remains open and in the recruiting state, before it closes again (will not close if the game is active). Make sure this is longer than your countdown_seconds option. Defaults to 60 if this isn’t set.
schedule_resets: 120
Rewards examples
command rewards
reward:
type: command
reward: xp give %player% 100
message: You won some experience # (Optional) Do not add this option if you don’t want a reward message
command rewards as list
reward:
type: command
reward:
- xp give %player% 100
- eco give %player% 500
- broadcast %player% won the game
item rewards
reward:
type: item
reward: apple, 5 # For item rewards, state the Bukkit material, followed by the quantity
message: ‘&aYou won 5 Apples’
item rewards as list
reward:
type: item
Reward:
- apple, 5 # For item rewards, state the Bukkit material, followed by the quantity
- oak_planks, 2
- ender_chest, 1
message: ‘#01d54aYou won some items’
permission rewards
reward:
type: permissions
reward: test.permission
permission rewards as list
reward:
type: permission
reward:
- test.permission
- test.permission2
- test.permission3
message: You have won some permissions
money rewards
reward:
type: 'currency'
reward: 500
message: You won $500
xp rewards
reward:
type: experience
reward: 500
message: You won $500
no reward"
reward:
type: none
Sign examples
basic sign
signs:
1:
game: 1
material: OAK_WALL_SIGN
world: world
x: 2
y: 65
z: 2
facing: south
format:
- ' '
- 'Click me to join'
- 'game #1'
- ' '
sign with placeholders + colors
signs:
1:
game: 1
material: OAK_SIGN
world: world
x: 2
y: 65
z: 2
facing: south
format:
- '&a%game_ID%'
- '&e%game_state%'
- ' '
- '#01d54a%game_players%/%game_maxplayers%'
评论 0
登录后参与评分
还没有评论,来抢沙发吧