Jump to content

Recommended Posts

Posted

As far as vent deleted his .stat voice command I will share mine...

 

Create a new file in net.sf.l2j.gameserver.handler.voicedcommandhandlers and call it stat.java

 

Open and insert this code :

 

/*

/*

* This program is free software; you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation; either version 2, or (at your option)

* any later version.

*

* This program is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with this program; if not, write to the Free Software

* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

* 02111-1307, USA.

*

* http://www.gnu.org/copyleft/gpl.html

*/

package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

 

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;

import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

 

 

/**

*

*

*/

public class Stat implements IVoicedCommandHandler

{

    private static final String[] VOICED_COMMANDS = { "stat" };

 

    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)

    {   

        if (command.equalsIgnoreCase("stat"))

        {

            if (activeChar.getTarget()==null)

            {

                activeChar.sendMessage("You have no one targeted.");

                return false;

            }

            if (!(activeChar.getTarget() instanceof L2PcInstance))

            {

                activeChar.sendMessage("You can only get the info of a player.");

 

                return false;

            }

           

            L2PcInstance targetp = (L2PcInstance)activeChar.getTarget();

 

 

           

        activeChar.sendMessage("========="+ targetp.getName() +"=========");

            activeChar.sendMessage("Level: " + targetp.getLevel());

            if (targetp.getClan() != null)

            {

            activeChar.sendMessage("Clan: " + targetp.getClan().getName());

            activeChar.sendMessage("Alliance: " + targetp.getClan().getAllyName());

            }

            else

            {

            activeChar.sendMessage("Alliance: None");

            activeChar.sendMessage("Clan: None");

            }

           

           

           

           

           

           

           activeChar.sendMessage("Adena: " + targetp.getAdena());

           

           

           

        if(activeChar.getInventory().getItemByItemId(6393) == null)

    {

    activeChar.sendMessage("Medals : 0");

    }

        else

        {

        activeChar.sendMessage("Medals : " + targetp.getInventory().getItemByItemId(6393).getCount());

        }

           

           

        if(activeChar.getInventory().getItemByItemId(3470) == null)

    {

    activeChar.sendMessage("Gold Bars : 0");

    }

        else

        {

        activeChar.sendMessage("Gold Bars : " + targetp.getInventory().getItemByItemId(3470).getCount());

        }

                 

           

           

            activeChar.sendMessage("PvP Kills: " + targetp.getPvpKills());

            activeChar.sendMessage("PvP Flags: " + targetp.getPvpFlag());

            activeChar.sendMessage("PK Kills: " + targetp.getPkKills());

            activeChar.sendMessage("HP, CP, MP: " + targetp.getMaxHp() + ", " +targetp.getMaxCp() + ", " + targetp.getMaxMp());

            activeChar.sendMessage("Wep Enchant: " + targetp.getInventory().getPaperdollItem(9).getEnchantLevel());

            activeChar.sendMessage("=========<L2 Pure>=========");

 

        }

    return true;

    }

    public String[] getVoicedCommandList()

    {

        return VOICED_COMMANDS;

    }

 

}

       

       

 

Go to net.sf.l2j.gameserver and open GameServer.java

 

Add the fallowing 2 lines

import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;

import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stat;

import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;

 

_voicedCommandHandler.registerVoicedCommandHandler(new stat());

_log.config("VoicedCommandHandler: Loaded .stat VoiceCommand handler.");

 

_log.config("VoicedCommandHandler: Loaded " + _voicedCommandHandler.size() + " handlers.");

 

 

 

 

 

===============================================

 

 

Other infos about the code :

 

           if (targetp.getInventory().getItemByItemId(6393).getCount() > 0)

This checks out how many 6393 items you got in your inventory. 6393 is the id of Glittering Medal. Feel free to change it. Same with GoldBars

 

 

 

            activeChar.sendMessage("PvP Kills: " + targetp.getPvpKills());

Your PvP count...

 

 

 

            activeChar.sendMessage("PvP Flags: " + targetp.getPvpFlag());

How many times you went purple.

 

