Hoams
A simple /home and /sethome plugin! Now with UUID support for the upcoming 1.8 update!
Attention
If you're looking for a plugin with the exact same functionality, but a lot more features, take a look here!
Commands
User Commands
/home - Takes you to your home
/sethome - Sets your home
/home set - Also sets your home
/home help - Views the home commands (that you are allowed to use)
Admin Commands
/home [playerName] - takes you to a player's home
/sethome [playerName] - sets a player's home
/home set [playerName] - also sets a player's home
Permissions
User Permissions
- hoams.gohome - Allows one to go home
- hoams.sethome - Allows one to set their home
- hoams.respawnhome - Users with this node will respawn at their home (If this option is enabled)
- hoams.set.self - Also allows one to set their home
- hoams.gohome.self - Also allows one to go to their home
- hoams.help - Allows one to view the hoams help (/home help)
Admin Permissions
- hoams.set.other - Allows one to set other people's homes
- hoams.gohome.other - Allows one to go to other people's homes
- hoams.immune - Player is immune to other admins setting their home
- hoams.override - Players with this permission can set the home of players with hoams.immune
- hoams.reload - Allows one to reload the hoams config.yml
Permissions Presets
- hoams.user - Gives all of the abilities listed under User Permissions
- hoams.admin - Gives all of the abilities listed under Admin Permissions (except hoams.override)
- hoams.* - Gives all hoams permissions nodes
Config
This is the default config info:
Use_Sethome: true Go_home_on_death: true Only_print_homes: false
Use_SetHome - If this is true, /sethome, will work. If this is false, /sethome will not work.
Go_home_on_death - If this is true, players will respawn at home after they die. If this is false, players will respawn at the spawn after they die.
Only_print_homes - If this is true, then the plugin will only print the coordinates to the player's home, instead of teleporting them there. However, the plugin will still teleport players to homes that they do not own (hoams.gohome.other).
Source
Source can be found Here.
Notice
If you are going from an older version of hoams to a version that supports uuids, you should back up your config.yml just in case anything bad happens. Nothing bad should happen, and I think the plugin covers it's bases pretty well in the conversion process, but there is no such thing as perfect code. Also, if the plugin tries to convert and it finds a name that it can't find a uuid for, it will just keep the name there. The plugin only tries to update to uuids when it finds names in the config that are not in uuid format. To get hoams to stop trying to do this, you will have to manually remove the entries/replace the names with their uuid equivalents.
Also, you cannot set the homes for offline players. I might add a feature for it in the future, but how is the plugin supposed to know if you've mistyped the player name or not? You may have set an offline player's home, but made a typo, and you'd never know it, and the plugin would never know it either. This possibility of this issue coming up is multiplied greatly with the introduction of the uuid system.
UUID Data Usage
The uuids come from https://api.mojang.com/profiles/minecraft. The ids are used only within the hoams plugin to keep track of user data (homes).
@turkeybird90
Your suggestion has been fulfilled. Probably a bit late, being 3 weeks from then, but it exists now. http://dev.bukkit.org/bukkit-plugins/homes/
@turkeybird90
I appreciate your suggestion, but one of my core philosophies behind hoams is that it neatly handles one home. Pretty much every other homes plugin out there does exactly what you want, with the handling of multiple homes and permission nodes.
Actually, nevermind. Upon looking for an up to date plugin out there that does what you want, I find none. Multiple homes is now on my todo list, but I'll probably build a separate plugin for multiple homes, given that the underlying mechanics differ pretty significantly from a single homes plugin to a multiple homes plugin. I also don't want all the multiple homes functionality to clutter up the otherwise simple hoams plugin, which has the target audience of people who want a simple plug and play plugin that handles a single home.
However, your thought tickles a memory in the back of my mind. I created this this plugin a while back. It does precisely what you want, though it's out of date. I might just update this, though this plugin does so much, it's a bit overwhelming. It'll be a pain to update because the source is a little out of control.
Whatever choice I pick, multiple homes is on my todo list now!
Suggestion:
Support for multiple homes, with different names. Also the nodes would be like:
- hoams.homes.50
Command:
/sethome castle (Would be a secondary home, if they are permitted) /sethome (Would be default home.) /home castle /home (Would take to the default home)
Thanks for reading my comment, I hope you consider this feature. I really need it for my server ;)
great plugin. I only use the /sethome so that players respawn there when they die. I dont use /home. However I would like it if I could set /home to show the cordinates to their home instead of tp them. Is it possible?
Finally, a plugin that just sets home... one home...
@Decay3
That is a good question, which I don't have an answer for. Therefore, you can now go to offline players homes in the latest version (2.1.7 [has yet to be verified]).
Nice plugin! Only two things:
needs more commands. :P
Could you add /Go <home name> /Go set <Home name> /Go List ?
Could you let people set multiple homes? Like my donators? So they could set multiple homes on my semi - vanilla server?
@WizardCM
I am curious how many functions you think a door has. A door functions by opening. A user could enter or exit. That must be two functions. Then again, it really is only one. Tomato, tomato (the first sounding like tom-ay-to, the second one sounding like tom-ah-to). Props to the author for changing the description though.
Anyway, the real purpose for posting is to say that I have tried the latest version and it appears to still work correctly for the CB 1.5.2-R0.1 if this information helps anyone.
I just recently started up my server again, and Ive completely forgotten how to use plugins. If someone could tell me how to install this plugin, that would be great.
@MrZoraman
As we discussed in IRC, it is definitely two, which you listed right there.
If your plugin had only one functionality, it would simply be this
/home - teleport to your bed respawn location
@WizardCM
I'd be frighened if I found a homes plugin out there that truly had one function.
Plugin a) You can set your home, but you can never go to it
Plugin b) You can go to your home... if you're ever able to set it!
The plugin has one functionality :P
Edit: After a very heated (oh so heated) civilized discussion with WizardCM, he's proven me wrong. This plugin truely could have one true functionality, if all it did was teleport a user to his bed location.
BUT THAT IS BORING!
@xX2Poplop2Xx
You're joking right? There's literally two paragraphs explaining that this is purely for homes. For people like me, who don't want to use essentials, it's perfect.
One? I see two there.. :P
Essentials does that L.o.L
I cant change the permissions from an op to use it help me please.
Simple, effective, most certainly using this.