
你好,
很遗憾,我已经很久不再对 Minecraft 感兴趣,也没有计划继续更新此插件,因此我强烈建议寻找替代品。这段旅程虽好,但我觉得是时候画上句号了。感谢大家多年来的支持,我们对此深表感激。祝好运,
干杯。
-
-
-
-
-

pTweaks 是一款服务器优化工具。此插件将重新定义你的服务器加载、存储和管理区块的方式。pTweaks 会优先加载所需的区块,确保急需的区块率先载入。当大量区块连续加载时,该插件会以更高的速率卸载未使用的区块,从而保持服务器的更高性能。pTweaks 拥有智能的区块加载算法,使玩家周围的区块在正常使用期间保持加载状态,从此你再也不用担心走几步路后身后的区块就开始卸载。pTweaks 阻止服务器使用它本不必消耗的资源。pTweaks 还添加了生物处理功能。你可以为每个世界设置怪物和动物的数量上限。当情况失控时,pTweaks 还提供一条命令来杀死所有活体实体。pTweaks 还提供了一条命令来检查你的内存限制、性能和分配情况。pTweaks 是一款防卡顿插件。

你的服务器将能够运行更久、更流畅,而无需重启。由于 pTweaks 已经清除了通常需要通过服务器重启才能移除的所有未使用数据,Java 转储文件已被清除,且区块的生命周期更长,这意味着内存使用和 CPU 强度将会下降。现在可以实现生物处理功能,启用或设置你世界中生成怪物/动物的数量,以大幅降低资源占用。限制生物数量在改善效果上类似于减少视距。有助于提升性能,从而防止卡顿。

生命周期是指区块被加载到内存中的时长,修剪(prune)则是循环频率。根据你的服务器规模和 CPU 性能,你可能需要自定义这些设置。拥有更多空闲内存的大型服务器可能希望提高修剪值,以减少区块加载和卸载的频率;而小型服务器可能希望保持默认设置或降低修剪值。修剪是指所有未使用区块被卸载的循环周期。因此,将其设得越高,更多区块就会保持加载状态更久;将其设得越低,它们就会更快卸载。两者各有好处,但通常我不建议修改它。SpawnChunkRadius 是玩家加入服务器时的静态(初始)区块加载量,即围绕玩家加载的区块数量,不建议修改此项。

区块编辑 (ChunkEdits):
ChunkEdits 是一个完全定制的区块加载算法,旨在实现更快的区块加载和优先级数据包。这样区块的加载方式更适合玩家和服务器。该算法并不完美,目前正在进行重写。
<><><><><><><><><><><><><><><><><><><><><><><><><>
怪物限制器 (Monster Limiter):
这是一个完全自定义的功能。你可以在配置文件中启用或禁用它。限制你世界中生成怪物或动物的数量,或者完全禁用生成。你可以选择在一个世界中启用生成而在另一个世界中禁用,你也可以简单地使用 kill 命令屠杀当前或所有世界中的所有活体怪物/动物。在游戏中输入 /pTweaks 可以看到所有可用命令。
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
区块持久性 (Chunk Persistance):
这是一个完全自定义的功能,可以在配置文件中关闭。它具有大量功能,是本插件的主要核心。你可以更改玩家加入时加载的区块数量,或更改人们离开后区块保持加载的时间。它会定期加载没有活动的区块以节省大量 CPU 功率。清理周期已更改,以减少磁盘写入。访问频繁的区块将保持加载更长时间,而不必反复渲染。这为你的服务器增添了大量性能。
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
内存检查 (Ram Check):
检查正在使用的内存量、空闲内存以及当前加载的内存量。这使你能够检查服务器性能,并通过逐个添加插件并测试、再添加一个并使用命令再次检查,从而调试出占用资源最多的糟糕插件。此命令不久还将具备 TPS 和其他性能跟踪能力。
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
数据包自动保存:
不再每 2 秒将每个区块写入磁盘,而是将其更改为您自定义的时间间隔,默认值为 50 毫秒。这可以防止服务器向磁盘写入约 14KB/s 的数据(在 3 人服务器上,每个区块 10 次写入、3 次读取)。同时,每秒可节省约 2 次 deflate 调用。(每个区块)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
TNT 编辑: (推荐)
基本上,该功能的作用是在第一次爆炸后,通过复制相同的爆炸效果来“阴影化”后续爆炸,使得例如 500 个 TNT 的效果与单个 TNT 方块爆炸的效果相同。此方法并非万无一失,如果让服务器渲染过多的数据包,仍然可能导致服务器卡顿,但除非使用 WorldEdit 等插件处理数千个方块,否则这种情况不太可能发生。

- 下载 pTweaks
- 停止您的服务器
- 将 pTweaks.jar 放入 Plugins 目录
- 启动您的服务器
- 根据需要编辑配置文件,或保留默认设置
- 重新加载
- 完成!

/pTweaks
权限: pTweaks.pTweaks
此命令将显示大部分游戏内设置和信息。您还可以从游戏内启用或禁用生物生成。
/ram
权限: pTweaks.ram
这将显示当前可用的 RAM 及相关信息
视频:
感谢 @Torrent 提供视频
感谢 @BrandonHopkins 提供的视频
Lag Test 3,000 TNT / With and Without pTweaks (356MB server)
请考虑捐赠以支持本插件的开发!
每一份帮助都至关重要。
1) Cyberpwn $5

