- (BIG CHANGE) THIS NOW IS FOR: DeadNoCheat

This commit is contained in:
asofold 2012-08-04 14:39:02 +02:00
parent cff19411d8
commit a1ec2f5559
6 changed files with 14 additions and 11 deletions

View File

@ -5,6 +5,7 @@ LICENSE
-------------------------
Minimal license + NCP: Minimal on top of what can be done with the licenses of Bukkit/CraftBukkit/NoCheatPlus.
Do mind that it now makes compatibility for DeadNoCheat NOT NoCheatPlus !
STACK
---------
@ -20,6 +21,10 @@ STACK
VERSION HISTORY
---------------------------
(2.0.0)
- (BIG CHANGE) THIS NOW IS FOR: DeadNoCheat
(1.0.0)
- (CHANGE) Packet naming.

View File

@ -1,7 +1,7 @@
name: CompatNoCheatPlus
main: me.asofold.bpl.cncp.CompatNoCheatPlus
version: 1.0.0
version: 2.0.0
depend:
- NoCheatPlus
- DeadNoCheat
softdepend:
- mcMMO

View File

@ -15,6 +15,8 @@ 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 me.asofold.bpl.dead.nocheat.checks.Check;
import me.asofold.bpl.dead.nocheat.checks.CheckEvent;
import org.bukkit.Bukkit;
import org.bukkit.Server;
@ -26,9 +28,6 @@ import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler;
import fr.neatmonster.nocheatplus.checks.Check;
import fr.neatmonster.nocheatplus.checks.CheckEvent;
/**
* Quick attempt to provide compatibility to NoCheatPlus for some other plugins that change the vanilla game mechanichs, for instance by fast block breaking.
* @author mc_dev

View File

@ -1,8 +1,8 @@
package me.asofold.bpl.cncp.hooks;
import org.bukkit.event.Listener;
import me.asofold.bpl.dead.nocheat.checks.CheckEvent;
import fr.neatmonster.nocheatplus.checks.CheckEvent;
import org.bukkit.event.Listener;
/**
* Interface for hooking into another plugin.<br>

View File

@ -5,7 +5,7 @@ import java.util.HashSet;
import java.util.Set;
import me.asofold.bpl.cncp.hooks.AbstractHook;
import fr.neatmonster.nocheatplus.checks.CheckEvent;
import me.asofold.bpl.dead.nocheat.checks.CheckEvent;
public final class HookPlayerClass extends AbstractHook {

View File

@ -5,6 +5,8 @@ import java.util.Map;
import me.asofold.bpl.cncp.hooks.AbstractHook;
import me.asofold.bpl.cncp.utils.PluginGetter;
import me.asofold.bpl.dead.nocheat.checks.CheckEvent;
import me.asofold.bpl.dead.nocheat.players.NCPPlayer;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
@ -17,9 +19,6 @@ import com.gmail.nossr50.events.fake.FakeBlockBreakEvent;
import com.gmail.nossr50.events.fake.FakeBlockDamageEvent;
import com.gmail.nossr50.events.fake.FakeEntityDamageByEntityEvent;
import fr.neatmonster.nocheatplus.checks.CheckEvent;
import fr.neatmonster.nocheatplus.players.NCPPlayer;
public final class HookmcMMO extends AbstractHook implements Listener {
private static final Map<String, Integer> cancelChecksBlockBreak = new HashMap<String, Integer>();