使用文档链接:https://github.com/Peakmain/AsmActualCombat/wiki
ASM插件依赖 Add it in your root build.gradle at the end of repositories:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.peakmain:plugin:1.2.0"
}
}
apply plugin: "com.peakmain.plugin"
拦截事件sdk的依赖 - Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Peakmain:AsmActualCombat:1.2.0'
}
settings.gradle
pluginManagement {
repositories {
//插件依赖
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
//sdk仓库
maven { url 'https://jitpack.io' }
}
}
插件依赖
根目录下的build.gradle文件
plugins {
//插件依赖和版本
id "io.github.peakmain" version "1.2.0" apply false
}
sdk版本依赖
implementation 'com.github.Peakmain:AsmActualCombat:1.2.0'

monitorPlugin {
whiteList = [//设置白名单
"com.peakmain.asmactualcombat.utils.TestUtils",
"com.peakmain.plugin"
]
methodStatus = 1//1代表方法体替换,其他都是正常情况
enableLog=true//是否开启日志打印,默认不打印
}
如果您觉得我的开源库帮您节省了大量的开发时间,请扫描下方的二维码随意打赏,您的支持将激励我不断前进

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