==================================================================

 

It works by targeting a player or yourself and typing .stat in the main chat.

All credits to me ...

Report if there are any kind of bugs so I can fix right away...Didnt have so much time to test.

Posted

cool , also u can make it as html for a better interface when you hit enter after typing .stat ! good job anyway

Posted

Updated...

 

There were some bugs if ptarget had no clan/ally/medals/gold bars...Fixed

 

Feel free to tell me if there are still any bugs

Posted

i tryed to fix it on my own and still get this eror:

http://www.failai.in/P/1224061903_eror4.JPG

my gameserver.java:

 

/*

* This program is free software; you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation; either version 2, or (at your option)

* any later version.

*

* This program is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with this program; if not, write to the Free Software

* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

* 02111-1307, USA.

*

* http://www.gnu.org/copyleft/gpl.html

*/

package net.sf.l2j.gameserver;

 

import java.net.InetAddress;

import java.util.Calendar;

import net.sf.l2j.Config;

import net.sf.l2j.L2DatabaseFactory;

import net.sf.l2j.gameserver.admin.AdminSrv;

import net.sf.l2j.gameserver.boat.service.BoatService;

import net.sf.l2j.gameserver.cache.CrestCache;

import net.sf.l2j.gameserver.cache.HtmCache;

import net.sf.l2j.gameserver.datatables.ArmorSetsTable;

import net.sf.l2j.gameserver.datatables.AugmentationData;

import net.sf.l2j.gameserver.datatables.BuffTemplateTable;

import net.sf.l2j.gameserver.datatables.CharTemplateTable;

import net.sf.l2j.gameserver.datatables.ClanTable;

import net.sf.l2j.gameserver.datatables.DoorTable;

import net.sf.l2j.gameserver.datatables.EventDroplist;

import net.sf.l2j.gameserver.datatables.FishTable;

import net.sf.l2j.gameserver.datatables.GmListTable;

import net.sf.l2j.gameserver.datatables.HennaTable;

import net.sf.l2j.gameserver.datatables.HennaTreeTable;

import net.sf.l2j.gameserver.datatables.HeroSkillTable;

import net.sf.l2j.gameserver.datatables.ItemTable;

import net.sf.l2j.gameserver.datatables.LevelUpData;

import net.sf.l2j.gameserver.datatables.NobleSkillTable;

import net.sf.l2j.gameserver.datatables.NpcBufferSkillIdsTable;

import net.sf.l2j.gameserver.datatables.NpcTable;

import net.sf.l2j.gameserver.datatables.NpcWalkerRoutesTable;

import net.sf.l2j.gameserver.datatables.PetDataTable;

import net.sf.l2j.gameserver.datatables.SkillSpellbookTable;

import net.sf.l2j.gameserver.datatables.SkillTable;

import net.sf.l2j.gameserver.datatables.SkillTreeTable;

import net.sf.l2j.gameserver.datatables.SpawnTable;

import net.sf.l2j.gameserver.datatables.StaticObjects;

import net.sf.l2j.gameserver.datatables.SummonItemsData;

import net.sf.l2j.gameserver.datatables.TeleportLocationTable;

import net.sf.l2j.gameserver.datatables.TradeListTable;

import net.sf.l2j.gameserver.geoeditorcon.GeoEditorListener;

import net.sf.l2j.gameserver.handler.AdminCommandHandler;

import net.sf.l2j.gameserver.handler.ChatHandler;

import net.sf.l2j.gameserver.handler.ItemHandler;

import net.sf.l2j.gameserver.handler.SkillHandler;

import net.sf.l2j.gameserver.handler.UserCommandHandler;

import net.sf.l2j.gameserver.handler.VoicedCommandHandler;

import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Stat;

import net.sf.l2j.gameserver.idfactory.IdFactory;

import net.sf.l2j.gameserver.instancemanager.FrintezzaManager;

import net.sf.l2j.gameserver.instancemanager.AntharasManager;

import net.sf.l2j.gameserver.instancemanager.AuctionManager;

import net.sf.l2j.gameserver.instancemanager.BaiumManager;

