Get started

basic guide to make a plug-in.

Download plug-in library

Common libraryLatest version 2.0.0
Support IPTTPlugin2(Server 3.3.0~)
Down
Common libraryLatest version 1.0.0Down

Write plug-in codes

PTTPlugin2Sample.java

* You can find the full source at samples.

Compile

javac -classpath ProPTTCommon.jar PTTPlugin2Sample.java

Make a jar

jar cvf PTTPlugin2Sample.jar PTTPlugin2Sample.class

Install plug-in

Copy PTTPlugin2Sample.jar to server's plugins folder

copy plug-in.jar {ProPTT2 server dir}/ptt-server/plugins

ex) copy PTTPlugin2Sample.jar /svc/std-package/ptt-server/plugins

Change system.xml of server

system.xml

Restart server

When server is restarted, plug-in is loaded.