NoCheatPlus

NoCheatPlus 1.0.0-e59d795-b63.jar

Compatible API Versions
1.0.0
Sourcecode
https://github.com/Physical-Science-Academy/NoCheatPlus
Contributors
Catrainbow, NoCheatPlus Nukkit Team
We are still in develpoment! If you want to join us or support us, please go to our github:

NoCheatPlus

ncp-logo.png

An advanced AntiCheat worked on Nukkit/PetteriM1EditionNukkit/PowerNukkitX. Learning from
a well-known anticheat NoCheatPlus from Bukkit(Spigot). We are in order to
fix the bugs in Nukkit and prevent players from cheating.

NoCheatPlus attempts to prevent cheat clients from exploiting weaknesses of Minecraft or its protocol, making your server more safe. Checks cover a wide range of issues including flying and speeding, fighting hacks, fast block breaking and nukers, inventory hacks, chat spam and other types of malicious behaviour


You are supported to contribute, and give us a star to support our development.

Feature
- Gigh-Performance、Low Occupancy、High Efficiency
- Light、International、Open Source
- Protect your servers, and prevent them from crashing
- Prvent players from cheating on your server


🎉Progress(see the newest on Github)
  • [95%] SurvivalFly
  • [√] CreativeFly
  • [20%] Speed
  • [√] FastEat
  • [50%] NoSlow
  • [√] InventoryMove
  • [√] InventoryFastClick
  • () NoFall
  • ( ) Velocity
  • ( ) Phase
  • [√] Crasher
  • [√] Client
  • [√] MorePacket
  • ( ) Scaffold
  • ( ) KillAura
  • ( )Reach
  • () AutoClicker
  • ( ) HitBox
  • ( ) Helper Tool GUI


Installation
Java CI: https://ci.lanink.cn/job/NoCheatPlus

Download the latest `NoCheatPlus-1.0-SNAPSHOT-jar-with-dependencies.jar` on [CI](https://ci.lanink.cn/job/NoCheatPlus/),and put it in your folder `plugins/`.
And It needs Library plugin

- KotlinLib


Command
- /ncp - get the version info
- /ncp version - get the version info
- /ncp reload - reload the config currently
- /ncp debug - toggle the debug mode
- /ncp ban - ban a player
- /ncp unban` unban a player
- /ncp kick - kick a player

- /ncp toggle - Switch detection
-/ncp permission - manage bypass permission


Config

Then let's run the server. You can ser a folder was created in`plugins/` named `NoCheatPlus`.
Here we pay attention to the main config `ncpconfig.yml`.

YAML:
# NoCheatPlus AntiCheat Config
config-version:
  notify: false
  version: 1000

# Currently "en" and "zh" are supported languages
# You are able to create your own language in the "lang" config directory
lang: "en"

logging:
  active: true
  auto-delete-days: 1
  debug: false
  prefix: "§c§lNCP §7>> §r"
  extended:
    command: true
    violation: true
actions:
  waring_delay: 10
  kick_broadcast: "§c§lNCP §7>>@player has been kicked for @hack"
protection:
  command:
    hide:
      active: true
      message: "§c§lNCP §7>> §rYou do not have permission to run this command."
      commands:
        - "?"
        - "plugins"
        - "version"
        - "about"
        - "ver"
checks:
  fight:
    speed:
      active: true
      maxspeed: 25
      dealvariance: 0.1
      cancelDamage: true
      actions: "cancel vl>5&&kick vl>20"
  inventory:
    instanteat:
      active: true
      actions: "cancel vl>5&&kick vl>20"
    move:
      active: true
      actions: "cancel vl>0&&kick vl>3"
    open:
      active: true
      actions: "cancel vl>0"
    fastclick:
      active: true
      delay: 50
      actions: "cancel vl>5&&kick vl>20"
  moving:
    survivalfly:
      active: true
      strict_mode: false
      setback_policy:
        fall_damage: true
        void_to_void: true
        latency_protection: 120
      actions: "cancel vl>20&&log vl>30 break=60&&warn vl>90 message=fly_short&&kick vl>100&&ban repeat=3 time=3,0,0"
    speed:
      active: true
    morepackets:
      active: true
      actions: "cancel vl>5&&kick vl>15&&ban repeat=3 time=3,0,0"
    creativefly:
      active: true
      actions: "cancel vl>20"
    nofall:
      active: true
      dealdamage: true
      skipallowflight: true
      resetonviolation: false
      resetonteleport: true
      resetonvehicle: true
      actions: "cancel vl>5&&log vl>10&&kick vl>20"
    vehicle:
      active: true
      actions: "cancel vl>10&&kick vl>50&&ban repeat=3 time=3,0,0"

string:
  kick: "§c§lNCP §7>> §rYou are kicked by NCP because of using @hack on [email protected]"
  ban: "§c§lNCP §7>> §rYou are banned by NCP for §[email protected],@hours,@minutes,@seconds§r because of using @hack @nextEndTime: @end"
  fly_short: "@player could be flying hack @vl"

permission:
  no_permission: "§c§lNCP §7>> §rYou do not have permission to run this command."
  policy:
    - "nocheatplus.admin.all:reload,kick,ban,unban,debug,toggle,permission"
    - "nocheatplus.admin.helper:kick,ban,unban"
  bypass:
    # Custom bypass permission
    MOVING_CREATIVE_FLY:
      - "ncp.creativefly.bypass"
Custom Action System
There is an actions setting in each detection item, and the format of the penalty operation is given below:

Penalty Type Object A[ Relation] Object B Other parameters
The penalty types supported by connecting multiple penalty operations with &&

are as follows:
- `cancel` Lag back a player

- `log` Record the invalid action in NCP Logger,parameter `break The Cooling Time`
- `warn` Send a warning message to player,parameter `message The message you sent`
- `kick` Kick a player from server

- `ban` Ban a player from server,parameter `repeat Fault Tolerance Times`,`time Duration Of Ban`
If no parameter is set, the plug-in will use NCP default value
to add warning message, which needs to be added in string.


NCP Commands Permission
Set it in permission.policy, and the format is:

- `Permission: Command Table'
commands are connected by commas.
If there is no record of a command in NCP, all players can use it by default.

For example, the version is not specified in nocheatplus.admin.all and nocheatplus.admin.helper of the case.

permission.png


Development


api.png


Offical Test Server(noly NCP)
Address: axe.0mc.me
Port: 10878


Notice


Plugin are still in development. Report bugs through Issue on github.

Contact us
Discord: https://discord.gg/bCQ8pEgk4t
Author
Catrainbow
Downloads
1,217
Views
3,008
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from Catrainbow

Latest updates

  1. NoCheatPlus-1.0.0-e59d795-b63.jar

    Fixed something wrong in last version see changelogs on Java CI...
  2. NoCheatPlus 1.0.0-f1a3c15-b61

    see changelogs on Java CI: https://ci.lanink.cn/job/NoCheatPlus/changes
  3. NoCheatPlus 1.0.0-6f4907d-b53

    see changelogs on Java CI: https://ci.lanink.cn/job/NoCheatPlus/changes

Latest reviews

I recommend this plugin but plis add language.yml i wanna make Polish version
Catrainbow
Catrainbow
Yes, try ncp pls.
Hi, can I reprint this post to mcbbs and minebbs? Thank you.
Catrainbow
Catrainbow
Yes, but you shoud put original link
Good job,save our server from hackers,love from FillAmeaPixel Network :)
Top