import net.sf.l2j.gameserver.instancemanager.CastleManager;

import net.sf.l2j.gameserver.instancemanager.CastleManorManager;

import net.sf.l2j.gameserver.instancemanager.ClanHallManager;

import net.sf.l2j.gameserver.instancemanager.CoupleManager;

import net.sf.l2j.gameserver.instancemanager.CrownManager;

import net.sf.l2j.gameserver.instancemanager.CursedWeaponsManager;

import net.sf.l2j.gameserver.instancemanager.DayNightSpawnManager;

import net.sf.l2j.gameserver.instancemanager.DimensionalRiftManager;

import net.sf.l2j.gameserver.instancemanager.FactionManager;

import net.sf.l2j.gameserver.instancemanager.FactionQuestManager;

import net.sf.l2j.gameserver.instancemanager.FourSepulchersManager;

import net.sf.l2j.gameserver.instancemanager.IrcManager;

import net.sf.l2j.gameserver.instancemanager.ItemsOnGroundManager;

import net.sf.l2j.gameserver.instancemanager.MapRegionManager;

import net.sf.l2j.gameserver.instancemanager.MercTicketManager;

import net.sf.l2j.gameserver.instancemanager.PetitionManager;

import net.sf.l2j.gameserver.instancemanager.QuestManager;

import net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager;

import net.sf.l2j.gameserver.instancemanager.RaidPointsManager;

import net.sf.l2j.gameserver.instancemanager.SailrenManager;

import net.sf.l2j.gameserver.instancemanager.SiegeManager;

import net.sf.l2j.gameserver.instancemanager.TownManager;

import net.sf.l2j.gameserver.instancemanager.ValakasManager;

import net.sf.l2j.gameserver.instancemanager.VanHalterManager;

import net.sf.l2j.gameserver.instancemanager.ZoneManager;

import net.sf.l2j.gameserver.model.AutoChatHandler;

import net.sf.l2j.gameserver.model.AutoSpawnHandler;

import net.sf.l2j.gameserver.model.L2Manor;

import net.sf.l2j.gameserver.model.L2World;

import net.sf.l2j.gameserver.model.entity.Hero;

import net.sf.l2j.gameserver.network.L2GameClient;

import net.sf.l2j.gameserver.network.L2GamePacketHandler;

import net.sf.l2j.gameserver.pathfinding.geonodes.GeoPathFinding;

import net.sf.l2j.gameserver.registry.IServiceRegistry;

import net.sf.l2j.gameserver.script.faenor.FaenorScriptEngine;

import net.sf.l2j.gameserver.skills.SkillsEngine;

import net.sf.l2j.gameserver.taskmanager.TaskManager;

import net.sf.l2j.gameserver.util.DynamicExtension;

import net.sf.l2j.gameserver.util.FloodProtector;

import net.sf.l2j.gameserver.util.PathCreator;

import net.sf.l2j.gameserver.util.Util;

import net.sf.l2j.status.Status;

import net.sf.l2j.tools.L2Registry;

import net.sf.l2j.tools.versionning.model.Version;

import net.sf.l2j.tools.versionning.service.VersionningService;

import net.sf.l2j.util.RandomIntGenerator;

import org.apache.commons.logging.Log;

import org.apache.commons.logging.LogFactory;

import com.l2jserver.mmocore.network.SelectorServerConfig;

import com.l2jserver.mmocore.network.SelectorThread;

 

public class GameServer

{

    private static final Log _log = LogFactory.getLog(GameServer.class.getName());

    public static GameServer gameServer;

    private final IdFactory _idFactory;

    private final Shutdown _shutdownHandler;

    private final SelectorThread<L2GameClient> _selectorThread;

    private static Status _statusServer;

    public static final Calendar dateTimeServerStarted = Calendar.getInstance();

    private LoginServerThread _loginThread;

   

    public GameServer() throws Throwable

