GUIAnnouncements

Moved

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

5/5, 66 likes
  1. Does anything happen if you run the test announcement command?
     
  2. Tx for your answer.

    Once the chat command set, no error displayed neither on chat (like unknow command or else) neither on console. its silent.
    And the test banner doesnt appear.
     
  3. Ok so is the plugin actually loaded? Do you get any errors when it gets loaded? What version are you using?
     
  4. v "1.23.83"
    and no error on loading it, console looks normal
    it announces its timed commands as usual on console, but no gui on player's
    (could be great if someone with the same error take the mic too; to know if its only on a particular config...tx)
     
    Last edited by a moderator: Jun 12, 2018
  5. Update please!
    GUI dont show :(
     
  6. This is probably a simple question to answer, so you'll have to forgive me, however, I was just wondering how I would go about moving the bar down on the screen slightly, as it clips through my InfoPanel bar a little bit that I have at the top of the screen. I have attached a screenshot as well so you can see what I mean.

    I have tried setting the vertical position in the config file to -1.0, but whenever I try to do a test announcement, nothing shows up anywhere on the screen now, but as soon as I change the position back to 0, it works again.
     

    Attached Files:

  7. Ok, you will have to bare with me while I set up my dev environment again which could take some time. Meanwhile can you both please post your configs within the
    Code:
    
                            
    tags so I may review them.

    So you've got the right setting, you just need to adjust it much more finely, so instead of 1.0 try 0.1.
     
  8. I've managed to sort this now, so thank you very much for that, and sorry to have wasted your time with such a silly question.
     
  9. This place is for questions, so don't worry about it :)
     
  10. I appreciate that. Also, another question. I was going to set up the restart messages using GUIAnnouncements, but I was just wondering what time it uses? Is it the server's time or whatever time I set or something else?
     
  11. Ok. My config (use UTF-8):
    Code:
    {
      "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"
      },
      "General Settings": {
        "Adjust Vertical Position": 5.0,
        "Announcement Duration": 10.0,
        "Fade In Time": 0.5,
        "Fade Out Time": 0.5,
        "Font Size": 18
      },
      "Private New Player Announcements": {
        "Announcements List (Show On This Many Joins : List To Show)": {
          "1": [
            "1st Join {rank} {playername} New player announcement 1.",
            "1st Join {rank} {playername} New player announcement 2.",
            "1st Join {rank} {playername} New player announcement 3."
          ],
          "2": [
            "2nd Join {rank} {playername} New player announcement 1.",
            "2nd Join {rank} {playername} New player announcement 2.",
            "2nd Join {rank} {playername} New player announcement 3."
          ],
          "3": [
            "3rd Join {rank} {playername} New player announcement 1.",
            "3rd Join {rank} {playername} New player announcement 2.",
            "3rd Join {rank} {playername} New player announcement 3."
          ]
        },
        "Banner Color": "Grey",
        "Enabled": false,
        "Text Color": "White"
      },
      "Private Respawn Announcements": {
        "Announcements List": [
          "{playername} Respawn announcement 1.",
          "{playername} Respawn announcement 2.",
          "{playername} Respawn announcement 3."
        ],
        "Banner Color": "Grey",
        "Enabled": false,
        "Text Color": "White"
      },
      "Private Test Announcement": {
        "Adjust Vertical Position": 0.0,
        "Banner Color": "Grey",
        "Duration": 10.0,
        "Fade In Time": 0.5,
        "Fade Out Time": 0.5,
        "Font Size": 18,
        "Text Color": "White"
      },
      "Private Welcome Announcements": {
        "Banner Color": "Grey",
        "Duration": 20.0,
        "Enabled": false,
        "Show Welcome Back If Player Has Been Here Before": false,
        "Text Color": "White",
        "Welcome Back Text": "Welcome back {playername}! There are {playercount} player(s) online.",
        "Welcome Text": "Welcome {playername}! There are {playercount} player(s) online."
      },
      "Public Airdrop Announcements": {
        "Banner Color": "Green",
        "Enabled": false,
        "Show Location": false,
        "Text": "Airdrop en route!",
        "Text Color": "Yellow",
        "Text With Coords": "Airdrop en route to x{x}, z{z}"
      },
      "Public Automatic Game Time Announcements": {
        "Announcement List (Show at this in game time : Announcements to show)": {
          "20:00": [
            "Наступает ночь!",
            "Добыча ресурсов увеличена в два раза!"
          ],
          "07:30": [
            "Наступает день!",
            "Добыча ресурсов востановлена к норме!"
          ]
        },
        "Banner Color": "Grey",
        "Enabled": true,
        "Text Color": "White"
      },
      "Public Automatic Timed Announcements": {
        "Announcement List": [
          [
            "1st Automatic Timed Announcement 1",
            "1st Automatic Timed Announcement 2"
          ],
          [
            "2nd Automatic Timed Announcement 1",
            "2nd Automatic Timed Announcement 2"
          ],
          [
            "3rd Automatic Timed Announcement 1",
            "3rd Automatic Timed Announcement 2"
          ]
        ],
        "Banner Color": "Grey",
        "Enabled": false,
        "Show Every (HH:MM:SS)": "00:30:00",
        "Text Color": "White"
      },
      "Public Christmas Stocking Refill Announcement": {
        "Banner Color": "Green",
        "Enabled": false,
        "Text": "Santa has refilled your stockings. Go check what you've got!",
        "Text Color": "Red"
      },
      "Public Helicopter Announcements": {
        "Despawn": true,
        "Despawn Banner Color": "Green",
        "Despawn Text": "Патрульный вертолет покидает зону острова!",
        "Despawn Text Color": "White",
        "Destroyed": true,
        "Destroyed Banner Color": "Yellow",
        "Destroyed Text": "Патрульный вертолет только что был деактивирован!",
        "Destroyed Text Color": "White",
        "Destroyed Text With Destroyer": "{playername} got the last shot on the helicopter taking it down!",
        "Show Destroyer": false,
        "Spawn": true,
        "Spawn Banner Color": "Red",
        "Spawn Text": "ВНИМАНИЕ!!! Замечен патрульный вертолет!",
        "Spawn Text Color": "Orange"
      },
      "Public Join/Leave Announcements": {
        "Announce Only Players With Permission": false,
        "Join Banner Color": "Grey",
        "Join Enabled": false,
        "Join Text": "{rank} {playername} has joined.",
        "Join Text Color": "White",
        "Leave Banner Color": "Grey",
        "Leave Enabled": false,
        "Leave Text": "{rank} {playername} has left.",
        "Leave Text Color": "White"
      },
      "Public Player Banned Announcement": {
        "Banner Color": "Grey",
        "Enabled": false,
        "Text": "{playername} has been banned. {reason}.",
        "Text Color": "Red"
      },
      "Public Restart Announcements": {
        "Announce With Time Left (HH:MM:SS)": [
          "12:00:00",
          "11:00:00",
          "10:00:00",
          "09:00:00",
          "08:00:00",
          "07:00:00",
          "06:00:00",
          "05:00:00",
          "04:00:00",
          "03:00:00",
          "02:00:00",
          "01:00:00",
          "00:45:00",
          "00:30:00",
          "00:15:00",
          "00:05:00"
        ],
        "Banner Color": "Grey",
        "Cancelled Scheduled Restart Text": "The restart in {time} has been cancelled.",
        "Enabled": false,
        "Restart Announcement Text": "Restarting in {time}",
        "Restart At (HH:MM:SS)": [
          "08:00:00",
          "20:00:00"
        ],
        "Restart My Server": false,
        "Suspended Restart Text": "The restart in {time} has been suspended.",
        "Text Color": "White"
      },
      "Third Party Plugin Support": {
        "Do Not Overlay LustyMap": false,
        "LustyMap Position (Left/Right)": "Left"
      }
    }
    
     
  12. So the setting "Restart At (HH:MM:SS)" goes by the operating system time that your Rust server is installed on. All announcements will then announce according to that time.

    Ok so your vertical position setting under general settings is way too high. Reset it back to 0.0, reload the config then run the test announcement command to see it on screen, then adjust the vertical position setting by 0.1 or 0.05 to see the changes and run the test announcement command again. Repeat until you have it in the desired position.
     
  13. Instead of using the vertical position in the config. Can the banner be moved down by default via .Cs file? I looked at it briefly, but is a little confusion.
     
  14. What are you trying to achieve?
     
  15. I'm looking to achieve default placement of the banner just under the new compass without changing the config hence why i want to use .cs file instead. When banner pops up. It clips through the compass.
     
  16. Why would you do that when you can just change the config settings and leave it like that forever? That achieves the same objective. You shouldn't be changing anything in the plugin unless you can support your own changes and I won't support it myself.
     
  17. Don't worry about it. I'll change it myself, and support my own changes, for my own benefit. :)
     
  18. What Krazy J is trying to say, is that if you change it in the config once, and set it, it will stay that way forever. Thats kinda the point of a config file.

    If you edit the .cs file, you will have to edit it every time you update the mod.

    Seems kind of backwards to me.
     

  19. I get what you're saying. Maybe I kinda misinterpreted his logic by saying he wouldn't support change to the original .Cs .. which by default can be changed by the dev, not just to suit me. Which I can do it myself, but to help unskilled admin/owners at the same time.

    Configs are temp in my book. They change a lot in some cases.
     
  20. Wulf

    Wulf Community Admin

    But you're asking someone to make change default for EVERYONE, which shouldn't be done just for the preference of one person. The config file is meant to be persistent, but you can't always expect it to not receive updates.