To make the MinePeon user;-
groupadd -g 500 minepeon
useradd -m -u 500 -g 500 -d /home/minepeon -p peon minepeon
user: minepeon (UID 500)
group: minepeon (GID 500)
minepeon-base
PHP branch
Take a look here at the wiki: https://github.com/MineForeman/minepeon-base/wiki/How-to-make-a-plugin-using-the-api