    {

        Config.load();

        Util.printSection("Database");

        L2DatabaseFactory.initInstance();

        Util.printSection("Preparations");

        new PathCreator();

        Util.printSection("World");

        RandomIntGenerator.getInstance();

        L2World.getInstance();

        Announcements.getInstance();

        _idFactory = IdFactory.getInstance();

        if (!_idFactory.isInitialized())

        {

            _log.fatal("Could not read object IDs from DB. Please Check Your Data.");

            throw new Exception("Could not initialize the ID factory");

        }

        _log.info("IdFactory: Free ObjectID's remaining: " + IdFactory.getInstance().size());

        ThreadPoolManager.getInstance();

        if (Config.GEODATA)

        {

            GeoData.getInstance();

            if ( _log.isDebugEnabled())_log.debug("GeoData initialized");

           

            if (Config.GEO_PATH_FINDING)

            {

                GeoPathFinding.getInstance();

                if ( _log.isDebugEnabled())_log.debug("GeoPathFinding initialized");

            }

        }

        MapRegionManager.getInstance();

        ZoneManager.getInstance();

        ClanHallManager.getInstance();

        DoorTable.getInstance();

        StaticObjects.getInstance();

        GameTimeController.getInstance();

        BoatService boatService =(BoatService)L2Registry.getBean(IServiceRegistry.BOAT);

        boatService.loadBoatDatas();

        TeleportLocationTable.getInstance();

        Util.printSection("Skills");

        SkillTreeTable.getInstance();

        SkillsEngine.getInstance();

        SkillTable.getInstance();

        NobleSkillTable.getInstance();

        _log.info("NobleSkills initialized");

        HeroSkillTable.getInstance();

NpcBufferSkillIdsTable.getInstance();

        _log.info("HeroSkills initialized");

        Util.printSection("Items");

        ItemTable.getInstance();

        ArmorSetsTable.getInstance();

        AugmentationData.getInstance();

        if(Config.SP_BOOK_NEEDED)

            SkillSpellbookTable.getInstance();

        SummonItemsData.getInstance();

        if(Config.ALLOW_FISHING)

            FishTable.getInstance();

        ItemsOnGroundManager.getInstance();

        if (Config.AUTODESTROY_ITEM_AFTER > 0 || Config.HERB_AUTO_DESTROY_TIME > 0)

            ItemsAutoDestroy.getInstance();

        Util.printSection("Characters");

        CharTemplateTable.getInstance();

        LevelUpData.getInstance();

        HennaTable.getInstance();

        HennaTreeTable.getInstance();

        if(Config.ALLOW_WEDDING)

            CoupleManager.getInstance();

        CursedWeaponsManager.getInstance();

        ClanTable.getInstance();

        CrestCache.getInstance();

        Hero.getInstance();

        Util.printSection("NPCs");

        NpcTable.getInstance();

        HtmCache.getInstance();

        BuffTemplateTable.getInstance();

        if(Config.ALLOW_NPC_WALKERS)

        NpcWalkerRoutesTable.getInstance().load();

        PetDataTable.getInstance().loadPetsData();

        Util.printSection("Spawns");

        SpawnTable.getInstance();

DayNightSpawnManager.getInstance().notifyChangeMode();

        RaidBossSpawnManager.getInstance();

        RaidPointsManager.getInstance();

        AutoChatHandler.getInstance();

        AutoSpawnHandler.getInstance();

        Util.printSection("Castles and Towns");

        CastleManager.getInstance();

        CrownManager.getInstance();

        MercTicketManager.getInstance();

        TownManager.getInstance();

        SiegeManager.getInstance();

        Util.printSection("Economy");

        TradeListTable.getInstance();

        CastleManorManager.getInstance();

        L2Manor.getInstance();

        AuctionManager.getInstance();

        Util.printSection("SevenSigns");

        SevenSigns.getInstance();

        SevenSignsFestival.getInstance();

        Util.printSection("Olympiad");

        Olympiad.getInstance();

        Util.printSection("DimensionalRift");

        DimensionalRiftManager.getInstance();

        Util.printSection("FourSepulchers");

        FourSepulchersManager.getInstance().init();

        Util.printSection("Bosses");

        SailrenManager.getInstance().init();

        FrintezzaManager.getInstance().init();

        AntharasManager.getInstance().init();

        BaiumManager.getInstance().init();

        ValakasManager.getInstance().init();

        VanHalterManager.getInstance().init();

        Util.printSection("Quests");

        QuestManager.getInstance();

        Util.printSection("Events/ScriptEngine");

        EventDroplist.getInstance();

        FaenorScriptEngine.getInstance();

        Util.printSection("Extensions");

        if(Config.FACTION_ENABLED)

        {

            Util.printSection("Factions");

            FactionManager.getInstance();

            FactionQuestManager.getInstance();

        }

        try {

            DynamicExtension.getInstance();

        } catch (Exception ex) {

            _log.warn( "DynamicExtension could not be loaded and initialized", ex);

        }

       

 

        Util.printSection("Handlers");

        ItemHandler.getInstance();

        SkillHandler.getInstance();

        AdminCommandHandler.getInstance();

        UserCommandHandler.getInstance();

        VoicedCommandHandler.getInstance();

        _VoicedCommandHandler.registervoicedcommandhandlers(new Stat()); 

        ChatHandler.getInstance();

 

        Util.printSection("Misc");

        TaskManager.getInstance();

        GmListTable.getInstance();

        PetitionManager.getInstance();

        if(Config.ONLINE_PLAYERS_ANNOUNCE_INTERVAL > 0)

            OnlinePlayers.getInstance();

        FloodProtector.getInstance();

       

        _shutdownHandler = Shutdown.getInstance();

        Runtime.getRuntime().addShutdownHook(_shutdownHandler);

 

        System.gc();

 

        Util.printSection("ServerThreads");

        _loginThread = LoginServerThread.getInstance();

        _loginThread.start();

       

        SelectorServerConfig ssc = new SelectorServerConfig(InetAddress.getByName(Config.GAMESERVER_HOSTNAME), Config.PORT_GAME);

        L2GamePacketHandler gph = new L2GamePacketHandler();

 

        _selectorThread = new SelectorThread<L2GameClient>(ssc, gph, gph, gph);

        _selectorThread.openServerSocket();

        _selectorThread.start();

 

        if(Config.IRC_ENABLED)

            IrcManager.getInstance().getConnection().sendChan("GameServer Started");

        if ( Config.IS_TELNET_ENABLED )

        {

            _statusServer = new Status();

            _statusServer.start();

        }

        else

            _log.info("Telnet server is currently disabled.");

        if ( Config.JMX_TCP_PORT != -1 ||  Config.JMX_HTTP_PORT != -1 )

            AdminSrv.getInstance().registerMbeans();

 

        if (Config.ACCEPT_GEOEDITOR_CONN)

            GeoEditorListener.getInstance();

 

        Util.printSection("l2jfree");

        _log.info("Revision: "+getVersionNumber());

        _log.info("Build date: "+getBuildDate());

        _log.info("Compiler version: "+getBuildJdk());

        _log.info("Maximum Numbers of Connected Players: " + Config.MAXIMUM_ONLINE_USERS);

        printMemUsage();

       

        Util.printSection("GameServerLog");

        if(Config.ENABLE_JYTHON_SHELL)

        {

            Util.printSection("JythonShell");

            Util.JythonShell();

        }

    }

   

