Option in config for single homes #28

  • Enhancment
  • Accepted
Assigned to _ForgeUser7771193
  • _ForgeUser7418620 created this issue Feb 9, 2012

    It would kick ass if there was an option in the config to set it so that each player can have only 1 home per world. I know this can be done by limiting it, but listen to this.

    If that was created, then you can enable auto-completion of /home <partialPlayerName> because you only have 1 home per world, and those homes wouldn't have names (unless you had an option to also allow people to /home nether|the_end|normal).

    In lamens terms:Create a config so there's 1 home per world for each player. If this is enabled, auto-complete would work for admins if they wanted to go to someones home in that world by doing /home <partialPlayerName> instead of having to write out the full name.

    Other than this one thing, I am loving the 'default' portion you added if they only have 1 home.

  • _ForgeUser7418620 added the tags New Enhancment Feb 9, 2012
  • _ForgeUser7771193 removed a tag New Feb 9, 2012
  • _ForgeUser7771193 added a tag Accepted Feb 9, 2012
  • _ForgeUser7771193 posted a comment Feb 9, 2012

    Let's see what we can do. :)

  • _ForgeUser7771193 posted a comment Feb 11, 2012

    Thinking of a better way here:

    Add a toggle to have default homes be per-world, so that /home always takes you to the current world's default home. If it doesn't exist, and the player has permission to warp cross-world, then that player will be taken to the default home in the main (first) world.

    This would mean having to name default homes not just "home" but after the worldname (or possibly ID). Problems will arise when people change between the two settings, however, I see name conflicts being an obvious issue.

    As for /home <partialPlayerName>, that wouldn't need any major changes at all. As long as the partial name is not part of one of your homes, it's trivial to add a name guessing function for players. I can slip in this change before v1.4 release most likely.

  • _ForgeUser7771193 posted a comment Feb 11, 2012

    Ah, of course, I overlooked the age-old problem with name completion: offline players.

    Say we have two players: Bob and Bobette

    If Bobette is online, but I want to warp to Bob's home, and I do /home Bob, name completion would mean I would always be forced to warp to Bobette's home.

    We can work around this, most likely through yet another command, but that just creates more typing for someone who simply wants to teleport to Bob's home.

  • _ForgeUser7418620 posted a comment Feb 11, 2012

    @ks07: Go

    I like this idea a lot!

    If we do '/home Bob' and Bob and Bobette are players, that should go to Bob's home by default because of his exact name. Now if we did '/home Bo', perhaps it would prompt saying 'Multiple homes select: Bob, Bobette'.

    Not sure if it would be helpful to make it default to the home of a player that is online though. However, if the player isn't invited to Bob's home when you do '/home Bob' it should check to see which homes you have access to and go from there.

    Edited Feb 11, 2012
  • _ForgeUser7771193 posted a comment Mar 27, 2012

    I feel like restructuring the internal home storage in 1.6, so this might come about naturally then. Should make world-specific limits enforceable too.

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