SaberLLC / Saber-Factions

The Ultimate Factions Plugin
GNU General Public License v3.0
124 stars 101 forks source link

Plugin doesnt load on Paper 1.18.1 #214

Closed Josh65-2201 closed 1 year ago

Josh65-2201 commented 2 years ago

Describe the bug When I try use this plugin it doesnt load. Doing anything with the commands i get failed to load/read errors in chat

Error occurred while enabling Factions v1.6.9.5-3.0.2-RC (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "com.massivecraft.factions.zcore.util.Persist.save(Object)" because "com.massivecraft.factions.FactionsPlugin.getInstance().persist" is null
        at com.massivecraft.factions.Conf.save(Conf.java:616) ~[?:?]
        at com.massivecraft.factions.FactionsPlugin.onEnable(FactionsPlugin.java:130) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:562) ~[paper-1.18.1.jar:git-Paper-214]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:476) ~[paper-1.18.1.jar:git-Paper-214]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:736) ~[paper-1.18.1.jar:git-Paper-214]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:503) ~[paper-1.18.1.jar:git-Paper-214]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:313) ~[paper-1.18.1.jar:git-Paper-214]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1211) ~[paper-1.18.1.jar:git-Paper-214]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-214]
        at java.lang.Thread.run(Thread.java:833) [?:?]

Server Version (please complete the following information):

Driftay commented 2 years ago

Redownload the plugin updated jar

Josh65-2201 commented 2 years ago

Still the same. i used the lastet release of github is there some other build i should use?

fisher60 commented 2 years ago

I have this same issue on Paper Minecraft version 18.2 (running in a docker container). I tried using latest release (3.0.2) as well as last release (3.0.1).

It appears I am missing the dependency [Vault]. I am unsure what this refers to and I do not see any documentation for install instructions or a dependencies list.

The solution for me is to manually install the plugin Vault from Vault's Repo

ghost commented 1 year ago

Latest releases should currently be downloaded from spigot, also the plugin tells you it needs vault to start in the console logs.