[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

    Mrchasez

    This thread is outdated and wont be updated.
    Plugin is updated, but only here:
    http://dev.bukkit.org/server-mods/ptweaks-remove-all-server-lag/

    (Old posts)
    Show Spoiler

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

    DOWNLOAD (BukkitDev Download)
    BUKKITDEV LINK
    Normal Ptweaks 3.0 StartUp Here

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


    VIDEOS:
    ====================================================
    VIDEOS:
    Thanks too Torrent for the video



    Thanks too BrandonHopkins for the video



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



    ======================================================


    About:

    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.


    Testing:

    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.


    Features:

    • 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.
    ======================================================
    SaveEdits:
    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
    ======================================================
    Chunky:
    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.
    ======================================================
    Installation:
    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!
    Commands:
    • /ram - Checks Free / Total ram
    Permissions:
    PTML:
    Permission: ptml.has
    RAM:
    Permission: ram.has

    ChangeLog:

    [v3.0]
    • 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
    • LET NEW PTWEAKS FOLDER LOAD
    Older Changelogs (open)
    Older Changelogs (open)


    [v2.0b]

    • 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
    • NEED TO LET NEW PTWEAKS FOLDER LOAD
    [v1.9-0.6a]
    • 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
    [1.8]
    • 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
    [1.6.1]

    • Updated for bukkit build 1337
    [v1.6]
    • 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.
    [v1.5]
    • 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
    [v1.3]
    • Fixed CPU taking up extra resources for no reason
    • Fixed Ptweaks error string
    [v1.2]
    • 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

    lenis0012

    i will test it :p
     
  3. Offline

    wade69

    ok i have used and love this plugin but we have seen this, when i put ptweaks in, blocks seem to disappear when you hit them dont matter what gamemode or mouse button no 1 can even place blocks it just breaks them,now when i take out ptweaks and go back in the game all is back to normal anyone have any idea i really want to use this plugin.

    edit: i used the default settings that ptweaks provides do i need to change any of the settings?
    And i use world edit the wand does not work right with ptweaks.
    the wand will break the block instead of selecting the block for 1st position and second position.
    But works fine without it.
    Any help will help.

    all plugins are up to date

    i fixed it program is awesome
     
  4. Offline

    Mrchasez

    Ptweaks has no block breaking information at all
    Sorry.
     
  5. Offline

    BrandonHopkins

    @Mrchasez
    I think the video didn't embed correctly ;) lol
     
  6. Offline

    Mrchasez

    I am aware that it didn't embed.
    I already have a video on the page , so i decided to just link it.
     
  7. Offline

    BrandonHopkins

    Awwwwww, Ok, Mine is more than a Tnt test. lol
     
  8. Offline

    colgatiN

    On my server the problem of animals also freeze happens. and not use safazones or something. 2 minutes after turning on the server. The chunks do not load more, and this problem happens. Removing the plugin, it works normally.
    Using CB 1.2.3 R0.3
     
  9. Offline

    Mrchasez

    Some servers reported that, (you and one other)
    This is an alpha build.
     
  10. Offline

    n3v3rm1nd

    having the same problem .. how did you fix it ??
     
  11. Offline

    Mrchasez

    Yes i understand, Ill update this page later
     
  12. Offline

    Luwiego

    Yup, i also have a problem with map not loading in :/
     
  13. Offline

    Mrchasez

    Ok, Changed it.
     
    BrandonHopkins likes this.
  14. Offline

    InvaderIan

    Will this conflict with NoLagg? Awesome plugin btw
     
  15. Offline

    agubelu

    Is it compatible with ShowCase?
     
  16. Offline

    Mrchasez

    Just Updated, Needs to get approved on Bukkitdev though:

    [v2.0b]

    • 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
    • NEED TO LET NEW PTWEAKS FOLDER LOAD

    Not recommended anymore

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

    jenks1999

    still no upload available for 2.0b seems only 1.9-0.6a is available. False information based on current details.
     
  18. Offline

    Mrchasez

    Just checked, it's approved!
     
  19. Offline

    RasCas

    HM, cuts my world into peaces. suddenly the world ends as if it was cut with a knife from top to bottom.
     
  20. Offline

    Mrchasez

    What is HM
     
  21. Offline

    RasCas

    Nothing special ähm.... HolyMoly ....
     
  22. Offline

    Mrchasez

    You double posted, and i don't know what that means

    Would you like to play on a server running latest build, low ram, and a lot of other intensive plugins running fine? Make sure your running 1.2.4 also.

    Here is a pastie of a startup i just ran:
    http://pastie.org/3688136

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

    jenks1999

    nvm problem solved...delete config files and reload. It seemed abit buggy maybe its the settings i changed. Just FYI (for your information) the plugin works, just you might need to reload the config. Also isnt loading chunks clearly in Large maps, advised players to load and build on small-medium unless you have 4gig ram+ to accomodate the larger render.

    PS. Mrchasez you might want to delete previous quote.
     
  24. Offline

    Mrchasez

    Can you delete your bad comment ^-^?
    Also, on the download page, I put specific instructions to delete the old ptweaks folder
    All the config's changed
     
  25. Offline

    goldensugarpie

    This is happening to lots of people downloading your plugin. When I use it, lots of weird things happen, like the inability to pick up items, and when I use /give, the items don't show up until I relog or I right click, which is annoying. No console errors.
     
  26. Offline

    Mrchasez

    The give command isn't from ptweaks, I just tested.
    However, I do have a big flaw in the mod code.
     
  27. Offline

    grant1222

    Running this on a high MB server makes everything run as smooth as butter.
     
  28. Offline

    Mrchasez

    Uploaded Ptweaks-V2.1b
    * Disables Mob Features
    * Fixes Strange Mob Behavior

    (This is only a temp fix until i work on it later)
     
  29. Offline

    Deano

    We have a major issue with the Chunk Persistance:
    if i enable it default. my players on my server start sending me emails left and right that chunks aren't loading at all and half of their places are gone. So i log in and yea. half the map missing. So i disable it reboot and everythings fine..
    What settings would you use to save a little ram but allow chunks to load properly?

    Otherwise i gotta run that disabled.
     
  30. Offline

    Mrchasez

    Please PM me your IP, i would love to see this.
    I am sure i fixed this with the most recent update.
     
  31. Offline

    RasCas

    As i said, nothing special, a polite form for shit, this plugin cuts my world into peaces .....

    Double post was because of the bukkit.org server problems yesterday.

    btw, see post above, they also reported not loading chunks and therefor missing places.

    PS: the good thing disabling ptweaks fixes the issue. The worlddata is not lost.
     

Share This Page