Inactive [MECH] Day v0.6.2 - Turn night into day [1.2.5-R1]

Discussion in 'Inactive/Unsupported Plugins' started by DemmyDemon, Jul 1, 2011.

  1. Offline


    Day - Turn night into day
    Version: v0.6.2

    There are a great many plugins that support this, but I like to have more detailed control over what plugin does what, so I can selectively disable.
    Soooo.... Here's a plugin that switches day to night, or vice versa, and only that.

    • Optional permissions support
    • Separate commands for /night and /day
    • Optional configuration, just plug-and-play if you want
    Download Day
    Source code

    Permissions nodes (open) - Summon the daystar
    day.command.night - Banish the daystar
    day.command.reload - Reload the settings

    Commands (open)

    /day - Makes it day
    /night - Makes it night
    /dayreload - Reloads the settings

    Configuration (open)

    verbose: false
    throttleSeconds: 10
    morning: 250
    evening: 14250
        playerSummon: summoned the daystar
        playerBanish: banished the light
        playerThrottle: Denied! Switching too fast!
        consoleSummon: The Daystar was summoned in all worlds.
        consoleBanish: All worlds plunged into darkness.
        commandDenied: Permission denied!
        commandReloaded: Reloaded configuration!
    verbose turns off and on detailed information, mostly about the strings loading.
    throttleSeconds is the number of seconds you have to wait before you can issue a /day or /night command again.
    morning is the time to set when /day is issued.
    evening is the time to set when /night is issued.
    Use the different strings to translate the plugin, or change what it says.

    Version 0.6.2
    • Made plugin.yml compatible with the new and less forgiving parser.
    • Tested and found working with 1.1-R6
    Version 0.6.1
    • Made the configuration not crash horribly when the file didn't exist.
    Version 0.6
    • Made a lot of the plugin's internals (including messages) configurable.
    Version 0.5
    • Threw out obsolete Permissions support, now using SuperPerms 100%
    • Fixed "only players in the same world" feature
    • Threw out Spout support as I no longer use Spout myself and can't test with it.
    • Threw out "commandless" feature because it was buggy and I haven't had time to fix it for months and months. Also, nobody used it, and it conflicts with other uses of the watch.
    Version 0.4
    • Fixed so that only players in the world that is darkened/brightened is notified.
    Version 0.3
    • First public release on Bukkit Forum
    • Implemented throttling (max once per 10 seconds, thanks rakiru!)
    Version 0.2
    • Implemented right-click-with-watch-to-toggle-day-and-night
    Version 0.1
    • First working version used only on my private server
    humanape100 and DaEgo like this.
  2. Offline

    The Angry kat

    Sweet plugin buuut
  3. Offline


    buuuut what? It's not like SimpleTime is the first plugin that does this either :)
    There's room for more than one plugin to do stuff, isn't there?

    Besides, they have somewhat different feature sets.
  4. Offline

    The Angry kat

    Yep i was just saying as in Conflicts lol.

    Back to coding
  5. Offline


    Conflicts? Why would a server admin run two of these anyway?
    A plugin conflict is when two (seemingly) different plugins crash/impact each other, isn't it?

    Oh well, whatever, as you said: Back to coding.
  6. Offline


    i like this
  7. Offline


    Thanks, I hope people find it useful.
  8. Offline


    Commandless possibility: Right-click while holding a watch (Slightly buggy still: Working on it!)
    What do you mean holding a watch?
  9. Offline


    Watch, Clock... Different places have it named different things.
    Item ID 347, made of gold and redstone dust.
  10. Offline


    Thank you so much , I love this plugin
  11. Offline


    I love that you love this plugin. You're very welcome.
    I'll be updating it to use the new permissions system as soon as I can, but at least I've verified it works well in build 1000!

  12. Offline


    Well first i would like to say thanks for the plugin, but i was also wondering if it would be updated to the latest build sometime in the near future?
    DemmyDemon likes this.
  13. Offline


    You're welcome.
    It's working fine for me in 1337. What trouble are you having with it?
    If there are no issues, the difference between a b1000 version and a b1337 version would be a number in the topic of the thread.
  14. Offline


    yeah absolut correct
    i hate it when plugins try to change everything^^

    runs on CB #1502
  15. Offline


    Question, does this change the day/night cycle? Or is it just something that lets you change it when it happens. What I mean is, for example, when I type /night, does it stay night until I type /day? Cuz that would be exactly what I am looking for, Perm night.
  16. Offline


    No, it just changes the time, it doesn't make the time "sticky".
    There are a number of problems with sticky time, like for example water and lava won't flow right...
  17. Offline


    Double-posting just to confirm tested and found working flawlessly with Craftbukkit 1.1-R4

    [edit] Uh, Craftbukkit 1.1-R3, of course, as R4 doesn't exist yet >.<
  18. Offline


    This is precisely what I needed.

    +four and a half Intrawebs to you.
  19. Offline


    Have a nice /day :cool:
  20. Offline


    I would like to thank you for such a swift and easy-to-use plugin. However, I would like to request a configuration file be added to change the messages. Some users on my server have wanted it to say something different.
  21. Offline


    It looks like there is no error with CB R5 Update
  22. Offline


    Done! Get 0.6 for a configurable version, where the plugin's strings are configurable :)
    Nope, command handling wasn't changed. Since there was no configuration or events there was nothing to deprecate. The configuration added in 0.6 is the new config system.
  23. Offline


    Error occurred while enabling Day v0.6 (Is it up to date?): null
    at com.webkonsept.KonseptConfig.refresh(Unknown Source)
    at Source)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
  24. Offline


    Yes, I see it.
    I have no idea how my tests didn't catch this, but I'm on it.

    Edit: Should be fixed now. Please fetch 0.6.1
  25. Offline



    german translation if u need

    playerSummon: lies die Sonne auf gehen.
    playerBanish: lies den Mond auf gehen.
    playerThrottle: Du wechselts zu schnell, warte etwas !
    consoleSummon: Alle Welten wurden erhellt.
    consoleBanish: Alle Welten wurden verdunkelt.
    commandDenied: Zugriff verboten!
    commandReloaded: ...config geladen!

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


    Rock on! Thanks!
  27. Offline


    Enjoy ;-)
  28. Offline


    Uploaded 0.6.2 to be compatible with Craftbukkit 1.1-R6
  29. Offline


    thnx man u rock

    wat the fuck

    so you want us to add u on skype

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


    I'm very happy you think so, but please don't quote the whole first post :oops:
    What are you talking about?
    For private stuff, please open a conversation, and please don't poop your multiposting all over mah thread, mm-kay?
    Tanite likes this.

Share This Page