[MECH] AlwaysSunshine v1.4 - Keeps the sun in the sky [Permissions, Multiworld] [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Clever Error, Jun 8, 2011.

  1. Offline

    Clever Error

    AlwaysSunshine - Keeps the sun in the sky

    Version: 1.4 (Download)
    Authors: Clever Error and base_case

    This plugin provides simple commands for controlling daylight and weather. With AlwaysSunshine, you never have to be stuck in the rain or lost at night without a torch again.

    • Ability to make it constantly daytime (or let time progress as normal)
    • Ability to enable/disable the weather
    • Permissions 3 support (defaults to Op if Permissions is not found)
    • Multiworld support

    To Do List:
    • Add permissions support
    • Add multiworld support
    • Other ideas?
    Change Log:

    Version 1.4
    • Fixed issues where mutiworld support threw a exception
    • memory and cpu usage optimizations
    Version 1.3
    • Added multiworld support
    • Fixed issue with it breaking the /time command
    Version 1.2
    • Improved input checking and error handling
    • Modified command usage
    Version 1.1
    • Added permissions support
    • Minor bug fixes
    Version 1.0
    • Initial Release
  2. Offline


    please update do latest recommended CB
  3. Offline

    Clever Error

    Tested and works with build 860
  4. Offline


  5. Offline


    Git this on 860

    Show Spoiler

    16:56:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sun' in plugin AlwaysSunshine v1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at recursiveForce.AlwaysSunshine.AlwaysSunshine.onCommand(AlwaysSunshine.java:157)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
  6. Offline

    Clever Error

    Thanks for pointing this out :)
    Version 1.2 fixes this issue.
  7. Offline


    No problem, i will try again tonight.
  8. Offline


    sooo good that's the plugin i needed
  9. Offline


    Hey man!
    Treuly love this plugin, but will you be adding multiworld support anytime soon?
    I'd love to have multiworld in this one =D
  10. Offline


    Hi, great plugin. do you know why other plugins that are changing time have "does not break redstone and plant grow"
    listed as some special feature ? Can this break redstone and plants ?
  11. Offline


    I have it installed now. I love this plugin function but ...
    this plugin will break normal time set command. Can it be fixed ?
    I have RB1000 and when I type time I get back reply from server /time and thats all
  12. can you make it so some worlds will be affected and some not?
  13. Offline

    Clever Error

    Plugin has been updated to version 1.3, now with mutiworld support.

    It should not break redstone or plants growing. I've been running on my server for a long time and I've never had a problem with it.
  14. Offline


    thanks for update. This plugin is really usefull :) Strange is that is has only one page of posts. I know servers where admins do time set 0 every 5 minutes ... they are to lazy to search I gues :D
  15. Offline


    Seems, real buggy for me on multiworld, main world its working lovely, however if i restart server or reload plugins it starts getting dark on all other worlds, i also get 'An internal error occured' frequently, only fixed by a plugin reload which then in turn makes my worlds dark haha.
  16. Offline


    I have some Problems too. I'm running Version 1.3 on bukkit 1000. I have some errors always again:

            at recursiveForce.AlwaysSunshine.DisableWeatherListener.onWeatherChange(DisableWeatherListener.java:19)
            at org.bukkit.plugin.java.JavaPluginLoader$82.execute(JavaPluginLoader.java:819)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.World.i(World.java:1777)
            at net.minecraft.server.WorldServer.i(WorldServer.java:174)
            at net.minecraft.server.World.doTick(World.java:1682)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Any ideas?
  17. Offline

    Clever Error

    Thanks for posting the error message, I'll look into this hopefully in the next couple days and post a fix for it.
  18. Offline


    Thanx, I've been waiting eagerly :D

    Next error is:

    09:43:59 [SCHWERWIEGEND] Could not pass event THUNDER_CHANGE to AlwaysSunshine
            at recursiveForce.AlwaysSunshine.DisableWeatherListener.onThunderChange(DisableWeatherListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$83.execute(JavaPluginLoader.java:826)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.World.i(World.java:1755)
            at net.minecraft.server.WorldServer.i(WorldServer.java:174)
            at net.minecraft.server.World.doTick(World.java:1682)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  19. Offline


    Hey just wanted to say thank you. Doesn’t bug out the server like other time stop plugins. This was exactly what I was looking for. I wanted my guys to be able to keep it day light while building a big project.
    One little change I might suggest. Consider adding a variable that allows when using [/sun daylight on] at night to allow the night cycle to finish. I’d like to give the ability to keep the sun up but not change it from night to day.

    I will be recommending this plugin to other admins.

    Thanks again.
  20. Offline

    Clever Error

    Plugin has now been updates to version 1.4

    It fixes the errors that have been previously posted and some others that weren't mentioned.

    @DeathToKittens - I like that idea, I'll look into adding it to version 1.5 :)
  21. Offline


    Great news, thanx very much! :cool:
  22. Offline


    very nice plugin :)

    have some additional ideas for you.

    a function to save the sun where it at this moment is.
    means, its getting slighty dark, i want to hold this light level and just save then sun at this point.
  23. Offline


  24. Offline


    Here's my $.02 as I've used a couple of different time plugins.

    That can be done but the biggest problem is that it messes with the placing of blocks and combat. All of those actions reference a time code on the server and have a hard time functioning with time stopped. So if you place a line of block some will randomly appear/disappear until it kin of "settles" and some times they just vanish.

    An alternative to that would be to run the /time day code more often. Currently it's at the end of the day cycle so like once every 12 min or so. The plugin would need to send that command every ~second to reset the time to keep the sun in place, over stressing the server.
  25. Offline


    Working with 1060 ?
  26. Offline


    oh, okay. didnt knew that.

    another solution, maybe this, a feature that changes the lightlevel to a chosen level and keeps it at any time, so the night/day cyclus goes on but with a modified lightlevel.
    and a on/off function for ppl who dont wanna use this feature.

    since i'm not very familiar with coding, i dont know if this even works.
  27. Offline


    Will this be updated for 1185?
  28. Offline


    Works for me with 1185.
  29. Offline


    I have a day server so this is the best plugin for always day, but i would like to ask if you can add it to dev.bukkit.org so i can update it if there is a new build that comes out and i don't know about it?
  30. Offline

    Clever Error

    I've been busy lately but I'll try to do this in the next couple days.

Share This Page