Compare commits
2 commits
d3af20d421
...
c22e95af3e
Author | SHA1 | Date | |
---|---|---|---|
c22e95af3e | |||
8af95e3ac1 |
3 changed files with 10 additions and 2 deletions
|
@ -12,7 +12,8 @@ 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**, mandatory as the plugin uses NMS for some stuff\
|
- **1.21.1**, recommended 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/)
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,13 @@ 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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
depend: [ProtocolLib]
|
softdepend: [ProtocolLib]
|
||||||
|
|
||||||
libraries:
|
libraries:
|
||||||
- eu.m724:mstats-spigot:0.1.0
|
- eu.m724:mstats-spigot:0.1.0
|
||||||
|
|
Loading…
Reference in a new issue