mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-18 11:16:23 +01:00
(CHANGE) Packet naming.
This commit is contained in:
parent
0698c42e24
commit
cff19411d8
@ -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).
|
||||
|
@ -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:
|
||||
|
@ -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){}
|
||||
}
|
@ -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;
|
@ -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;
|
@ -1,4 +1,4 @@
|
||||
package me.asofold.bukkit.cncp.config.compatlayer;
|
||||
package me.asofold.bpl.cncp.config.compatlayer;
|
||||
|
||||
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package me.asofold.bukkit.cncp.config.compatlayer;
|
||||
package me.asofold.bpl.cncp.config.compatlayer;
|
||||
|
||||
import java.io.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;
|
@ -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;
|
@ -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;
|
@ -1,4 +1,4 @@
|
||||
package me.asofold.bukkit.cncp.hooks;
|
||||
package me.asofold.bpl.cncp.hooks;
|
||||
|
||||
import org.bukkit.event.Listener;
|
||||
|
@ -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 {
|
@ -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;
|
@ -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.
|
@ -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>();
|
@ -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;
|
@ -1,4 +1,4 @@
|
||||
package me.asofold.bukkit.cncp.utils;
|
||||
package me.asofold.bpl.cncp.utils;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
Loading…
Reference in New Issue
Block a user