Jump to content

Recommended Posts

Posted

New command for players. now they can teleport desirable town/village.

 

Index: trunk/L2jLive_DataPack/data/scripts/handlers/MasterHandler.java
===================================================================
--- /tmp/svn_fs20100723-29611-k3rp4l-0	Fri Jul 23 15:12:38 2010
+++ /tmp/svn_fs20100723-29611-1kr8syk-0	Fri Jul 23 15:12:38 2010
@@ -238,7 +238,8 @@
	private static void loadVoicedHandlers()
	{
		VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new stats());
-		if (Config.CTF_ALLOW_VOICE_COMMAND) 
+		VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new CmdTeleport());
+		if (Config.CTF_ALLOW_VOICE_COMMAND)
			VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new CTFCmd());
		if (Config.L2JMOD_ALLOW_WEDDING)
			VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedding());

Index: trunk/L2jLive_GameServer/java/com/l2jserver/Config.java
===================================================================
--- /tmp/svn_fs20100723-29611-wlxsa0-0	Fri Jul 23 15:12:38 2010
+++ /tmp/svn_fs20100723-29611-1k7fo6r-0	Fri Jul 23 15:12:38 2010
@@ -243,6 +243,26 @@
	public static int DONATOR_NAME_COLOR;
	public static boolean ENABLE_DONATOR_TITLE_COLOR;
	public static int DONATOR_TITLE_COLOR;
+	public static boolean TELEPORT_CMD_SYSTEM_ADEN;
+	public static boolean TELEPORT_CMD_SYSTEM_DARKELFVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_DION;
+	public static boolean TELEPORT_CMD_SYSTEM_DWARVENVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_ELVENVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_FLORAN;
+	public static boolean TELEPORT_CMD_SYSTEM_GIRAN;
+	public static boolean TELEPORT_CMD_SYSTEM_GLUDIN;
+	public static boolean TELEPORT_CMD_SYSTEM_GLUDIO;
+	public static boolean TELEPORT_CMD_SYSTEM_GODDARD;
+	public static boolean TELEPORT_CMD_SYSTEM_HEINE;
+	public static boolean TELEPORT_CMD_SYSTEM_HUNTERSVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_KAMAELVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_ORCVILLAGE;
+	public static boolean TELEPORT_CMD_SYSTEM_OREN;
+	public static boolean TELEPORT_CMD_SYSTEM_RUNE;
+	public static boolean TELEPORT_CMD_SYSTEM_SCHUTTGART;
+	public static boolean TELEPORT_CMD_SYSTEM_TALKINGISLAND;
+	public static int TELEPORT_CMD_SYSTEM_ITEM;
+	public static int TELEPORT_CMD_SYSTEM_AMOUNT;

	/** ************************************************** **/
	/**                 L2jLive Settings End               **/
@@ -1222,6 +1242,30 @@
					is = new FileInputStream(new File(L2JLIVE_COMMANDS));
					L2jLiveCommandSettings.load(is);

