Deny warping into named homes when limit excessed! #56

  • Enhancment
  • Replied
Assigned to _ForgeUser7771193
  • _ForgeUser9099113 created this issue Sep 10, 2012

    What steps will reproduce the problem?
    1. Player with vip set up to 10 homes.
    2. Then vip has been gone.
    3. However, player is able to teleport to his homes.

    What is the expected output? What do you see instead?
    Only /home (without [homename]) working for such player.

    What version of the product are you using?

    Do you have an error log of what happened?
    Don't think so =)

  • _ForgeUser9099113 added the tags New Enhancment Sep 10, 2012
  • _ForgeUser7771193 posted a comment Sep 11, 2012

    The reason this is the case is that it doesn't seem very fair practice to deny donors access to their builds after their perks have expired. I presume from your suggestion that your normal players only have a single home - which makes the implementation rather server specific.

    For example, on my server, regular players get a couple homes (say 5), while donors get 10. Using your system, how would I decide which of their 10 homes they would be able to warp to? I could restrict them to only being able to use '/home' and their default home, but then they would have less powers than a normal player - not a very fitting reward for supporting the server.

    Would be interested to hear your take on this.

    Edited Sep 11, 2012
  • _ForgeUser7771193 removed a tag New Sep 11, 2012
  • _ForgeUser7771193 added a tag Waiting Sep 11, 2012
  • _ForgeUser9099113 posted a comment Sep 11, 2012

    @ks07: Go

    Ok =) Situation, when default player should have 2 or more homes: Some steps: 2.1. add column to db like 'last player's group' (limit's name). You have limit names during loading plugin. 2.2. add column to db like 'this home was set when player was in group...'. Let's call it "home's group". 2.3. at the moment when player writes /home <homename>:

    if ( this home's group is similar to player's group)
       warp him and exit
    if ( current %Limit > current total number of homes )
       change home's group name to current player's group name
       silently warp him
    } else {
       calc N = how much homes with similar group name player have
       if ( N >= %Limit )
          say "You are not able to warp at this home", exit;
       say %Text
       if ( waiting for '/home yes' in %Time seconds is successed )
          change home's group name to current player's group name
          warp him and congratulate
       timeout, nothing to do...

    The %Text is: "Opps! For a some reason you have more homes than your limit. Now you can select only %Navbl of %Ntotal homes to be able to warp in. Do you really want to select home "%Home" as one of them?\n Enter '/home yes' in %Time seconds to confirm ".

    Sorry for my terribly bad language =) I think you should understand my stream of thoughts =) Ready to continue discussion.

  • _ForgeUser9099113 removed a tag Waiting Sep 11, 2012
  • _ForgeUser9099113 added a tag Replied Sep 11, 2012
  • _ForgeUser9099113 posted a comment Sep 20, 2012

    I'm sure that you can do it in your own way. It is "not comme il faut" when donator pays only once and uses his homes without continue to pay. I hope that it will be realized soon =) Good Luck!

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