Happy Hour

You want to give players some items in specific times?This plugin just for it :)

Total Downloads: 911 - First Release: Feb 5, 2015 - Last Update: Mar 30, 2015

5/5, 4 likes
  1. Feramor, what if i deleted these ID lines from json cfg? Or should i revert it and add? )
     
  2. Its np it will add back automaticly
     
  3. What is ID, default all say "building_planner? And how does "NextEvent" work, if I change the event time from ... say ... 22:00:00 to 23:00:00, do I then need to change "NextEvent"?
     
  4. When you run the server or reload plugin they will get updated both ID and NextEvent you dont need to worry about them
     
  5. is there are a way to only post a massage, that the server will restart at 4am? Like, "Server restart in 5 min"??

    Thx in Advance
     
  6. You may use it that way.
    do "Items": {} emty item list and try it
     
  7. can u make a quote with this this code, please.
    will be awesome, if it works!
     
  8. CHR

    CHR

    Is random item possible ?
     
  9. is this real time or in-game time?

    Any chance you can have it so I can set a command like 2x crafting time for an hour?
     
  10. Getting this error, just installed plugin August 2, 2015.

    Code:
    [Oxide] 12:38 PM [Error] Failed to run a 0.00 timer in HappyHour (FormatException: Input string was not in the correct format)
    [Oxide] 12:38 PM [Debug]   at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
      at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HappyHour.CalculateTimers () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HappyHour.<OnServerInitialized>m__1 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 
    Config file...

    Code:
    {
      "ChatTag": "Boa's Happy Hour!",
      "HappyHours": {
        "12:00:00": {
          "Items": {
            "Wood": {
              "Amount": 5000,
              "ID": "wood",
              "Type": "Main"
            },
            "Stone": {
              "Amount": 3000,
              "ID": "stones",
              "Type": "Main"
            },
            "Metal": {
              "Amount": 1500,
              "ID": "metal_fragments",
              "Type": "Main"
            }
          },
          "Message": "Its time to be happy...check your inventory for Happy Hour gifts!",
          "NextEvent": "1438556400"
      },
      "Time": "3600"
        }
    }
     
  11. Hi. Is there a option to set happyhour to hunt more wood at this period?
     
  12. Do you have a command to show HappyHour ?
     
  13. I was wondering is there a way to make this a toggle on and off with an /hh on /hh off command and possibly have it turn on and off the radiation icon that I changed to Happy Hour so my Admins and I can have Happy Hour at our fingertips...

    I used the InfoPanel plugin and changed in the cs in notepad++ Line 340 from
    Url = "http://i.imgur.com/owVdFsK.png",
    to
    Url = "http://i.imgur.com/AlZCaVG.png",
    shown below


    { "Radiation", new PanelConfig
    {
    Available = true,
    Dock = "BottomDock",
    Order = 6,
    AnchorX = "Left",
    AnchorY = "Bottom",
    Margin = "0 0 0 0.0005",
    Width = 0.020f,
    Height = 0.95f,
    BackgroundColor = "0 0 0 0.4",
    Image = new PanelImageConfig
    {
    Order = 1,
    Width = 0.75f,
    Height = 0.8f,
    Margin = "0 0.15 0.1 0.1",
    Url = "http://i.imgur.com/AlZCaVG.png",
    }

    Thanks and have a great day
     

    Attached Files:

  14. Is it possible to run this command only to specific player IDs as opposed to all players?
     
  15. Can someone please make a update for this plugin, a one that actually works
     
  16. the happy hour plugin is horny but I would like to know if it possible to rewrite it for the purpose of double loot in boxes or more stone farms or pickup 2x more or or is it possible?