[MECH/EDIT ] Ptweaks v6.0.6 - Kill all server Lag! [1.7.5]

Discussion in 'Archived: Plugin Releases' started by Mrchasez, Sep 30, 2011.

  1. Offline


    This thread is outdated and wont be updated.
    Plugin is updated, but only here:

    (Old posts)
    Show Spoiler

    Ptweaks -
    Version: 3.0
    CB: 1.2.4-R1.0

    DOWNLOAD (BukkitDev Download)
    Normal Ptweaks 3.0 StartUp Here

    The Continuation of PerformanceTweaks LexManos However, It has almost been fully redone by me.

    Thanks too Torrent for the video

    Thanks too BrandonHopkins for the video

    Lag Test 3,000 TNT / With and Without Ptweaks (356MB server)



    Ptweaks is plugin to optimize your server, by changing chunk loading algorithms. Ptweaks is also huge on ram reduction, if you run a low ram server, or just want the improvements; Ptweaks is for you. Ptweaks also stops crashing and lag from TNT, and enables complex methods to improve your server in almost every aspect. Running a 16GB or 512MB Server, Ptweaks is for you.


    We ran 7 large plugins on a small 256MB server without PTweaks. The server couldn't load chunks, there was noticeable amounts of chat and block lag. The server was all around unplayable. We enabled Ptweaks and within minutes of being on, the chat and block lag we're gone. Chunk's loaded normal as they would on a 3GB Dedicated server.


    • Massively reduces needless disc usage
    • Loads Chunks faster
    • Priorities Chunk's in the direction your facing, To ensure smooth game play
    • Keep chunk's loaded at a configured amount
    • Chunks with higher activity such as a spawn, stay loaded to massively reduce Ram usage
    • Limits Mobs and Animals to a configured amount
    • Disable Mobs and Animals
    • Check Current Ram being used
    • Config file's for each part of the plugin
    • Dupe TNT Packet's, So TNT will no longer cause any server side lag
    • Add's highly advanced Chunk Algorithms
    Feature Description:

    AutoSave: Instead of writing every chunk to the disc every 2 seconds. This changes it to a custom time that you want, Default is 30m. This saves the server from writing about 9KBps to the disc (7 writes, 2 reads per chunk, on a 3 person server). As well as saves about 2 calls to deflate every 2 seconds. (per chunk)
    Chunk Persistance:
    This is a fully custom feature, that can be turned off. It will change how long chunks stay loaded. 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. This works for people just joining on that chunk or someone walking into it, So a spawn point works great with this. You can change how long they stay loaded, and how fast they unload. Default works for most though. This will no longer need extra ram.
    Monster Limiter:
    This is another fully custom feature. You can change it to a certain amount of Mobs spawn, or if they spawn at all. You can turn Mobs off and animals on, or vice versa.You can set a minimum mob limit and a maximum, That the server wont go below or above. Fixing some lag that can happen from mobs spawning or not spawning at all.
    When the server starts to save, It slows down the processes to normal speed, Causing the save to be instant.
    Ram Saver:
    Based on how the Ptweaks edit chunk loading, Ram drastically goes down. With the added features, such as slowing down disc usage. You can see up to a 80% Improvement
    Chunks in front of you get a higher priority too load then the ones to your side and back. Making smoother game play, and instant chunk loading.
    TNT Edit:
    This makes TNT only really have to load once, then it is saved until the TNT packet stops. Causing TNT cause no lag at all, Under 10k TNT, which it will start to give off lag. TNT packets are also saved, after the first and just duplicated so you dont get spammed with them, and causing lag.
    1. Download Ptweaks
    2. Stop your server
    3. Put Ptweaks.jar in your Plugins directory
    4. Start Your Server
    5. Edit Config's to your liking or leave default
    6. Relaod
    7. Done!
    • /ram - Checks Free / Total ram
    Permission: ptml.has
    Permission: ram.has


    • Stable Build
    • Added Whole new Chunk Loading algorithms thanks too Thulinma
    • Fixed Error where Chunk's wouldn't load
    • Chunk's now load faster
    • Chunks prioritize too load where the player is facing, before chunks to the side or behind
    • New Feature: ChunkEdits (@Thulinma)
    • Enabled Mob Features
    • You can only disable or enable Mob's from MonsterLimiter.yml for now, To disable set too 0
    • Fixed bug where you couldn't pick up mob drops
    • Fixed error on ChunkPersistance StartUP
    • Ram handler Update started
    • Updated too a stable Bukkit R1.0 Build
    • Removed separate listener files
    • Main now Implements listener
    Older Changelogs (open)
    Older Changelogs (open)


    • Updated to CraftBukkit 1.2.4-R0.1
    • Added WorldListener
    • Changed all Files to YAML format
    • Added Enable options for Threaded Save and Monster Limiter
    • Changed Default Settings for more optimization
    • Started on Chunk Algorithm import
    • Fixed Bug where chunk's wouldn't load properly
    • Changed Start up code
    • Fixed Bug where you would fall into void on teleport
    • Fixed Faction Warzone bug where Mobs would fly when hit
    • Changed Util Color codes
    • Fixed Grammar error
    • Moved Listener to Even folder
    • Optimized chunk unloading method
    • Updated To 1.2.3-R0.1 Compatible
    • Fixed Util Color Class
    • ^Moved all Listeners to Main Class^
    • Re-Wrote Entity Listener
    • Re-Wrote Player Listener
    • Re-Wrote World Listener
    • Added GroupManager Support
    • Fixed Sync Save Times
    • Added New permissions
    • Changed Resource management
    • New Default settings
    • Fixed Duplication Bug with Output in Console
    • Fixed Mob limit not responding
    • Fix Mob Ratio not being correct
    • Updated to bukkit 1.0.0-r
    • Chunk life time now 4 1/6 mins.
    • Removed all "i" interface from Threaded Save
    • Updated Ram to V1.2
    • Started Permissions for Ptweaks ptml
    • New Feature : TNT EDIT Changed from finished, to coming
    • More CPU friendly.
    • Updated Ram to v1.5

    • Updated for bukkit build 1337
    • All features getWorld instead of getServer
    • Added New Feature "Ram"
    • Added New Command /ram
    • Added New permission ram.has
    • Auto Save stopper now slows down process's
    • Old code in PerformanceTweaks.java Updated
    • Fixed torches light not going out when broken
    [v1.5.1] Updated (10/5/11)
    • Fixed Remove animals being there twice
    • Fixed Ea, Enabling Mobs.
    • Fixed Ra, Disabling Mobs
    • Fixed Enable mobs not working
    • Fixed Plugin.yml to say correct version instead of 1.5
    • Fixed Enable Animals not working correctly
    • Thanks @pegasus for pointing out the RA being duped.
    • Chunks Mini-save is now a little slower, this takes up less CPU
    • Mob limit isn't only on Death and Spawn, but chunk load as well.
    • Fixed OnEnable and OnDisable leaving extra notes in console.
    • Updated for CB #1240
    • Fixed CPU taking up extra resources for no reason
    • Fixed Ptweaks error string
    • Added Ptweaks Version 1.2 (C-V)
    • Updated to work with CB: 1185

    Please leave feed back!
    If you find any bugs, Please let me know immediately!

    jo3la, DoomLord, RoiTortue and 8 others like this.
  2. Offline


    Yeah either your loading up an old version, or blaming the wrong plugin.
  3. Offline


    It was Yesterdays version, right after bukkit dev approved it.
  4. Offline


    yeah nobody use this i put this in and i got more lag i thought i would keep it in for a day but then my friends where flipping out because there was so much more lag then normal then this morning im in there by myself i started to go branch mining and i was not picking up stuff like wtf then boom server comes unresponsive i disconnect i tried to connect another boom end of stream 30 sec later lets me back in and i can pick up my stuff i try mineing again and shit there it goes again i removed the plugin and it worked just fine no lag no problems sorry sir but this plugin is shit
    jenks1999 likes this.
  5. Offline


    Im a retard I cant figure out how to PM you.
    I need to add you to whitelist and tell me
    what time you would want to see this. as I disable that
    part of the plugin. So I need to re-enable it and then
    have a go and let you see whats going on.
  6. Offline


    I bet you didn't delete your Ptweaks folder and let a new one load.
    That's why you would crash
  7. Offline


    This plugin is good, it drops my 1gig use down to 100mb, but after about five minutes all mobs, hostile and otherwise, just become braindead. If you hit them they fly away into the distance. New chunks also fail to load.
  8. Offline


    Your running the latest right?
    The one with Mob Features disabled, and you deleted the old Ptweaks folder?
    Try this one:

    Let me know if they still do that for you.
    I am working on fixing all the issues right now.
  9. Offline


    I've just recently switched from NoLagg to Ptweaks. Ever since 1.2.3, I've been getting 5-10 second chat lag with just craftbukkit and 60-120 second chat lag with NoLagg. Ptweaks takes the chat lag to under 3 seconds at most, so thanks for that. I have seen the braindead mob behaviour mentioned above. A skeleton caught in daytime just bruned forever in a frozen state. I pushed him into the water to see if the fire would go out, but he warped back to where he was originally. Very weird.
  10. Offline


    Yes, The latest build's are a bit unstable
  11. Offline


    i did actually not at first but then i looked and saw i did delete it and i did not see any improvements and then a little later is when all that shit happened so stop assuming big boy
  12. Offline


    Wow, Some one's an angry kid.
    Don't like it, Don't use it.
    Flame somewhere else, I clearly state the latest builds aren't stable
  13. Offline


    I'm thinking of moving here from nolagg just to try it out, but you said it's unstable at the moment so i'll wait.
    But one question does this help CPU load? And does this save more ram then nolagg?
  14. Offline


    Yes, It is unstable right now.
    I am putting out release's a lot, so ill let everyone know when a stable build is out.
    Your have to test and see which you prefer, but i would wait.
  15. Offline


    Hi I just wanted to say that I love this plugin immensely it really does help lower the ram usage. It does however put more of a load on the CPU which is fine. But if anyone wants to see this plugin in action you can check out Eldercrest.com, or Nomadcraft @ ! :D
  16. Offline


    Would you recommend this even on servers that aren't slow and laggy?

    Our server currently has 8gb ram dedicated which increases to 16gb when needed, i7 processor, 50mbps (soon 100mbps) connection and doesn't seem to lag even when setting off hundreds of TNT..

    I know it sounds silly, but if someone else has done this and can provide reasons as to why it is still a good thing for a server of those capabilities I'd be interested in using it. Afterall, there is nothing wrong with wanting to use less resources right? :D
  17. Offline


    Yes, It would be great to have it on your server.
    However, I suggest to wait until i get a stable build out.
    PixelBurst likes this.
  18. Offline


    Awesome thanks :) I'll be around. I'm planning on making some plugins of my own soon so I'll be lurking everywhere atm
  19. Offline


    When do you think a stable build will be released? I really want to see if this works!
  20. Offline


    lol, i love the braindead mobs, ive seen that bug before where they fly away, and that isn't because of ptweaks, iforgot exactly how to do it tho :(

    EDIT: it may be because of ptweaks, im not sure, but i think that i did /stoplag, and a skele was still spawned, but "braindead", so i punched him and he fly pvp'ed, again, im not sure, that was all the way back in 1.1
  21. Offline


    Hi, I don't know if anyone has had this bug before but my map couldn't load, i would have missing chunks because of the plugin. Anyway just asking if anyone has had the same problem, Mrchasez your plugin is awesome keep up the good work!!
  22. Offline


    The mob limiter keeps saying it's disabled. How do I enable it?

    Edit: Also it seems to be causing lag. The mobs are alive during the day and when I attack something my item drops and it takes it a while to pick it back up. Disabling the plugin fixes this.
  23. Offline


    Updating right now, With tons of fixes and updates

    (Let it get approved)
    Fully Remade page too


    • Stable Build
    • Added Whole new Chunk Loading algorithms thanks too Thulinma
    • Fixed Error where Chunk's wouldn't load
    • Chunk's now load faster
    • Chunks prioritize too load where the player is facing, before chunks to the side or behind
    • New Feature: ChunkEdits (@Thulinma)
    • Enabled Mob Features
    • You can only disable or enable Mob's from MonsterLimiter.yml for now, To disable set too 0
    • Fixed bug where you couldn't pick up mob drops
    • Fixed error on ChunkPersistance StartUP
    • Ram handler Update started
    • Updated too a stable Bukkit R1.0 Build
    • Removed separate listener files
    • Main now Implements listener

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 20, 2016
  24. Offline


    I have a bug with the /ram, I have a 3Gb server and it say that only 80/3063 Mb is free. When I check in java.exe processus the server use 250 000K = 244Mb so it's suppose to write that I have 2819/3063 free. I don't understand, is this a bug?
  25. Offline


    In the update " Ram handler Update started"
    I'm working on it
  26. Offline


    Just on with editing config, will let you know ;) Fingers crossed this helps DynMaps run a little smoother :p
  27. Offline


    Hopefully ^-^
    hybridphreak likes this.
  28. Offline


    DynMaps renders fine, 2 clients connected. Will check tomorrow with more :p Very promising so far. Thanks for a neat little plugin ;)
  29. Offline


    No thank you, Although it's not that small if you ask me ^-^
  30. Offline


    Is there an older stable version?
  31. Offline


    Most recent version (Updated today)
    Is 100% Stable, and the best build yet

    Ptweaks -
    Version: 3.0
    CB: 1.2.4-R1.0

    DOWNLOAD (BukkitDev Download)

Share This Page