ConnectMessages

Provides connect and disconnect messages.

Total Downloads: 2,788 - First Release: Oct 20, 2016 - Last Update: Jan 26, 2017

5/5, 14 likes
  1. Spicy

    Spicy Shack Builder Plugin Developer

    Enable "ShowAdminMessages".
     
  2. albator4242

    albator4242 Shack Builder

    {
    "ConnectMessage": "{0} s'est connect�(e).",
    "ConnectMessageCountry": "{0} s'est connect�(e) de {1}.",
    "DisconnectMessage": "{0} s'est disconnect�(e).",
    "DisconnectMessageReason": "{0} s'est disconnect�(e). ({1})"
    }
    --- Double Post Merged, Mar 10, 2017 ---
    It does not work. nothing is displayed
     
  3. albator4242

    albator4242 Shack Builder

    It finally works thanks. Can we put colors on the messages
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, you can use colors.
     
  5. LoneSurvivor

    LoneSurvivor Shack Builder

    every time someone's joining it pops this up right after it says they've connected via rcon

    (11:29:48) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
     
  6. Acer_

    Acer_ Naked Wanderer

    How can I use colors? ["ConnectMessage"] = "<color=blue>{0} has connected.</color>", id did this but it isn't working.
     
  7. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Edit under oxide/lang, not in the plugin itself.
     
  8. Acer_

    Acer_ Naked Wanderer

    Isn't working..
     
  9. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Details please. What steps did you take? Did you reload the plugin after? Any errors in your logs?
     
  10. Acer_

    Acer_ Naked Wanderer

    First I press on lang (In the oxide file) Then the map EN.. And I edited ConnectMessages in the lang file.
     
  11. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That's the default messages. Do you have your edited ones?
     
  12. Acer_

    Acer_ Naked Wanderer

    It worked!! Ty.. Still 1 probrem I want to color my kits to do you know how>?
     
  13. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Colors are the same across all plugins. If you are having trouble using them in a plugin, please use the plugin's support thread.
     
  14. Suslik

    Suslik Scavenger

    When the server is shut down:
    Code (Text):
    Web request produced exception (Url: http://ip-api.com/json/178.215.91.53) in 'ConnectMessages v1.1.8' plugin (NullReferenceException: Object reference not set to an instance of an object)
    Unloaded plugin ConnectMessages v1.1.8 by Spicy
    Very often there are messages:
    Code (Text):
    [ConnectMessages] WebRequest to http://ip-api.com/json/ failed, sending connect message without the country.
    what could it be?
     
  15. Spicy

    Spicy Shack Builder Plugin Developer

    The API or your server's connection is down.
     
  16. grint_projekt

    grint_projekt Naked Wanderer

    Hi - This PlugIn sending correct message who connected, but without country. All in the config is set to 'true'. 'ShowAdminMessages' are also set to 'true'. What else can I do?
     
  17. Spicy

    Spicy Shack Builder Plugin Developer

    Make sure the API isn't down. If the API is down then it will send the message without the country.
     
  18. grint_projekt

    grint_projekt Naked Wanderer

    OK. Thx for information.
     
  19. Spicy

    Spicy Shack Builder Plugin Developer

    You are welcome for information.
     
  20. grint_projekt

    grint_projekt Naked Wanderer

    Hello - I have to ask again. API works correctly, but no country info is displayed. If I log-in only appears: "grint_projekt has connected from." I've brought a friend to help, who knows better, but he does not find out what's the matter. Also 'Covalence' is on. Is there still another way why the country is not displayed?