MCPluginDebugger.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:MCPluginDebuggerforMC 作者:
@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 + ")");
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号