Jump to content

Recommended Posts

Posted

Hello folks,

 

In this guide i will teach you how to change the server name when you restart ... normal it says <<The Server is restarting in "x" Seconds./ Minutes.>>

 

what we do ? we checkout our pack ( i will use l2jfree IL ) then we go to our workspace

 

we go inside the folder named L2_GameServer_IL\src\main\java\net\sf\l2j\gameserver and you will see inside Shutdown.java

 

so we are going to open it of course and we go on line 238 & 240 and we will see this

 

       Announcements.getInstance().announceToAll("Server is " + _shutdownMode.getText().toLowerCase() + " in "+seconds+ " seconds!");

       if(Config.IRC_ENABLED && !Config.IRC_ANNOUNCE)

            IrcManager.getInstance().getConnection().sendChan("Server is " + _shutdownMode.getText().toLowerCase() + " in "+seconds+ " seconds!");

 

 

so as you see it says "Server is "  and you can change it to your servers name .. you can do it L2MxC Server is Restarting and inside the Game it will say L2MxC is restarting in "x" Seconds

 

we can change also the Attetion Players!  on line 237

 

       Announcements.getInstance().announceToAll("Attention players!");

 

the "Attention players!" to "Attetion to L2MxC Players!" or whatever you want

 

on line 269 you will see this

 

        Announcements.getInstance().announceToAll("Server aborts " + _shutdownMode.getText().toLowerCase() + " and continues normal operation!");

 

you can change "Server aborts " to "L2MxC Server Aborts " or whatever :)

 

on line 368 and 372 too

 

so you compile the pack via maven and you are Ready

 

well its simple to search in source code there you can change many things ... just for newbies .. good like

 

Credits to me .

 

Guest
This topic is now closed to further replies.


  • Posts

    • 🔥 Upgrade Your Server's Visual Identity 🔥 Hello Community! We are proud to present the Shadowbane Collection – a premium, oriental-style visual suite designed specifically for Metin2 and Silkroad private servers. Forget about static, boring pages. Give your players a true "AAA" experience with a fully animated video header and a professional brand identity. 🎥 VIDEO PREVIEW   🐉 1. Shadowbane – Animated HTML Website Template A fully coded, responsive website template with a stunning video background. No coding skills required – just upload and configure! 🚀 Technology: HTML5 / CSS3 / JS (No PSD, ready code) 🎥 Animated Header: Loopable video background included (.mp4) 📱 Responsive: Works perfectly on Mobile & Desktop 📂 Pages Included: Home, Rankings, Register, Download, News 👉 DOWNLOAD WEBSITE TEMPLATE HERE       ⚔️ 2. Shadowbane – Game Logo & Text Effect Complete your branding with this matching Logo Template. It works as a Photoshop Text Effect – just type your server name! 🎨 Style: Oriental Gold & Brush Ink ⚡ Easy Edit: Smart Objects (One-click change) 🎁 Bonus: Social Media Kit included (Banner + Avatar) 👉 DOWNLOAD LOGO TEMPLATE HERE 🎁 SPECIAL LAUNCH DISCOUNT 🎁 For forum members, we have prepared a special code. Get 20% OFF on your entire order! CODE: LOVEM2 Elevate your server today with Pixarts.store  
    • Contact me on discord have an offer for you. l2avalon.net  
    • At this point, you’re better off buying server files that have actually been heavily tested by you or that you’ve personally played on. Working with public sources is a waste of time. These days, it’s also a waste of time to deal with files that have never powered a live server, or with people trying to sell you a story without real proof or a solid player base to back it up.
    • Hope someone someday will release this 😄
  • Topics

×
×
  • 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..