Inactive [TP] MultiHome v0.11.3 - Multiple personal named home locations [2058 / 1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by MadManMarkAu, Apr 2, 2011.

  1. Offline

    MadManMarkAu

    MultiHome - Multiple named home locations:
    Version: v0.11.3

    This plugin is much the same as other multi-home plugins, except this plugin supports named home locations and home sharing. no longer do you need to keep a list of which home number is for what location; why not simply name the location from the start?

    When the plugin generates it's data files for the first time, it will import and convert your home locations if you use Essentials or MultipleHomes.

    To enable home-on-death, set enableHomeOnDeath, under MultiHome, in the config file to "true" and give the appropriate users the multihome.homeondeath permission.

    All test displayed to the user can be fully customized. This also allows for translations to other languages!

    Acknowledgements
    Sleaker: Too much to list here... Heaps of stuff. You rock!
    HereInPlainSight: Submitting a pull request to add PermissionsBukkit support. Also a pull request for new event system.
    Maxis010: For providing basic support in this thread.

    Donate:
    Donations help with development of this and other plugins, as well as the upkeep of our server. They're completely optional and give you that feel-good feeling we all know and love. :)

    [​IMG]

    Features:
    • Supports multi-world.
    • Multiple per-user home locations.
    • Home locations use names rather than numbers.
    • Can respawn player to their default home upon death.
    • Forwards-compatible with SimpleHome data file format. Simply replace "MultiHome/homes.txt" with the homes.txt from SimpleHome to migrate.
    • Can list and delete home locations.
    • Optional warm-up, cool-down and max-homes settings for all Permissions groups. Global settings for undefined
    • Automatically imports home locations from Essentials, MyHome and MultipleHomes data directories.
    • Can invite players to your home. Can globally invite all players to your home. Can impose a time limit on invites.
    • Every piece of text displayed to the player can be customized!

    Download: http://dev.bukkit.org/media/files/579/623/MultiHome.jar

    Source Code: https://github.com/MadManMarkAu/MultiHome

    Todo:
    • Support for custom commands.
    • User-settable option to enable/disable spawn-to-home.
    • Lockable homes.
    • Persistant, user settable HomeOnDeath option.
    • Option to store home locations in MySQL database.
    • Settable message colors.

    Bugs:
    If you encounter bugs in my plugin, open an issue on GitHub: https://github.com/MadManMarkAu/MultiHome/issues

    Commands (open)

    Commands:
    • /home - Teleport you to your default home location
    • /home <name> - Teleport to a named home location
    • /home <player>:<name> - Teleport to another players home location if you have permission or an invite is open.
    • /sethome - Set your default home location
    • /sethome <name> - Set a named home location
    • /sethome <player>:<name> - Set a home location for another player. Requires permission. Leave <name> blank to set default home.
    • /deletehome <name> - Delete named home location.
    • /deletehome <player>:<name> - Delete another player's named home location. Permission required.
    • /listhomes - List home locations for yourself.
    • /listhomes <username> - List home locations for another player. Requires permission.
    • /invitehome {<user>|*} - Invite another user (use "*" for global invite) to your default home location.
    • /invitehome {<user>|*} <home> - Invite another user (use "*" for global invite) to your named home location.
    • /invitehometimed {<user>|*} <time> - Invite another user (use "*" for global invite) to your default home for a short time.
    • /invitehometimed {<user>|*} <time> <home> - Invite another user (use "*" for global invite) to your named home for a short time.
    • /uninvitehome {<user>|*} - Retract invitation for another player to visit your default home.
    • /uninvitehome {<user>|*} <home> - Retract invitation for another player to visit your named home.
    • /listinvites - List invites open to you.
    • /listmyinvites - List invites you have open to others.
    Permissions (open)

    Permissions:
    • multihome.defaulthome.go - Allow user to teleport to their default home location.
    • multihome.defaulthome.set - Allow user to create their default home location.
    • multihome.defaulthome.invite - Allow player to invite others to their default home.
    • multihome.defaulthome.invitetimed - Allow player to invite others to their default home with a timer.
    • multihome.defaulthome.uninvite - Allow player to retract invitations to their default home.
    • multihome.namedhome.go - Allow user to teleport to a named home location.
    • multihome.namedhome.set - Allow user to create a named home location.
    • multihome.namedhome.delete - Allow user to delete a named home location.
    • multihome.namedhome.list - Allow user to list their home locations.
    • multihome.namedhome.invite - Allow player to invite others to their named home.
    • multihome.namedhome.invitetimed - Allow player to invite others to their named home with a timer.
    • multihome.namedhome.uninvite - Allow player to retract invitations to their named home.
    • multihome.othershome.go - Allow user to teleport to another player's home without invite.
    • multihome.othershome.set - Allow user to create another player's home.
    • multihome.othershome.delete - Allow user to delete another player's named home location.
    • multihome.othershome.list - Allow user to list home locations of another user.
    • multihome.free.defaulthome.go - Teleporting to default home is always free.
    • multihome.free.defaulthome.set - Setting default home is always free.
    • multihome.free.namedhome.go - Teleporting to named home is always free.
    • multihome.free.namedhome.set - Setting named home is always free.
    • multihome.free.othershome.go - Teleporting to other players home is always free.
    • multihome.listinvites.tome - Allow player to list invites open to them.
    • multihome.listinvites.toothers - Allow player to list invites they have open to others.
    • multihome.ignore.cooldown[/B] - Player will ignore the cooldown timer.
    • multihome.ignore.warmup[/B] - Player will ignore the warmup timer.
    • multihome.homeondeath - Player will be taken to their default home when respawning.
    Changelog (open)

    Version 0.11.2
    • Consolidated MultiHome and MultiHome_m commands.
    • Fixed a permissions bug.
    • Improved compatibility for Essentials.
    Version 0.11.1
    • Plugin resends target chunk to clients one second after teleporting. Might fix teleport chunk glitches.
    Version 0.11
    • Updated to latest Bukkit version.
    • Trying a fix to alleviate missing chunk glitches.
    Version 0.10
    • Fixed a typo in handling "{AMOUNT}" payment tags.
    • Added support for Bukkit permissions and SuperPerms.
    • Switched to using "Register" for economy handling.
    • Added permissions list to plugin.yml (for Bukkit perms support).
    Version 0.9.7
    • Rewrote permissions nodes.
    • Fixed permissions loading and economy loading (or lack thereof).
    Version 0.9.6
    • Merged update from Sleaker.
    • Added economy support.
    • Added PermissionsEX support.
    • Bunch of tweaks.
    Version 0.9.5
    • Updated to CraftBukkit 953
    Version 0.9.3
    • Updated to CraftBukkit 798
    • Added importing of newer Essentials home formats.
    Version 0.9.2
    • Fixed cooldowns.
    Version 0.9.1
    • Fixed typo in permissions.
    Version 0.9
    • Massive code rewrite.
    • Added invite system.
    • More permissions.
    • Lots of stuff, some large, some small.
    Version 0.8
    • Optional home-on-death. Players can teleport back home rather than to spawn when dead.
    Version 0.7
    • Imports home locations from Essentials and MultipleHomes.
    Version 0.6.2
    • Fixed a bug where plugin wasn't honoring groups correctly.
    Version 0.6.1
    • Fixed unnecesary warp scheduling when warmup time = 0
    Version 0.6
    • Updated to CraftBukkit 670
    • Implemented new config file.
    • Per-group warm-up, cool-down and max-homes settings.
    • Split create and teleport permissions.
    Version 0.5.2
    • Fixed a bug to do with MultiHome loading before MultiVerse and removing all home locations.
    Version 0.5.1
    • Fixed listing homes when no homes set.
    Version 0.5
    • Added /listhomes and /deletehome
    Version 0.4
    • Added support for Permissions/FakePermissions
    Version 0.3
    • Homing from another world will now teleport between worlds before teleporting to home. Fixes a server bug when changing worlds and locations simultaneously.
    Version 0.1-0.2
    • I honnestly can't remember... Released, I guess?
     
  2. Offline

    MadManMarkAu

    New release will be along shortly.
     
  3. Offline

    n4Ghost

    I need a config where i can Limitate the Home per Person.
     
  4. Offline

    UfaRock

  5. Offline

    ntwitch

    Can you add warping to other players' default home with a permission node? As admin I would like to be able to warp to players' home locations.
     
  6. Offline

    MadManMarkAu

    It's already done and will be released with the next release.

    I have to implement the invite listing commands then I can make a release of version 0.9. About half of the todo list has been obliterated in this version. :D

    New release, version 0.9

    WARNING! THIS RELEASE IS A CONFIG BREAKER!
    This release uses a new system where every piece of text displayed to the player is customizable. This means the config file must be regenerated to contain the default settings/strings. Please move (not remove) your original config and allow the plugin to generate a new deafult config. Then copy the setting from your old config file into the appropriate areas of the new config. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  7. Offline

    Rodriguez_

    multihome.listinvites.toothers

    that permission does not seem to be working. or is it just me?
     
  8. Offline

    MadManMarkAu

    Damit, you're right. There was a typo in my plugin. New version, 0.9.1, should fix that.
     
  9. Offline

    Maxis010

    Please tell me there is a type in your OP as well
    Does the multihome.deletehome permission work for both their homes and others and did you mean v0.9.1 in your changelog
     
  10. Offline

    MagicHereos

    Cooldown doesn't work for me=/
    Warmup works pefect, but with config:
    default:
    warmup: 60
    cooldown: 3600
    maxhomes: 1
    groups:
    Default:
    warmup: 60
    cooldown: 3600
    maxhomes: 1
    Cooldown's still 0 =/
     
  11. Offline

    MadManMarkAu

    I messed up. It was still using some old, buggy cooldown code. I replaced it with the nice, clean, shiny new cooldown manager. It should work now.

    That was a typo. It was supposed to be "deletehome" and "deleteothershome". Fixed now.

    EDIT: Actually, Maxis, I'm planning on making this plugin able to be accessed from other plugins using a standardized API. This might work well with your (planned?) PHP user management plugin :)
     
  12. Offline

    Maxis010

    Thanks for clearing that up, now I can update without worrying about home deletion

    MCM is in development so there is no release, it's pure PHP so don't worry about the API to much (unless others really want it), MCM reads and writes various configuration files so shouldn't be to hard to add in the MultiHome warmup, Colldown and Home limits
    Gives me a few more ideas for hooks since I'm going to be needing MultiWorld support
     
  13. Offline

    xGhOsTkiLLeRx

    Hey,

    I guess I've found a "mysterious" bug...
    When you are, for example, in world 1. But your default home is in world 2 & you use /home
    The sleeping in beds doesn't work anymore in world 2.

    I'm not sure, but I think it's your plugin...

    Greetings
     
  14. Offline

    Maxis010

    2 spelling mistakes, Default is misspelt in defaultHomeSetMessage and homeDeletedMessage has the dynamic entry {name} but it needs the entry {home}

    Users of MultiHome, go forth and fix it, MadManMarkAu can you patch this in the next release
     
  15. Offline

    MadManMarkAu

    Roger that, I'm on it.

    Edit: He's right. In the entry "homeDeleteMessage" in settings.yml, {NAME} is synonymous with {HOME}. This was a mistake on my part. I'll make this entry use both {NAME} and {HOME} as the home title in future releases.
     
  16. Offline

    Sweet_Mafia

    This is a warp plugin, instead of /warp its /home lol. But will use.
     
  17. Offline

    MadManMarkAu

    Close, except the warps are private unless the user shares them :)
     
  18. erm, /mlisthomes seems to be broken - gives no output - also not for admins so it shouldnt be a permissions problem.
     
  19. Offline

    AmazingHayman

    Is there a feature to give permission group a specific maximum of homes?
    For example the group "Admins" can set 7 homes, the group "User" can set 3 homes ...

    Is it possible to do that?
     
  20. Offline

    Maxis010

    Bottom of the config file where you define the default and groups, just add all your groups and set their respective max homes
    UNCONFIRMED: Home limit also counts your default home so if you set maxhomes to 1 you can only have 1 named or your default
    Do NOT take my word for this, wait for MadManMarkAu to confirm or deny
     
  21. Offline

    MadManMarkAu

    The deafult home is treated as any other home, just without a name. The default home does count towards the max homes limit. :)

    Works fine here. Did you follow the upgrade instructions and regenerate your config file?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  22. Offline

    Jdbye

    Essentials is overriding /home and /sethome for some reason, it didn't do that in MultipleHomes, but that plugin doesn't work properly. Even if I completely disable /home and /sethome in Essentials using disabled-commands, it still doesn't make MultiHome work.
     
  23. Offline

    MadManMarkAu

    I've run into this before. The MultiHomes_m version prefixes all commands with "m", making "home" become "mhome". I'll take a look at MultipleHomes and see how that plugin handles this situation. There might be something to learn from it. :)

    EDIT: Ah, I looked at the MultipleHomes plugin. It seems this plugin was using the old 617 version of executing commands. This will no longer work on 740. However, MultipleHomes would still have suffered from Essentials taking over commands.

    I see so many developers disappointed with Essentials and it's poor compatibility...
     
  24. Offline

    Jdbye

    I worked around the issue by using the _m version, and using CommandHelper to add aliases for all the commands like so (in config.txt):
    [$] are optional arguments and $ are non-optional.
     
  25. Offline

    Yetanotherx

    Hey, I used this plugin, and it looks great! I've got a major issue though. I've got a 1.6MB homes database from SpawnControl. I made a homes.txt file with a simple SQL query, and it works great for about 5 minutes. After that, however, the home file is overwritten and all the homes are lost.

    1. Is this a known bug?
    2. Would it be possible to import directly from SpawnControl? It's almost exactly like MyHome. The only difference is that yaw is "r" and pitch is "p" in the database.
     
  26. Offline

    Hydrosis

    I'm confused on how I should configure the permissions in the config. Say I had the groups Admins, 10homes, 5homes, and default. How would I set the config so that Admins have unlimited, 10homes have 10 homes, 5homes have 5, and default have 3. I tried doing it before, but I got this error:
    Code:
    [SEVERE] Could not load 'plugins\MultiHome_m.jar' in folder 'plugins':
    while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 63, column 20:
                maxhomes: 3
                           ^
    
     
  27. Offline

    MadManMarkAu

    Make sure you use spaces in the YML file, not tab characters. Tab characters break YML files.
     
  28. Offline

    Hydrosis

    Code:
    # When editing this file for the first time, please duplicate the groups.default section
    #  for each of your defined Permissions groups.
    
    
    default:
            warmup: 0
            cooldown: 0
            maxhomes: -1
        groups:
            default:
                warmup: 0
                cooldown: 0
                maxhomes: -1
    I don't understand where to add the groups. I didn't use tabs :)
     
  29. Offline

    MadManMarkAu

    Try this:

    Code:
    default:
            warmup: 0
            cooldown: 0
            maxhomes: -1
        groups:
            group1:
                warmup: 0
                cooldown: 0
                maxhomes: -1
            group2:
                warmup: 0
                cooldown: 0
                maxhomes: -1
            group3:
                warmup: 0
                cooldown: 0
                maxhomes: -1
    
    replace "group1", "group2" and "group3" with your group names and set the option accordingly.
     
  30. Offline

    Hydrosis

    Oh ok. That explains everything better. Thanks ^_^
     
  31. Offline

    spunkiie

    I have a 300+ server, and warmup is taking WAY more than configured.

    Can you make the plugin use a separated thread for it or something ?
     

Share This Page