mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
feat: 添加网络忽略新Key 更新pom文件
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
1be30bf249
commit
1c3da1f010
10
pom.xml
10
pom.xml
@ -58,17 +58,21 @@
|
||||
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
|
||||
</ciManagement>
|
||||
<properties>
|
||||
<update.description>&a全新 2.1 版本 添加网络管理...</update.description>
|
||||
<update.description>&a全新 2.2 版本 添加线程安全管理</update.description>
|
||||
<update.changes>
|
||||
&b2.2 &6- &e新增线程安全拦截 主线程IO拦截...;
|
||||
&b2.1 &6- &e新增网络管理 防止主线程卡IO...;
|
||||
&b &6- &d新增安全管理系统(需要&dbBukkitInjectedTools&d)...;
|
||||
&b2.0.3 &6- &a重载所有插件时忽略部分已注册服务插件...;
|
||||
&b2.0.2 &6- &c修复检查可更新插件功能导致全局更新失效问题...;
|
||||
&b &6- &d新增全局更新限制 无法同时进行 防止错误...;
|
||||
</update.changes>
|
||||
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>yumc-repo</id>
|
||||
<url>http://repo.yumc.pw/content/groups/public/</url>
|
||||
|
@ -12,10 +12,10 @@ import pw.yumc.Yum.managers.ConfigManager;
|
||||
|
||||
public class PluginNetworkListener implements Listener {
|
||||
public String prefix = "§6[§bYum §a网络管理§6] ";
|
||||
public String warnMain = "§c插件 §6%s §c尝试在主线程访问网络 §4可能会导致服务器卡顿或无响应!";
|
||||
public String warn = "§c插件 §6%s §c尝试访问网络 §4请注意服务器网络安全!";
|
||||
public String breaked = "§c已阻止插件 §6%s §c访问网络!";
|
||||
public String url = "§c地址: %s";
|
||||
public String warnMain = "§6插件 §b%s §c尝试在主线程访问网络 §4可能会导致服务器卡顿或无响应!";
|
||||
public String warn = "§6插件 §b%s §c尝试访问网络 §4请注意服务器网络安全!";
|
||||
public String breaked = "§c已阻止插件 §b%s §c访问网络!";
|
||||
public String url = "§6地址: §c%s";
|
||||
|
||||
public PluginNetworkListener(final Yum yum) {
|
||||
Bukkit.getPluginManager().registerEvents(this, yum);
|
||||
@ -36,7 +36,7 @@ public class PluginNetworkListener implements Listener {
|
||||
if (urlinfo.startsWith("socket")) {
|
||||
return;
|
||||
}
|
||||
if (urlinfo.contains("yumc")) {
|
||||
if (urlinfo.contains("yumc") || urlinfo.contains("502647092")) {
|
||||
final String 大神你好 = "反编译的大神们我知道你们又要说了这货有后门";
|
||||
大神你好.isEmpty();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user