MultipleBedSpawn
一个简单的 Minecraft 插件,允许玩家选择重生到哪个床。
Github
工作原理
当玩家死亡时,如果他们至少拥有一张床,就会显示一个重生菜单,让他们选择重生地点。如果启用了冷却时间,还会显示床的位置和倒计时计时器。
玩家可以通过右键点击来设置一张床。
并在看向该床时使用命令 /renamebed '你想要的名字' 来重命名它。

配置
该插件拥有大量选项
lang - 选择插件的语言,目前我们有 5 种:英语 (enUS)、葡萄牙语 (ptBR)、德语 (deDE)、俄语 (ruRU) 和瑞典语 (svSE),但你可以在此仓库的 src/main/resources/language 文件夹中查看所有支持的语言。
max-beds - 玩家最多可以拥有的床的数量。
disable-sleeping - 是否允许玩家睡觉(如果设置为 true,玩家将无法躺在床上)。
bed-cooldown - 玩家在相同床之间重生所需等待的时间(秒)。
你可以选择插件将在哪些世界中运行。可以选择白名单或黑名单(两者可以同时使用,但这没有意义)。
留空则适用于所有世界。
denylist - 插件不会生效的世界列表。
allowlist - 插件不会生效的世界列表。
link-worlds - 如果为 true,玩家可以选择来自所有世界的床。
如果为 false,玩家只能选择来自当前世界的床。
remove-beds-gui - 如果为 true,启用命令 /removebed,打开一个图形界面,让玩家可以移除已注册的床。
如果为 false,该命令无效,玩家只能通过破坏床来移除已注册的床。
disable-bed-world-desc - 如果为 true,重生菜单和移除菜单中的床物品将不显示床所在的世界。
disable-bed-coords-desc - 如果为 true,重生菜单和移除菜单中的床物品将不显示床的坐标。
spawn-on-sky - 如果为 true,玩家将在天空中飞行出生。
exclusive-bed - 如果为 true,床只允许一名已注册的玩家使用。
bed-sharing - 如果为 true,玩家将能够执行 /sharebed <player> 并将他们正在查看的床分享给其他玩家。
command-on-spawn - 当玩家点击 SPAWN 块时运行的命令,留空以禁用。
run-command-as-player - 如果为 true,命令将以点击它的用户身份运行,否则以控制台身份运行。
权限
multiplebedspawn.skipcooldown - 允许玩家跳过床的冷却时间。
multiplebedspawn.maxcount.{num} - 允许玩家拥有自定义的最大床数量。将 '{num}' 更改为你希望作为拥有此权限的玩家最大床数量的数字(忽略 config.yml 中的设置)。
MultipleBedSpawn
A simple Minecraft plugin to allow players to choose which bed to respawn into.
Github
How it works
When a player dies, if they have at least one bed, a respawn menu appears so they can choose where to respawn. With which bed displaying the location and cooldown timer if enabled.
A player can set a bed by right clicking it.
And rename it with the command /renamebed 'the name they want' while looking at the bed.

Configuration
The plugin has a lot of options
lang - Chooses the language of the plugin, at the moment we have 5, English (enUS), Portuguese (ptBR), German (deDE), Russian (ruRU) and Swedish(svSE), but you can view all the supported languages at the folder src/main/resources/language inside this repo.
max-beds - The maximum number of beds a player can have.
disable-sleeping - If players can sleep or not (if set to true, player will not be able to lie in bed).
bed-cooldown - The amount of time, in seconds, players have to wait before respawning in the same bed.
You can select which worlds the plugin will run. Choosing between allowlist or denylist (you can use both, but it does not make sense).
Leave empty to work in every world.
denylist - List of world where the plugin will not work.
allowlist - List of world where the plugin will not work.
link-worlds - If true, players can choose beds from all worlds.
If false, players can only choose beds from the current world.
remove-beds-gui - If true, enables the command /removebed that opens a gui so the player can remove registered beds.
If false, the command does nothing and player can only remove registered beds breaking them.
disable-bed-world-desc - If true, the bed item inside the respawn menu and remove menu will not show the bed's world.
disable-bed-coords-desc - If true, the bed item inside the respawn menu and remove menu will not show the bed's coordinates.
spawn-on-sky - If true, players will spawn flying in the sky.
exclusive-bed - If true, beds will allow only one registered player.
bed-sharing - If true, players will be able to do /sharebed <player> and give the bed that they are looking to another player.
command-on-spawn - Command to run when player clicks the SPAWN block, leave empty to disable.
run-command-as-player - If true, command is run as the user that clicked it, else as console.
Permission
multiplebedspawn.skipcooldown - Allow players to skip bed cool-down.
multiplebedspawn.maxcount.{num} - Allow players to have custom maximum bed amount. Change '{num}' with the number you want to be the max number of beds a player with this permission can have (ignores config.yml setting).
评论 0
登录后参与评分
还没有评论,来抢沙发吧