DRE2N / FactionsOne

Factions 1.8.2 with UUID support - updated to latest Bukkit versions!
https://www.spigotmc.org/resources/factionsone.9249/
3 stars 14 forks source link

FactionsOne deletes all the data when I stop the server or I reload it #32

Closed Sickness2 closed 7 years ago

Sickness2 commented 7 years ago

So whenever I want to restart it or stop it and open it again all the data gets removed. Im using spigot 1.8.x

Sataniel98 commented 7 years ago

About which kind of data are you talking? All of them? I can imagine that you tried to change for example the config while the server was running. Factions doesn't support this because it's a bit unconventional with its (de-) serialization systems. Did you use /f reload, /reload or a clean restart?

Sickness2 commented 7 years ago

No, I didnt change anything of the config while I was testing this, about the data I say, claims, factions, all about that.

Sataniel98 commented 7 years ago

Does it write something to the files if you do /f save?

Sickness2 commented 7 years ago

I could try later but what I do, /f create and f claim and later /f save and check the date of the created archives?

Sataniel98 commented 7 years ago

Creating a faction and claiming something should produce data for both the board and the factions storage. If you do /f save after that, you should be able to see the serialized data if you open board.json and factions.json with a text editor even before you stop the server.

Sickness2 commented 7 years ago

alright, created a faction, did /f save and it throwed this "An internal error ocurred"...: fc87438e2c5646aa5d9135ccf1d3a338

Sataniel98 commented 7 years ago

Are there any other errors in the console, especially when the server starts? Looks like an issue with Gson.

Sickness2 commented 7 years ago

I dont know tbh, the console goes so fast but while checking with the eye I cant see any errors.

Sickness2 commented 7 years ago

java.lang.NoClassDefFoundError: [Lcom/massivecraft/factions/entity/Faction; at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_131] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) ~[?:1.8.0_131] at java.lang.Class.getDeclaredMethod(Unknown Source) ~[?:1.8.0_131] at uk.co.umbaska.registration.Register.getExpressionReturnType(Register.java:419) ~[?:?] at uk.co.umbaska.registration.Register.expression(Register.java:177) ~[?:?] at uk.co.umbaska.registration.Register.registerElement(Register.java:111) ~[?:?] at uk.co.umbaska.registration.Register.registerEverythingFrom(Register.java:86) ~[?:?] at uk.co.umbaska.modules.UmbaskaModule.registerSyntaxes(UmbaskaModule.java:69) ~[?:?] at uk.co.umbaska.modules.misc.MiscModule.onEnable(MiscModule.java:22) ~[?:?] at uk.co.umbaska.modules.UmbaskaModule.enable(UmbaskaModule.java:43) ~[?:?] at uk.co.umbaska.modules.ModuleManager.enableModules(ModuleManager.java:79) ~[?:?] at uk.co.umbaska.modules.ModuleManager.loadAndEnableModules(ModuleManager.java:50) ~[?:?] at uk.co.umbaska.Umbaska.onEnable(Umbaska.java:111) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.entity.Faction at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_131] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] ... 24 more

It thrown this.

Sataniel98 commented 7 years ago

I have no idea what Umbaska is, but it is definitely not meant to be used with FactionsOne. There is no com.massivecraft.factions.entity.Faction class. Looks like a Factions 2.x addon. This is not an error thrown by FactionsOne but by Umbaska.

Sickness2 commented 7 years ago

Is a addon for Skript, well I removed massivecraft folder, there it wasnt any plugin of massivecraft

Sataniel98 commented 7 years ago

Do you have an old setup that used to include a different Factions plugin?

Sickness2 commented 7 years ago

Just installed the original Factions, all is working, but it doesnt generate a folder :(

2017-06-26 14:00 GMT+02:00 Daniel Saukel notifications@github.com:

Do you have an old setup that used to include a different Factions plugin?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DRE2N/FactionsOne/issues/32#issuecomment-311039352, or mute the thread https://github.com/notifications/unsubscribe-auth/AcNa7ACsIUKhvnZ1v4KlUQHeZAnUaP-Zks5sH51rgaJpZM4OErBB .

Sataniel98 commented 7 years ago

I think we're talking a bit past each other now...

So what you can do in order to fix this: