GUIAnnouncements

Moved

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

5/5, 66 likes
  1. Failed to call hook 'OnServerInitialized' on plugin 'GUIAnnouncements v1.23.83' (InvalidCastException: Cannot cast from source type to destination type.)

    Config in case you need it.
     

    Attached Files:

  2. Your config is old. I'd suggest recreating it then filling out Public Automatic Timed Announcements again as that is where the error is.
     
  3. I deleted the config, and rewrote it. It's still doing it. That's supposedly the refreshed config...
     
  4. What is your config now?
     
  5. What I posted :(
     
  6. Did you unload the plugin, delete or rename the config then load the plugin?
     
  7. I unloaded and deleted the config.
     
  8. Then it should generate a new config where you can change your messages. After doing so, what does your config look like? Are you still getting that error?
     
  9. The config I posted is the one it regenerated. Maybe it's my server. I'll let you know.
     
  10. I've tried getting these to announce to chat, but no success. I added the code as mentioned in the FAQ to the .json file, but no change.

    Here's what I added

    Code:
    {
      ".OUTPUT ANNOUNCEMENTS TO CHAT": {
        "Enabled": true
      },
      "A List Of Available Colors To Use (DO NOT CHANGE)": {
        "Banner Colors": "Grey, Red, Orange, Yellow, Green, Cyan, Blue, Purple",
        "Text Colors": "White, Red, Orange, Yellow, Green, Cyan, Blue, Purple"
      },
    Any help would be appreciated.
     
  11. Sorry mate, I removed that config option later on as its purpose was just as a solution while RustCUI was broken and the announcements couldn't display. I'd had it in the FAQ because a lot of people were asking why their announcements were going to chat, not realising the config setting right at the top of their config.
     
  12. Hello,
    Could you help me set up the json to create a big red banner in the middle of the screen with the "announce.announce" command ?

    Thank you,
    XTREM RUST
     
  13. I haven't made it possible to customize the banner colour with the announce.announce command. If you want it in the middle though just change The Adjust Vertical Position setting in General Settings to a minus number, like -1.5 or something.
     
  14. Ok thank you for the answer :)
     
  15. The semi rewrite of the plugin will be delayed, not sure how long. I'd made progress on it and simply put the data was lost...
     
  16. Thank you I found another solution.
     
  17. ok so im alittle confused yet. where/how do i tell it what time my server is restarting to announce it. i rent my server through game servers and i have it set to restart everyday at 2am EST. how do i set this. Thanks!
     
  18. The plugin uses the time of the server that Rust is running on, so just change:
    "Restart At (HH:MM:SS)":[
    "08:00:00",
    "20:00:00"
    So if you've set it to restart at 2am EST and your server clock is EST then set that to 02:00.
     
  19. Question; in my server people can order a personal heli in the reward store, I was wondering if there is a possibility to make an announcement like "player ordered a personal helicopter" To let the other players know to stay away from it and prevent stealing a heli that someone just bought from his hard-earned RP :p
     
  20. You have a couple of options, having something run the command to produce an announcement when they order it, or editing the plugin that does the helicopter ordering to use the hook in this plugin to announce when someone orders it.