
Would You Rather?
Would You Rather? 是一款独特且荒诞的迷你游戏,玩家会被提供不同的选项,并被迫在两者中选择看似痛苦较少的那个。每隔设定的时间,所有玩家都会收到一个“Would You Rather?”(二选一)提示。每个提示包含两个选择,每个选择都带有一个增益效果和一个减益效果。
视频演示
示例提示
示例 #1

示例 #2

示例 #3

快速上手
- 在服务器上安装插件
- (可选)按照下方所示配置插件参数
- 运行
/wouldyourather start 开始游戏
命令
点击下方以查看本插件可用的命令列表
命令
/wyr help
显示帮助信息以及文档链接。
/wyr start
开始一场新的 Would You Rather? 游戏。
/wyr stop
停止当前的 Would You Rather? 游戏。
/wyr pause
暂停活跃的 Would You Rather? 游戏。
/wyr unpause
恢复已暂停的 Would You Rather? 游戏。
/wyr removeeffect <player> <effect>
移除指定玩家身上活跃的 Would You Rather? 效果。
/wyr checkactiveeffects [player]
检查并列出指定玩家或你自己身上所有活跃的 Would You Rather? 效果。
/wyr sendnewprompt
强制游戏立即发送新的提示。
/wyr config
显示所有可配置设置及其当前值。
/wyr config <key>
显示特定配置键的值。
/wyr config <key> <value>
将某个配置键设置为新值。
/wyr addspectator <player>
将一名玩家添加到当前或下一场游戏的观战者列表中。
/wyr removespectator <player>
从观战者列表中移除一名玩家。
/wyr ExcludePlayerFromGettingPrompts <player>
使该玩家不再接收或无需选择 Would You Rather? 的效果。
/wyr unexcludePlayerFromGettingPrompts <player>
使该玩家再次有资格接收 Would You Rather? 提示
配置
插件的配置非常简单,通过游戏内命令完成,而非配置文件。
配置命令用法
/wyr config [config key] [config value]
如果留空 [config key] 字段,它将显示所有可用的配置选项及其当前值。
配置值可以在游戏过程中动态更新,更改的值会自动生效,无需停止或重启游戏。
配置
配置
| 配置键 |
描述 |
类型 |
默认/推荐值 |
SetToDayOnGameStart |
设为 true 以在游戏开始时将时间设置为白天。 |
Boolean |
true |
ResetAdvancementsOnGameStart |
设为 true 以在游戏开始时重置所有玩家的进度。 |
Boolean |
true |
TeleportPlayersToWorldSpawnOnGameStart |
设为 true 以在游戏开始时将所有玩家传送至世界出生点。 |
Boolean |
true |
MinimumSecondsBeforeNewChoice |
新的“Would You Rather”提示出现前的最少秒数。每个周期将从此值与 MaximumSecondsBeforeNewChoice 之间随机选取一个值。 |
Integer |
60 |
MaximumSecondsBeforeNewChoice |
新的“Would You Rather”提示出现前的最大秒数。必须大于或等于 MinimumSecondsBeforeNewChoice。 |
Integer |
180 |
AllocatedSecondsForChoosingOption |
玩家选择选项的时间长度。 |
Integer |
25 |
PreventMovingDuringChoiceSelection |
如果为 true,玩家在做出选择时将无法移动。 |
Boolean |
true |
ApplyDamageImmunityDuringChoiceSelection |
如果为 true,玩家在做出选择时将不会受到伤害。 |
Boolean |
true |
StartGameWithAChoicePrompt |
如果为 true,游戏开始时会给玩家提供一个“Would You Rather”提示。 |
Boolean |
true |
需要支持?
如果您需要与此插件相关的任何帮助,或者发现了想要报告的漏洞,或者有希望添加的功能建议,请参阅以下内容。您可以在 Github issue tracker 上报告问题并提出建议。另外,如果您需要支持,或者希望有一个用于报告漏洞和提出建议的其他地方,欢迎加入我的 Discord 服务器!
想要更多的混乱?
如果您希望在此插件中获得更多功能,请查看 MinigamesWithFriends。MinigamesWithFriends 拥有此插件的所有功能,以及更多可以与 WouldYouRather 同时游玩的额外游戏模式。务必去看看!
致谢
我要特别感谢 EightSidedSquare 提出了这个小游戏的核心创意。我非常喜欢他展示他的 WouldYouRather 模组,我认为将这个类似的概念实现到这个插件中是一个完美的补充。

