ScreenTimer

Allows you to create multiple timers.

Total Downloads: 700 - First Release: May 18, 2016 - Last Update: Mar 26, 2017

5/5, 7 likes
  1. Edited file below. Contains the new timer for you. ;)
     

    Attached Files:

  2. AAH!! Thank you SO much!! you are a GOD! thank you! Have a nice day! and i love ur plugins! ;)
    [DOUBLEPOST=1483799658][/DOUBLEPOST]Btw, where are the place i can make it smaler? :) just for later if thats gonna happen! :) if someone wants it smaler!
     
  3. Making it smaller would be a bit harder. Only reason I say that is you would then have to mess around with the size of text, etc. But if you want simply edit the same two things I showed before. If you wanted to edit the size and if you need to:

    Code:
                    if(!newactive){
                        timer.Once(1.5f, () =>
                        {
                            UI.CreateLabel(ref element, MainTimer, UIColors["text"], "<b>"+format.ToString()+"</b>", 18, "0 1", "1 0.4");
                            UI.CreateReason(ref element, MainTimer, UIColors["text"], "<b>"+reason.ToString()+"</b>", 16, " 0 1", "1 1");
                            CuiHelper.AddUi(player, element);   
                            newactive = true;
                        });}
                    else
                    {
                        UI.CreateLabel(ref element, MainTimer, UIColors["text"], "<b>"+format.ToString()+"</b>", 18, " 0 1", "1 0.4");
                        UI.CreateReason(ref element, MainTimer, UIColors["text"], "<b>"+reason.ToString()+"</b>", 16, " 0 1", "1 1");
                        CuiHelper.AddUi(player, element);    
                    }
    You can see the two numbers in each statement(18 and 16) are the text size. Editing those will make it smaller or bigger. Make sure to keep the change of two between the numbers though.
    Note: You need to edit in each statement if you want to change the size.
     
  4. ahha!! okei i see! ;) now i understand!:) Thank you yet again! :)
     
  5. Hi, I am a huge fan of the Screen Timer plugin. It seems to have stopped working as of today's game update. Any plans or information to fix it? Thank you so much for this amazing tool.
     
  6. Wulf

    Wulf Community Admin

    Are you getting any errors?
     
  7. No, it just says the command to run the timer doesn't exist. Similarly, when I deleted the plugin/reinstalled it into my Oxide folder, and then tried to give permissions to myself to use the plugin, it said the permissions didn't exist.
     
  8. Wulf

    Wulf Community Admin

    That would generally mean that the plugin isn't loaded, and likely erroring. Could you upload (not paste) your latest oxide/logs here please?
     
  9. Thanks for your help Wulf, I'll try to get on that asap. Need to learn what oxide logs are first LOL. I'll reply soon-thanks.
     
  10. Hi, sorry for the dumb question, but where will I find these oxide/logs? is it log.log.text ?
     
  11. server\server_indentity\oxide\logs
     
  12. I have uploaded what I believe is the most recent oxide mod for my server. Thank you in advance for any attempt to help me!
     

    Attached Files:

  13. I will have a new version of screen timer out sooner or later. I've got the GUI working and some other things. Just need to finish it up a bit.
     
  14. OMG I would love to get this plugin working again. Excited that you are still at work on it! Thank you so much !!!
     
  15. DylanSMR updated ScreenTimer with a new update entry:

    2.0.0

     
  16. I'm finding that the timer I create can only be used once, then I have to "/stm wipe" and "/stm create" again. when typing "/stm list" it says "no timers in storage". but I look in the data file and the time is sitting in there. If I try to type "/stm show 1" for a second time nothing happens. The next timer I create becomes ID 2 unless I wipe the data.

    Have I missed something?
     
  17. Did the time run out. When a timer ends it deletes itself from data but it might not save the data yet. You will just have to create a new timer. I'll add a SaveData() to the function when it ends.
     
  18. The data seems to stay in the data file so being able to use it again would be great. I use it for a count down for death matches I run on the server. It's very handy
     
  19. It shouldn't be staying. I must have forgotten a data save somewhere. Plus letting it stay would mess with some of the functions I have for reloading the timers upon unload/load.
     
  20. DylanSMR updated ScreenTimer with a new update entry:

    2.0.1