Hoppers and about why the staff won't bring them back

Discussion in 'Suggestion Archive' started by Pablo, Oct 13, 2017.

?

Did this thread help you / did you like it?

  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  1. Pablo

    Pablo Forum Enthusiast

    Joined:
    Jan 2, 2014
    Messages:
    278
    Likes Received:
    39
    So as many people reading this probably know that hoppers on prison won't be coming back. At least until a viable solution is found for this problem.

    The lag is being caused by the search-for-item code only on uncovered hoppers. When the top of a hopper is not covered by a block-type having an inventory slot (so that the hopper will switch to pull-from-container mode), the hopper block constantly checks the block above it for things to suck in. Solid blocks (non-inventory-slot blocks) don't toggle the hopper mode.

    If you feed the server's region files into the blockfinder tool, looking for hoppers, you'll probably find much of the ongoing lag problem: instances of uncovered hoppers, increasing over time.

    http://www.minecraftforum.net/forum...inecraft-tools/1262291-tool-blockfinder-0-9-1

    There are no current viable fixes as how the only few deal with messing and playing with tick settings and changing from spigot to a faster fork of spigot but more unstable and unpredictable paper spigot. You could also upgrade the ram but that becomes costly.

    An example of a tick fix straight with spigot only would be the below:
    ticks-per
    The amount of ticks between the server checking if there are items in hoppers and moving the items.
    Code (Text):
    ticks-per:
    hopper-transfer: 24
    hopper-check: 24
    hopper-amount: 3

    Playing with those settings above can cause mass amount of problems for the server.

    Another not viable fix would to be limit Hoppers per chunk which would mess up farms so it wouldn't be done either way.
    https://dev.bukkit.org/projects/hopperlimit

    Another would be switching to paper spigot. Again not viable as how its currently still being developed and in beta stages and unstable. Transfer the server to paper spigot would also cause some plugins to cease to work or break all together such as PermissionsEX which is the permissions plugin Minetime uses that is very outdated.

    In Paper spigot:

    use-hopper-check
    Default: false
    Suggested: true

    The `hopper-check` option in spigot.yml is currently ignored, making it pretty much impossible to optimize hoppers on your own. This option re-enables it.

    In regular Spigot:
    hopper-transfer, hopper-check, hopper-amount
    Default: transfer:8, check:8, amount:1
    Suggested: transfer:24, check:24, amount:3

    This will make hoppers tick three times slower, but move three items at a time. This can break some vanilla behavior, especially stuff like redstone clocks depending on hopper times. Can be a major player in hopper lag.
    Requires "use-hopper-check" to be enabled in paper.yml

    All of these can potential mess up the server and make it less enjoyable for players all together.

    A plugin that staff could look into and test to see how it plays on on the Prison test server if they are looking to make one last attempt to bring hoppers back: https://www.spigotmc.org/resources/synccraft-better-stronger-faster-hoppers.37904/

    Sources:
    https://www.spigotmc.org/wiki/reducing-lag/
    http://www.minecraftforum.net/forum...77806-hoppers-lag-and-chunk-loading-using-1-8
    https://community.gophersvids.com/topic/3922-hopper-lag-problem-and-solution/
    https://www.spigotmc.org/threads/gu...remove-lag-fix-tps-improve-performance.21726/
     
    #1 Pablo, Oct 13, 2017
    Last edited: Oct 14, 2017
  2. Beeman

    Administrator

    Joined:
    Sep 29, 2013
    Messages:
    2,149
    Likes Received:
    1,030
    I believe that @Matthew has tried doing this before but it didn't change anything.
     
  3. Pablo

    Pablo Forum Enthusiast

    Joined:
    Jan 2, 2014
    Messages:
    278
    Likes Received:
    39

Share This Page

*/