pTweaks

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



-
View User Profile
-
Send Message
Posted Aug 22, 2012@mrchasez
Been there, done that. I hate it when that happens. Also, if you want, I'll let you backup the source on my private server. Let me know if you're interested.
-
View User Profile
-
Send Message
Posted Aug 22, 2012@deleted_6837836 Do you have NoLagg installed, also? With it, the chunks won't load.
-
View User Profile
-
Send Message
Posted Aug 22, 2012@negativexer0
Doesn't work for me, players have to go to the chunks for it to load. Oh well.
-
View User Profile
-
Send Message
Posted Aug 22, 2012The reason it is taking so long is because i lost my original source and all my settings and configurations just recently. I completely rebooted my pc for a major rebuild.
So i am finding myself having to do redo a lot of work here. If anyone is interested in maintaining this plugin with me, Please do send a PM.
Thank you.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@micahdg
Strictly running Ptweaks, I get the "very few/0 chunks loaded error" and reapplying NoLagg fixes said problem. But I am getting a noticeable difference with Ptweaks going. I haven't the slightest clue what it's doing, but it's doing something. lol.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@GumbyDammit Thanks for the info, but $10/months is outta my reach atm.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@negativexer0
@negativexer0: you should try removing nolagg and then see what ptweaks "does" for you :P When I run both, chunks load fine but the chat lag is still there after 10+ players and the lag compounds from there. Additionally, I see no changes in the average ram usage. Therefore, ptweaks does not appear to be working for me, even using your particular settings, which were very close to mine anyway.
@GumbyDammit: Yeah, we use both. Optimally, ptweaks takes care of chunks while nolagg monitors tick rates, buffers/stacks items, and does sophisticated mob limiting.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@negativexer0
You're running NoLagg *and* ptweaks at the same time??
-
View User Profile
-
Send Message
Posted Aug 20, 2012@negativexer0
Elite Hosting has great Minecraft servers for $10/month. I got tired of complaints about my home server on a cable connection being too laggy. Best $10 I ever spent.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@micahdg
Now that the server's been running for a few hours, and I've been able to study it more closely, I conclude that effects are about 30% better than before. With more than 5 people on, things bog down quite a bit, but it's still noticeably better than before. We're only getting "nibbles " of that nasty disconnect.endOfStream soup I mentioned earlier.
TL;DR == A little better, not as good as it does to a 1.2.5 server though.
-
View User Profile
-
Send Message
Posted Aug 19, 2012@negativexer0
What other plugins do you have running? How have you tested whether ptweaks is actually doing its job?
-
View User Profile
-
Send Message
Posted Aug 19, 2012PTWEAKS WORKS FOR ME ==
And Hopefully I Can Help You Get it Working, Too! ====
Hey guys, like most of you who don't/can't afford to rent a server, I'm pretty sure that you rely on Ptweaks just as much as I do.
With 1.2.5 I can run a my server flawlessly with 15+ players and myself on-line all at once.
Now that 1.3.1/1.3.2 is out, I can't have more than 4 people on line, and if I try to join, it
locks up and everyone gets a nice taste of disconnect.endOfStream soup.
So I got tired of it, and started "tweaking" Ptweaks to get it to actually load chunks.
This is NOT a guaranteed thing, but it worked for me, and I sincerely hope it works for you, as well.
[Step 1] Make sure you're running Craftbukkit 1.3.1 R 2.0
[Step 2] Install Ptweaks as you normally would, dropping it into the /Plugins folder.
[Step 3] Run the server and stop it with "/stop"
[Step 4] Open /Plugins/Ptweaks and edit "AutoSaveStopper.yml" so that it looks like this:
[Step 5] Once that's completed, open up "ChunkPersistance.yml" and edit it to resemble this:
[Step 6] One more file. Open up "MonsterLimiter.yml" and set it up like this:
I CANNOT guarantee that this will work for you, but I sure HOPE that it does.
Until we meet again,
Negative_Xer0
-
View User Profile
-
Send Message
Posted Aug 19, 2012If you look at the tickets you'll see hes working on it. As you said you gave up, this shows how difficult it is, just give him time, you have to consider he has a real life to deal with, to top it off he isn't charging anyone for this. I personally wouldn't mind paying for it, so long its a reasonable price. I also want to donate, but I'm waiting for some sort of a release.
-
View User Profile
-
Send Message
Posted Aug 18, 2012To me it seems hes not doing either, and I looked at the source for about 5 min, and gave up. Guess I gotta learn java from the beginning...
-
View User Profile
-
Send Message
Posted Aug 18, 2012I'm sure the dev is working on this, you guys just need to be patient. Instead of complaining and trying to rush him, I recommend you support him, submit a ticket and wait, if someone already submitted what you were going to submit, then just comment with any additional information you may have. If he abandoned this plugin, he wouldnt accept tickets, nor would he reply to our posts.
-
View User Profile
-
Send Message
Posted Aug 18, 2012@benneht
Just realized, y ptweak have no github? D: Just decompile the Jar ;)
-
View User Profile
-
Send Message
Posted Aug 17, 2012I'll donate if he updates it soon... He is my source of income... but if not, ill try to update it myself... i can learn Java xD... Source please?
-
View User Profile
-
Send Message
Posted Aug 17, 2012If MrChasez was smart, or let me say that better, if mrchasez was me, he'd realise that the majority of non rented home serves need his plugin, and that if he charged 5 bux, 5 times 50,000 is alot. And would give him more time to work on plugins. People would pay it.
I am a greedy bastard tho.
-
View User Profile
-
Send Message
Posted Aug 17, 2012If you notice or remember it was only two weeks after major releases that this addon was updated. Stop speculating and get some patience, he said hes working on it leave it at that
-
View User Profile
-
Send Message
Posted Aug 17, 2012@DrFusion
Sorry, but nolagg just does not cut it for our server with 20-30 players online at the same time. I need a plugin that dynamically keeps a specified number of chunks in ram for a configurable but limited amount of time. Ptweaks eliminated all our chunk and chat lag.
I think a ptweaks update is still forthcoming. The dev is busy with his own servers and getting them up to date and lag-free first. Can't really blame him for that.