Inactive [INACTIVE] MyTime v0.1 - Change your time, not the server's [1000]

Discussion in 'Inactive/Unsupported Plugins' started by shadrxninga, Jul 16, 2011.

  1. Offline


    MyTime v0.1
    Change your time, not the server's
    Craftbukkit Build: 953

    Ever wanted to change the time to day as an Admin - but you didn't want your legit server to be always day when an Admin was on? Find it hard to spy on your players in the dark?
    This is the plugin for you :D With MyTime you can change the time on your client to whatever you want - without changing the servers and without the need for a client mod.

    • Change your time with simple commands
    • Reset your time back to the servers time
    • Locks the time in place when you use /mytime
    • Permissions and OPs Support
    Using this plugin is simple :D
    Just type the commands into the chat box.
    Commands (open)

    /mytime day - Changes your time to day
    /mytime night - Changes your time to night
    /mytime dusk - Changes your time to dusk
    /mytime dawn - Chages your time to dawn
    /mytime <Number> - Sets your time to the specified Ticks
    /mytime reset - Resets your time back to the server's time

    If you log out of the server - your time will also be reset to the server's time

    mytime.time - Allows the user to change their time


    Download v0.1 Here
    Source (Will be up tomorrow)

    Got an suggestion/feature request? Feel free to post it here.
    You can also do the same with bugs - but remember to include the version of craftbukkit you are running.

    • Add Commands to Change the time of other users
    • Add Commands to Change the time of groups??

    Version 0.1
    • Initial Realease
    1born2kill, efstajas and woodzy like this.
  2. Offline


    i like it but it dont support skylands thro
  3. Offline


    Wow. Could you put your source on GitHub? I just want to see how this is coded... :D
  4. Offline


    This is awesome! I don't know why nobody else thought of that before! I always thought this would need a client- mod. :eek:
  5. Offline


    I never thought this is doable, you change the client-server communication?
  6. Offline


    Oh my god... Really awesome...
  7. Offline


    I'm putting the source up on github now.
    Well... prepare not to be that exited :p Am I the only one that reads through the new features list?
    This was added to the API in build #928 -
    I thought someone would do it before me - so I never released this. But no one did, so I thought I might as well :D

    Also - @Plague thanks for your time code from plgessentials ;)
  8. Offline


    Heh I have 2 tabs permanently open and read every single one of them, how did I miss this I cannot understand :)

    and you're welcome
  9. Offline


    the permissions node isn't working,
    with * permissions i can change mytime
    but my mods with mytime.time cannot.
  10. Offline


    Hi, awesome plugin but unfortunately it is causing errors, I am currently unsure how to cause this error as I am just looking at the logs, but I will post more information if I find it!

    17:43:55 [INFO] OllieB [/] logged in with entity id 363274 at ([world] 160.46695338295515, 73.0, -1075.455086549566)
    17:44:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mytime' in plugin MyTime v0.2
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.handleCommand(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.a(
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
            at com.scswc.shadrxninga.mytime.MyTime.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 12 more
  11. Offline


    Hmm... maybe I spelt the node wrong :p - I'm going to fix that now.
    That happens when you just type /mytime without any arguments? I'll go and fix that now as well.
  12. Offline


    Any chance of sharing the source somewhere? I am interested in supporting this plugin!
  13. Offline


    FeaturePack has had this since Bukkit has supported it! iConomy support for it as well. :D
  14. Offline


    Now that's just blatant advertising :p
  15. Offline


    He actually went so far as to use YOUR plugin's name in HIS plugin's feature list.

    /slap xzKinGzxBuRnzx
  16. Offline


    When are you fixing the issue with the permissions node? If not, can you tell me what the typo is? I need this enabled!


    I did a quick search through the ,jar, and I found that the permissions node is mytime.change!

    To allow a user to change their own time:


    To change other players time:
    mytime.change.* is there, but I am not sure this works!
  17. Offline


    so what about mobs then? hostile mobs spawn @ night, so when a player's 'my time' is set to night, do hostile mobs only spawn near them and are only visible to them? or do mobs stick with the server time, and this plugin just changes the lighting level?

    cool plugin tho :D
  18. Offline


    To my knowledge, mobs are coded to go by the server time. I could be wrong though, but that seems a bit of a stretch.
  19. Offline


    I could do it, if I had a bit of time... - You can make it so mobs don't target certain people.
  20. Offline


    Yes, but I meant that you wouldn't be able to see the mobs, wouldn't be able to touch them, and wouldn't be noticed by them. Basically like a serverside daytime for only you :p
  21. Offline


    You can make an onEntityTarget event and set it to false so mobs won't spot you when ur near them (only to hostile mobs)
  22. Offline


    Is this plugin still supported?
  23. Offline


    No, not really.
  24. Offline


    Too bad :/ An update with the possibility to change the commands would be great.
  25. Offline


    Mind if I update/fork it for CB1337?
  26. Offline


    If you do, do you mind making the ability to change the commands? I want to translate the commands to a different language.
  27. Offline


    What language? I could add support.
  28. Offline


    Norwegian :)
  29. Offline


    Min tid, ok!
    Good, old Google :)
  30. Offline


    Ha ha, google translate :) I would prefer the command to be "Tid" instead of Min tid, but atleast "Min tid" is better than just normal english :)

Share This Page