(CHANGE) Packet naming.

This commit is contained in:
asofold 2012-07-27 21:06:46 +02:00
parent 0698c42e24
commit cff19411d8
17 changed files with 34 additions and 32 deletions

View File

@ -20,6 +20,8 @@ STACK
VERSION HISTORY
---------------------------
(1.0.0)
- (CHANGE) Packet naming.
(0.3.0)
- (add) Option to prevent adding hooks (only is effective if cncp has been loaded already).

View File

@ -1,6 +1,6 @@
name: CompatNoCheatPlus
main: me.asofold.bukkit.cncp.CompatNoCheatPlus
version: 0.3.0
main: me.asofold.bpl.cncp.CompatNoCheatPlus
version: 1.0.0
depend:
- NoCheatPlus
softdepend:

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp;
package me.asofold.bpl.cncp;
import java.io.File;
import java.util.ArrayList;
@ -8,13 +8,13 @@ import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import me.asofold.bukkit.cncp.config.compatlayer.CompatConfig;
import me.asofold.bukkit.cncp.config.compatlayer.NewConfig;
import me.asofold.bukkit.cncp.hooks.Hook;
import me.asofold.bukkit.cncp.hooks.generic.HookPlayerClass;
import me.asofold.bukkit.cncp.setttings.GroupHooks;
import me.asofold.bukkit.cncp.setttings.Settings;
import me.asofold.bukkit.cncp.utils.Utils;
import me.asofold.bpl.cncp.config.compatlayer.CompatConfig;
import me.asofold.bpl.cncp.config.compatlayer.NewConfig;
import me.asofold.bpl.cncp.hooks.Hook;
import me.asofold.bpl.cncp.hooks.generic.HookPlayerClass;
import me.asofold.bpl.cncp.setttings.GroupHooks;
import me.asofold.bpl.cncp.setttings.Settings;
import me.asofold.bpl.cncp.utils.Utils;
import org.bukkit.Bukkit;
import org.bukkit.Server;
@ -153,7 +153,7 @@ public class CompatNoCheatPlus extends JavaPlugin implements Listener {
private void addAvailableHooks() {
addHook(hookPlayerClass);
try{
addHook(new me.asofold.bukkit.cncp.hooks.mcmmo.HookmcMMO());
addHook(new me.asofold.bpl.cncp.hooks.mcmmo.HookmcMMO());
}
catch (Throwable t){}
}

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.util.HashSet;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.io.File;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.util.List;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.io.File;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.config.compatlayer;
package me.asofold.bpl.cncp.config.compatlayer;
import java.io.File;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.hooks;
package me.asofold.bpl.cncp.hooks;
import org.bukkit.Bukkit;
import org.bukkit.event.Listener;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.hooks;
package me.asofold.bpl.cncp.hooks;
import org.bukkit.event.Listener;

View File

@ -1,10 +1,10 @@
package me.asofold.bukkit.cncp.hooks.generic;
package me.asofold.bpl.cncp.hooks.generic;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import me.asofold.bukkit.cncp.hooks.AbstractHook;
import me.asofold.bpl.cncp.hooks.AbstractHook;
import fr.neatmonster.nocheatplus.checks.CheckEvent;
public final class HookPlayerClass extends AbstractHook {

View File

@ -1,10 +1,10 @@
package me.asofold.bukkit.cncp.hooks.mcmmo;
package me.asofold.bpl.cncp.hooks.mcmmo;
import java.util.HashMap;
import java.util.Map;
import me.asofold.bukkit.cncp.hooks.AbstractHook;
import me.asofold.bukkit.cncp.utils.PluginGetter;
import me.asofold.bpl.cncp.hooks.AbstractHook;
import me.asofold.bpl.cncp.utils.PluginGetter;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;

View File

@ -1,10 +1,10 @@
package me.asofold.bukkit.cncp.setttings;
package me.asofold.bpl.cncp.setttings;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import me.asofold.bukkit.cncp.hooks.Hook;
import me.asofold.bpl.cncp.hooks.Hook;
/**
* Check group specific lists of hooks.

View File

@ -1,13 +1,13 @@
package me.asofold.bukkit.cncp.setttings;
package me.asofold.bpl.cncp.setttings;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.Set;
import me.asofold.bukkit.cncp.config.compatlayer.CompatConfig;
import me.asofold.bukkit.cncp.config.compatlayer.ConfigUtil;
import me.asofold.bukkit.cncp.config.compatlayer.NewConfig;
import me.asofold.bpl.cncp.config.compatlayer.CompatConfig;
import me.asofold.bpl.cncp.config.compatlayer.ConfigUtil;
import me.asofold.bpl.cncp.config.compatlayer.NewConfig;
public class Settings {
public Set<String> forceEnableLater = new LinkedHashSet<String>();

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.utils;
package me.asofold.bpl.cncp.utils;
import org.bukkit.Bukkit;
import org.bukkit.event.Listener;

View File

@ -1,4 +1,4 @@
package me.asofold.bukkit.cncp.utils;
package me.asofold.bpl.cncp.utils;
import java.io.PrintWriter;
import java.io.StringWriter;