GUIAnnouncements

Moved

Total Downloads: 11,756 - First Release: Jul 13, 2015 - Last Update: Oct 20, 2017

5/5, 66 likes
  1. Change this:
    Code:
      "Announcement List": [
      "Free Serveur TeamSpeak: lescathares.ts3serv.com",
      "Appuyez sur K pour afficher la liste des kits",
      "Push K for kits list",
      " Type: /helivote open 1 -> Call heli on you by a vote",
      " Last Wipe 23/03/2017"
      ],
    
    To this to announce everything in one go every 4 minutes:
    Code:
      "Announcement List": [
        [
          "Free Serveur TeamSpeak: lescathares.ts3serv.com",
          "Appuyez sur K pour afficher la liste des kits",
          "Push K for kits list",
          " Type: /helivote open 1 -> Call heli on you by a vote",
          " Last Wipe 23/03/2017"
        ]
      ],
    
    To this to announce just 1 every 4 minutes:
    Code:
      "Announcement List": [
        [
          "Free Serveur TeamSpeak: lescathares.ts3serv.com"
        ],
        [
          "Appuyez sur K pour afficher la liste des kits"
        ],
        [
          "Push K for kits list"
        ],
        [
          " Type: /helivote open 1 -> Call heli on you by a vote"
        ],
        [
          " Last Wipe 23/03/2017"
        ]
      ],
    
    Please read the overview for an explanation on this part of the config :)
     
  2. that s work now thx
     
  3. not working.
    Code:
    (23:26:29) | Loaded plugin GUIAnnouncements v1.23.81 by JoeSheep
    (23:26:29) | Failed to call hook 'OnServerInitialized' on plugin 'GUIAnnouncements v1.23.81' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:26:29) | at Oxide.Plugins.GUIAnnouncements.AutomaticTimedAnnouncementsStart () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GUIAnnouncements.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GUIAnnouncements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:26:35) | [Advert Messages] RustyKarma Cheating will result in a permanent ban no exceptions
     
  4. Can you post your config between the
    Code:
    
                            
    tags please.
     
  5. Tried looking through the entire thread for the answer, but words started to run together :p
    Can the server restart feature of this plugin actually shut the server down or do we have to just time the announcements to correspond to externally scheduled automatic restarts?
     
  6. It will literally run a command to restart the server as per the config option:
    Code:
    "Restart My Server":false,//Enables and disables automatically stopping at the specified times to restart (YOUR STARTUP SCRIPT MUST SUPPORT STARTING THE SERVER AFTER IT HAS SHUTDOWN)
    
     
  7. Thank you! Just wanted to make sure. We have to have a line in the .bat to start the server back up though right?
     
  8. To be honest, I am not too sure any more. It uses the restart command, whether or not that actually restarts the server I don't know. Maybe you should try it! Nothing in your .bat to start it again when it goes down and see if it restarts the server.
     
  9. all you have to do is set the time to the one you set with your server provider. make sure your time zones are the same . easy test is to set everything to 5 min to check if working . i have this running on my server and i never did a .bat file even when i ran a server of my personal machine did i have too . hope that helps .
     
  10. So you used just GUIAnnouncements restart function to completely restart your server then?
     
  11. yes . it works just fine for me
    yes i did . no issues , orther then to make sure you know your time zones cause i'm pst and my dedicated server is est .
    [DOUBLEPOST=1505321236][/DOUBLEPOST]
    also joe could you pm me please , i need some help with something , but don't want it on this thread
     
  12. Hey!

    The welcome message displays at every connect, I interpret the setting as only at first join if "Show Welcome Back If Player Has Been Here Before" is false.
     
  13. Hmm.. no that is how I designed it. Thinking about it however, that's kind of a silly way to do it! I should change that. Added to my Trello list to just automatically change :)
     
  14. Hi JoeSheep! Thanks for the awesome plugin, i just have a quick question, I would like to add Rain of Fire announcements and i want my Fancy drop announcements to work with my GUIAnnouncements, I tried but it doesn't compile and i get an error like this :

    "FancyDrop v2.6.21: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing value: T. Path 'Notification['use GUI Announcements for any Drop notification']', line 169, position 55.)

    It then loads a default config file, and the only difference is the default option is false.

    I checked that line of code in the json file and it looks fine, i don't see any character issue. any ideas? Thanks in advance :)
     
  15. FancyDrop has it built in to support GUIAnnouncements when a drop starts. Are you changing code on other's plugins? Because you should really only be changing the config.
     
  16. No i am not, only config files unless otherwise stated in the plugins instructions, and just realized fancy drop works fine. (error on my part) But is it possible to have GUI Announcements work with Rain of Fire? I really love both plugins and it would be awesome for GUI to see/detect ROF and announce it :)
     
  17. Ideally the author of that plugin should add support for using GUIAnnouncements, just as FancyDrop has, so better to ask there.
     
  18. Alright cool thanks! i'll drop them a post and see what they say. I appreciate the quick response :) thanks again for your help
     
  19. Hey all,

    Firstly love the mod, it's pretty awesome :) and the guys and girls on my server love it as well.

    I've seen on some servers similar things that also give information to how many players are now on the server when someone joins. Is there a way it could be implemented...

    For example... "DeBuG has joined the server, there are now 4 players on the server"
     
  20. I could add in a placeholder <playercount> or something that you could add into the message.