Results 1 to 6 of 6

Thread: Message window when a player enters the game.

  1. #1
    Refugee
    Join Date
    Apr 2016
    Posts
    21
    Rep Power
    0

    Message window when a player enters the game.

    Hello comrades. I went to one server, and there is a message box with server rules. And two buttons accept and reject.
    I want to make a window with rules on my server too. But I dont know how. Tell me what is it? What is the mod or server setting?

  2. #2
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    7,812
    Rep Power
    1
    It's in the server config.xml.

    Code:
     <property name="ServerLoginConfirmationText" value="[ff0000]By joining this server, you agree to follow the server rules.[-]   
    	[FFC300]The Golden Rule applies.[-]	We're all here to have fun, so respect other players and staff.
    
    
    	[FFC300]Don't cheat.[-]	This includes all forms of cheating. You can get banned and that's not fun. 
    	 
    	[FFC300]Please speak respectfully in chat.[-]  We shouldn't have to tell you that racist or insulting comments are bad. Our admins will use their judgement about how you speak in chat. If you are warned, stop or the next step is banning.
    
    
    	[FFC300]We are a PvE server.[-]	Friendly fire is off. If you manage to kill another player, sooner or later you'll be banned.
    	 
    	If you're here to play and have fun, come on inside!  We use [4FBEE5]XYZ Server Manager[-]
    
    
    [00cc00]https://yourwebsiteurl.com/goes/here[-] for more information.
    Join us on Discord at[1E90FF] https://discord.gg/rand0mnumb3rs[-]" />
    Line breaks and all. The sections like [FFC300] make the text inside colored. [-]

  3. #3
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    7,812
    Rep Power
    1
    Here's what that code above looks like in-game.


  4. #4
    Refugee
    Join Date
    Apr 2016
    Posts
    21
    Rep Power
    0
    Quote Originally Posted by SylenThunder View Post
    It's in the server config.xml.

    Code:
     <property name="ServerLoginConfirmationText" value="[ff0000]By joining this server, you agree to follow the server rules.[-]   
    	[FFC300]The Golden Rule applies.[-]	We're all here to have fun, so respect other players and staff.
    
    
    	[FFC300]Don't cheat.[-]	This includes all forms of cheating. You can get banned and that's not fun. 
    	 
    	[FFC300]Please speak respectfully in chat.[-]  We shouldn't have to tell you that racist or insulting comments are bad. Our admins will use their judgement about how you speak in chat. If you are warned, stop or the next step is banning.
    
    
    	[FFC300]We are a PvE server.[-]	Friendly fire is off. If you manage to kill another player, sooner or later you'll be banned.
    	 
    	If you're here to play and have fun, come on inside!  We use [4FBEE5]XYZ Server Manager[-]
    
    
    [00cc00]https://yourwebsiteurl.com/goes/here[-] for more information.
    Join us on Discord at[1E90FF] https://discord.gg/rand0mnumb3rs[-]" />
    Line breaks and all. The sections like [FFC300] make the text inside colored. [-]
    It is very strange that it does not support Cyrillic. Although on other servers I saw the message in this window in Russian letters.

    Is it possible to somehow change the font or encoding?

  5. #5
    Scavenger Random_'s Avatar
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    32
    Rep Power
    0
    The linebreaks did not working for me.

    What is the correct code for linebreak? (The font colours working)

  6. #6
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    7,812
    Rep Power
    1
    I don't believe changing the font is possible.

    No code. Just have it in the config file exactly like that.

Posting Permissions

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