Universal Popup message on connect

Discussion in 'Plugin Requests' started by FTG_DuelMaster, Jun 14, 2016.

  1. Is there a way to write a plugin so when a person joins the server a popup message comes up with a customised message. Just like what happens currently when a admin types /popup "message" in game.

    I would just like everybody to see the rules when entering the server and they have to click "ok" so the popup message leaves and then they can play as usual.
    Is this possible at all?
     
  2. Can someone help me make a mof for my server I want to type /rules and have my rules in a popup window. will pay a little?
    [DOUBLEPOST=1467538049][/DOUBLEPOST]
    Code:
    [ChatCommand("rules")]
            private void Rules(Player Player, string Command, string[] Args)
            {
                int i = 1;
                string Output = "Amp Gaming Rules\r\n\r\n";            foreach (string Value in RuleList)
                {
                    Output += i.ToString() + ". " + Value + "\r\n";
                    i++;
                }            Player.ShowPopup("Rule List", Output);
            }
    
    [DOUBLEPOST=1467538076][/DOUBLEPOST]Found that in another mod may be useful?
     
  3. let me do this for you. be back in a sec
     
  4. popup window its better.and its better if its auto popup when player join server
     
  5. <3 THANK YOU SOO MUCH
     
  6. sure, is possible.

    you want it, only to be shown, when the player connects the first time, or everytime he spawns?
     
  7. was this ever done?
     
  8. Yes, it was.

    But I can't release my plugins right now, because I have to learn how to remove all the hard code.

    You can have three unofficial version though
     
  9. that will work :)
     
  10. what is that supposed to mean ?
     
  11. how do i get it
     
  12. void OnPlayerSpawn(PlayerFirstSpawnEvent spawnEvent)

    {
    Player player = spawnEvent.Player;

    {

    player.ShowPopup("[FFA500]RULES


    code

    popup when join server
     
  13. Hello, I was wondering if it was possible and how to meter my rules popup messages ?