Compare commits

..

No commits in common. "c22e95af3e1b3dae627d1c5f440ab1c4c29e2047" and "d3af20d421dc85913e3e0d95ebbeaf62ab4e4d50" have entirely different histories.

3 changed files with 2 additions and 10 deletions

View file

@ -12,8 +12,7 @@ Please report all suspicious behavior. You can do so on any of those:
Stuff no<sub><sup>t many</sup></sub> other plugins do. Stuff no<sub><sup>t many</sup></sub> other plugins do.
Dependencies: Dependencies:
- **1.21.1**, recommended as the plugin uses NMS for some stuff \ - **1.21.1**, mandatory as the plugin uses NMS for some stuff\
However, it's not forced, so it may work on other versions. If you get an error, it's most often because of a module. Disable that module. \
Why not latest? The focus is on [a widely used version](https://bstats.org/global/bukkit) that has [good mod support](https://modrinth.com/modpack/fabulously-optimized/versions?c=release) Why not latest? The focus is on [a widely used version](https://bstats.org/global/bukkit) that has [good mod support](https://modrinth.com/modpack/fabulously-optimized/versions?c=release)
- [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/) - [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/)

View file

@ -34,13 +34,6 @@ public class TweaksPlugin extends MStatsPlugin {
public void onEnable() { public void onEnable() {
long start = System.nanoTime(); long start = System.nanoTime();
if (getServer().getPluginManager().getPlugin("ProtocolLib") == null) {
getLogger().severe("ProtocolLib is required for this plugin.");
getLogger().severe("https://www.spigotmc.org/resources/protocollib.1997/");
getServer().getPluginManager().disablePlugin(this);
return;
}
TweaksConfig config = TweaksConfig.load(this); TweaksConfig config = TweaksConfig.load(this);
new Language(Locale.US); // TODO new Language(Locale.US); // TODO

View file

@ -5,7 +5,7 @@ website: https://www.spigotmc.org/resources/tweaks724.121057/
main: eu.m724.tweaks.TweaksPlugin main: eu.m724.tweaks.TweaksPlugin
api-version: 1.21.1 api-version: 1.21.1
softdepend: [ProtocolLib] depend: [ProtocolLib]
libraries: libraries:
- eu.m724:mstats-spigot:0.1.0 - eu.m724:mstats-spigot:0.1.0