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 Mar 24, 2012@xXReVurbXx
I got the mob error before too. I'm using the 1.2.4 dev build, but I still have the same error as you.
-
View User Profile
-
Send Message
Posted Mar 20, 2012any update for 1.2.3 r02 ?
-
View User Profile
-
Send Message
Posted Mar 19, 2012@tomori_peti
Don't run Nolagg with Ptweaks
-
View User Profile
-
Send Message
Posted Mar 18, 2012The /ram command seems to return the currently used ram in the 'unused' field.
-
View User Profile
-
Send Message
Posted Mar 18, 2012This is without Ptweaks: http://pastebin.com/sGtcfSAf
-
View User Profile
-
Send Message
Posted Mar 18, 2012@tomori_peti
Make a ticket with your start up
-
View User Profile
-
Send Message
Posted Mar 18, 2012First I get out your plugin and everything works, the chunks keep load. I put on Ptweaks, i get out no lagg chunks, and after 1 min the chunks don't load anymore. Pls help!
-
View User Profile
-
Send Message
Posted Mar 17, 2012@tomori_peti
I see this "orebfuscator.threading.OrebfuscatorThreadUpdate" Since you do not run that anti-xray feature, It's coming from NoLagg because they have added features specifically for the anti-xray.
Both plugins cannot manage chunks.
-
View User Profile
-
Send Message
Posted Mar 16, 2012I have the same bug as xXReVurbXx. Error log:http://pastebin.com/YXBVgwV7 I use AuthMe Essentials, Essentials Chat, Essentials Spawn, Logblock, ModifyWorld, Nolagg(chunks, itemstacker, itembuffer, lighting,monitor,) PEX, Ptweaks, Vault, WorldBorder, WorldEdit, WorldGuard with Bukkit R2 (2060). Please help.
-
View User Profile
-
Send Message
Posted Mar 16, 2012@mrchasez
ok i'll try that thanks
-
View User Profile
-
Send Message
Posted Mar 15, 2012@DarkenedEvil
Mm, God i have no idea. I will try and fix it, Try updating to 1.2.3-R0.2 Because on the test server it's running fine.
-
View User Profile
-
Send Message
Posted Mar 15, 2012WOOOOOOOOOOOOOT updated!!!!
-
View User Profile
-
Send Message
Posted Mar 15, 2012ok so this really helps! lag is basically nothing and your plugin is just great except for one thing. I do have factions but NO warzones and the mobs are glitching the same as xXReVurbXx and i dont want to take off the chunk persistence. Any suggestions? if i have to i will take chunk persistence off but that would be last resort. Thank you!
-
View User Profile
-
Send Message
Posted Mar 15, 2012@mrchasez
Okay, worked at first, then I switched to another world.
Upon coming back, it failed to load properly. (MV-Core)
-
View User Profile
-
Send Message
Posted Mar 15, 2012@EnderdragonDE
Ptweaks isn't causing the Chunk errors at all. However, The mobs are from Ptweaks, However i can't find out why it is happening on some servers, Because on my test server which you can check out yourself, its running fine.
-
View User Profile
-
Send Message
Posted Mar 15, 2012@EnderdragonDE
I'm using WorldEdit, XRayDeath, Vault, PEX, Multiverse-Core, GB.Rewarder, WorldGuard, McMmoAp, MCSL, Permissions(Bridge), pvparena, HawkEye, ButtonCommands, Modifyworld, NoCheat, Votifier, MobArena, mcMMO, Essentials, ChatManager, EssentialsSpawn, VanishNoPacket, LWC, and ChestShop.
Considering the only errors I've been getting is caused by WorldEdit recently to do with moving selections that have usable entities within them such as chests/furnaces/crafting tables, I have reason to believe that WorldGuard/WorldEdit is the cause of this strange chunk error.
I'll test it on my PServer right now, actually!
-
View User Profile
-
Send Message
Posted Mar 14, 2012@mrchasez
@xXReVurbXx
Same problem. And im not using factions. My Plugin list:
Any idea which one?
-
View User Profile
-
Send Message
Posted Mar 14, 2012@OriginalMadman
I sure hope so, This latest update changed a lot. I will try to keep updates more frequent.
-
View User Profile
-
Send Message
Posted Mar 14, 2012@xXReVurbXx
Do you run factions? This has been found to happen in in Faction Warzones. However i have a test server up running this build, and Mobs/Chunks are working fine.
The only issue is with Warzones.
-
View User Profile
-
Send Message
Posted Mar 14, 2012Weird chunk persistence bugs I'm having :(
It returns no errors whatsoever, and is extremely strange.
A specific strip of chunks on my server refuses to load* properly, and allows people to actually step through and die from falling into the void.
Items cannot be picked up in these chunks, but can be dropped. Blocks can be edited too, but right clicking them makes them disappear isntantly.
Mobs do not aggro. They are stuck in the same spot within these chunks. When you run and hit them, they tend to humorously go flying off into the distance and literally fly off in their own flight patterns. While I was gone, it kept my server occupied with laughter for a whole thirty minutes!
Disabling chunk persistence fixes the chunk problem, but sadly the chunk persistence part of Ptweaks is what prevents most of the lag :(
EDIT: Why the hell did I put lag instead of load?