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,
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 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.
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.
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.
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
This command will bring up most ingame settings, and information. You can also enable or disable mob spawning from ingame.
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!
1) Cyberpwn $5
I wish bukkit would hurry up and approve this build I really want to use this Plugin! :) Is there a Dev build I can use? thanks.
Is there a possible to disable remove animals?
That sounds great...! I am going to follow the development of this plugin for 1.6.4 I have used Ptweaks in the past and it was very helpful! I am guessing that this plugin is not useful for 1.6.4 until the update is approved?
Update for 1.6.4 is uploaded and awaiting approval!
Sorry for the delay. 1.6.4 coming soon when my PC is running again like it should (had to re-install everything)
what about 1.6.4 ?
yes please fix the item frames and paintings. it was horrible have to redo what was done. and could you fix it where it shows my actual max ram cause i use more than 5gb but it never over 5000
For some reason I cant set mob limit in one of my worlds.
I can in my world named "world" but my other world does not appear in the monsterlimiter.yml file. If I add it to the config, it does not have any effect.
When I set limit in game using commands it wont let me set a limit (it sets it to 2400) then deletes this entry if the server closes.
You need to be able to set a custom limit in game other than default 2400. It also needs to be fixed in regards to multiple worlds.
When using pTweaks to clear all entities it also removes Item frames. Please fix this.
Why don't you add /ptweaks reload command ? Please add that command cause i can't reload it even with server restart and reload
Also, I have second question about Prune, further "The cycle in which inactive chunks are cleared". Cleared chunks=deleted chunks from disk? I prefer to ask because I'm not a native so I can't understand everything at 100 percentage and I dont want to delete permanently so long inactive chunks :P
Hiho, I have one question about Chunk Persistance feature. There is a "100.000 seconds" lifetime of chunk, so if player leave the area, which chunk is loaded, is this incactive chunk still loaded for 100k seconds? Yes? Isn't it too long? Over than 27 hours? Is it safe to set for instance 1000 seconds (+- 17minutes)?
False. Bukkit came out in early beta/alpha, I don't even remember myself. There's even a build for Beta 1.7.3.
I am talking server as in computer, the hardware is 10 years old.
Lie. Mc Wasn't Out For 10 Years. Plus Bukkit Came Out When 1.8.1 Did!
This plugin makes my 10 year old server feel like as if it was running on an SSD...
Good job, I love it!
Normally it should be auto-detected, IIRC.
However, this is not recommend since the plugin will break between each MC update - so a manual selection by the admin is needed.
There weren't any considerable changes between the two versions. I am not actively maintaining the plugin with new features and optimizations at the moment as i simply do not have the time. I would like to work on the plugin more but i really can't. xGhost is keeping it updated with the versions but maybe we will bring on another developer to continue optimizations and plugin features.
I am not running spigot as the fellow that commented below, nonetheless i am noticing that without ptweaks the TPS stopped dropping considerably (as it was dropping alot and causing my server to restart in less than 30 minutes), Running the Craftbukkit Beta build R0.1, along with Grief Prevention dev build 143 (just thought it was worth mentioning since it's not even a beta build of the plugin, which leads me to think that that might be causing problems, although i haven't noticed any.) I am using the latest version of ptweaks for 1.6.2, if by any chance will the previous version work any better?. the 1.5.2 one was working like a charm before i updated the server and switched to the 1.6.2 one.
could you add this plugin to the craftbukkituptodate plugin?