Votifier Multiserver Support #448


  • Waiting
  • Enhancment
Open
Assigned to _ForgeUser8455416
  • Slind14 created this issue Mar 21, 2014

    "Regarding this request:

    one more question by the way. Atm ontime votifier rewards are only executed when the player is on the server. Would it be possible to change that and add a setting to execute it if the player is offline ? This way I can collect all votes in the lobby and give the player the loyality points which they can than redeem on their current server. with bungees commandsync I would than send the broadcast via. all servers

    I've figured out a way to work around the issue with the permission's plugins not working, but there would be some restrictions on the types of rewards, and things like OnTime's 'exclusive' function would not work.

    I'd like you to open up an feature request so I can add this to the queue of things for me to do. Please be as detailed in your request as possible so that when I get around to working on it, I have all the info I need in that ticket and don't have to be looking back through this thread.

    Thanks."

    The above is the mail you sent me and should cover everything. The main problem I have is that the player connect directly to their corresponding server and don´t get into the lobby. Atm I use votesend and send the vote to every server but that sucks as it corrupts the stats and makes the players instant rich on another server when they decide to switch after a month.

    So there should be a config option as I only need to do this on the main server and I only need two reward types which are the loyality points and a console command. This way I can tell the other servers (via console command) that the vote arrived and if ontime doesn´t cache the loyality points they should be there instant.

  • Slind14 added the tags New Enhancment Mar 21, 2014
  • _ForgeUser8455416 posted a comment Mar 22, 2014

    Thanks for the ticket.

    I have already coded the enable/disable for voteListener per server, so that will be in the next update. I understand why you want the other enhancement now. I just have to figure out exactly how to do this without too much disruption of the main rewards algorithms.

  • _ForgeUser8455416 removed a tag New Mar 22, 2014
  • _ForgeUser8455416 added a tag Accepted Mar 22, 2014
  • _ForgeUser8455416 posted a comment Apr 14, 2014

    I have been thinking on this request, and looking into the code, and to change it such that a player can be offline to receive a reward would require some major reconstruction of the whole OnTime rewards engine. (Something I'm not really wanting to do.)

    Instead what I could do is make it such that a player must be online to receive a reward. (If they are offline then the reward will just never be scheduled.)

    "What good does that do me?" , you are probably asking. Well, if you set up the same rewards on all of your servers, enable votifier on all of the servers, and continue to use 'voteSend' to send the vote to all servers, the points reward will only be issued by the server where the player is online.

    I will have a fix/change in the same release such that you can configure so that only one server will actually collect the vote count data, so the players will also not get multiple credits for each vote cast.

    The only downside I see to this is that if the player is not online on any server at the time that the vote is cast, then while they will get credit for the vote in their stats, they would not receive any reward.

    What do you think of this solution?

  • _ForgeUser8455416 removed a tag Accepted Apr 14, 2014
  • _ForgeUser8455416 added a tag Waiting Apr 14, 2014
  • _ForgeUser7547736 posted a comment Apr 15, 2014

    @Edge209: Go

    If I understood that right, what about a command for players to claim offline rewards? It could save the reward and give it to the player upon them using the claim command? Not sure if this is a valid solution at all, just thought I'd offer some input :)

  • _ForgeUser7547736 removed a tag Waiting Apr 15, 2014
  • _ForgeUser7547736 added a tag Replied Apr 15, 2014
  • _ForgeUser8455416 posted a comment Apr 16, 2014

    @Nickbbeezy: Go

    Thanks for the input, but in this case the issue is that the 'offline' reward is waiting for them on a server other than the one they are currently on, so a command on their current server will not help.

    (I really do appreciate the input)


    Edited Apr 17, 2014
  • _ForgeUser8455416 removed a tag Replied Apr 16, 2014
  • _ForgeUser8455416 added a tag Waiting Apr 16, 2014

To post a comment, please login or register a new account.