Happy Hour time remaining command
Sikatsu opened this issue · 38 comments
Hey,
Could you add a command that players can use to see the remaining happyhour time within the chat? The output of the command should be personal, unlike /mh happyhour which shows it for the whole server.
Happy Hour time remaining: %time%
Not too sure, english isn't my native language haha
I have the same problem :-)
Im testing with:
mobhunting.commands.happyhour.ongoing=§5Happy Hour is onging for ${minutesleft}.
_
Not too sure about ''ongoing'', maybe ''Happy Hour will remain activated for ${minutesleft}.''?
hmm :-) I dontlike activated
What about : There is Happy Hour for the next 30 minutes
Yeah wasn't too sure about activated either.
Happy Hour still lasts for 30 minutes
Happy Hour will remain active for 30 minutes
I mean, in the end it's your decision as a user can change it to his/her liking anyway :)
It says Bounty Settings instead of Happy Hour Settings: http://prntscr.com/npjyjw
At the end of happyhour when you use /mh happyhour it says: http://prntscr.com/npk2oo
Then 30~ seconds later it will say that happy hour has ended. So it seems there is an issue with the minutes placeholder.
I guess I was to tired when I made the last changes. Laptop is closed, I will fix it in the morning.
I chose same style as the other messages. I think there is enough configurations in config.yml. Some server owners complain alot :-)
Try this build: https://fractal.lindegaard.one:8181/job/MobHunting/802/
./mh happyhour is still server-wide and whenever you login on the server after 10 seconds (quite late) the same thing happens server-wide too everytime a player logs in.
I still think a chat message would be better anyway, immediatly on login. Instead of a big title, looks quite messy in my opinion.
I tried that, the problem is that the message scrolled up, so the player could not see it.
I will see what I can do.
That's probably why most plugins with MOTD-like features have the delay configurable, in my case it would be immediatly visible, for other servers with lots of text it wouldn't be.
I have moved the message to the chat and delayed it 10 sec.
I have often thought about making a kind of scheduler, where Happy Hour event can be scheduled.
Ex. Every sarturday at 20:00, 1 hour, 2xrewardnor something...
I'm using my console to schedule happy hours ^^
Is the command /mh happyhour personal now? Or is it still server-wide?
The delay is still pretty big, no way to configure it? I would like to show it above my MOTD. http://prntscr.com/npj8l3
I think we're working on a feature from a different issue then this one here btw.
Its worldwide. There is currently no permission node for players to use.
I have only the permission node for admins "mobhunting.happyhour"
But maybe that is okay?
Well, this issue we're talking in now is about a feature for players to use /mh happyhour and get a PERSONAL (not server-wide!) message in their chat.
Also about the reminder:
- Could the delay be configurable?
- The time is not correct, it keeps saying 60 minutes (http://prntscr.com/npj9y9)
If you make the delay configurable, I could set it to like 1 second, my MOTD is set to 2 I believe, so then it will show up above my MOTD.
To be clear:
Reminder feature when a player logs in:
- Could the delay become configurable instead of hard-coded 10 seconds?
- The time seems to be behind on the /mh happyhour command
Command feature for players to see how much time remaining:
- /mh happyhour should be personal, not server-wide
- It should show a message in the chat with the time remaining.
-
Its rather easy to make the delay configurable, the problem is where to place this setting in the config.yml. Im afraid that it will drown in all the other settings - as there is currently no "Happy hour section". (I could make one)
-
The "/mh happyhour" was originally made for admins, which wanted to tell the player about the event. But since this is announced when the player joins, I guess that it can be made personal and only used by admins then.
-
Not sure where exactly it would fit, but it would be really nice if you can make it configurable, 10 seconds seems quite much at the moment.
-
I understand where the intentions of /mh happyhour where for, however, players would prefer a personal command to use so they can check how long it lasts whenever they want.
I need to make a mobhunting.happyhour.admin permission node then. (To start / stop / restart the happy hour).
Sounds right, and then mobhunting.happyhour for players to use /mh happyhour and see the remaining time for themselves.
I love the happy hour system in this plugin, some more love to it is welcome :D
You got your Happyhour section in config.yml and a new permission node "mobhunting.happyhour.admin"
Please help me with the testing.
https://fractal.lindegaard.one:8181/job/MobHunting/804/
I need to go to bed now... :-)
Godmorning... here is the new build: https://fractal.lindegaard.one:8181/job/MobHunting/805/