- Support for a wide range of popular languages
- Easy to add a new language for highlighting
- Highly customisable output formats
- ABAP
- Actionscript
- ADA
- Apache Log
- AppleScript
- ASM
- ASP
- AutoIT
- Backus-Naur form
- Bash
- BlitzBasic
- C
- C for Macs
- C#
- C++
- CAD DCL
- CadLisp
- CFDG
- ColdFusion
- CSS
- D
- Delphi
- DIV
- DOS
- Eiffel
- Fortran
- FreeBasic
- GML
- Groovy
- Haskell
- HTML
- Inno
- IO
- Java
- Java 5
- Javascript
- LaTeX
- Lisp
- Lua
- Microprocessor ASM
- mIRC
- MySQL
- NSIS
- Objective C
- OCaml
- OpenOffice BASIC
- Oracle 8 SQL
- Pascal
- Perl
- PHP
- PL/SQL
- Python
- Q(uick)BASIC
- robots.txt
- Ruby
- SAS
- Scheme
- SDLBasic
- Smalltalk
- Smarty
- SQL
- T-SQL
- TCL
- thinBasic
- Uno IDL
- VB.NET
- Visual BASIC
- Visual Fox Pro
- Winbatch
- X++
- XML
- Z80 ASM
You only need to put the wanted bbCode tags [*xml] [/xml] (without the * of course) for the language that you need, you can change "xml" for any language listed over. For example [*sql] [/sql], [*php] [/php], [*wtf] [/wtf] or whatever you want.
Here is some examples of the usage of this mod:
SQL HIGHTLIGHT EXAMPLE
[sql] REPLACE INTO `zone_vertices` VALUES(11021,0,15704,15397),(11021,1,15765,15878),(11021,2,15801,16332),(11021,3,14098,19672),(11021,4,10278,20689),(11021,5,8852,20421),(11021,6,7484,18628),(11021,7,7236,18042),(11021,8,7141,17507),(11021,9,7045,16819),(11021,10,7382,14486),(11021,11,13891,13025); [/sql]
JYTHON (PYTHON) HIGHTLIGHT EXAMPLE
Please note that for Jython we use PYTHON highlight instead!
[python] # Made by Emperorcimport sysfrom net.sf.l2j.gameserver.model.quest import Statefrom net.sf.l2j.gameserver.model.quest import QuestStatefrom quests.SagasSuperclass import Quest as JQuest qn = "78_SagaOfTheDoomcryer"qnu = 78qna = "Saga of the Doomcryer" class Quest (JQuest) : def __init__(self,id,name,descr): # first initialize the quest. The superclass defines variables, instantiates States, etc JQuest.__init__(self,id,name,descr) # Next, override necessary variables: self.NPC = [31336,31624,31589,31290,31642,31646,31649,31650,31654,31655,31657,31290] self.Items = [7080,7539,7081,7493,7276,7307,7338,7369,7400,7431,7101,0] self.Mob = [27295,27227,27285] self.qn = qn self.classid = 116 self.prevclass = 0x34 self.X = [191046,46087,46066] self.Y = [-40640,-36372,-36396] self.Z = [-3042,-1685,-1685] self.Text = ["PLAYERNAME! Pursued to here! However, I jumped out of the Banshouren boundaries! You look at the giant as the sign of power!", "... Oh ... good! So it was ... let's begin!","I do not have the patience ..! I have been a giant force ...! Cough chatter ah ah ah!", "Paying homage to those who disrupt the orderly will be PLAYERNAME's death!","Now, my soul freed from the shackles of the millennium, Halixia, to the back side I come ...", "Why do you interfere others' battles?","This is a waste of time.. Say goodbye...!","...That is the enemy", "...Goodness! PLAYERNAME you are still looking?","PLAYERNAME ... Not just to whom the victory. Only personnel involved in the fighting are eligible to share in the victory.", "Your sword is not an ornament. Don't you think, PLAYERNAME?","Goodness! I no longer sense a battle there now.","let...","Only engaged in the battle to bar their choice. Perhaps you should regret.", "The human nation was foolish to try and fight a giant's strength.","Must...Retreat... Too...Strong.","PLAYERNAME. Defeat...by...retaining...and...Mo...Hacker","....! Fight...Defeat...It...Fight...Defeat...It..."] # finally, register all events to be triggered appropriately, using the overriden values. JQuest.registerNPCs(self) QUEST = Quest(qnu,qn,qna) [/python]
XML HIGHTLIGHT EXAMPLE
[xml] <skill id="1459" levels="1" name="Divine Power"> <!-- Done by DJ MELERIX --> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> <set name="hitTime" val="2000"/> <set name="isMagic" val="true"/> <set name="mpConsume" val="109"/> <set name="operateType" val="OP_ACTIVE"/> <set name="power" val="0.0"/> <set name="reuseDelay" val="600000"/> <set name="skillType" val="BUFF"/> <set name="target" val="TARGET_SELF"/> <for> <effect count="1" name="Buff" time="10" val="0" stackOrder="1000" stackType="giveHp"> <add order="0x30" stat="bonusHp" val="1000"/> </effect> </for></skill> [/xml]
We are using the L2jDP forum as a playground to make tests over phpBB3 that will be the new forum engine for L2jServer as well, more mods are comming in the next days to improve our work and fun.
If you have any questions about the usage of this mod please go to this post and make it.