LoreTime
A date plugin for role-playing servers
LoreTime
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
[ Permissions | Commands | Configuration ]
LoreTime is a date plugin geared towards RP servers. When a player issues the /loretime command, they are given the current in-game date which can be customized to fit the server's theme. Admins can adjust the date in-game as well as save/reload the config. The plugin updates the date at midnight in-game time (18000).
With our standard calendar:
With The Elder Scrolls Calendar:
Note: Days in a month must be divisible by the days in a week, a limitation I hope to remove in the future. For example, in the image above you may notice that the 31st of July of 2011 is actually a Sunday rather than a Tuesday.
FEATURES:
- custom month/day names
- in-game time
- custom formatting
- user specified days in a week/months in a year
- supports permissions
- "calendars" - simply add "[calendar]" without quotes to the first line of a sign then right click the sign to get the date! (temporarily removed)
- multiworld support
LINKS:
Versions Prior to Bukkit Dev
SHiLLySiT's Source Code
rmh4209's Source Code
Development Builds
USAGE:
Configuration Set up (For 1.5.1)
Commands and Permissions (For 1.5.1)
FUTURE:
- Custom days
And this upon login:
2012-06-11 23:24:18 [SEVERE] Could not pass event PlayerJoinEvent to LoreTime org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:132) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.SHiLLySiT.LoreTime.Commands.getTime(Commands.java:185) at me.SHiLLySiT.LoreTime.Commands.displayString(Commands.java:265) at me.SHiLLySiT.LoreTime.PlayerListener.onPlayerJoin(PlayerListener.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 9 more
Got this upon typing "/lt"
2012-06-11 23:24:33 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lt' in plugin LoreTime v1.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.SHiLLySiT.LoreTime.Commands.getTime(Commands.java:185) at me.SHiLLySiT.LoreTime.Commands.displayString(Commands.java:265) at me.SHiLLySiT.LoreTime.Commands.executeCommand(Commands.java:24) at me.SHiLLySiT.LoreTime.LoreTime.onCommand(LoreTime.java:39) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
Wanted to thank you for such a great plugin. We have a custom calendar that we use with the plugin that's working great!
If you ever want to visit and see it in action, check our our server: http://www.planetminecraft.com/server/sandscape-20-the-ruined-world/
I did have one suggestion/question. There is a plugin we also use called OtherDrops: http://dev.bukkit.org/server-mods/otherdrops/
Which allows us tons of variables to change what can drop from breaks and usages. I would like to create new drops that use variables generated by LoreTime (such as having it where crop harvests are more/less plentiful in certain months, or days of the week are "blessed" with better resources from scavenging). I'll post a similar request on OtherDrops.
It would be great to see work, and I'll happily offer my server for a testing grounds of any beta testing (aka cruel experiments) with them. Haha.
Well, here is the error I am getting. (this is when /loretime is used)
13:56:34 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'loretime' in plugin LoreTime v1.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.SHiLLySiT.LoreTime.Commands.getTime(Commands.java:185) at me.SHiLLySiT.LoreTime.Commands.displayString(Commands.java:265) at me.SHiLLySiT.LoreTime.Commands.executeCommand(Commands.java:24) at me.SHiLLySiT.LoreTime.LoreTime.onCommand(LoreTime.java:39) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
also, here is the checking time error.
13:56:33 [INFO] [LoreTime] Checking time... 13:56:33 [SEVERE] java.lang.NullPointerException 13:56:33 [SEVERE] at me.SHiLLySiT.LoreTime.TimeCheck.run(TimeCheck.java:21) 13:56:33 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 13:56:33 [SEVERE] at java.lang.Thread.run(Thread.java:680)
EDIT:
-ALSO-is there a way to show the ....12 more errors that are being hidden?
Plz add it in were we can set how many days there are in a month like per month?
Nice!
A new patch version has been uploaded and is awaiting approval. I still have yet to run into the reported issues myself, so I added some more debug messages that should help with narrowing down the problems. Please turn debug mode on and paste your entire console output into a new ticket.
@SHiLLySiT
I'd love to be able to help in any way I can! :D
@insers
I haven't had a whole lot of time to trouble shoot the problem, but in the time that I've had I haven't got the error you describe.
EDIT: I think I may release a small patch that adds more messages when debug is on so that I can have you guys help out.
@ksibdesign
i'd like to call it a plugin ;]
any solution for this error? i need working calendar in my serwer
@insers
Well, technically loretime is a mod. I was talking about this one :D!
@ksibdesign
with what mod? i dont have mods on bukkit
@insers
Im getting the same issue with only this mod installed.
Also, I am getting errors on log in and log out too, but it's most likely linked.
@SHiLLySiT
on debug: 2012-04-12 23:00:27 [INFO] Checking time... 2012-04-12 23:00:27 [SEVERE] java.lang.NullPointerException 2012-04-12 23:00:27 [SEVERE] at me.SHiLLySiT.LoreTime.TimeCheck.run(TimeCheck.java:21) 2012-04-12 23:00:27 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2012-04-12 23:00:27 [SEVERE] at java.lang.Thread.run(Unknown Source)
this spams every 1 minute. i have your plugin installed since 1.1 with 0 problems now only this happens :(
Sorry about my bad english. im from Poland.
@insers
Hmm, I haven't been able to replicate the problem. Were you a user of my plugin prior to 1.5.0?
Also, turn on debug mode and let your server go through a full day cycle, then post the console output here.
EDIT: is the plugin not responding at all?
@SHiLLySiT
i still got error when serwer is running with only loretime maybe its becouse i use java 7 ?
i got error even on java 6 :(
@insers
Can you list the other plugins you have installed? Try running your server with only LoreTime and tell me if you still get errors.
2012-04-11 22:58:57 [SEVERE] java.lang.NullPointerException 2012-04-11 22:58:57 [SEVERE] at me.SHiLLySiT.LoreTime.TimeCheck.run(TimeCheck.java:21) 2012-04-11 22:58:57 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2012-04-11 22:58:57 [SEVERE] at java.lang.Thread.run(Unknown Source) 2012-04-11 22:59:27 [SEVERE] java.lang.NullPointerException 2012-04-11 22:59:27 [SEVERE] at me.SHiLLySiT.LoreTime.TimeCheck.run(TimeCheck.java:21) 2012-04-11 22:59:27 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2012-04-11 22:59:27 [SEVERE] at java.lang.Thread.run(Unknown Source)
i got this error when using default config
@insers
Did you change any settings in the config.yml? If so, what did you change?
i downloaded today your plugin and each day i got an error and plugin seems to not work. using recomended build craftbuild 1.2.5 R01