MCPcopy Index your code
hub / github.com/OpticFusion1/MCAntiMalware

github.com/OpticFusion1/MCAntiMalware @15.16

Chat with this repo
repository ↗ · DeepWiki ↗ · release 15.16 ↗ · + Follow
587 symbols 1,535 edges 81 files 24 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MCAntiMalware

MCAntiMalware is an Anti-Malware program which detects over 1000 malicious plugins and runs 24/7 for constant protection

Created and maintained by OpticFusion1!

Wiki · Report Bug · Request Feature

IMPORTANT! Java 17 or higher must be installed. ❗

IMPORTANT! This is not a plugin ❗

Usage

To use MCAntimalware to its full extent, it's important to know all available commands and when to use them.

[!TIP]
All commands can be found in the wiki

Run

Download a compiled jar or build it from source and then run it using java -jar MCAntiMalware.jar The first step to running MCAntiMalware is obtaining a compiled jar.

You can either download it from releases or build it yourself.

Once you have obtained your MCAntiMalware.jar follow one of the following sets of instructions

Dedicated Server/Local PC/VPS

1. Turn off the server, so the malware is not active.


2. Upload the MCAntiMalware.jar file to the directory your server jar is in, and then open a shell, command prompt, or terminal in the same directory and run "java -jar MCAntiMalware.jar"


3. After it's finished scanning, you will find a log in the "AntiMalware/logs" folder. If there are any detected plugins, zip them up and send the zip and log files to me either in a PM on here or on discord


4. Delete the detected jars, re-download the ones you know are safe and restart the server.

Web Panel

1. Upload the MCAntiMalware.jar file and rename it to the name the server jar has, and then restart the server.

If this is not possible you will have to instead download the plugins to your own PC, put the plugins and the Anti-Malware jar in the same directory, open a shell, command prompt, or terminal in the same directory, and then run the command "java -jar MCAntiMalware.jar --scanDirectory ."

2. After it's finished scanning, you will find a log in the "AntiMalware/logs" folder. If there are any detected plugins, zip them up and send the zip and log files to me either in a PM on here or on discord


3. Delete the detected jars, re-download the ones you know are safe and restart the server after reverting changes made in step 1

[!TIP]
If you want the latest stable version, I strongly recommend releases

Build

To build MCAntiMalware from source, run the following commands:

$ git clone git@github.com:OpticFusion1/MCAntiMalware

$ cd MCAntiMalware/

$ mvn clean install

Contact

Discord · Optic_Fusion1 Support

Project Link · https://github.com/OpticFusion1/MCAntiMalware/

Extension points exported contracts — how you extend this code

NotificationSender (Interface)
(no doc) [10 implementers]
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/notifications/NotificationSender.java
IUSBDriveListener (Interface)
@author samuelcampos [2 implementers]
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/usbdetector/events/IUSBDriveListener.java
Configuration (Interface)
(no doc) [2 implementers]
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/Configuration.java
ConfigurationSection (Interface)
(no doc) [2 implementers]
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/ConfigurationSection.java
ConfigurationSerializable (Interface)
(no doc)
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/serialization/ConfigurationSerializable.java

Core symbols most depended-on inside this repo

equals
called by 65
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/check/CheckResult.java
put
called by 60
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/check/CacheContainer.java
tl
called by 57
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/I18n.java
exception
called by 47
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/logging/CustomLogger.java
append
called by 31
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/StringBuilderWriter.java
info
called by 29
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/logging/CustomLogger.java
contains
called by 25
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/ConfigurationSection.java
isEmpty
called by 23
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/StringUtils.java

Shape

Method 497
Class 77
Interface 7
Enum 6

Languages

Java100%

Modules by API surface

MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/MemorySection.java47 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/configuration/ConfigurationSection.java40 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/database/Database.java38 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/check/CacheContainer.java26 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/logging/CustomLogger.java18 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/Utils.java15 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/usbdetector/USBDeviceDetectorManager.java14 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/NumberConversions.java14 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/utils/I18n.java14 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/scanner/file/FileScanner.java14 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/check/CheckResult.java14 symbols
MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/CommandLineParser.java14 symbols

For agents

$ claude mcp add MCAntiMalware \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page