-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rewards system issue... #20
Comments
It does not really sound good so it seems like I won't add it. It may be possible if I add support for a Javascript Engine. |
Okay… so I think this feature does not work on my server… I have some example reward commands (my rewards.yml is sent above) and it never executed :/ becoming a king does not execute these commands for me… |
I double checked it and im sure that reward commands are never executed on my server :/ changing kings does not make plugin to execute them... |
Did you enable the rewards? |
yes |
maybe this rewards issue is connected with my multi arena issue from another report #19 |
@homerek111 Can you check out the new update, and let me know if the issue still continue. |
@Despical it seems to be broken... Still rewards are not given :/ |
|
oh wait,,, i found something new - let me test it one more time |
@Despical i made some more tests and rewards are working now BUT As i see reward can be given only when there are at least 2 players in arena - so it won't be given if there is only 1 player in arena Could you possibly add config option to allow rewarding the king if he is the only 1 player in arena??? #minimum amount of players in arena region to execute reward commands To be honest i believe there is some bug with this rewards because sometimes it allows me to claim it when there is only 1 player in arena - but most of the times it does not... Idk why sometimes it works fine with only 1 player I have also 2 suggestions to improve the plugin:
|
This feature can be added to |
This is not a bug but a feature. It prevents players to be a king in a row. You can enable it from the config by setting
I am going to fix it in the next update.
Delay is not a really good option in this case but I'll think something else to prevent this situation. Thank you for your contribution. |
Ah... i think you misunderstood - I am not talking about becoming king all over again. I am talking about being rewarded after becoming a king I am asking about adding an option to allow getting rewarded EVEN IF there is only 1 player in arena |
If there is only one player in the arena and if that player becomes king then they'll rewarded for once, there is no need to be at least 2 players in an arena to execute rewards. |
hmmm... If you are right then it must be a bug - because i am not getting rewarded unless there at least 2 players on arena region I am claiming king position properly but reward is not given if the king is the only player in arena's region |
In my opinion delay of becoming king again would be a good feature to add (if someone wants he can disable/enable it - i find it really usefull) |
I'm not sure if it is about the amount of players in the arena region but for sure there must be some issue (with giving rewards) because sometimes it works and sometimes it does not... (i have 10 arenas created - maybe that makes some difference...) |
If there is only 1 player in an arena and if that player becomes king, they'll rewarded for only ONE time unless someone enters the arena because they can not be king more than one time if there is only 1 player. |
I agree that it SHOULD work as you described... But on my server it does not :/ Sometimes it triggers giving reward / sometimes it does not... I sent you my server's version in #21 I believe there must be something wrong using conditions from my server. I send you all my config files: |
If you want i can provide you more informations / show the issue in-game... My discord name: _homerek |
Use the code below for rewards.yml and disable async option from config file. Let me know if you get the messages. Rewards-Enabled: true
Reward-Interval: 0
Rewards:
Win:
- say won
Lose:
- say lost
Join:
- say joined
Leave:
- say left |
@Despical Results of my tests:
WAY TO BREAK THE PLUGIN: So basically my rewards bug is fixed after setting: |
Suggestion to improve the plugin: It would be useful to allow setting the value (in seconds) for how long player needs to stand on the plate to become king - maybe with some countdown for him… For example he needs to stay on plate for 5seconds to become a new king - if he leaves the plate = countdown resets |
This option would help current king defending his position + avoid spam with changing kings when 2 players are standing on the plate |
…nc catcher in higher versions of Minecraft (#20)
I'll check tomorrow. |
Released an update. |
@Despical I tested everything and here are my results: BUT this feature is a little buggy I think: 1 more thing that might be made on purpose or is a bug: Other things (that weren't included in newest update): |
You can disable if you want it to be count when player is not in an arena.
No, it is not a bug. I just didn't handle it that way. I'm going to add an option for that.
Players must be in the arena region to not get damaged by firework. If your arena is 1x1 then they will get damaged.
Yeah, probably in future updates. |
@Despical I have just found 1 more weired thing - I have Inventory-Manager: |
Yeah but in that case it doesn't give any feedback to the player that he has cooldown activated - he would be confused why he can't become a king (making action-bar show up would prevent this confusion - just like it works with
Cool :)
Oh that makes sense - you are right
sure :) |
Fixed in the latest commit. |
Yeah, I'm going to add an option. |
If you drop release some patch ping me - I can test everything :) |
Released the update v2.9.3. |
@Despical Nice! I have just tested the update and all fixed/added things work great :) There are only last 2 things that we talked about and possibility of customization the plugin will be insane
|
I have mid-terms this week so probably I'll add these by this weekend. |
My server where I use KOTL starts this Friday - if you find some spare time I would be greatful :)) If not, no problem - I will handle it somehow. Good luck with exams |
@Despical hello, I started the server and my players found a way to skip cooldown by disconnecting and joining the server back. Maybe some protection from that would be useful to prevent disabling cooldown with a relog |
@Despical Let me know if there would be something to test :) |
Thank you but, currently there is nothing to test. Probably tomorrow, I'll release an update for the cooldown issue. |
@homerek111 I have released a new update. Added an option to separate cooldowns based on different arenas and now cooldowns won't reset if player leaves the server and rejoins. |
@Despical cooldowns are now totally broken... It allows spamming with 2 players + actionbar glitches very much + |
Yeah, I forgot a few things. Should be fixed in v2.9.6. |
works great now :) Last thing that might be added is to require standing on plate for X seconds to become a king (countdown - before becoming a king) so it would be a good feature for defending your king's position (so you can kill / knock players from the plate before they become a king) |
@Despical is there any chance to implement this feature soon? :) |
Probably no. |
Hey there, sorry for the late reply. I have my finals next week, I'll try to check it if I have any free time this weekend. |
Hello @Despical - It’s been a while… Maybe now you could find some time to add this 1 feature that we were talking in previous messages :) |
Hi again, I'll try to check as soon as possible. |
@Despical bump :) |
@Despical hello maybe now you might find some time to implement that one feature :D |
I don't know if it's a bug but for me this rewards system does not work at all...
I don't understand when win/lose commands should be executed because the kotl game never ends...
-> there isn't any settings in config to make it check the current king after X minutes or getting rewarded after X minutes of being the King (basically the game never ends - and that's good for me - but idk when the King should be rewarded...)
So... when does it check it and execute reward commands...?
It would be nice to make it possible to reward current king after every X minutes (configurable) of being a king or maybe make a global countdown for the arenas and reward current all current kings from all arenas at the same time...
My rewards config:
Rewards-Enabled: true
Reward-Interval: 5
Rewards:
Win:
- broadcast test123 after win
- chance(10):eco give %player% 8
- p:say I won the game!
Lose:
- broadcast test123 after lose
- chance(99):eco give %player% 1
- p:say Hmm, I think lost the game!
Join: []
Leave: []
The text was updated successfully, but these errors were encountered: