version2/api

First of all you need to add Bukkit and MCbb as your Libaries in your IDE.

You need to create your Software Class:

import java.sql.ResultSet;
import java.sql.SQLException;

import de.javakara.manf.software.Software;
import de.javakara.manf.software.User;
import de.javakara.manf.util.EncryptionManager;

public class phpBB extends Software {
	@Override
	public String getForumGroup(User user) {
	}

	@Override
	public int getNewPosts() {
	
	}

	@Override
	protected boolean isRegisteredOld(User user) {
	}

	@Override
	protected boolean isCustomFieldRegistered(User user) {

	}

	@Override
	public boolean isPasswordCorrect(User user,String password) {
	
	}

	@Override
	protected String getName() {
		return "YOUR_SCRIPT_NAME";
	}
}

getForumGroup should return the Forum Group for the User Object given. I will add a Javadoc or something simelar later for your use getNewPosts can be ignored for now isRegisteredOld is the Username Authentification isCustomFieldRegistered is Profile Field Authentification isPasswordCorrect is for Login System getName will display the Scriptname after loading

View the Source for more Infos for now.


Comments

Posts Quoted:
Reply
Clear All Quotes