描述
此插件允许在末影龙被击杀后自动再生(重置/重建)末地,以便玩家再次有机会击杀末影龙。重建通常非常快。
使用 BBTE 你可以配置:
- 生成的龙的数量。
- 尝试重建末地的时间间隔。
- 两种自动重建模式:在你配置的周期(间隔)之后,可以自动重置末地
- [新增] 添加了一个配置参数,允许你选择插件要挂钩的世界。
- 仅在所有玩家离开之后;或
- 可以将他们传送回出生点。
这两种情况都只会在玩家击杀了末地中现存的所有龙,并且宽限期已过时发生。
- 你可以禁用自动功能,并使用 /re now 和 /re schedule 手动重建末地。
该插件通过防止玩家进入来保护世界免受损坏。这是在重建期间将玩家传送回出生点来实现的。这包括:
- 通过命令访问(例如 essentials 中的 /back)。
- 通过末地传送门访问。
- 通过登录访问(如果玩家在末地登出并尝试重新加入该世界)。在这种情况下,插件会将玩家踢出,直到重建完成。
主命令: /resetend
别名: /re
源代码位于 jar 文件内,只需解压即可。
命令
尖括号 > 中的参数为必填项。方括号 [] 中的参数为可选项。
- /re now [dragonamount] - 立即重置末地。可选生成的龙的数量。
- /re schedule <time> [dragonamount] - 安排末地在 <time> 秒后重置。
- /re cancel - 取消任何待定的重置。
- /re help - 显示帮助信息
- /re reload - 从文件重新加载配置。
- /re showconfig - 显示插件的配置。
- /re status - 显示是否有待定的重建、剩余时间、将要采取的操作(传送或等待空场)以及将要生成的龙的数量。
记住主命令的小技巧:re 来自 resetend
权限
- bringbacktheend.reset - 允许使用 now 和 schedule 命令。
- bringbacktheend.reload - 允许使用 reload 命令。
- bringbacktheend.cancel - 允许使用 cancel 命令。
- bringbacktheend.status - 允许使用 status 命令。
- bringbacktheend.showconfig - 允许使用 showconfig 命令。
注意:只有 bringbacktheend.status 的默认权限为 'true'。其余项需要 'op'(或你使用的权限插件对应的等效权限)权限。
配置
注意:由于 Bukkit 上默认文件解析器的工作方式,config.yml 中的注释会在首次重置后被清除。这不会影响文件中的其他内容或插件的运行。
- logDebug - 将调试信息保存到日志中。除非有充分理由,否则不要将其设置为 true。默认值 = false
- autoReset - 启用插件的自动重置功能。将其设置为 false 意味着你需要使用 now 和 schedule 命令来重置末地。默认值 = true
- interval - 击杀龙之后重新构建之间的时间间隔。after 表示在龙被击败后计算。单位为秒。默认值 = 1200
- tpPlayersAfterTimeout - 如果设置为 true,当重置发生时仍在末地的任何玩家将被传送回出生点。如果设置为 false,则在他们离开后立即进行重置。默认值 = false
- dragonAmount - 重置时生成的龙的数量。默认值为 1
- saveRate - 将剩余重置时间保存到磁盘的频率,单位为秒。
- [NEW]autohookworld - 检查所有已加载的世界,并连接到它找到的第一个末地环境。如果将其设置为 false,则需要在 'worldName' 中指定世界名称。默认值为 true。
- [NEW]worldName - 要连接的末地世界的名称。区分大小写。仅在 autohookworld = false 时使用。
关于 saveRate 值的说明
- 设置过低会导致磁盘访问增加。
- 设置过高可能导致服务器非正常关闭时当前的刻数丢失。
- 默认值为 5 分钟(600 秒)。
- 此值必须低于间隔时间,否则将自动调整至合适值。
config.yml 文件中的其余值不应更改。
重要提示:如果您使用的是 1.14 或更低版本,在更新到 1.2.x 之前,您需要删除旧的 config.yml 文件
除非另有说明,任何后续更新也将自动更新您的配置文件。
2013/08/03 更新
新版本(1.2.2)修复了多项关于多世界支持的错误,并将实体生成的过时方法更改为新方法。这将使插件为未来的 Bukkit 更新做好准备。插件将自动更新配置文件。
但是
如果你使用的是 Spigot/MCPC+ 或某种会卸载末地环境的插件,该插件将无法重置这个世界。当这种情况发生时,它会向你发出警告。对于 Spigot/MCPC+,请在 'bukkit.yml' 中将参数 'keeploaded-environment-the_end' 改为 'true'。
只要 Bukkit 没有对我使用的方法进行重大更改,此模组就应在大多数版本的 Bukkit 上无需更新即可持续正常工作。
Description
This plugin allows the automatic regeneration (reset / rebuild) of The End even after the dragon is killed, so players may once again have a chance to kill the EnderDragon. Rebuild is usually pretty fast.
With BBTE you can configure:
- The amount of dragons to spawn.
- The time between attempts to rebuild The End.
- Two automatic rebuild modes: After the period you configure (interval) The End can be automatically reset
- [NEW] Added a configuration parameter to allow you to select which world you want the plugin to hook on to.
- Only after all players leave or
- It can teleport them to spawn.
Both will only happen after the players kill all the dragons that are alive in the end and if the grace period has passed.
- You can disable the automatic functionality and use the /re now and /re schedule to rebuild the end manually.
The plugin protects against world damage by player entrance. This is done by teleporting players back to spawn during rebuild. This includes:
- Access by command (e.g. /back on essentials).
- Access by The End portals.
- Access by login (If the player logged out while being on The End and attempts to join back in that world). In this case the plugin kicks out the player until the rebuild is done.
Main command: /resetend
Alias: /re
Source can be found inside the jar file, just unzip it.
Commands
Parameters in <> are required. Parameters in [] are optional.
- /re now [dragonamount] - Resets the end instantly. Optional dragons to be spawned.
- /re schedule <time> [dragonamount] - Schedules the end to be reset in <time> seconds.
- /re cancel - Cancels any pending reset.
- /re help - Shows help
- /re reload - Reloads the configuration from file.
- /re showconfig - Shows the plugin's configuration.
- /re status - Shows if there is a pending rebuild, the remaining time, the action it will take (tp or wait for empty) and the dragon amount to be spawned.
Tip to remember the main command: re comes from resetend
Permissions
- bringbacktheend.reset - Allows the use of the now and schedule commands.
- bringbacktheend.reload - Allows the use of the reload command.
- bringbacktheend.cancel - Allows the use of the cancel command.
- bringbacktheend.status - Allows the use of the status command.
- bringbacktheend.showconfig - Allows the use of the showconfig command.
Note: Only bringbacktheend.status has a default permission of 'true'. The rest need 'op' (or the equivalent of your permissions plugin) permission.
Configuration
NOTE: The comments on the config.yml get wiped after the first reset because of the way the default file parser works on bukkit. This does not affect anything else on the file or the workings of the plugin.
- logDebug - Saves debug information to the log. Do not set to true unless you have a good reason. Default = false
- autoReset - Enables the auto reset functions of the plugin. Setting this to false means you will need to use the now and schedule commands to reset the end. Default = true
- interval - Time between rebuilds after the dragon has been killed. Value is in seconds. Default = 1200
- tpPlayersAfterTimeout - If set to true, any player still on the end when the reset happens will be tp'd to spawn. If set to false, the reset will happen as soon as they leave. Default = false
- dragonAmount - The number of dragons to spawn during the reset. Default = 1
- saveRate - The save rate of the remaining time to reset to disk. Value is in seconds.
- [NEW]autohookworld - Checks all the worlds that are loaded and hooks to the first end environment that it finds. If you set it to false, you need to specify the world name in 'worldName'. Default = true.
- [NEW]worldName - Name of the end world to hook on to. Case sensitive. Only used if autohookworld = false.
NOTES on the saveRate value
- Too low means increased disk access.
- Too high may cause the current tick count to be lost if the server is shut down incorrectly.
- Default is 5 minutes (600 seconds).
- This value needs to be lower than the interval or it will be adjusted as necessary.
The rest of the values on the config.yml file should not be changed.
IMPORTANT: If you were using version 1.14 or lower, YOU NEED TO DELETE YOUR OLD CONFIG.YML before updating to 1.2.x
Any further updates will also update your config file automatically unless otherwise noted.
Update 2013/08/03
The new version (1.2.2) fixes a lot of bugs regarding multi world support and changes the deprecated method of spawning entities to the new method. This will make the plugin prepared for future bukkit updates. The plugin will update the config file automatically.
BUT
If you have spigot/mcpc+ or a plugin that unloads the end environment, the plugin will not be able to reset that world. It will warn you when that happens. For spigot/mcpc+, change the paramenter 'keeploaded-environment-the_end' to 'true' in 'bukkit.yml'.
This mod should keep on working on most versions of Bukkit without any update as long as they don't do any major changes on the methods I use.
评论 0
登录后参与评分
还没有评论,来抢沙发吧