If you want to develop a roblet server module from scratch - you may find the code in this repository useful.
There are basically 4 parts that you deal with. Of course there's
- a Roblet server module
But in addition there is
- an Interface library
- a Command Line utility
- and a Debian package
You need Java and Maven to build the whole thing. Each part is a Maven project.