Would You Rather?
Would you rather is a unique and ridiculous minigame where players are prompted with different options, and forced to choose the seemingly less painful of the two. Every configured amount of time, all players will be presented with a "Would you Rather?" prompt. Each prompt contains two choices, with each choice containing a beneficial effect, and a detrimental effect.
Video Demo
Example Prompts
Example #1

Example #2

Example #3

Getting Started
- Install plugin on server
- (Optional) Configure plugin values as shown below
- Run
/wouldyourather start to start the game
Commands
Click below to see the list of commands available in this plugin
Commands
/wyr help
Displays help information and a link to the documentation.
/wyr start
Starts a new Would You Rather game.
/wyr stop
Stops the current Would You Rather game.
/wyr pause
Pauses the active Would You Rather game.
/wyr unpause
Unpauses a paused Would You Rather game.
/wyr removeeffect <player> <effect>
Removes an active Would You Rather effect from a specified player.
/wyr checkactiveeffects [player]
Checks and lists all active Would You Rather effects on a specified player or yourself.
/wyr sendnewprompt
Forces the game to send a new prompt immediately.
/wyr config
Displays all configurable settings and their current values.
/wyr config <key>
Displays the value of a specific configuration key.
/wyr config <key> <value>
Sets a configuration key to a new value.
/wyr addspectator <player>
Adds a player to the spectator list for the current or next game.
/wyr removespectator <player>
Removes a player from the spectator list.
/wyr ExcludePlayerFromGettingPrompts <player>
Makes it so a player will not recieve or be prompted to choose would you rather effects
/wyr unexcludePlayerFromGettingPrompts <player>
Make a player eligible again to receive would you rather prompts
Configuration
Configuration for the plugin is quite simple, and is done via in game commands opposed to a config file.
Configuration Command Usage
/wyr config [config key] [config value]
If the [config key] field is left blank, it will show all the available config options and their current values.
Config values can be updated on the fly during a game, and a changed value will be automatically updated without the need for stopping or restarting the game.
Config
Configuration
| Config Key |
Description |
Type |
Default/Recomended |
SetToDayOnGameStart |
Set to true to set the time to day when the game starts. |
Boolean |
true |
ResetAdvancementsOnGameStart |
Set to true to reset every player's advancements when the starts. |
Boolean |
true |
TeleportPlayersToWorldSpawnOnGameStart |
Set to true to teleport every player to the world spawn when the game starts. |
Boolean |
true |
MinimumSecondsBeforeNewChoice |
The minimum number of seconds before a new Would You Rather prompt appears. A random value between this and MaximumSecondsBeforeNewChoice will be selected each cycle. |
Integer |
60 |
MaximumSecondsBeforeNewChoice |
The maximum number of seconds before a new "Would You Rather" prompt appears. Must be greater than or equal to MinimumSecondsBeforeNewChoice. |
Integer |
180 |
AllocatedSecondsForChoosingOption |
The amount of time players have to select their choice. |
Integer |
25 |
PreventMovingDuringChoiceSelection |
If true, players will be unable to move while selecting their choice |
Boolean |
true |
ApplyDamageImmunityDuringChoiceSelection |
If true, players can't take damage while selecting their choice |
Boolean |
true |
StartGameWithAChoicePrompt |
If true, players are given a Would You Rather prompt at the start of the game. |
Boolean |
true |
Need Support?
If you need help with anything related to the plugin, if you found a bug that you want to report, or if you have a suggestion of a feature that you want added, please refer the following. You can report issues and make suggestions on the Github issue tracker. Alternatively, if you want support, or another place for bug reports and suggestions, feel free to join my discord server!
Want Even More Chaos?
If you want even more features in this plugin, check out MinigamesWithFriends. MinigamesWithFriends has all of the features of this plugin, plus more additional gamemodes that you can play aslong side WouldYouRather. Make sure to check it out!
Acknowledgements
I need to massively shout out EightSidedSquare for coming up with the idea of this minigame. I loved watching his showcase of his WouldYouRather mod, and I thought it would be a perfect addition to have a similar concept implemented in this plugin.
评论 0
登录后参与评分
还没有评论,来抢沙发吧