Open MrHoller opened 1 year ago
i think it's not a bug, you just have two plugins with the same packgate names, next time name them like this for example:
me.author name.PluginName
me.indian.Ostag
You just need to have different packgate names :)
And you can also load config in onLoad
method
@Override
public void onLoad() {
this.saveDefaultConfig();
}
i think it's not a bug, you just have two plugins with the same packgate names, next time name them like this for example:
me.author name.PluginName
me.indian.Ostag
You just need to have different packgate names :)
I attached plugins with different names, if you take a clean server and run only these two plugins, you will get the same result
i think it's not a bug, you just have two plugins with the same packgate names, next time name them like this for example:
me.author name.PluginName
me.indian.Ostag
You just need to have different packgate names :)I attached plugins with different names, if you take a clean server and run only these two plugins, you will get the same result
yes the names are different but the package names are still the same which causes this error, it doesn't work the same as on bukkit
in JukeboxMc
(https://github.com/LucGamesYT/JukeboxMC) I get a similar error, but there it just loads only one plugin
i think it's not a bug, you just have two plugins with the same packgate names, next time name them like this for example:
me.author name.PluginName
me.indian.Ostag
You just need to have different packgate names :)I attached plugins with different names, if you take a clean server and run only these two plugins, you will get the same result
yes the names are different but the package names are still the same which causes this error, it doesn't work the same as on bukkit
Okay, I did make a mistake while copying. Now I fixed it and, on your advice, added it to onLoad() but the problem did not disappear sources_and_jars2.zip
i think it's not a bug, you just have two plugins with the same packgate names, next time name them like this for example:
me.author name.PluginName
me.indian.Ostag
You just need to have different packgate names :)I attached plugins with different names, if you take a clean server and run only these two plugins, you will get the same result
yes the names are different but the package names are still the same which causes this error, it doesn't work the same as on bukkit
Okay, I did make a mistake while copying. Now I fixed it and, on your advice, added it to onLoad() but the problem did not disappear sources_and_jars2.zip
Emmmm show you're console
🐞 I found a bug
If you create two different plugins, write in onEnable() in both
saveDefaultConfig()
and put different config.yml in resources of both plugins Then when you turn on the server in both plugins, the same config from the first loaded plugin will be saved sorry for my bad english📸 Screenshots / Videos
▶ Steps to Reproduce
✔ Expected Behavior
Configs work fine
❌ Actual Behavior
Configs are not working correctly
📋 Debug information
💢 Crash Dump, Stack Trace and Other Files
sources_and_jars.zip