Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Server thread/ERROR] [Minecraft]: Error occurred while enabling TimeIsMoney v1.9.9 (Is it up to date?) #111

Open
Zangooron opened this issue Oct 15, 2023 · 0 comments

Comments

@Zangooron
Copy link

Zangooron commented Oct 15, 2023

What steps will reproduce the issue?

The error occurs in the following case:

  1. The server loads (without errors)
  2. The user enters the game
  3. The user leaves the game
  4. The server stops with the stop command
  5. The server is loading (with an error)

After the player has logged on to the server and exited, if you stop the server with the /stop command, a data.yml file is created in the TimeIsMoney/data/ folder. The following data is recorded in this file:
User UUID
receivedToday
secondsSinceLastPayout
lastPayoutDate
If you then start the server, an error will appear in the console. If the player does not log into the server, then after the server is stopped, the data.yml file will become empty. When the data.yml file is empty, there is no error when starting the server. But when the data.yml file is not empty, an error occurs when the server starts.

What was supposed to happen?

What happened instead?

What version of TimeIsMoney are you using?

Time is Money 1.9.9

What Spigot version are you using? Paste the output of /version below.

I use Crucible_1.7.10_81fcb90b_server

What plugins do you have installed? Paste the output of /plugins below.

Plugins:
AutoSaveWorld version: 4.15
ClearLag version: 3.2.2
Essentials version: Pre2.14.1.3
EssentialsChat version: Pre2.14.1.3
EssentialsSpawn version: Pre2.14.1.3
PermissionsEx version: "1.22.10"
Vault version: 1.4.1-b436

Are any errors related to TimeIsMoney in your console or logs? If so, paste below.

[13:28:44] [Server thread/INFO] [TimeIsMoney]: Enabling TimeIsMoney v1.9.9
[13:28:44] [Server thread/ERROR] [Minecraft]: Error occurred while enabling TimeIsMoney v1.9.9 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.YamlConfiguration.getObject(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
	at de.Linus122.TimeIsMoney.data.YamlPluginData.loadData(YamlPluginData.java:39) ~[?:?]
	at de.Linus122.TimeIsMoney.Main.onEnable(Main.java:166) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[JavaPlugin.class:1.7.10-staging-81fcb90b]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:362) [JavaPluginLoader.class:1.7.10-staging-81fcb90b]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:411) [SimplePluginManager.class:1.7.10-staging-81fcb90b]
	at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:408) [CraftServer.class:1.7.10-staging-81fcb90b]
	at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:342) [CraftServer.class:1.7.10-staging-81fcb90b]
	at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:516) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:490) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:450) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:367) [lt.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:644) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_331]

Any additional information that you would like to provide that may be relevant to the issue?

Sorry for my English, I'm not an English user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant