GUIAnnouncements

Moved

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

5/5, 66 likes
  1. I would suggest backing up your current config, allowing the plugin to generate a new config then copy your settings over. Let me know how you get on.

    It isn't an issue with the code, because the only way it will ever do the announcement for the death is if it is finding that setting to be true (as set by default in the plugin) which means it isn't reading your config properly.
     
    Last edited by a moderator: Jun 13, 2016
  2. JoeSheep updated GUI Announcements with a new update entry:

    1.6.22

     
    Last edited by a moderator: Jun 14, 2016
  3. just to confirm if i set NewPlayerAnnouncementsShowTimes to 1 , this means they will show once for every new player?
     
  4. That is correct in the latest update. I mathed a little wrong in the previous.
     
  5. thanks :)
     
  6. Not sure if I'm doing it wrong but the NewPlayerAnnouncements doesn't work for me. I've tried resetting my database and rejoining the server with it set to True. Is it working for anyone?
     
  7. I can tell you it is working for me. I have on occasion when messing around with the plugin come across an issue where the data file becomes null. If this happens it will throw errors when the method is called to change the data stored. Open it and check it to see if it just says null. If so unload GUIAnnouncements, delete the data file, then load it again. You can't delete it then reload because the datafile gets loaded in to memory and saved when the plugin gets unloaded.

    I am considering pursuing a fail safe/ fix for this, but it isn't easy to recreate the problem.
     
  8. Do you have "Welcome message" enabled? -Maybe that's why it's not working for me.
     
  9. Funny you should ask that I was just thinking about that today. At the moment because of the way I wrote it (not sure why I did, I do a lot of odd things when writing this) the welcome message does need to be enabled. I want to sort that out for the next update though, which as you know is quite frequent :)
     
  10. Ah cool. Then it wasn't me tripping. I'll wait patiently. Thanks! =)
     
  11. Deleted the old config - plugin generated new one - still reporting when the helicopter is down (even though its set to false in config). :)
     
  12. @thomaspaste Which version of the plugin are you using? If not the latest I suggest updating to it. Can you also paste your config before updating please?
     
  13. Using version: 1.6.22. Just checked the config - and now "HelictoperDeathAnnouncement" is set to: true. Turns out that the plugin overwrites the config with the value set to "true" on every reload/restart.
     
  14. JoeSheep updated GUI Announcements with a new update entry:

    1.6.24



    Fixed in this update.
     
    Last edited by a moderator: Jun 16, 2016
  15. any way to add a disable feature for players I have streamers that like to remove all stuff to try and hide server
     
  16. Console spams error

    Code:
    23:44 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'GUIAnnouncements v1.6.24' (KeyNotFoundException: The given key was not present in the dictionary.)
    23:44 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.GUIAnnouncements+PlayerTimesJoined].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GUIAnnouncements.OnPlayerSleepEnded (.BasePlayer player) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    And whenever someone teleports home they get the First join announcement
     
  17. @maxaki

    Can you check GUIAnnouncements_PlayerTimesJoined.json in the data folder and tell me if it just says null please?

    At the moment my server has not been experiencing any issues.
     
  18. Nope. There's a lot of information in there
    53kb big
     
  19. What I would do next is find what player joined just before that error was thrown, and search for their name/steamID in the data file. It is basically looking for their steamID. See if it exists, because it is saying it isn't.
     
  20. I've tried removing the data file but same error appear. Whenever someone teleports it happens.