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
Will this be updated work with the current 1.2.3 CraftBukkit builds?
Could you make it an option somehow to change when it checks to see if it needs to update the date or something? On my server we frequently go to sleep and thus skip midnight entirely. Also, even better, is there a way you can make it recognize that time is skipping to day and change the date then?
@insers
Every (Minecraft) midnight it pops up a message to all players ^^
the Date displays each minecraft day or i need to use commands?
Hello, I was wondering if it would be possible to make it so that different permissions groups see different times?
For example: I use the pantheons plugin and all the different god's worshippers have their own permissions group. Say the worshippers of the greek god of Discord use the discordian calender, could you add a feature so that a different group, say the worshippers of zeus, use a different calender system.
Have a problem. When i try to use /loretime commands it says i dont have the permissions eventhough iam owner. Already set the permissions nodes but still doestn work. Using group manager.
@TomabScblieter
I'll add the time option as well as the sleep check in a future update. Course work has been keeping busy so I haven't had time to update the plugins.
Also, I haven't updated the github because there were changes that I merged with a bukkit developer but didn't add to the actual plugin yet.
@Mastermat666
I too would love the feature to adjust the time at which the plugin decides it's a new day. I might suggest defaulting to 12500(moonrise) instead of 18000(midnight). This would make it so that a new day starts before players are able to use beds, making a quick work around until a more elegant fix is added.
Also, since the days of the month on my server are based on the lunar cycle, a new day starting at 12500, when the moon rises, would make sense.
Thanks for an awesome plugin btw!
edit: Also, your source code plugin.yml claims it is version 1.3.0. Is this a typo, or is this old source code?
@TheAstyr Yes, you can, simply set "useDaySuffix: false".
One feature I'd love is the ability to change at which time the plugin decides it's a new day. And also, if everybody goes to sleep, it automaticly changes the day and display it.
Hi! Is there a way to delete the "st", "nd", "rd" and "th" after the day? I have a french server, then these letters are not used in France! :)
2011-12-15 20:43:58 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'loretime' in plugin LoreTime v1.4.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:370) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NullPointerException at me.SHiLLySiT.LoreTime.LCommands.getTime(LCommands.java:17) at me.SHiLLySiT.LoreTime.LCommands.displayString(LCommands.java:101) at me.SHiLLySiT.LoreTime.LCommands.executeCommand(LCommands.java:127) at me.SHiLLySiT.LoreTime.LoreTime.onCommand(LoreTime.java:47) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
My console shows this whenever i try any loretimes commands. It also pops up a message saying internal error or something. BTW im using permissionsEX and you dont have it defined ANYWHERE as to what permissions loretime supports.
@Shirou7000
Ah, no. Only on player join and when called with /loretime. That's a feature I should add.
@T4LGoose
I'll look into that.
Will this display time automatically from time to time? ( for example, when new day starts?)
It seems like after midnight, the plugin messes up and you can't check the time or the date until noon or something.
@SHiLLySiT
Why would I be talking about other commands for different plugins? Anyways. All the other commands (for yours) work fine, just the "/loretime" command doesn't work. Also I have it set to show the date upon joining the server, and it doesn't do that anymore :( I've used your plugin before, and it worked find a couple builds ago.
@dackkorto
When you say other commands, do you mean other commands for my plugin or for other plugins? The only thing I can think of is that you don't have the permission nodes.
Any reason why the command "/loretime" does not work? I've had other build and this command has never worked for me. I can do the other commands just fine.
"An internal error occurred while attempting to preform this command" I always get this error.
@SHiLLySiT
Thank you! :D
@Lextao
Just uploaded version 1.4.0 which:
(It's still waiting for approval, but should be available soon)