@Override
public void onEnable() {
FileConfiguration config = this.getConfig();
config.options().copyDefaults(true);
this.saveConfig();
String pluginName = config.getString("debug.pluginName");
int port = config.getInt("debug.socketPort");
socketThread = new Thread(new SocketRunnable(port, pluginName, this.getDataFolder().getParentFile()));
socketThread.start();
this.getLogger().info("Enabled MCPluginDebugger(target: " + pluginName + ", port: " + port + ")");
}
MCPluginDebugger.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:MCPluginDebuggerforMC
作者:
评论列表
文章目录