๐
1 file
2,855 chars
๐
pasted-code-1773447028221.txt
txt
179 lines
โถ
pasted-code-1773447028221.txt
txt
179 lines
Full Minecraft Plugin Development Prompt โ SentinelAI Anti-Cheat
I want a professional Minecraft plugin called SentinelAI Anti-Cheat for a Paper/Spigot server. The plugin must detect cheating using movement and combat analysis and send automatic reports to my Discord server using webhook embed messages.
Server Environment
Platform: Paper / Spigot
Minecraft Version: 1.20+
Programming Language: Java
Plugin Type: Anti-Cheat
Goal: Detect hackers automatically and report them to Discord.
Discord Integration
The plugin must send detection reports to Discord using the following webhook:
https://discord.com/api/webhooks/1482167417424711917/WdHWriHjKDxea0yF8mAUS38RJakX8RgrG8uTG_0EAPQ6q7ZcunCrU5RF9MhzNkMbjv38
Reports must use Discord embed messages and include:
Player Name
Detected Cheat
Violation Level
Player Ping
Player World
Action Taken (Flagged / Kick / Ban)
Detection Time
Example embed title:
SentinelAI Cheat Detection
Embed color: Red.
Movement Cheat Detection
The plugin must detect movement cheats including:
Speed hacks
Fly hacks
Jesus (walking on water)
NoFall
Timer hacks
Step hacks
Movement should be analyzed using player movement per tick and velocity.
Combat Cheat Detection
The plugin must detect combat cheats including:
KillAura
Reach
AutoClicker
AimAssist
Criticals hacks
The plugin should track:
Clicks per second (CPS)
Hit distance
Player rotation accuracy
Attack timing
Violation Level System
Every detection should increase a Violation Level (VL).
Example:
Small cheat detection โ +5 VL
Medium cheat detection โ +10 VL
Severe cheat detection โ +20 VL
Actions based on VL:
VL 10 โ Send Discord alert
VL 20 โ Staff warning
VL 30 โ Temporary ban
VL 40 โ Permanent ban
Cheat-Based Ban Times
Different cheats must apply different ban durations:
AutoTotem โ 5 minutes
AutoClicker โ 10 minutes
Speed โ 15 minutes
Fly โ 30 minutes
Reach โ 1 hour
KillAura โ 6 hours
Multiple cheats โ Permanent ban
Commands
The plugin must include admin commands:
/sentinel reload
/sentinel info
/sentinel history
/sentinel alerts
Permissions
sentinel.admin
sentinel.alerts
sentinel.bypass
Config File
The plugin must generate a config.yml including:
Discord webhook
Ban durations
Enabled cheat checks
Violation level limits
Plugin Structure
SentinelAI/
SentinelAI.java (Main plugin class)
checks/
SpeedCheck.java
FlyCheck.java
ReachCheck.java
KillAuraCheck.java
AutoClickerCheck.java
discord/
DiscordWebhook.java
ai/
MovementAnalyzer.java
CombatAnalyzer.java
playerdata/
PlayerProfile.java
utils/
MathUtils.java
Performance
The plugin must be optimized and safe for large servers.
Checks must be lightweight
No server lag
Efficient event handling
Goal
Create a professional anti-cheat plugin with automated detection and Discord reporting suitable for public Minecraft servers.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code