    public static void printMemUsage()

    {

        Util.printSection("Memory");

        for (String line : getMemUsage())

                _log.info(line);

    }

   

    public static String[] getMemUsage()

    {

        double maxMem = ((long)(Runtime.getRuntime().maxMemory() / 1024)); // maxMemory is the upper limit the jvm can use

        double allocatedMem = ((long)(Runtime.getRuntime().totalMemory() / 1024)); //totalMemory the size of the current allocation pool

        double nonAllocatedMem = maxMem - allocatedMem; //non allocated memory till jvm limit

        double cachedMem = ((long)(Runtime.getRuntime().freeMemory() / 1024)); // freeMemory the unused memory in the allocation pool

        double usedMem = allocatedMem - cachedMem; // really used memory

        double useableMem = maxMem - usedMem; //allocated, but non-used and non-allocated memory

        return new String[] {

                " - AllowedMemory: " +((int)(maxMem))+" KB",

                "Allocated: "+((int)(allocatedMem))+" KB ("+(((double)(Math.round(allocatedMem/maxMem*1000000)))/10000)+"%)",

                "Non-Allocated: "+((int)(nonAllocatedMem))+" KB ("+(((double)(Math.round(nonAllocatedMem/maxMem*1000000)))/10000)+"%)",

                "- AllocatedMemory: "+((int)(allocatedMem))+" KB",

                "Used: "+((int)(usedMem))+" KB ("+(((double)(Math.round(usedMem/maxMem*1000000)))/10000)+"%)",

                "Unused (cached): "+((int)(cachedMem))+" KB ("+(((double)(Math.round(cachedMem/maxMem*1000000)))/10000)+"%)",

                "- UseableMemory: "+((int)(useableMem))+" KB ("+(((double)(Math.round(useableMem/maxMem*1000000)))/10000)+"%)"

        };

    }

       