+					TELEPORT_CMD_SYSTEM_ADEN = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportAden", "False"));
+					TELEPORT_CMD_SYSTEM_DARKELFVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportDarkElfVillage", "False"));
+					TELEPORT_CMD_SYSTEM_DION = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleporDion", "False"));
+					TELEPORT_CMD_SYSTEM_DWARVENVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportDwarvenVillage", "False"));
+					TELEPORT_CMD_SYSTEM_ELVENVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportElvenVillage", "False"));
+					TELEPORT_CMD_SYSTEM_FLORAN = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportFloran", "False"));
+					TELEPORT_CMD_SYSTEM_GIRAN = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportGiran", "False"));
+					TELEPORT_CMD_SYSTEM_GLUDIN = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportGludin", "False"));
+					TELEPORT_CMD_SYSTEM_GLUDIO = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportGludio", "False"));
+					TELEPORT_CMD_SYSTEM_GODDARD = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportGoddard", "False"));
+					TELEPORT_CMD_SYSTEM_HEINE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportHeine", "False"));
+					TELEPORT_CMD_SYSTEM_HUNTERSVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportHuntersVillage", "False"));
+					TELEPORT_CMD_SYSTEM_KAMAELVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportKamaelVillage", "False"));
+					TELEPORT_CMD_SYSTEM_ORCVILLAGE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportOrcVillage", "False"));
+					TELEPORT_CMD_SYSTEM_OREN = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportOren", "False"));
+					TELEPORT_CMD_SYSTEM_RUNE = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportRune", "False"));
+					TELEPORT_CMD_SYSTEM_SCHUTTGART = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportSchuttgart", "False"));
+					TELEPORT_CMD_SYSTEM_TALKINGISLAND = Boolean.parseBoolean(L2jLiveCommandSettings.getProperty("AllowCmdTeleportTalkingIsland", "False"));
+					TELEPORT_CMD_SYSTEM_ITEM = Integer.parseInt(L2jLiveCommandSettings.getProperty("CmdTeleportItem", "57"));
+					TELEPORT_CMD_SYSTEM_AMOUNT = Integer.parseInt(L2jLiveCommandSettings.getProperty("CmdTeleportAmount", "1000"));
+					if (TELEPORT_CMD_SYSTEM_AMOUNT < 1)
+					{
+						TELEPORT_CMD_SYSTEM_AMOUNT = 1;
+					}
				}
				catch (Exception e)
				{

Index: trunk/L2jLive_GameServer/java/config/L2jLive/Cmd.properties
===================================================================
--- /tmp/svn_fs20100723-29611-16qx5o3-0	Fri Jul 23 15:12:38 2010
+++ /tmp/svn_fs20100723-29611-4kvtwa-0	Fri Jul 23 15:12:38 2010
@@ -1,3 +1,88 @@
#--------------------------------------------------------
# Commands Settings - By L2jLive Team
#--------------------------------------------------------
+# ------------------------------
+# Teleport Commands - By L2jLive
+# ------------------------------
+# Allow Players teleport to Aden whit command: .teleportaden
+# Default: False
+AllowCmdTeleportAden = False
+
+# Allow Players teleport to Dark Elf Village whit command: .teleportdarkelfvillage
+# Default: False
+AllowCmdTeleportDarkElfVillage = False
+
+# Allow Players teleport to Dion whit command: .teleportdion
+# Default: False
+AllowCmdTeleportDion = False
+
+# Allow Players teleport to DwarvenVillage whit command: .teleportdwarvenvillage
+# Default: False
+AllowCmdTeleportDwarvenVillage = False
+
+# Allow Players teleport to Elven Village whit command: .teleportelvenvillage
+# Default: False
+AllowCmdTeleportElvenVillage = False
+
+# Allow Players teleport to Floran whit command: .teleportfloran
+# Default: False
+AllowCmdTeleportFloran = False
+
+# Allow Players teleport to Giran whit command: .teleportgiran
+# Default: False
+AllowCmdTeleportGiran = False
+
+# Allow Players teleport to Gludin whit command: .teleportgludin
+# Default: False
+AllowCmdTeleportGludin = False
+
+# Allow Players teleport to Gludio whit command: .teleportgludio
+# Default: False
+AllowCmdTeleportGludio = False
+
+# Allow Players teleport to Goddard whit command: .teleportgoddard
+# Default: False
+AllowCmdTeleportGoddard = False
+
+# Allow Players teleport to Heine whit command: .teleportheine
+# Default: False
+AllowCmdTeleportHeine = False
+
+# Allow Players teleport to Hunters Village whit command: .teleporthuntersvillage
+# Default: False
+AllowCmdTeleportHuntersVillage = False
+
+# Allow Players teleport to Kamael Village whit command: .teleportkamaelvillage
+# Default: False
+AllowCmdTeleportKamaelVillage = False
+
+# Allow Players teleport to Orc Village whit command: .teleportorcvillage
+# Default: False
+AllowCmdTeleportOrcVillage = False
+
+# Allow Players teleport to Oren whit command: .teleportoren
+# Default: False
+AllowCmdTeleportOren = False
+
+# Allow Players teleport to Rune whit command: .teleportrune
+# Default: False
+AllowCmdTeleportRune = False
+
+# Allow Players teleport to Schuttgart whit command: .teleportschuttgart
+# Default: False
+AllowCmdTeleportSchuttgart = False
+
+# Allow Players teleport to  whit command: .teleporttalkingisland
+# Default: False
+AllowCmdTeleportTalkingIsland = False
+
+# -------------
+# Config
+# -------------
+# Item Needed to Teleport.
+# Default: 57
+CmdTeleportItem = 57
+
+# Amount of Needed items.
+# Default: 1000
+CmdTeleportAmount = 1000

 

CmdTeleport.java

 

Download

 

Credits to L2jLive

 

 

Posted

Great shares!!Someone should give him +1 karma!

 

no all he does is c/p from other projects. Nothing is selfmade, he just keeps Spamming c/p...

  • 1 year later...
Guest
This topic is now closed to further replies.


  • Posts

    • Acabei de liberar no TopL2.com o nosso MOD Oficial de VoteSystem, criado para servidores Lineage 2 que querem parar de sofrer com voto “fake” e reward entregue sem controle.   O que ele faz? O mod integra seu GameServer com o site TopL2, valida o voto do jogador e só então libera a recompensa — tudo com mais segurança, rastreio e controle.   Principais vantagens Voto verificado: o servidor confirma o voto registrado no site Reward mais seguro: evita abuso/duplicação e reduz exploit Cooldown configurável por jogador Logs e rastreio para auditoria e suporte   Instalação rápida, com arquivos organizados e prontos para copiar/aplicar   Disponível para download no https://TopL2.com   Se você é admin e quer profissionalizar seu sistema de votos e entregar reward com segurança, esse mod é pra você.  
    • Geia sas paidia eimai new edw mesa kai tha ithela na kanw mia erwtisi an kapoios mporei na me voithisei! Exw highfive (L2JMobius) kai thelw na valw custom weapons alla den exw sql file mporw na ta perasw xwris sql file kai na exw mono ta xml arxeia gia na ta valw stats/items?
    • ## [1.4.0] - 2026-01-28   ### ✨ New Features - **Vote System**: Lineage 2 servers can now use our vote–reward system. Players vote on the website and claim rewards in-game (1 vote = 1 claim) - **Vote Page**: On each server’s page (`/servers/<server>`), a **“Vote for Server”** button opens a dedicated vote page with cooldown info and optional Turnstile verification - **By Votes View**: The **“By Votes”** tab on the main page shows **actual vote counts** per server - **API Documentation**: New **API Docs** page at `/docs` (and footer link) with HMAC auth, endpoints, and examples for game server integration - **Vote API (My Servers)**: Server owners can open **“Vote API”** in My Servers to manage credentials, cooldown, allowed IPs, and open the docs   ### 🔄 Improvements - **Server Pages**: Single-server data is cached and loads faster; server pages can be opened by ID or by name (e.g. `/servers/my-server-name`) - **API Root**: Visiting the API root redirects to the docs URL configured in admin (default: site docs page) - **Admin Panel**: New **“Vote System”** tab for global settings (Turnstile, API security, default cooldown, docs URL)   ### 🔐 Security & Reliability - Turnstile (CAPTCHA) support for vote submissions to reduce abuse - HMAC-protected game server API for secure vote check/claim and stats
  • 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..