Results 1 to 3 of 3
  1. #1

    Question Change server description based of time of the day?

    Hi,
    Is there some plugin that can change the server description based on time of the day for example when I am using this plugin:
    FREE !VIP SLOT for Server Starter
    Play between 08:00 till 12:00 o'clock for min. 2 hours to win a !VIP SLOT for 2 days

    I what the description to say:
    Play between 08:00 till 12:00 o'clock for min. 2 hours to win a !VIP SLOT for 2 days

    After 12 a clock I want man other description.
    Is this possible?

    Thanks!

  2. #2
    Super Moderator
    Join Date
    Jul 2010
    Location
    Very North Darwin
    Posts
    1,551
    https://forum.myrcon.com/showthread....ght=time+based

    Not sure if anyone wrote a script for proconrulz or insane limits

  3. #3
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    276
    insane limits can do this:

    Code:
    // Round End - Server Description Changer
    // settings for insane limits:     limit_evaluation: OnRoundOver     ,    limit_first_check: Code
    //////////////////////////////
    
    if ((DateTime.Now.Hour >= 6) && (DateTime.Now.Hour < 12)) {
    	// server description from 6 till 12 o'clock
    	plugin.ServerCommand("vars.serverDescription","Play between 08:00 till 12:00 o'clock for min. 2 hours to win a !VIP SLOT for 2 days");
    } else {
    	// server description after 12 o'clock
    	plugin.ServerCommand("vars.serverDescription","Have fun and enjoy the game");
    }
    Developer of the VIP Slot Manager Plugin

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •