Problem with Format "year"
Opened this issue ยท 18 comments
Hi confuserr,
I have got a question about your plugin BanManager. (This question ist not in the FAQ):
Your plugin works perfect and I have no great Problems with it, but if i type /tempban {Player} 1y Trololol -> Then in the Chat it will be 366 days and not 1 year. For example if I type /tempban {Player} 10y Then he will be banned for 3566 days or something, but I want that it's in the Chat shown as "Nico180902 banned {Player} for 10 years" and not "Nico180902 banned {Player} for 3656 days" or something
Some Screenshots: http://prntscr.com/9nvgwc http://prntscr.com/9nvhd6
Sorry for bad English, I'm german. If you dont understand the question, then I will tranlate it
Duplicate of #452
Yes, it is. The cause of the bug you've reported is detailed in #452
I am not sure if this is really related to #452 . Maybe partially.
If this is really the summary of the async worker delay, why are the 23 hours and 59 minutes missing to round the year up?
I'm not sure why you would want to temporary ban someone for such a length of time rather than just permanently ban them, but I'll take a look
Yes. for us in Austria its silly if we ban a player permanent. He should be banned for 1 year and then he should come again and so he can play on the server and lern about his fairlure. because in 1 year many things can the changed.
This is important too:
No format over day works, not week, not month. So if i type "tempban player 1mon" in the chat its 30 days. I think the fault is the update v5.0.
How should it?
You either can download the source now and compile the plugin by yourself or look for a Jenkins CI that has dev builds from BanManager or wait till a new version will be officially released on dev.bukkit.org
This might be answered by @confuser :)
If you can't wait:
But @confuser I have one silly question:
Is it possible to tempban for 100 years? (/tempban {Player} 100y :)
So can you add the Feature in a Future Version?
Because I can tempban for 20 years, so you could add 100 years too please
No it's not possible, there's a maximum limit of 20 years. Just permanently ban them instead. I don't understand why you'd want to ban someone for 100 years, they'd probably be dead by the time it expired, and your server probably wouldn't exist then anyway.