[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

    bergerkiller

    Ugh guess it is time for yet another issue list...

    Being some time later, what did you change? I looked at your latest version, and I am having a few serious issues.
    You don't have ANY ram saving code in there. However, you do reference 'RAM.jar' (see your classpath). What is it, where can users download this and what does it do? Please don't say you referenced an external library only you found out on the interwebs, which directly hooks into Java to change RAM into disk storage, it would be weak to state that your own creation.

    Your entire plugin does not contain the word TNT. Neither does that sentence make any sense, you can't 'load up' an explosion packet, they hardly add RAM usage so no need to 'store them' and even if you cancelled ALL explosion packets then clients still experience lag in the form of block placement lag.

    Code:
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
        <classpathentry kind="lib" path="C:/Users/Chase/Desktop/Pluginsource/PerformanceTweaks-0.05-src.zip" sourcepath="C:/Users/Chase/Desktop/Pluginsource/PerformanceTweaks-0.05-src.zip"/>
        <classpathentry kind="lib" path="C:/Users/Chase/Desktop/Pluginsource/RAM.jar"/>
        <classpathentry kind="lib" path="C:/Users/Chase/Desktop/Pluginsource/craftbukkit-0.0.1-SNAPSHOT.jar"/>
        <classpathentry kind="output" path="bin"/>
    This is the classpath of your plugin as reference.

    Reason why I post this again? Ow someone made me think of this plugin again, so decided to look at the progress and/or I could add support for this plugin by disabling/letting handle certain coding. Buuuut I am extremely disappointed. :(

    EDIT

    Also, you have a license of 'all rights reserved' while the ENTIRE plugin you based it off, is open sourced? Cmon?
     
    emericask8ur likes this.
  3. Offline

    Mrchasez


    Ok, I dont plan to read or care about what you just said.
    Way to busy to put hardly any time into coding.
    Edit: That class path is just @Unused Imports

    makes no difference if that is there
     
    emericask8ur likes this.
  4. Offline

    bergerkiller

    emericask8ur likes this.
  5. Offline

    Mrchasez

    Good day.
     
  6. Offline

    bergerkiller

    @Mrchasez ok then I now officially flag this plugin as a total continuation of Performance Tweaks, stating features that don't exist, are not implemented, and will never be implemented. He is advertising something he did not make, claiming he invests time in. If you wish to compare the plugins:

    <Edit by Moderator: Redacted mediafire url>

    Don't believe it? Here is the original plugin.

    I'll try to list possible changes he DID add here:
    - Monster and animal true/false setter (is basically one line of code to do it)
    - Changing performancetweaks to ptweaks (wow that is hard)
    - Nothing else really

    You can ignore it, but it is there. I demand counter proof that you actually made this plugin, because you didn't.

    Also, first page:
    I never lol'd this hard...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 12, 2016
    emericask8ur likes this.
  7. Offline

    AuZor

    Owned by berger? Yep.
     
    emericask8ur likes this.
  8. Offline

    Mrchasez

    All i have to say to you is, lol
     
    Last edited by a moderator: Nov 12, 2016
  9. Offline

    bergerkiller

    @Mrchasez All i have to say to you is, glad I could help explaining the mistakes you made when publishing this plugin.
     
  10. Offline

    Mrchasez

    Well, I think ill go to sleep now.

    What about the ram features added?

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

    bergerkiller

    @Mrchasez there are none. Chunk unload delay (or 'chunk persistance') INCREASES ram, it doesn't decrease at all. Threaded save won't decrease RAM either, nor will any other features in the old Performance Tweaks. TNT handling is a total lie and I wonder how you made that video without any TNT coding in that plugin.

    Sure, showing the TPS and RAM usage could be implemented, but that has hardly anything to do with 'remove all server lag'.
     
  12. Offline

    Mrchasez

    U mad bro?
     
  13. Offline

    bergerkiller

    @Mrchasez Not really, but I still expect an answer from you, which support that you actually decrease RAM usage, before people start to see this plugin as a placebo.
     
  14. Offline

    Mrchasez

    Cool story bro.
     
  15. Offline

    bergerkiller

    @Mrchasez good day.

    ok then I now officially flag this plugin as a total continuation of Performance Tweaks, stating features that don't exist, are not implemented, and will never be implemented. He is advertising something he did not make, claiming he invests time in. If you wish to compare the plugins:

    <Edit by Moderator: Redacted mediafire url>

    Don't believe it? Here is the original plugin.

    I'll try to list possible changes he DID add here:
    - Monster and animal true/false setter (is basically one line of code to do it)
    - Changing performancetweaks to ptweaks (wow that is hard)
    - Nothing else really

    I demand counter proof that you actually made this plugin, because you didn't.
     
    Last edited by a moderator: Nov 12, 2016
    Butkicker12 and emericask8ur like this.
  16. Offline

    Mrchasez

    Did you really repost?
     
  17. Offline

    emericask8ur

    Im sorry but I think you just "made" this for the publicity... @bergerkiller :D Teehee
     
  18. Offline

    Tolerance

    I've never heard a plugin develepor talk like this. You should be thoughtful and accept what he said. 'Not Caring' about a reply to your post tells something about you.....

    I could completely understand your reasoning of not caring if somebody just flat out posted "doesn't work," but @bergerkiller gave proof for almost all (if not all) his reasoning.

    I don't mean to "butt in" your conversation, but you should actually post an explanation to what he said besides:
     
  19. Offline

    Leemur

    when i make restart in game, the people work for the last 30-45 min it is lost!
    I make restart in cmd with command /stop, then reopen .bat file.
     
  20. Offline

    Mrchasez

    He has been a big troll.
    I have told him my reasoning for not being able to add in all the features i want to.
    I am not 17 and living with my parents like him.
     
  21. Offline

    bergerkiller

    @Mrchasez so I am a troll mh? Does a troll reply with 'u mad?', 'I neglect all proof', 'I don't give a f*** what other think' and 'whatever'? I even supported my statements with arguments and facts, does a troll take time to do this? All I want is a straight-out answer from you, but if you don't do so...what are my options? Why do you think I do this? Well, I think it is unfair for the original author of 'Performance Tweaks' to be treated like this. You used ALL his coding, even copied his classpath, and what does he get? You don't even state the changes you made from his plugin, why? Are you scared to end up saying:

    Instead you make it a closed-source project, with invalid statements and features, combined with a lack of credits to the original author. I saw how a plugin of a friend of mine got hijacked 'just like that', and I don't want to have the same happening to anyone EVER again.

    Define 'lots'?

    Also:
    Who's the troll here mh? You tried to change the subject into a flame-war 6 times.
     
    Butkicker12 and emericask8ur like this.
  22. Offline

    Mrchasez

    ok.
     
  23. Offline

    bergerkiller

  24. Offline

    AuZor

    Aw, Chasez. You're absolutely horrible. I've never seen such a pathetic ''developer'' on bukkit ever before!
     
    emericask8ur likes this.
  25. Offline

    Mrchasez

    You am finished justifying myself to his stupidity.
     
  26. Offline

    AuZor

    HIS stupidity? Who's the one claiming non-existing features? Who's the child replying everything with two-five word sentences? Who's the one not being able to defend himself because he actually didn't work on this plugin?
    You.
     
    emericask8ur likes this.
  27. Offline

    THG3

    @Mrchasez You're a fraud. This plugin is being reported.
     
    emericask8ur likes this.
  28. Offline

    Mrchasez

    I have nothing to defend.
     
  29. Offline

    AuZor

    Exactly, there's nothing of yours. Glad you admit it.
     
  30. Offline

    Mrchasez

    Ha.
     
  31. Offline

    Fishrock123

    So you've used code that isn't explicitly yours? Correct?

    You need go change "All rights reserved" to something more suitable.
    (If it's an open source license, you're required to publish the source.)
     

Share This Page