GeorgeV220 / VoteRewards

GNU General Public License v3.0
0 stars 1 forks source link

[BUG] Plugin does not load on server startup, but can be manually loaded in. #131

Closed UPSOKen closed 1 year ago

UPSOKen commented 1 year ago

Describe the bug Whenever the server starts, it says Voterewards loads, but it appears as red in the /pl list. However, If I manually use pluginmanager to load the plugin, it loads into the server just fine, and appears green in /pl until next restart.

To Reproduce Steps to reproduce the behavior: Start the server.

Expected behavior Should start at startup.

Screenshots N/A

Server Information (please complete the following information):

Additional context N/A

GeorgeV220 commented 1 year ago

Do you have any errors in the Console when the plugin tries to load up ?

UPSOKen commented 1 year ago

I didn't receive any errors upon loading it. That's why it's confusing me, and it works absolutely fine once I manually load it in.

https://pastebin.com/xDjYpUUH

UPSOKen commented 1 year ago

Do you have any errors in the Console when the plugin tries to load up ?

I finally got an error log on startup:

[02:30:52] [Server thread/ERROR]: [ModernPluginLoadingStrategy] Could not load 'plugins/VoteRewards.jar' in 'plugins' org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [Votifier]. Please download and install these plugins to run 'VoteRewards'. at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:82) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:508) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:275) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1102) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[pufferfish-1.20.1.jar:git-Pufferfish-26] at java.lang.Thread.run(Unknown Source) ~[?:?]

I use VotifierPlus [https://www.spigotmc.org/resources/votifierplus.74040/] - which works fine once I manually load the plugin, but VoteRewards doesn't like it.

GeorgeV220 commented 1 year ago

Do you have (Nu)Votifier installed ?

UPSOKen commented 1 year ago

installed ?

No, I use the fork that I linked called VotifierPlus.

It should function exactly the same. In fact, it does - once I manually load the plug-in, but for some reason it won't load on startup.

This seems like something simple, like maybe a dependency list.

GeorgeV220 commented 1 year ago

ahh, I need to add support for the plugin. I will update it.

GeorgeV220 commented 1 year ago

Can I send you a test jar ? @UPSOKen

UPSOKen commented 1 year ago

Can I send you a test jar ? @UPSOKen

Sure! At work currently - but will test later tonight.

GeorgeV220 commented 1 year ago

VoteRewards-8.3.0.zip

UPSOKen commented 1 year ago

VoteRewards-8.3.0.zip

This appears to work fine for me! I ran it on a clone test server, and it worked. Going to add it to my production server, it restarts tomorrow at 2 am, so if I run into any issues, I will let you know.

Should I close this issue?

GeorgeV220 commented 1 year ago

VoteRewards-8.3.0.zip

This appears to work fine for me! I ran it on a clone test server, and it worked. Going to add it to my production server, it restarts tomorrow at 2 am, so if I run into any issues, I will let you know.

Should I close this issue?

Happy to hear that. I will close this issue when we are sure that everything is working and after I release a fix release

GeorgeV220 commented 1 year ago

VoteRewards-8.3.0.zip

This appears to work fine for me! I ran it on a clone test server, and it worked. Going to add it to my production server, it restarts tomorrow at 2 am, so if I run into any issues, I will let you know.

Should I close this issue?

Can you verify that the plugin works ?

UPSOKen commented 1 year ago

Still working fine for me @GeorgeV220 !

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 9.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: