GUIAnnouncements

Moved

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

5/5, 66 likes
  1. Ah ok, so would that be simple enough for me to do... Like after player name has joined the server then put there are <playercount> players on the server?
     
  2. Yep just like that. Will allow you to customize the message to your liking just like how you can add in the {playername} placeholder to put their name into it.
     
  3. Thank you JoeSheep... I guess my next question... Is that something you have to implement into the plugin? As I tried adding it in the config myself but it didn't display the player number it just displayed the {playercount}.

    Sorry for asking these new questions, I'm a brand new server owner.
     
  4. Yeah I'd need to add that into the plugin.
     
  5. Ah that explains that then hehe!
     
  6. getting erors
    Code:
    (00:18:28) | Failed to call hook 'OnPlayerSleepEnded' on plugin 'GUIAnnouncements v1.23.81' (NullReferenceException: Object reference not set to an instance of an object)
    (00:18:28) | 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 (Oxide.Core.Plugins.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
     
  7. Code:
    (20:43:22) | Failed to call hook 'OnPlayerSleepEnded' on plugin 'GUIAnnouncements v1.23.81' (NullReferenceException: Object reference not set to an instance of an object)
    (20:43:22) | 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 (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 20, 2017
  8. Thanks, I'll get on it as soon as I can.
     
  9. JoeSheep, The latest oxide 3591 resolves the errors shown above but i do see an error within the code for reload which should be an easy fix seeing as we now have to input oxide.reload not reload

    [GUIAnnouncements] Reloading...
    Command 'reload GUIAnnouncements' not found

    When i manually reload using the . method it works fine

    > oxide.reload GUIAnnouncements
    Unloaded plugin GUIAnnouncements v1.23.81 by JoeSheep
    Loaded plugin GUIAnnouncements v1.23.81 by JoeSheep
     
  10. Wulf

    Wulf Community Admin

    See Oxide core plugin/permission command changes | Oxide.
     
  11. JoeSheep updated GUI Announcements with a new update entry:

    1.23.82

     
    Last edited by a moderator: Oct 20, 2017
  12. Wulf

    Wulf Community Admin

    @JoeSheep, you may want to make use of the reload method, not the command.
     
  13. JoeSheep updated GUI Announcements with a new update entry:

    1.23.83

     
    Last edited by a moderator: Oct 20, 2017
  14. After updating still the same issue:

    upload_2017-10-20_22-29-44.png
     
  15. What version of Oxide are you running?
     
  16. (01:52:42) | [Oxide] 01:52 [Error] Unable to find main plugin class: GUIAnnouncements

    get the above error trying to load.
     
  17. You haven't altered the plugin have you? Are you getting this for any other plugins? That error looks like something wrong with Oxide? Can you update it?
     
  18. I don't alter plugins's unless I know I can. This one is tooo complex :) I have Oxide build 2.0.3628 which just came out yesterday. now there is 3641 but haven't updated to that one yet.
     
  19. Update Oxide, then see what happens.