Day/Night Gather

Set different gather rates for day and night.

Total Downloads: 1,592 - First Release: Feb 12, 2017 - Last Update: Feb 16, 2017

5/5, 10 likes
  1. Dubz submitted a new resource:

    Day/Night Gather - Set different gather rates for day and night.

    Read more about this resource...
     
  2. Dubz updated Day/Night Gather with a new update entry:

    1.0.1

     
  3. Wulf

    Wulf Community Admin

    @Dubz, please use descriptive messages when posting updates, as well as full versions. I edited it to be 1.0.1 and provide info on what it changed. ;)
     
  4. I was WAITING for this

    But unfortunately:

    (01:06:09) | DayNightGather was compiled successfully in 1547ms
    (01:06:09) | Unable to find main plugin class: DayNightGather
    (01:06:09) | No previous version to rollback plugin: DayNightGather
     
  5. Wulf

    Wulf Community Admin

    I'd suggest deleting it and re-downloading it. Make sure it is named DayNightGather.cs too.
     
  6. No worries :)
     
  7. Is it safe to delete Gather Manager then? Thank you.
     
  8. Had to download it again, worked after that. Were no differences between the files, could be a binary ftp issue or something.

    No, this plugin uses the Gather Manager.
     
  9. Ok thanks for the quick reply.
     
  10. Is there a way to remove the chat message "Day: x gather" and Night: x gather"?

    Nvm, was able to mess with the .cs file and figure it out.
     
    Last edited by a moderator: Feb 14, 2017
  11. Dubz updated Day/Night Gather with a new update entry:

    1.0.2

     
    Last edited by a moderator: Feb 14, 2017
  12. Thanks for the update. It's nice to see someone so quick to address our concerns!

    Edit: When using the updated plugin it does not create its own config file. I deleted the .cs and .json to install the update and upon moving the file over it never created the config file.

    When going back to the older version, however, it does create the config and everything works fine.

    For now I will just use the old config and add the line as mentioned.

    Edit edit: Even using the old config file it's still not working.

    This is as far as it gets with the update.
    Code:
    > reload DayNightGather
    DayNightGather plugin requires missing dependency: TimeOfDay
    GatherManager was compiled successfully in 2251ms
    Unloaded plugin Gathering Manager v2.2.3 by Mughisi
    Loaded plugin Gathering Manager v2.2.3 by Mughisi
    This is what it looks like with the previous version.
    Code:
    > reload DayNightGather
    Plugin compilation is already queued: DayNightGather (0.018 ago)
    DayNightGather and GatherManager were compiled successfully in 153ms
    Unloaded plugin Day/Night Gather v1.0.0 by Dubz
    Unloaded plugin Gathering Manager v2.2.3 by Mughisi
    DayNightGather plugin is waiting for requirements to be loaded: GatherManager
    Loaded plugin Gathering Manager v2.2.3 by Mughisi
    Loaded plugin Day/Night Gather v1.0.0 by Dubz
    [Day/Night Gather] 14
    You have set the gather rate for * to x1 from Resource Dispensers.
    You have set the gather rate for * to x1 from pickups.
    You have set the gather rate for * to x1 from Mining Quarries.
    You have set the resource amount for Tree dispensers to x1
    You have set the resource amount for Ore dispensers to x1
    You have set the resource amount for Flesh dispensers to x1
     
    Last edited by a moderator: Feb 14, 2017
  13. CHR

    CHR

    Thank you, you are the BEST!

    Sadly it dosnt work for me.

    Even i got x6 in the config for the night it remains on x3 and no Broadcast messages are in either, so i think the plugin dosnt know what ime it is, i got TimeOfDay.


    Would be great if u could look in it. To be 100% sure its not cuz of a env.time command i speeded up daynight cycle to 2min night 2min day. Nothing changed.
     
    Last edited by a moderator: Feb 14, 2017
  14. Btw I would suggest to look up TimeOfDay plugin, @Fujikura added hooks for plugin devs to be able to get when its night/day. I think this plugin could really simply achieve functinality based uppon this - its just my thoughs, I will not use this - got my own thing for night gather ;)
     
  15. Wulf

    Wulf Community Admin

    He did before, but removed it to prevent an unnecessary dependency as not all way to run another just for a time check. I later suggested to make it option if installed, but I wouldn't make it a requirement. For the purpose of simply checking the time, I wouldn't make a user install another plugin.
     
  16. A little confused.

    Do the config file settings need created in the actual GatherManager.json config file, or this plugin has its very own config that will just overrule what is in GatherManager.json?

    Asking as when I loaded, this plugin didn't create a config file.

    Also - still says missing TimeOfDay dependency in console even though I'm reading it is no longer required.
     
  17. Wulf

    Wulf Community Admin

    It looks like he reverted back to an old version. @Dubz > file version is also off from the site, 1.0.0 vs 1.0.2.
     
  18. CHR

    CHR

    Oh yeah correct... im on 1.0.0 maybe thats the Problem.
     
  19. Wulf

    Wulf Community Admin

    Well, I think he got the versions mixed up a bit and hasn't been versioning in the file, so.
     
  20. Apologies people I grabbed the version i was running on my server, which uses TOD.

    I'll make some quick edits and re-upload.