'Baggos' Posted August 10, 2012 Posted August 10, 2012 Hello member of maxcheaters. Announce when GameMaster has logged. config: # Specified reward item rnd qty ChampionRewardItemQty = 1 +#--------------------------------------------------------------- +# Gm Announce Login +#--------------------------------------------------------------- +GmAnnounceLogin = True ===== Index: sf/l2j/config.java public static int L2JMOD_CHAMPION_REWARD_QTY; + public static boolean GM_ANNOUNCE_LOGIN; L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1")); + GM_ANNOUNCE_LOGIN = Boolean.parseBoolean(L2JModSettings.getProperty("GmAnnounceLogin", "false")); ===== Index: sf/l2j/gameserver/clientpackets/EnterWorld.java Quest.playerEnter(activeChar); activeChar.sendPacket(new QuestList()); + + + if (Config.GM_ANNOUNCE_LOGIN) + { + if (activeChar.isGM()) + { + Announcements.getInstance().announceToAll("[GameMaster]: "+activeChar.getName()+" has been logged in."); + } + } if (Config.SERVER_NEWS) Credits:Me
Recommended Posts