Set Homes
PLEASE READ!!!
This plugin will no longer be updated. We have released a new an improved version called, Set Homes Two. All future updates will be applied there, however this plugin will not be removed from the projects page so feel free to use it in it's current state as it is stable.
SetHomes
A simple homes plugin with the ability to create, delete, and teleport to many different homes. Have the ability to control a blacklist of worlds in which players will be restricted from setting homes. Using the config you can control setting such as a maximum number of homes, teleport cooldown, teleport delay, and their respective messages that get displayed to the user.
Installation
Simply place the downloaded jar into your server plugins folder.
NOTE! For "MAX HOMES" to work you must meet one of the soft dependencies below, and setup groups for the respective permissions plugin. You will then also need to setup max-homes in the config.yml. An example max-homes setup can be found below the default config
Soft Dependencies
Only choose one option below
- LuckPerms permission plugin
- Vault plugin, as well as, a permissions plugin supported by Vault
Commands
- /sethome [HomeName] [HomeDescription] - This command will allow the issuer to set a home with a given name and description of their choosing at your standing location. If no name and description are given then you will set a default home at your standing location.
- /home [HomeName] - This command will teleport the user to the given "HomeName". If no home name is given then the user is teleported to their default home that was set by /sethome
- /home-of [PlayerName] [HomeName] - This command will allow players with the "homes.home-of" permission to teleport to any players set home. If no home name is provided it will assume the default home as the desired destination.
- /delhome [HomeName] - This command will delete the home at the given home name. If no home name is given then it will attempt to remove the default home.
- /delhome-of [PlayerName] [HomeName] - This command will allow players with the "homes.delhome-of" permission to delete any players set home. If no home name is given it will assume the default home as the home desired for deletion.
- /uhome <HomeName> <HomeDescription> - This command will allow players with the "homes.uhome" permission to update any of there already set homes. If no description is given, and there was one previously set before it will reuse the old one.
- /uhome-of <PlayerName> <HomeName> - This command will allow players with the "homes.uhome-of" permission to update a home for any player. If no home name is supplied then it will update the supplied players default home.
- /homes [PlayerName] - This command will list all of the players currently set homes if there are any. Players with the "home.gethomes" permission can use the extra PlayerName parameter to list the homes of a specific player.
- /blacklist [Add/Remove] [WorldName] - This command is used to both add and remove worlds to/from the blacklist. If passed no other arguments it will list all worlds currently blacklisted.
- /setmax <GroupName> <Amount> - This command will allow players with the "homes.setmax" permission to set a maximum number of allowed homes for a specific permission group. For example if you wanted to only allow the default permission group 4 homes you execute the command, "/setmax default 4".
- /strike - Have fun admins.
Permissions
- homes.* - A player given this permission will be allowed all commands under the Set Homes plugin
- homes.home - A player with this permission is allowed to teleport to named homes
- homes.sethome - A player with this permission is allowed to set named homes
- homes.strike - Give the power to others!
- homes.blacklist_list - A player given this permission will be able to list worlds in the blacklist
- homes.blacklist_add - A player given this permission will be able to add worlds to the blacklist
- homes.blacklist_remove - A player given this permission will be able to remove worlds from the blacklist
- homes.config_bypass - A player given this permission can set homes in blacklisted worlds, and doesn't have to wait for cooldown or teleport delays. They will also be able to exceed the max home limit.
- homes.gethomes - Give the ability to list any players active homes
- homes.home-of - Give the ability to teleport to one of any players active homes
- homes.delhome-of - Give the ability to delete one of any players active homes
- homes.uhome - Give the ability to update homes
- homes.uhome-of - Give the ability to update other players homes
- homes.setmax - Give the ability to set a maximum number of homes for a permission group
Default Config
# -------------------------- # SetHomes Config # -------------------------- # Messages: # You can use chat colors in messages with this symbol §. # I.E: §b will change any text after it to an aqua blue color. # Color codes may be found here https://www.digminecraft.com/lists/color_list_pc.php # Time: # Any time value is based in seconds. # Things to Note: # Set any integer option to 0 for it to be ignored. # The max-homes does not include the default un-named home. # Use %s as the seconds variable in the cooldown message. max-homes: default: 0 max-homes-msg: §4You have reached the maximum amount of saved homes! tp-delay: 3 tp-cooldown: 0 tp-cancelOnMove: false tp-cancelOnMove-msg: §4Movement detected! Teleporting has been cancelled! tp-cooldown-msg: §4You must wait another %s second(s) before teleporting!
Example Max-Homes setup
max-homes: default: 1 free: 3 subscriber: 5 admin: 0
F.A.Q
- Q: How can I give players permission to set named homes?
A: You will need to install a permissions plugin, either LuckPerms, or Vault & a Vault supported permissions plugin then apply the permission "homes.sethome" to the (player or group) you would like to allow the usage of multiple homes for.
Change Log
- Set Homes Two released: https://dev.bukkit.org/projects/set-homes-two
- Added support for Minecraft/Craftbukkit V1.16.3.
- Added support for LuckPerms permission plugin
- Made LuckPerms default permission plugin, and set Vault as a rollback before disabling all together
- Changed colors, and layout of list homes message to be more readable
- Fixed error, where SetHomes could not load without Vault
- Removed auto-updater functionality because it was not working properly
- Added server log messages for permissions plugin hooking, and no perms plugin found
In reply to xenon767:
Hi,
Yes quite easily actually. Just install a permissions plugin and then give the player/group you want to have the ability to set multiple homes the "homes.sethome" permission. For example using the plugin "PermissionsEX" you can issue the command /pex user <PlayerName> add homes.sethome to give the player that you put in place of the "<PlayerName>" the permission to set multiple homes.
Best Regards,
Xquiset
In reply to Xquiset:
Thanks. That helped a lot.
In reply to xenon767:
Glad I could help.
Best Regards,
Xquiset
Is there a way to make it so you have to be completely stationary for 3 seconds to use the teleport?
In reply to Immortal_Beast16:
Hello,
No not at this time there is nothing like that implemented. It can totally be added but it may take some time as I am working by myself on this.
Best Regards,
Xquiset
In reply to Immortal_Beast16:
Hey there,
This functionality has just been added to version 1.2 of SetHomes. You can control the delay time and if you want the player to be stationary or not.
Best Regards,
Xquiset
I know under files it doesn't list that its made for any version below 1.13 but would it work for 1.7.10?, thanks in advance
In reply to CSilverr:
Hello,
Honestly, I dont know. I have never tested it on anything below 1.13. You're welcome to do so for us, and let us know on here what the outcome was.
Best of Luck,
Xquiset
How would I allow non-OP members to use this command?
In reply to rikko21:
Hello,
You can accomplish this with permissions. If you don't have a permissions plugin installed I would recommend PermissionsEX as that's what I use for testing my plugin.
Best of Luck,
Xquiset
In reply to rikko21:
how do i give permissions to non op players because homes.sethome is not working or i dont know how to use it properly
Hi,
An issue occurred when I tried to set up multiple homes; " an internal error occurred while attempting to perform this command." I an the server creator and admin. What do I do?
Thank you for your time,
Sincerely yours,
Lapoon
In reply to Lapoon:
There is not much I can tell you with the information provided. You would need to provide an excerpt of your server logs at the time this error occurred.
Best of Luck,
Xquiset
Why should I use your plugin instead of EssentialsX?
In reply to Cristichi:
Thats your decision to make, nobody is forcing you to use my plugin. If you want to use my plugin that would be great. If you want to use EssentialsX then use EssentialsX.
In reply to Xquiset:
I mean, is there anything that your plugin does that Essentials doesn't or that your plugin does better in your opinion?
In reply to Cristichi:
I have no knowledge of how EssentialsX operates therefore I cannot provide a reliable answer.
Regards,
Xquiset
Hello
I know I have to use permission for allow non-op player to use command
I use permissionEX
Where do I have to put "homes.sethome" and "homes.home" in the permission folder?
thanks you
In reply to Forge_User_30221158:
I believe the command using PermissionsEX is /pex user <PlayerName> add <permission>
Best of Luck,
Xquiset
Hi!
First, I would like to thank you for this plugin, it's wonderful!
I've got a question about it : How can you manage the rights about the plugin ?
I put it on my server and non-OP's players can't use the commands at all, and i won't promote everyone as Server Operator. How can I fix that ?
I've nothing in logs.
Thanks in advance!
Regards.
PS: My english could be approximative, it's not my mother language