[Discontinued] 🗓 Calendar + Time controller [v3.2] [FR/EN]

I don’t know. I’m currently working on PermissionManager and I don’t have a lot of time to work on my others plugins.

Would it be possible for me to take a look at it, then?

Yes, you can update it if you want.

EDIT 2: Got it working. Sorry for all of the spam.

EDIT: Fixed the below issue after a long and tiresome updating process. Now, however, there is a different issue. When the plugin loaded, none of the language files were generated. After placing some backups into the translations folders and setting the format to JSON, the calendar.json file was generated without any data as well. I inserted my data into the file, and now it sends updates every second with “New week!”, even though I only changed one line of the code. I was going to suggest maybe it was having trouble reading the config, since it thought the days variable was null (Calendar:ln140) but it got the name of the months correct, so that’s not the issue. If you have any recommendations for what I do next that would be helpful, but if not I will try and continue to do this on my own.

So I got it set up from the git repository in IntelliJ, got it all running, then tried to add a log into the script so that I could start seeing the errors. While I was doing that it started throwing errors that it couldn’t find CorePlugin and CoreUtil, so I updated the paths to the newest ones (they have their own directories now, it seems), built the plugin okay, then tried putting it into my server. Once it tried to start it crashed with the following errors:
01.10 21:29:15 [Server] Server thread/ERROR [FML]: The following problems were captured during this phase
01.10 21:29:15 [Server] Server thread/ERROR [FML]: Caught exception from calendar
01.10 21:29:15 [Server] INFO java.lang.ClassNotFoundException: io.github.djxy.calendar.Main
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75) ~[custom.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at org.spongepowered.mod.plugin.SpongeModPluginContainer.constructMod(SpongeModPluginContainer.java:277) ~[spongeforge-1.10.2-2073-5.0.0-BETA-1714.jar:1.10.2-2073-5.0.0-BETA-1714]
01.10 21:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) ~[LoadController.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[LoadController.class:?]
01.10 21:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.10.2.jar:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53) ~[LoadController.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:545) [Loader.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:97) [FMLServerHandler.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328) [FMLCommonHandler.class:?]
01.10 21:29:15 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:121) [ld.class:?]
01.10 21:29:15 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
01.10 21:29:15 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]
01.10 21:29:15 [Server] INFO Caused by: java.lang.NoClassDefFoundError: io/github/djxy/core/plugin/CorePlugin
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO … 34 more
01.10 21:29:15 [Server] INFO Caused by: java.lang.ClassNotFoundException: io.github.djxy.core.plugin.CorePlugin
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO … 34 more
01.10 21:29:15 [Server] INFO Caused by: java.lang.NullPointerException
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO … 34 more
01.10 21:29:15 [Server] Server thread/ERROR Encountered an unexpected exception
01.10 21:29:15 [Server] INFO net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: io.github.djxy.calendar.Main
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186) ~[LoadController.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:576) ~[Loader.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:97) ~[FMLServerHandler.class:?]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328) ~[FMLCommonHandler.class:?]
01.10 21:29:15 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:121) ~[ld.class:?]
01.10 21:29:15 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
01.10 21:29:15 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]
01.10 21:29:15 [Server] INFO Caused by: java.lang.ClassNotFoundException: io.github.djxy.calendar.Main
01.10 21:29:15 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75) ~[custom.jar:?]
01.10 21:29:15 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_92]
01.10 21:29:15 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_92]

(Sorry if that is not in the correct format, having trouble finding it.)

Could something with the way it configured be messing up, or is this just a problem with some missing element in the config?

2 Likes

So …
The status of this is? :confused:

I don’t think I will update the plugin. I don’t have a lot of time and I want to work on PermissionManager.

Hmm :confused:
Shame, although PM is useful, this is definitely more niche and unique.

Yes I know, but I’m currently working on a project that will implement my project CommandScheduler and I could add this one into.

1 Like