🔥 Launch was a success!
Over 500 players joined L2Elixir on opening day, and we are holding a steady 420–450 online!
We faced extortion attempts and heavy DDoS attacks, but our protections held strong — even if the cost was far higher than expected.
What matters is we fought back and kept the server online for you. ⚔️
💙 Our priority is simple:
Deliver a stable, fair, and growing server that will evolve for years to come.
We continue to invest in protections, advertising, and development — and we won’t stop.
All we ask from YOU is one thing:
👉 Keep playing. The more active the community is, the faster the server grows.
💠 Important Note:
We have no paid clans or CPs, no “boosted” groups, no unfair benefits.
Everyone has an equal chance to progress and compete.
Thank you to everyone who joined, supported, and believed in this project.
Let’s make L2Elixir great again — even in 2025–2026! 🚀
Website: https://l2elixir.org/
Discord: https://discord.gg/5ydPHvhbxs
@Atom Can you please move to Private Servers? Thanks!
Question
NuclearCitizen
Hey guys. I am trying to make my !global chat to be seen everywhere in the world. Can somebody help me with the code here?
package net.sf.l2j.gameserver.handler.chathandlers; import net.sf.l2j.gameserver.data.xml.MapRegionData; import net.sf.l2j.gameserver.enums.FloodProtector; import net.sf.l2j.gameserver.enums.SayType; import net.sf.l2j.gameserver.handler.IChatHandler; import net.sf.l2j.gameserver.model.World; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.network.serverpackets.CreatureSay; public class ChatShout implements IChatHandler { private static final SayType[] COMMAND_IDS = { SayType.SHOUT }; @Override public void handleChat(SayType type, Player player, String target, String text) { if (!player.getClient().performAction(FloodProtector.GLOBAL_CHAT)) return; final CreatureSay cs = new CreatureSay(player, type, text); final int region = MapRegionData.getInstance().getMapRegion(player.getX(), player.getY()); for (Player worldPlayer : World.getInstance().getPlayers()) { if (region == MapRegionData.getInstance().getMapRegion(worldPlayer.getX(), worldPlayer.getY())) worldPlayer.sendPacket(cs); } } @Override public SayType[] getChatTypeList() { return COMMAND_IDS; } }
Edited by Vision2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now