Hello,
Unfortunately, I have long lost interest in Minecraft and have no plans to update this plugin any further, so I highly suggest finding a replacement. It was a good run, but I think it's time to call it quits. We appreciate all the support over the years, and are truly grateful for it. Best of luck,
Cheers.
-
-
-
-
-

pTweaks is a server optimization tool. This plugin will redefine how your server loads, stores and manages chunks. pTweaks will prioritize chunk loading so the ones that need loaded get done first. When a large number of chunks are being loaded consecutively the plugin will start to unload unused chunks at a higher rate to keep performance on the server higher. pTweaks has a smart chunk loading algorithm so that chunks in a players surroundings stay loaded while under normal use so never again will you take a few steps and all the chunks start to unload behind you. pTweaks stops your server from using resources it doesn't have to use. pTweaks also adds mob handling. You are able to set limits of Monsters and Animals in each world. When things get out of hand pTweaks also offers a kill command to kill all living entities. pTweaks also offers a command to check your ram limits, performance, and allocations. pTweaks is an anti lag plugin.

Your server will be able to run longer, and smoother without the need of a restart. This being pTweaks already clears all unused data that would normally be removed with a server restart. Java dumps are already cleared and Chunks have a longer life span, meaning ram usage and CPU intensity will drop. Mob handling is now a possibility, enable or set the amount of mobs/animals spawning in your world(s) to massively drop resource usage, Limiting mobs is like turning down view distance improvement wise. Helps reduce performance therefor stopping lag.

The lifetime is how long the chunk is loaded into memory, and the prune is the cycle rate. Depending on your server size and CPU power you may want to customize these settings. Larger servers with more free ram may want to make prune higher to keep chunk loading and unloading from happening less often, while smaller servers may want to keep the default settings or make prune lower. The prune is the cycle of when all the unused chunks get unloaded. So having this higher makes more chunks stay loaded longer, while having it lower makes them unload faster. Both have benefits but generally i don't suggest editing it. SpawnChunkRadius is the static (initial) loading of chunks when a player joins your server, so the amount of chunks loaded around him, don't suggest editing this.

ChunkEdits:
ChunkEdits is a 100% customized chunk loading algorithm to enable quicker loading of chunks, and priority packets. So chunks load in a fashion better fitted for the player and the server. This algorithm isn't perfect, and currently being recoded.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Monster Limiter:
This is a fully custom feature. You can enable or disable this in the config. Limit the amount of Mobs or Animals spawning in your world, or disable spawning all together. Change if you want spawning in one world and not the other, you can also simply use the kill command to butcher all living mobs/animals in the current or all worlds. You can see all commands by typing /pTweaks in game.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Chunk Persistance:
This is a fully custom feature, that can be turned off in the config. This does a whole lot and is the main backbone of the plugin. Change how many chunks are loaded on player join or how long chunks stay loaded after people leave them. Makes chunks with no activity loaded at certain intervals to save tons of CPU power. The clear cycle is changed to make less disc writing. Chunks with lots of visitors will stay loaded longer, and not have to render again and again. This adding lots of performance to your server.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Ram Check:
Check the amount of ram being used, the free ram, and currently loaded ram. This gives you the ability to check server performance and debug bad plugins by seeing which are taking up the most resources by adding one and testing, adding another and using the command again. This command will soon also have TPS and other performance tracking abilities.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Packet Auto Save:
Instead of writing every chunk to the disc every 2 seconds. This changes it to a custom time that you want, Default is 50ms This saves the server from writing about 14KBps to the disc (10 writes, 3 reads per chunk, on a 3 person server). As well as saves about 2 calls to deflate every 2 seconds. (per chunk)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
TNT Edit: (Suggested)
Basically all this does is after the first explosion, shadows the rest of them by duplicating the same explosion so the effects of say 500 TNT are the same as the effects of a single tnt block going off. This is not bullet proof, and it will still be possible to cause server lag by making the server render too many packets, but this is not possible unless doing thousands of blocks with a plugin like WorldEdit.

- Download pTweaks
- Stop your server
- Put pTweaks.jar in your Plugins directory
- Start Your Server
- Edit Config's to your liking or leave default
- Reload
- Done!

/pTweaks
Permission: pTweaks.pTweaks
This command will bring up most ingame settings, and information. You can also enable or disable mob spawning from ingame.
/ram
Permission: pTweaks.ram
This will show current ram usable, and information
VIDEOS:
Thanks too @Torrent for the video
Thanks too @BrandonHopkins for the video
Lag Test 3,000 TNT / With and Without pTweaks (356MB server)
Please consider donating to help support development of this plugin!
Everything helps.
1) Cyberpwn $5
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
下载 pTweaks
版本:6.0.15
Bukkit:1.8.5/1.8.6/1.8.7-R0.1 仅限
- 已为 CB 1.8.5/1.8.6/1.8.7 更新
请通过工单系统报告你发现的任何错误!谢谢
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