initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.softwarerat;
|
||||
|
||||
import com.softwarerat.MySQL.Ban;
|
||||
import com.softwarerat.MySQL.Login;
|
||||
import com.softwarerat.MySQL.Report;
|
||||
import com.softwarerat.MySQL.SQLHandler;
|
||||
import lombok.Getter;
|
||||
import com.softwarerat.MySQL.Mute;
|
||||
@Getter
|
||||
public class Bansystem {
|
||||
Ban ban;
|
||||
Report report;
|
||||
Mute mute;
|
||||
SQLHandler sqlHandler;
|
||||
Login login;
|
||||
public void enableAPI(String user,String pw,String host,String db){
|
||||
login = new Login();
|
||||
sqlHandler = new SQLHandler(host,user, db, pw);
|
||||
ban = new Ban(sqlHandler);
|
||||
report = new Report(sqlHandler);
|
||||
mute = new Mute(sqlHandler);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user