WelcomeMessages

Moved

Total Downloads: 3,768 - First Release: Nov 19, 2016 - Last Update: Dec 25, 2017

5/5, 12 likes
  1. Ankawi submitted a new resource:

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

    Read more about this resource...
     
  2. Ankawi updated Welcome Messages with a new update entry:

    1.0.0

     
  3. 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

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

    Customize the original file by adding your messages to it. You can try separating the lines with /n instead of separate messages.
     
  7. Thank you very much, I will try
     
  8. i example lang with
    Code:
    {
      "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

    That isn't a valid format for this plugin, see the Overview for an example.
     
  10. i change all for
    Code:
    {
      "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

    That is not a valid format, the plugin only has one entry, not the many like you have.
     
  12. oooohh, okey thanks
     
  13. 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

    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. 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

    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. 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

    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. 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

    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.