ChunkUp - 保持区块加载!
概述
此插件允许你选择区块并保持其加载状态,即使附近没有玩家也是如此。这对于大型红石电路、矿车运输系统或命令方块等非常有用。*太棒了* :D
这具体意味着什么?
还有更多功能!如果你有一条很长的铁路,你可以想象手动标记沿途的每一个区块需要花费多长时间,对吧?这绝对是不可接受的。因此,这里有一个命令可以在你旅行时跟随你!这样你就可以坐在矿车里,在几分钟内跑完全程并放松下来。 :)
但不仅仅是标记这些区块并保持加载。你还将拥有它们,这意味着这些区块属于你,其他人无法取消标记(除非他们拥有相应的权限... :/)。当别人试图“拥有”你的区块时,不要害怕。他们将共同拥有该区块,以确保它保持加载状态。 :)
命令
/chunkup help - 提供可用命令的简短概览
/chunkup info - 显示你所在区块的基本信息
/chunkup list - 显示所有已标记区块的列表
/chunkup mark [描述] - 标记你所在的区块,并可添加可选的描述
/chunkup follow mark|unmark [描述] - 跟随玩家并标记他经过的所有区块(“描述”仅在“mark”模式下有效)
/chunkup escape - 停止跟踪玩家
/chunkup unmark - 取消标记你所在的区块
/chunkup unmarkall [玩家] - 取消使用此命令的玩家或指定玩家的所有区块标记
/chunkup get|set ignoreInterval|refreshTime|altChunkLoader|owners|info [值] - 显示/更改指定的插件设置;查看“进一步说明”以获取有关这些设置的提示
"/chunkup" 的别名为 "/cu"
进一步说明
"描述" 参数是可选的,用于将大片区块分组。目前尚未实现任何使用该值的特性,它仅用于帮助玩家更好地概览区块情况。在未来的版本中,我将添加一些管理功能。
"ignoreInterval" 用于跳过某些 PlayerMovementEvents(玩家移动事件),这些事件用于跟踪玩家。这使得在处理被跟踪玩家的区块时速度更快。其默认值为 10,这应该足以在保持完整功能的同时稍微提升插件性能。较大的值可以进一步提高插件速度,但如果快速穿越区块,你可能会错过一些区块。
"refreshTime" 告诉服务器在经过多少刻之后插件重新加载已标记的区块。运行正常速度的服务器每秒大约应有 20 刻,而 "refreshTime" 的默认值设置为 50。这意味着区块每 2.5 秒重新加载一次。默认值设置得较低,是为了保证与大多数服务器的完全兼容性。强烈建议你自行微调此值,并发布其他可行值的建议。
"altChunkLoader" 是一个切换基于事件的区块加载的设置。这使得插件更加高效。只要你不让数十名玩家在保持数十个区块加载的同时四处移动,强烈建议使用这种方式来保持你的区块加载。要切换它,请使用 [值] 参数传入 true/false。自版本 1.2.0 起,此功能默认启用。
"owners" 是一个确定是否使用所有者系统的设置。如果启用,只有标记了区块的玩家或拥有 "chunkup.unmarkall" 权限的人才能取消标记。如果禁用,已标记的区块仍将保留其所有者,但拥有 "chunkup.unmarkall.own" 权限的任何人都可以移除所有区块。所有者功能默认启用。
权限节点
chunkup.*
chunkup.help
chunkup.info
chunkup.list
chunkup.mark
chunkup.follow
chunkup.escape
chunkup.unmark
chunkup.unmarkall
chunkup.unmarkall.own
chunkup.set
chunkup.get
近期更改
- 为所有命令添加了 Tab 补全支持!
当前进行中工作
- 为玩家添加最大区块数量限制
最新更新 2016年4月7日
兼容性
该插件已在 PaperSpigot 上测试,也可在 Bukkit 上运行。它不能在 Spigot 上运行,因为 Spigot 会阻止任何尝试从玩家范围外加载区块的行为。
其他
此插件是使用 Java 1.8 编译的。
请记住,根据你的服务器希望保持加载的区块数量,此插件可能会影响你的服务器性能。:/
此插件的源代码可在 Github 上找到(参见仓库链接)。
也非常欢迎社区的任何建议和反馈!
还有一件事:我是德国人,所以对于我的口语/拼写错误表示歉意。
如果你喜欢我的工作,欢迎捐赠 :)
ChunkUp - Keep those chunks up!
Overview
This plugin allows you to select chunks and keep them loaded, also when no player is near. This can be useful for e.g. large redstone circuits, minecart transportation systems or commandblocks. *Yay* :D
That means exactly?
There is still more! If you have a loooong railway, you could immagine how long it would take to mark every single chunk on the way by hand, wouldn't you? That's an absolutely no-go. And thats why there is a command to follow you while travelling around! So you could sit in your minecart, go all the way in minutes and relax. :)
But there's not just the possibility to keep those marked chunks loaded. You will also own them, which means your chunks belong to you and nobody can unmark them (unless they've got the right permissions... :/). And when somebody else tries to own you chunk, don't be afraid. They will co-own this chunk, to guarantee it will be kept loaded. :)
Commands
/chunkup help - Gives a short overview to the available commands
/chunkup info - Shows you basic informations about the chunk you're in
/chunkup list - Shows you a list of all marked chunks
/chunkup mark [description] - Marks the chunk you're in and adds an optional description
/chunkup follow mark|unmark [description] - Follows the player and marks all chunks he travels through ("description" works only using "mark")
/chunkup escape - Stops chasing the player
/chunkup unmark - Unmarks the chunks you're in
/chunkup unmarkall [player] - Unmarks all chunks of the player using it or of the given player
/chunkup get|set ignoreInterval|refreshTime|altChunkLoader|owners|info [value] - Shows/changes the named plugin settings; Check out "Some further description" to get some hints on this settings
Alias for "/chunkup" is "/cu"
Some further description
The "description" argument is optional and gets used to group greater areas of chunks together. At the moment no features which use this value are implemented, it's just used to give the players a better overview. In a future release I'll add some management functions.
"ignoreInterval" is used to skip some PlayerMovementEvents, which are used to follow the player. This makes the processing of chunks faster, while the player is chased. It's standart value is 10, which should be enough to speed the plugin up a little, while maintaining full functionality. Greater values can speed up the plugin, but you risk to miss some chunks, if you travel through them fast.
"refreshTime" tells the server how many ticks can go by until the plugin reloads marked chunks. A server running on normal speed should have around 20 ticks per second, while the standart value of "refreshTime" is set to 50. This means chunks are reloaded every 2,5 seconds. The standart value is set this low, to guarantee full functionality with most the servers. It is highly recommended to fine tune this value by your own and post suggestions for other working values.
"altChunkLoader" is a setting to toggle event based chunk loading. This makes the plugin much more efficient. As long as you don't have dozens of players moving around while keeping up dozens of chunks, it is highly recommended to use this way to keep your chunks loaded. To toggle it, use the [value] argument with true/false. Since version 1.2.0 this feature is enabled by default.
"owners" is a setting to determine if the owner system is used or not. If it is enabled, only the player who marked a chunk or everyone with the "chunkup.unmarkall" permission can unmark it. If it is disabled, marked chunks will still have their owners, but everybody with the "chunkup.unmarkall.own" permission can remove all chunks. Owners are enabled by default.
Permission nodes
chunkup.*
chunkup.help
chunkup.info
chunkup.list
chunkup.mark
chunkup.follow
chunkup.escape
chunkup.unmark
chunkup.unmarkall
chunkup.unmarkall.own
chunkup.set
chunkup.get
Recent changes
- Added Tab completion support for all commands!
Current work in progress
- Adding max chunks limit for players
Latest update 07. April 2016
Compatibility
The plugin was tested with PaperSpigot and works also with Bukkit. It doesn't work with Spigot, because Spigot blocks any attempt to load chunks out of range from players.
Other
This plugin was compiled using Java 1.8.
Keep in mind, that this plugin might impact on your server performance, depending on how many chunks you want to stay loaded. :/
The source code of this plugin is available on Github (see repo link).
Also any suggestions and feedback from the community are welcome!
And one last thing: I'm a native german, so I apologize for my speaking/spelling errors.
If you like my work, feel free do donate :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