new diclaimer message

This commit is contained in:
2023-03-25 14:22:01 +04:00
parent 6c1699b2c5
commit 43c3edf5c6
5 changed files with 40 additions and 7 deletions

View File

@@ -3,8 +3,8 @@ package net.limework.gal.utils;
/**
* @since 1.0.0
*
* @// TODO: 12/14/21 move the messages into A Config file in yaml or json
*/
@Deprecated
public class Messages {
//
public final static String FAILED_CONNECTION = """

View File

@@ -15,6 +15,8 @@ public interface Configuration {
String getOnlineModeDomain();
String[] getDisclaimerMessage();

View File

@@ -7,5 +7,13 @@
"max-connections": 590,
"reset": 10
},
"online-mode-domain": "p.limework.net"
"online-mode-domain": "p.limework.net",
"disclaimer-message": [
"§e=======================================",
"§eHi there, welcome to §a§LGovindas Limework",
"§eYou are logged in As Offline player and identified as %player-name%",
"§eif this a mistake please disconnect and connect to",
"§ep.limework.net",
"§e======================================="
]
}