Jump to content

Recommended Posts

Posted

Index: java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java	(revision 5689)
+++ java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java	(working copy)
@@ -226,6 +226,10 @@
			activeChar.setIsDead(true);
		}

+		if (Config.ANNOUNCE_NOBLESSE_LOGIN && activeChar.isNoble())
+		{
+			Announcements.getInstance().announceToAll("Noblesse: " + activeChar.getName() + " is now online!");
+		}
		boolean showClanNotice = false;

		// Clan related checks are here
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties	(revision 5689)
+++ dist/game/config/L2JMods.properties	(working copy)
@@ -479,4 +479,10 @@

# Enables .changepassword voiced command which allows the players to change their account's password ingame.
# Default: False
-AllowChangePassword = False
\ No newline at end of file
+AllowChangePassword = False
+
+#-----------------------
+#Noblesse Announce Login
+#-----------------------
+# False = Disable / True = Enable
+AnnounceNoblesseLogin = False
Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java	(revision 5689)
+++ java/com/l2jserver/Config.java	(working copy)
@@ -777,6 +777,7 @@
	public static int L2JMOD_DUALBOX_CHECK_MAX_L2EVENT_PARTICIPANTS_PER_IP;
	public static Map<Integer, Integer> L2JMOD_DUALBOX_CHECK_WHITELIST;
	public static boolean L2JMOD_ALLOW_CHANGE_PASSWORD;
+	public static boolean ANNOUNCE_NOBLESSE_LOGIN = false;

	// --------------------------------------------------
	// NPC Settings
@@ -2378,7 +2379,7 @@

			L2JMOD_ENABLE_WAREHOUSESORTING_CLAN = Boolean.parseBoolean(L2JModSettings.getProperty("EnableWarehouseSortingClan", "False"));
			L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.parseBoolean(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False"));
-			
+			ANNOUNCE_NOBLESSE_LOGIN = Boolean.parseBoolean(L2JModSettings.getProperty("AnnounceNoblesseLogin", "False"));
+
			if (TVT_EVENT_PARTICIPATION_NPC_ID == 0)
			{
				TVT_EVENT_ENABLED = false;

 

Credits:Rayleigh

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..