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

    Maxis010

    Just having inheritance support doesn't mean much for me as with my current set-up there is no inheritance and I'm sure there will be others in the same boat, I add and remove groups as needed and each group has their own permissions as (for the most part) they aren't designed to work as stand-alone groups
    Right now because of what I need I have 3 groups assigned to my account. I've altered my users file in permissions so the last group is the admin group which MultiHome is treating as priority AFAIK, this is time consuming as if I remove a group and re-add it later (which is likely to happen) then I once again have to reset my permissions to ensure Admin takes priority

    My suggestion works around that by managing the group priority specific to MultiHome, I don't see how it can get nasty as it's down to server admins to set-up their servers, if they need help they ask for it
     
  3. Offline

    Sleaker

    Imo this is something that Permissions needs to implement - A way to weight a group so it takes presedence for conflicting info nodes/pulling a proper group.

    t3hk0d3 is adding Group Weighting to PEX so I don't see any reason to include this feature inherently, MadMan may have different ideas though.
     
  4. Offline

    Maxis010

    So rather than provide support you are telling me to switch to PEX, suppose I'll just stick to reordering my groups then as I'm not trying to be a fanboy but right now Permissions works, it has worked since I installed it and I see no reason to change for the sake of 1 feature no matter how easy said conversion may be
     
  5. Offline

    Sleaker

    @Maxis010 - this issue isn't just unique to MultiHome. there are a myriad of other plugins that need this support, that's why I'd suggest putting a feature request/hounding the Permissions dev to put this feature in. Since all Permissions systems went to Multi-Group plugins that are based on single group permissions have suffered, there is no way via the API to pull a 'top' group other than if the server sets up proper heirarchies.
    From a Developer standpoint this is something that needs to be re-added back into permissions, not attempted to be fixed on the plugin side in every single plugin that is developed. I know it sucks while the feature is not there, but it just means that you continue to use it the way you already have been until the support is there.
     
  6. Offline

    Maxis010

    OK, now I see your point, first read of your post boiled down to PEX can do it and that is good enough for me
    Off to Bitch at the Permissions team
     
  7. Offline

    Homegamer

    I have a Problem with MultiHome:
    I just put the .jar file in the Plugins-folder and started the Server. But then I got a Error.

    Here's the Log:
    Code:
    2011-07-06 20:31:55 [INFO] Starting minecraft server version Beta 1.7.2
    2011-07-06 20:31:55 [INFO] Loading properties
    2011-07-06 20:31:55 [INFO] Starting Minecraft server on *:21
    2011-07-06 20:31:55 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    2011-07-06 20:31:55 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-06 20:31:55 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    2011-07-06 20:31:55 [INFO] Preparing level "world"
    2011-07-06 20:31:55 [INFO] Preparing start region for level 0 (Seed: 3765776846607122578)
    2011-07-06 20:31:56 [INFO] Preparing start region for level 1 (Seed: 1143374820265285966)
    2011-07-06 20:31:56 [INFO] Plugin Essentials Version 2.4.1 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    2011-07-06 20:31:56 [INFO] Plugin EssentialsSpawn Version 2.4.1 geladen, erstellt von Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology, übersetzt von snowleo
    2011-07-06 20:31:56 [SEVERE] Error occurred while enabling MultiHome v0.9.6 (Is it up to date?): null
    java.lang.NullPointerException
        at net.madmanmarkau.MultiHome.MultiHomeEconManager.initialize(MultiHomeEconManager.java:20)
        at net.madmanmarkau.MultiHome.MultiHome.onEnable(MultiHome.java:51)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 20:31:56 [INFO] [Regios] - v3.5_4.0 - Permissions support enabled
    2011-07-06 20:31:57 [INFO] [Regios] - v3.5_4.0 - Initialising SQL tables...
    2011-07-06 20:31:57 [INFO] [Regios] - v3.5_4.0 - [0] Regions loaded from database
    2011-07-06 20:31:57 [INFO] [AU][Regios] You are running the latest version of Regios.
    2011-07-06 20:31:57 [INFO] [Regios] Loaded world configuration and protection for 2 worlds successfully!
    2011-07-06 20:31:57 [INFO] WorldEdit 4.6 enabled.
    2011-07-06 20:31:57 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 20:31:57 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world) Single session is enforced.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-07-06 20:31:57 [INFO] WorldGuard: (world_nether) Single session is enforced.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    2011-07-06 20:31:57 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    2011-07-06 20:31:57 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-07-06 20:31:57 [INFO] WorldGuard 5.2.2 enabled.
    2011-07-06 20:31:57 [INFO] Done (0,206s)! For help, type "help" or "?"
    How can I fix it ?
    There should be everything in the Log you need to know...
     
  8. Offline

    axlsjolund

    I get the same issue. Just installed the plugin for the first time. Any ideas? Running latest bukkit stable.
     
  9. Offline

    Paradoxreality

    I've been on Hydrocity gaming, and there was one plugin that seemed quite simple and interseting, it used the command "/msethome" and "/mhome" for setting and teleportation respectively, I've been searching for it but I don't know what it's called, can anyone help me?
     
  10. Offline

    Maxis010

     
  11. Offline

    Paradoxreality

    Thanks, but something seems to be wrong. When I type in /plugins, it shows up as red.
     
  12. Offline

    MadManMarkAu

    Are there any errors on your console when starting/restarting the server? What other plugins are you using?
     
  13. Offline

    tha d0ctor

    Some problems since the new update:

    edit: nevermind i should have been using /mhome etc...

    -whenever I set a new home it says it works correctly but when I try to /home to it it goes to the most recent how I set, not the correct one that I wrote out
    - /listhomes doesn't show homes you just created
    - you have to type your own name (i.e. /home thad0ctor home1) to warp to your own homes,w hen you should only need to use /home home1 to access personal homes
     
  14. Offline

    Godwar101

    I got this error:
    Code:
    Error occurred while enabling MultiHome v0.9.7 (Is it up to date?): net.madmanmarkau.MultiHome.Settings.isEconomyEnabled()Z
    java.lang.NoSuchMethodError: net.madmanmarkau.MultiHome.Settings.isEconomyEnabled()Z
        at net.madmanmarkau.MultiHome.MultiHomeEconManager.initialize(MultiHomeEconManager.java:20)
        at net.madmanmarkau.MultiHome.MultiHome.onEnable(MultiHome.java:51)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-07 16:02:48 [SEVERE] Error occurred while enabling MultiHome v0.9.3 (Is it up to date?): net.madmanmarkau.MultiHome.Settings.isEconomyEnabled()Z
    java.lang.NoSuchMethodError: net.madmanmarkau.MultiHome.Settings.isEconomyEnabled()Z
        at net.madmanmarkau.MultiHome.MultiHomeEconManager.initialize(MultiHomeEconManager.java:20)
        at net.madmanmarkau.MultiHome.MultiHome.onEnable(MultiHome.java:51)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Please help me !
     
  15. Offline

    MadManMarkAu

    O...kay. Umm, I have no idea. That method exists, it's in my plugin. Something is VERY screwy on your system. Try downloading the plugin again, maybe the one you have is corrupt.

    Just checked online. Make sure you're using the latest version of Java. What is your "java -version" output?
     
  16. Offline

    Jobsti

    Hi @MadManMarkAu

    how I can go to the default user-homes with "/home <player>:<name>"?
    Nothing works:
    Code:
    /home user:[Default] /home user:Default /home user:user /home user:
    Only works, if the home has a name.

    Version 0.9.6
     
  17. Offline

    MadManMarkAu

    Just tested it. "/home user:" works. Make sure you have the correct permissions, though.
     
  18. Offline

    Jobsti

    wtf.... server restart, now it works?! Ok perfect ;) (I've got admin perms)
     
  19. Offline

    tha d0ctor

    I have all my permissions set and yet no one has access, how come this is happening? only mods and admins can use it

    using /mhome or /msethome

    they can list homes fine though? o_0
     
  20. Offline

    Godwar101

    Problem fixed! :D
     
  21. Offline

    Paradoxreality

    I think it's because I don't have permissions, are they necessary? Even if they are, I don't need them at the moment for I play on a small server (3 people in total) so it's alright, thanks though

    PS, I am using the creative gates, Voxel plugins, falsebook, craftipedia, worldedit and a few more
     
  22. Offline

    MadManMarkAu

    Permissions are completely necesary, this plugin won't work without them. If you're on a small server, install Permissions, PermissionsEx or GroupManager and set a "*" permission on the default group. It'll give everyone permission to do everything.
     
  23. Offline

    bar7737

    The new update will not work on my server, I set the new permission nodes and users can not use /home. However, when I put the mhome version on,everything works just fine, so I'm confident that my permission nodes are set properly. Any info on this? I've always used the standard /home version and would like to keep using it.
     
  24. Offline

    MadManMarkAu

    Are you using Essentials and/or EssentialsHome? Any other home-like plugins? If the mhome version works, then something else is using the /home command.
     
  25. Offline

    tha d0ctor

    I am using essentials but this problem includes problems with /mhome and /msethome, should i delete /home from the essentials plugin.yml file ?
     
  26. Offline

    MadManMarkAu

    That is a fix, yes, but it's dodgy. Essentials causes problems for many plugin developers.

    I'm working on a way to forcibly disable the Essentials /home command in code without needing to edit plugin.yml.

    EDIT: Let me rephrase. I'm waiting on Bukkit to provide a method of command overloading or disabling. Currently there is no way of disabling a command in another plugin without disabling the entire plugin itself.

    EDIT2: The Essentials help channel has helped me. They say:

    1) Make sure the /home and /sethome commands are not in the "override" section of your Essentials config.
    2) Essentials is supposed to give other plugins priority.
    3) You can disable some Essentials commands in the Essentials config. Try disabling /home and /sethome.
     
  27. Offline

    bar7737

    Ah, your so right. I completely forgot that I originally modified the plugins.yml in my Essentials.jar and removed the /home /sethome commands from Essentials. I did an Essentials update last night.

    Everything is running smooth now, except, I can seem to get the /listhomes command to work...........
     
  28. Offline

    MadManMarkAu

    How so? What happens when you type the command? Any errors on the console when your server starts or when you try the command?
     
  29. Offline

    bar7737

    As of now, /home and /sethome are working fine since I removed them from essentials. But /home <name> /sethome <name> and /listhomes are no longer working. I get a permission not granted error in the console, but I have the new permission nodes put in.

    Resident:
    default: false
    info:
    prefix: '&5[Resident]&f'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'multihome.namedhome.go'
    - 'multihome.namedhome.set'
    - 'multihome.namedhome.delete'
    - 'multihome.namedhome.list'
    - 'multihome.homeondeath'
    - 'essentials.tpahere'
    - 'essentials.powertool'
    - 'essentials.world'

    Maybe I just need to play with it a bit.
     
  30. Offline

    MadManMarkAu

    Okay, this is hella wierd. According to your permissions, the "/home" command should NOT work, while the "/home <name>" command SHOULD. But, it appears it's backwards for you... Can you confirm this is correct?
     
  31. Offline

    bar7737

    Well thats only looking wierd b/c I didn't show the inheritance from default, which has /home and /sethome. I'm going to start back from square one :) and see what I comeup with.

    Well, it seems my own stupidity was the problem. For some ungoldy reason, I must have deleted my MOD's inheritance from Resident. So even though I had the new nodes listed in Resident, the mods weren't receiving the inheritance.

    So I can say, with the removal of /home and /sethome from the essentials.jar, this plugin is 100% up and running for me!

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

Share This Page