    /**

    * @return the revision number

    */

    public static String getVersionNumber()

    {

        VersionningService versionningService = (VersionningService)L2Registry.getBean(IServiceRegistry.VERSIONNING);

        Version version = versionningService.getVersion();

        if ( version != null )

            return version.getRevisionNumber();

        return "-1";

    }

   

    public static String getBuildDate()

    {

            VersionningService versionningService = (VersionningService)L2Registry.getBean(IServiceRegistry.VERSIONNING);

            Version version = versionningService.getVersion();

            if ( version != null )

                    return version.getBuildDate();

            return "-1";

    }

   

    /**

    * @return the build jdk

    */

    public static String getBuildJdk()

    {

        VersionningService versionningService = (VersionningService)L2Registry.getBean(IServiceRegistry.VERSIONNING);

        Version version = versionningService.getVersion();

        if ( version != null )

            return version.getBuildJdk();

        return "-1";

    }   

 

    public SelectorThread<L2GameClient> getSelectorThread()

    {

        return _selectorThread;

    }

   

    public long getUsedMemoryMB()

    {

        return (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory())/1048576; // 1024 * 1024 = 1048576;

    }

   

    public static void main(String[] args) throws Throwable

    {

        System.setProperty("python.cachedir", "../cachedir");

        gameServer = new GameServer();

    }

}

 

 

 

 

  • 1 month later...
Posted

guys can this work for l2jfree?

 

cause i made almost everything work

 

dunno how to add this     

 

      _voicedCommandHandler.registerVoicedCommandHandler(new stat()); 

      _log.config("VoicedCommandHandler: Loaded .stat VoiceCommand handler.");

     

      _log.config("VoicedCommandHandler: Loaded " + _voicedCommandHandler.size() + " handlers.");

