d0ds™ Posted January 29, 2012 Share Posted January 29, 2012 Hi, I had been practicing java for L2, and I made some simple mod, I have no idea if this mod is existed, but here it is start here add this to l2mods.properties # Announce Noble Char AnnounceNobleChar = True @Config.java find this public static int L2JMOD_WEDDING_DIVORCE_COSTS; and add this after public static boolean ANNOUNCE_NOBLE_LOGIN; and find this L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False")); and add this after ANNOUNCE_NOBLE_LOGIN = Boolean.parseBoolean(L2JModSettings.getProperty("AnnounceNobleChar", "False")); @EnterWorld.java find this if (Config.L2JMOD_ALLOW_WEDDING) { engage(activeChar); notifyPartner(activeChar,activeChar.getPartnerId()); } And add this after if(Config.ANNOUNCE_NOBLE_LOGIN) { if(activeChar.isNoble()) Announcements.getInstance().announceToAll("Noble: " + activeChar.getName() + " has been logged in."); } I made it my self so, the credit is for me :) Quote Link to comment Share on other sites More sharing options...
marwan Posted January 29, 2012 Share Posted January 29, 2012 Read section rules: - Do not post simple java strings or stupid Configuring Codes. Such topics will be immediately locked. and also the code isn't full the config will not work and its already shared Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.