Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Shu.'s Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Rasta Land
    Posts
    535
    Reputation
    48
    Thanks
    150
    My Mood
    Psychedelic
    Cant find Player.Chat.cs, respond!

  2. #17
    Ahl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    /modcp
    Posts
    16,599
    Reputation
    3219
    Thanks
    5,383
    My Mood
    Angelic
    Quote Originally Posted by C453 View Post
    Just a quick and simple command, for those of you who host servers with a large amount of people.


    Basically what is does is when an Admin types the command "SvrRestart", An announcement text comes up saying


    "Server restarting soon. Please be ready to disconnect. Estimated server down time: 30 Seconds - 1 Minute"


    Just copy + paste this in to Player.Chat.cs

    And, no, this does not restart the server. It's just a quicker way to say "server restarting"

    Example:

    Code:
    else if (cmd.Equals("SvrRestart", StringComparison.OrdinalIgnoreCase) && CmdReqAdmin())
                {
    
                    foreach (var i in RealmManager.Clients.Values)
                    {
                        i.SendPacket(new TextPacket()
                        {
                            BubbleTime = 0,
                            Stars = -1,
                            Name = "@Announcement",
                            Text = "Server restarting soon. Please be ready to disconnect.                               Estimated server down time: 30 Seconds - 1 Minute"
                        });
                    }
                }
    It would be easier I guess if you changed the command to /restart instead of /svrrestart
    News Force Head Editor from 09/14/2018 - 03/02/2020
    Publicist from 11/23/2017 - 06/07/2019
    Global Moderator since 09/24/2017
    Minion+ from 04/16/2017 - 09/24/2017
    Market Place Minion from 04/16/2017 - 09/24/2017
    Minecraft Minion from 02/23/2017 - 09/24/2017
    Realm of the Mad God Minion from 11/06/2016 - 09/24/2017

    Middleman from 09/14/2016 - 09/24/2017
    News Force Editor from 08/23/2016 - 09/14/2018
    News Force (Section of the Week) from 03/21/2016 - 07/17/2017
    News Force (User News) from 10/18/2015 - 09/14/2018

    Donator since 03/16/2015
    Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
    Member since 12/23/2012


    Rep Power: 82

  3. #18
    CrazyJani's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2,475
    Reputation
    170
    Thanks
    15,666
    Quote Originally Posted by cool1119 View Post
    It would be easier I guess if you changed the command to /restart instead of /svrrestart
    Anyone can do that on their own, you don't need to give useless tips

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Server restarting in 20 minutes
    By JustAnoobROTMG in forum Realm of the Mad God Discussions
    Replies: 2
    Last Post: 11-04-2012, 01:15 PM
  2. [Release] League of Legends Simple Server Switcher
    By qqzzxxcc in forum League of Legends Hacks & Cheats
    Replies: 26
    Last Post: 10-30-2012, 01:26 PM
  3. [Info] EMERGENCY SERVER RESTART 1:30 PM (PDT)
    By ProGamerX in forum Combat Arms Discussions
    Replies: 31
    Last Post: 08-23-2011, 08:36 PM
  4. Emergeny Server restart nexon said it
    By akp123 in forum Combat Arms Discussions
    Replies: 7
    Last Post: 06-30-2011, 11:54 AM
  5. [Help Request] Simple server
    By coteanualex in forum Minecraft Help
    Replies: 1
    Last Post: 05-27-2011, 03:48 PM