mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-18 11:16:23 +01:00
- (BIG CHANGE) THIS NOW IS FOR: DeadNoCheat
This commit is contained in:
parent
cff19411d8
commit
a1ec2f5559
@ -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.
|
||||
|
||||
|
@ -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
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user