Guest
This topic is now closed to further replies.



  • Posts

    • ## [1.5.5] - 2026-02-02   ### ✨ New Features - **Discord Login**: You can now sign in with your Discord account. Admins enable and configure Discord login in **cpadmin → Users** (Discord auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum, Google, or legacy), signing in with Discord links to that account so you keep one profile. Discord login is available on Add Server, My Servers, Vote page, and Premium Ads booking. - **Setup Links**: In **cpadmin → Users**, both Google and Discord login settings now include direct links to their official developer portals (Google Cloud Console and Discord Developer Portal) for easier OAuth app setup.   ### 🔒 Security - **Email Required for Registration**: New user registration via OAuth (Forum, Google, Discord) now requires a valid email address. If the OAuth provider doesn't provide an email (e.g. unverified Discord email), registration is rejected with a clear message. This prevents anonymous accounts and ensures all users can receive important notifications.   ### 🔄 Improvements - **User Auth Badges**: In **cpadmin → Users**, the Registered Members table now shows auth method badges: **Forum**, **Google**, **Discord**, or **Legacy**. Users can have multiple badges if they've linked multiple login methods. - **Server Info Labels**: Translated server info labels (Owner Name, Language, Server Location) are now properly localized in all 5 languages (English, Spanish, Portuguese, Greek, Russian).   ---   ## [1.5.4] - 2026-02-01   ### ✨ New Features - **Google Login**: You can now sign in with your Google account. Admins enable and configure Google login in **cpadmin → Users** (Google auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum or legacy), signing in with Google links to that account so you keep one profile. The login menu (navbar and login prompts) offers **Login with Forum Account**, **Login with Google** (when enabled), and **Create Forum Account**. Google login is available on Add Server, My Servers, Profile Settings, Vote page, and Premium Ads booking. - **Ban/Unban Members**: In **cpadmin → Users**, admins can ban or unban registered members. Banned users see a full-page message: "Sorry, you are banned from using this site." When a user is banned, all their servers are set to inactive. - **Moderator Activity Log**: **cpadmin → Moderators** now records when a moderator or admin enters the CPAdmin panel (e.g. "Moderator X entered CPAdmin panel at &lt;time&gt;") and when they change any cpadmin settings (only write actions are logged; read-only use is not). - **Clear Moderator Logs**: Admins can clear all moderator activity log entries via a **Clear logs** button with confirmation. Logs are shown at 100 per page with pagination. - **Filter by Moderator**: In the Moderator Activity Log, a **Filter by moderator** dropdown lets you view activity for a specific moderator or "All moderators." - **cpadmin → Users Tab**: New **Users** tab in the admin panel with Registered Members list (paginated), Google auth settings card, and per-user Ban/Unban and server links.   ### 🔄 Improvements - **cpadmin → Servers**: Each server name in the servers table is now clickable and opens that server’s info page. - **cpadmin → Users – Servers column**: The servers count/list is clickable and opens a small modal listing that user’s servers; each server name in the modal links to the server info page. - **cpadmin → Users – Search**: A search bar above the Registered Members table lets you search by **username**, **email**, or **server name**. Results are filtered on the server (paginated); clearing the search resets the list. - **Moderator Activity Log**: Pagination shows "Showing X–Y of Z" and "Page N of M" with Previous/Next when there are more than 100 entries. - **Login UI**: Login options (Forum, Google, Create account) are shown in a consistent dropdown and in modals (Add Server, My Servers, Vote, Premium Ads) for a clearer sign-in experience. - **Vote Page – Unauthenticated**: When you must log in to vote, the page now shows "Vote for [Server Name]" as the main heading and presents login options in a compact section.   ---   ## [1.5.3] - 2026-01-30   ### ✨ New Features - **File Logs in Admin Panel**: Admins can now view CodeIgniter PHP logs (api/writable/logs) directly in **cpadmin → Logs**. Select a date to view the log file, refresh to reload, or delete all log files to free up space.   ### 🔄 Improvements - **Cache System**: Full cache audit and improvements — when you clear cache in cpadmin, both backend and frontend caches are cleared. Server listings, My Servers, pricing, ad config, and chronicles all refresh with fresh data. New paid servers now appear in listings and My Servers immediately. - **Admin Panel – Server Rates**: Server rates in the admin servers table now display in compact format (e.g. x10000 → x10k, x100000 → x100k, x1000000 → x1m) for easier scanning. Hover to see the full value.
    • WTB High Five source running on Salvation/Fafurion client
    • MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
    • Hello, i am selling a project that was going to open but at the end i have not the time to do it Its a c4 server ( scripts) with all the c5 changes played from Interlude Client    the server is 1:1 copy of the legendary 2007 L2Revenge server with some bits like events and some more sync stuff There is a lot of retail fixes included  , extender is vanganth and has a lot of mods but mostly fixes on the retail stuff.   Test server is available through discord , i offer client/patch/server/sources The price is 300 Euro and for testing the server you have to pm me at discord banshee1019 , dont really wanna let anybody log because some people are "bad"   Once you buy you also have free support for 1 year , that doesnt mean i will code all your ideas but support you if something comes up , and guide you to do simple edits
  • 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..