GUIAnnouncements

Moved

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

5/5, 66 likes
  1. I'm not much into coding, so I guess the first option will be the easiest for me to achieve? :)
     
  2. It would be. I'm guessing you customize what ever is running the purchasing store to run commands right?
     
  3. yes, when they buy it, it runs calls the heli to the specific player, so I guess it's possible to add an announcement command there as well :) Thanks for the guidance I'll try some stuff and let you know :)
     
  4. CVC

    CVC

    Can someone just post sample newest .json file here ?
    Im a bit confuse because it seems different default code between the file i downloaded and default config at the beginning of this thread.
    What I need is just simply replace/custom announce message while players log in to my server, supply drop & helicopter but seems I can not match in this code :(

    Here is my default code:
    Code:
    {
    "Automatic Announcements": {
    "AirdropAnnouncement": true, //Enables or disables announcements when an airdrop starts
    "AirdropAnnouncementLocation": false, //Enables or disables the airdrop, drop location in the announcement when an airdrop starts
    "AutomaticTimedAnnouncements": false, //Enables or disables the following list of time automatic announcements
    "AutomaticTimedAnnouncementsList": [
    "Automatic Timed Announcement 1",
    "Automatic Timed Announcement 2", //Default example list of automatic timed announcements to show at the below set interval
    "Automatic Timed Announcement 3"
    ],
    "AutomaticTimedAnnouncementsRepeat": "00:30:00", //The interval for the automatic timed announcements to show
    "HelicopterAnnouncement": true, //Enables or disables announcements when a helicopter spawns
    "HelicopterDeathAnnouncement": true, //Enables or disables announcements when a helicopter is destroyed
    "HelicopterDeathAnnouncementWithKiller": true, //Enabled or disables showing the player's name who got the last hit on the helicopter
    "NewPlayerAnnouncements": true, //Enabled or disables the below list of announcements sent to a new player when they join
    "NewPlayerAnnouncementsList": [
    "New player announcement 1.",
    "New player announcement 2.", //Default example list of announcements to be shown when a new player joins
    "New player announcement 3."
    ],
    "NewPlayerAnnouncementsShowTimes": 4, //Sets the amount of times player can join and be shown the above new player announcements
    "RespawnAnnouncements": false, //Enabled or disables the below list of announcements sent to a player when they respawn
    "RespawnAnnouncementsList": [
    "Respawn announcement 1.",
    "Respawn announcement 2.", //Default example list of announcements to be shown when a player respawns
    "Respawn announcement 3."
    ],
    "RestartAnnouncements": false, //Enables and disabled restart announcements counting down to the RestartTimes
    "RestartAnnouncementsWhen": [
    "12:00:00",
    "11:00:00",
    "10:00:00",
    "09:00:00",
    "08:00:00",
    "07:00:00",
    "06:00:00",
    "05:00:00", //This will set at what time left until the restart to announce the time left.
    "04:00:00",
    "03:00:00",
    "02:00:00",
    "01:00:00",
    "00:45:00",
    "00:30:00",
    "00:15:00",
    "00:05:00"
    ],
    "RestartServer": false, //Enables and disables automatically stopping at the RestartTimes (YOUR STARTUP SCRIPT MUST SUPPORT STARTING THE SERVER AFTER IT HAS SHUTDOWN)
    "RestartTimes": [
    "08:00:00", //Default example list of restart times, announcements will go by these specified times
    "20:00:00"
    ],
    "WelcomeAnnouncement": true, //Enables or disables welcome announcements
    "WelcomeBackAnnouncement": true //Enables or disables welcome announcements changing to a welcome back announcement when a player has been on your server before
    },
    "Formatting": {
    "AnnouncementShowDuration": 10.0, //Set how long each announcement is shown for
    "FadeInTime": 0.5, //Set the time is takes for an announcement to fade in (Must not be greater than half of the MessageShowDuration)
    "FadeOutTime": 0.5, //Set the time is takes for an announcement to fade out (Must not be greater than half of the MessageShowDuration)
    "FontSize": 18, //Set the size of the text (Must not be higher than 28)
    "WelcomeAnnouncementDuration": 20.0 //Sets the duration of the welcome announcements
    },
    "Third Party Plugin Support": {
    "DoNotOverlayLustyMap": false, //This will move the announcement out of the way of LustyMap's minimap
    "LustyMapPosition": "Left" //This sets the location LustyMap's minimap is at (supports only left and right)
    }
    }
     
  5. Your config is so far out of date. Just download the latest version and make sure that you don't already have a configuration file, then when it generates the latest one read through it and configure the bits you want to change. If there is anything in there you're not sure about, the overview for the plugin has the current default configuration with an explanation.
     
  6. CVC

    CVC

    Problem is im using clanforge by multiplay game server. I think this clanforge doesnt allow me to install .cs plugin by myself. Means I just can download via editprofile -> addons. But im not so sure. I've been raise ticket to support regarding this matter.
    Meanwhile, can I just copy paste the new config in the overview to the plugins that i used?
     
  7. I suggest getting it installed first, then go through the config file it generates.
     
  8. I would personally suggest a better GSP that doesn't use OLD and outdated plugins and not allow you to manually update them. The system that Clanforge has is shockingly shit
     
  9. CVC

    CVC

    Guess you're right. I been raised a ticket to multiply and it fixed yesterday (according to what they say).
    The plugins seems worked now, also my config is pretty much same with the config on the overview.
    But still I can not change any announcement that I wrote in the config files.

    I wrote in some of my .json files into like this:
    Code:
     "Private Welcome Announcements": {
        "Banner Color": "Grey",
        "Duration": 20.0,
        "Enabled": true,
        "Show Welcome Back If Player Has Been Here Before": true,
        "Text Color": "White",
        "Welcome Back Text": "Welcome back {playername} to Rust Dolt! Happy Gaming & Have Fun!.",
        "Welcome Text": "Hi {playername}! Welcome to Rust Dolt. Please read rules about this server! Happy Gaming & Have Fun!."
      },
    Seems it doesn't change anything in my server. All text came up with the default setting like in the overview.
    Which is:
    "Welcome back {playername}! There are {playercount} player(s) online.",
    "Welcome Text":"Welcome {playername}! There are {playercount} player(s) online."

    I also checking in my oxide log.
    There is no error about this plugins. Seems all work well.
    Here is some of my log:
    Code:
    AdminRadar, Backpacks, BetterChat, BetterLoot, Bloodtrail, BuildingGrades, Christmas, ChristmasTreePresents, CraftingController, DeathNotes, GatherManager, Give, GUIAnnouncements, HelpText, InfoPanel, JPipes, Kits, Logger, MasterKey, NTeleportation, SimpleLoot and StackSizeController were compiled successfully in 1973msLoaded plugin GUIAnnouncements v1.23.83 by JoeSheep
    Now I don't know what to do :(

    Somebody please help..

    Edit: In case somebody needs my .json file (attached).
     

    Attached Files:

  10. I have compared your config to mine and cannot see anything that would be stopping it from working. Considering the lame system clanforge has I can only assume that when you upload your changes it is not overwriting the file on the server. I would suggest deleting the file on the server first then uploading your config then reloading the plugin. Again you should not need to do this and again I would suggest a better GSP (stay away from GTX gaming). I am with GamingDeluxe and they have no restrictions as far as uploading .cs / .json or .dll's into the managed folder (for things like rust:io)
     
  11. I had no issues with HostHavoc when I used to run a server, though they did have restrictions on what could be uploaded, that said they were happy to upload things for me if I put in a support ticket and were usually very quick to respond.
     
  12. Hey Joe, I'm having some issues with the plugin.
    I really dont need any of the other functionality but the player join/leave
    And it is the one thing not working for me.

    I have tried it with and without the permission and even removed all the files and reloaded the plugin.
    For some reason it just wont show player leave and join messages.

    Everything else seems to work though and I am able to run the test announcement as well as see the attack heli announcement.
    Just not the join/leave message

    any ideas as to why?
     
  13. CVC

    CVC

    Finally it's work!
    All worked perfectly after plugins re-install -> restart server -> change config file -> reload plugins -> restart server.
    Thanks for all support :)
     
  14. Can you post the join/leave part of your config within the
    Code:
    
                            
    tags please?
     
  15. thanks for the reply, must have been a gremlin because it fixed itself.
     
  16. Can one put here every 10 minutes another message appears above?
     
  17. Refer to this part of the config to do that:
    Code:
      "Public Automatic Timed Announcements": {
        "Announcement List": [ //Default list of announcements to rotate through every time the below defined amount of time passes
          [
            "1st Automatic Timed Announcement 1", //1st set of announcements
            "1st Automatic Timed Announcement 2"
          ],
          [
            "2nd Automatic Timed Announcement 1", //2nd set of announcements
            "2nd Automatic Timed Announcement 2"
          ],
          [
            "3rd Automatic Timed Announcement 1", //3rd set of announcements
            "3rd Automatic Timed Announcement 2"
          ]
        ],
        "Banner Color": "Grey",
        "Enabled": false,
        "Show Every (HH:MM:SS)": "00:30:00",
        "Text Color": "White"
      },
    
    Change "Show Every" to 10 minutes.
     
  18. Great plugin! I wanted to move the message bar down just a little so I only changed the 0.0 to a -1.0 and I can't seem to see the test messages appear at all anymore - any ideas what could be going wrong?
     
  19. i only see 1 messeg then nothing
    Code:
      "Public Automatic Game Time Announcements": {
        "Announcement List (Show at this in game time : Announcements to show)": {
          "07:30": ["Es ist bald Tag."],
          "08:00": ["Es ist Tag! PVP ist AUS, Bonus XP ist AUS"],
          "17:30": ["Es ist bald Nacht."],
          "18:00": ["Es ist Nacht! PVP ist AN, Bonus XP ist AN"]
        },
        "Banner Color": "Grey",
        "Enabled": true,
        "Text Color": "Green"
      },
    Console:
    Code:
    (05:41:42) | [GUIAnnouncements] Matched Current Time: 05/18/2024 17:30:00 With Message: System.Collections.Generic.List`1[System.Object]
    (05:41:47) | [GUIAnnouncements] Matched Current Time: 05/18/2024 17:30:58 With Message: System.Collections.Generic.List`1[System.Object]
     
  20. I'd suggest changing to something like -0.1 first so you can see how far it moves down, which is quite far.

    What happens if you leave the default messages in there and just enable the announcements?