Jump to content

Recommended Posts

Posted

Custom_Jail

 


Config\l2jmods.properties
+
+#======================#
+#         -      Custom Jail        -
+#======================#
+CustomJailX = -114356
+CustomJailY = -249645
+CustomJailZ = -2984


L2_GameServer\java\com\cronos\gameserver\model\zone\type\L2JailZone.java



-   _activeChar.teleToLocation(-114356, -249645, -2984); // Jail

+                //Custom_Jail
+  _activeChar.teleToLocation(Config.CUSTOM_JAIL_X, Config.CUSTOM_JAIL_Y, Config.CUSTOM_JAIL_Z);




L2_GameServer\java\com\cronos\Config.java


  //Custom_Jail
+   public static int CUSTOM_JAIL_X;
+   public static int CUSTOM_JAIL_Y;
+   public static int CUSTOM_JAIL_Z;




+ //Custom_Jail
+ CUSTOM_JAIL_X 	 = Integer.parseInt(L2JModSettings.getProperty("CustomJailX", "x"));
+ CUSTOM_JAIL_Y    =Integer.parseInt(L2JModSettings.getProperty("CustomJailY", "Y"));
+ CUSTOM_JAIL_Z    =Integer.parseInt(L2JModSettings.getProperty("CustomJailZ", "Z"));

 

Posted

Rules:

 

- Do not post simple java strings or stupid Configuring Codes. Such topics will be immediately locked.

 

Locked.

Guest
This topic is now closed to further replies.


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