Welcome Messages

Sends players welcome messages once they connect to the server

Total Downloads: 2,195 - First Release: Nov 19, 2016 - Last Update: May 31, 2017

5/5, 10 likes
  1. Ankawi

    Ankawi Master Researcher Plugin Developer

    Ankawi submitted a new resource:

    Welcome Messages - Sends players welcome messages once they connect to the server

    Read more about this resource...
     
  2. Ankawi

    Ankawi Master Researcher Plugin Developer

  3. Taynichok

    Taynichok Naked Wanderer

    Please tell me, is it possible to add messages to the greeting as it was before:
    {
    "Messages": [
    "<size=17><silver>Приветствуем <lime>{player}<end><end></size>",
    "<silver><orange><size=20>•</size><end> Набери <orange>/help<end> и узнай доступные команды.<end>",
    "<silver><orange><size=20>•</size><end> Будьте вежливы с игроками.<end>"
    ]
    }

    Now:
    {
    "Welcome": "[#cyan]Welcome to the server {0}![/#]"
    }

    If yes then how to do it correctly?
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The format is that for the Covalence API in Oxide, it's universal between games. The below example should b e what you want.
    Code (Javascript):
    {
      "Messages": [
        "[#silver][+17]Приветствуем [#lime]{player}[/#][/+][/#]",
        "[#silver][#orange][+20]•[/+][/#] Набери [#orange]/help[/#] и узнай доступные команды.[/#]",
        "[#silver][#orange][+20]•[/+][/#] Будьте вежливы с игроками.[/#]"
      ]
    }
     
    Brandoncarney likes this.
  5. Taynichok

    Taynichok Naked Wanderer

    That is, I need to replace:
    {
    "Welcome": "[#cyan]Welcome to the server {0}![/#]"
    }

    on:
    {
    "Messages":[
    "[#silver][+17]Приветствуем [#lime]{player}[/#][/+][/#]",
    "[#silver][#orange][+20]•[/+][/#] Набери [#orange]/help[/#] и узнай доступные команды.[/#]",
    "[#silver][#orange][+20]•[/+][/#] Будьте вежливы с игроками.[/#]"
    ]
    }

    Is it so?

    I need to play Hurtworld
     
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Customize the original file by adding your messages to it. You can try separating the lines with /n instead of separate messages.
     
  7. Taynichok

    Taynichok Naked Wanderer

    Thank you very much, I will try
     
  8. sKilloWsky

    sKilloWsky Wood Hoarder

    i example lang with
    Code (Text):
    {
      "Messages":[ "[#cyan]Witaj na serwerze{0}![/#]"
        "TeamSpeak: [#red]myhurtworld.teamspeak3.pl[/#]"
        "WIPE : Co piątek o godzinie 18:30"
        "Restart : Odbywa się w każdą noc o 5:00"
        "Zapoznaj się koniecznie z [#red]/regulamin[/#]"
        ]
    }
    And plugin not work now.
     
  9. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That isn't a valid format for this plugin, see the Overview for an example.
     
  10. sKilloWsky

    sKilloWsky Wood Hoarder

    i change all for
    Code (Text):
    {
      "Welcome": "[#cyan]Witaj na serwerze{0}![/#]",
        "TeamSpeak: [#red]myhurtworld.teamspeak3.pl[/#]",
        "WIPE : Co piątek o godzinie 18:30",
        "Restart : Odbywa się w każdą noc o 5:00",
        "Zapoznaj się koniecznie z [#red]/regulamin[/#]",
       }
    And still not work, what is wrong now?
     
  11. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That is not a valid format, the plugin only has one entry, not the many like you have.
     
  12. sKilloWsky

    sKilloWsky Wood Hoarder

    oooohh, okey thanks
     
  13. Speedy2M

    Speedy2M Wood Hoarder

    Don't work or does nothing on 7dtd. Might wanne check out Teleport since it sends messages on login or Advert Messages that also works fine.
     
  14. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Oxide for 7 Days to Die is lacking a good bit of hooks yet. The plugin will work fine once those missing hooks are added.
     
  15. Speedy2M

    Speedy2M Wood Hoarder

    tho its already possible to display messages OnPlayerConnected see 7dtd Teleport plugin i added it myself to this plugin. For other ppl that might don't know that would't it be help full since its "universal" to atleast at the 7dtd stuff via a line #if 7DAYSTODIE
     
  16. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    OnPlayerConnected is not a universal hook. Consider 7 Days to Die support lacking most of the features the Rust, Hurtworld, Reign of Kings, and a couple others have. It has very primitive support. Universal plugins are for all games that Oxide supports with Covalence fully implemented. Covalence is still WIP.
     
  17. Speedy2M

    Speedy2M Wood Hoarder

    I know but should't it be possible to use via a #if line for 7dtd so that the plugin also work with 7dtd
     
  18. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, but there is no point to add that, as 7 Days to Die has the hook this uses. If there is an issue, it's likely in Oxide, not this or the other plugin.
     
  19. Speedy2M

    Speedy2M Wood Hoarder

    Don't really see why there is not a point. There is more then one "Universal" plugin that uses #if lines some even from you. Why not even do it here that would make the plugin even more universal.
     
  20. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Because there is no point to use an #if here, the universal hook already exists... if the hook is not working, then it's an issue in Oxide's implementation for the game in this instance, not an issue for this plugin or its author to fix.