Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Add license
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Jul 6, 2013
1 parent edd6642 commit a2a8b1b
Show file tree
Hide file tree
Showing 15 changed files with 233 additions and 11 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Expand Up @@ -52,4 +52,7 @@
<type>jar</type>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/AntiMulti.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti;

import com.lordralex.antimulti.command.CommandManager;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/command/AMCommand.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.command;

import org.bukkit.command.Command;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/command/CommandManager.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.command;

import com.lordralex.antimulti.AntiMulti;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/command/commands/Add.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.command.commands;

import com.lordralex.antimulti.AntiMulti;
Expand Down
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.command.commands;

import com.lordralex.antimulti.AntiMulti;
Expand All @@ -9,10 +25,6 @@
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;

/**
* @version 3.0.0
* @author Lord_Ralex
*/
public final class Whitelist implements AMCommand {

@Override
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/config/Configuration.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.config;

import com.lordralex.antimulti.AntiMulti;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/files/DataManager.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.files;

import com.lordralex.antimulti.AntiMulti;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/files/FlatFileManager.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.files;

import com.lordralex.antimulti.AntiMulti;
Expand Down
28 changes: 22 additions & 6 deletions src/main/java/com/lordralex/antimulti/files/Manager.java
@@ -1,16 +1,32 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.files;

public interface Manager {

public abstract String[] getIPs(String name);
public String[] getIPs(String name);

public abstract String[] getNames(String ip);
public String[] getNames(String ip);

public abstract void addIP(String name, String ip);
public void addIP(String name, String ip);

public abstract void addName(String ip, String name);
public void addName(String ip, String name);

public abstract Manager setup();
public Manager setup();

public abstract void close();
public void close();
}
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/files/SQLManager.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.files;

import com.lordralex.antimulti.AntiMulti;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/lordralex/antimulti/listener/PlayerListener.java
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.listener;

import com.lordralex.antimulti.AntiMulti;
Expand Down
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Database Handler Abstract superclass for all subclass database files.
*
Expand Down
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* MySQL Inherited subclass for making a connection to a MySQL server.
*
Expand Down
17 changes: 16 additions & 1 deletion src/main/java/com/lordralex/antimulti/utils/IPHandler.java
@@ -1,7 +1,22 @@
/*
* Copyright (C) 2013 Lord_Ralex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.lordralex.antimulti.utils;

import java.net.InetAddress;
import java.util.Arrays;
import java.util.List;

public final class IPHandler {
Expand Down

0 comments on commit a2a8b1b

Please sign in to comment.