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
so everything works fine but if i want to give my friends more than 1 home and they try to make another home it said they dont have permission while i did the ./setmax group name 3 and i changed in the config to free: 3 any help?
Probably one of the best standalones Homes plugin but...lack of configurations I'd guess.
So I have to learn java and how to compile to get this plugin to my own looking, arf.
so it's been quite a while since I ran a Minecraft server I use plugins similar to this in the past and I want to block people from being able to set homes in the end, the nether and since I'm running a Pixelmon server Ultra space dimension can anyone help me I use the command like this /blacklist add Pixelmon world/DIM-1 and it says I must specify the world name
Is there a way that when I type /home it gives me a list of the homes i have before I execute the command so I don't have to do /homes first?
https://ibb.co/FHyxt3w
In the picture ^ it would list the homes there instead of the player names.
I'm running a server as OP but anyone that doesn't have OP is having issues setting more than one home. The home max for all groups is 10 but the other users are having issues setting up 2. It says they dont have permission to set more than one home.
How do I fix this?
In reply to elizabeatz:
Get luck perms
In reply to elizabeatz: yes I have the same problem
Greetings. I was wondering if there's a way to access a sethome history?
Hello, I did everything, but still no children
Maybe someone can help
TIL your first home you set using the /sethome command makes your compass point there indefinitely. I was hoping I could navigate the caves from spawn to find slimes using the compass to pinpoint the exact spawn chunk. Can't find the spawn chunk now. The /delhome command does not make a difference. I'm not the serverhost for our group server, so I'm pretty SOL on finding the spawn chunk unless a patch can be rolled out.
Edit: This is a -very- useful mod though, so thanks to the devs for their hard work!
Hi!
Me and my friends on my minecraft server can set unlimited homes nevertheless i set the max home to 3. Can someone help me ? I dont want to have unlimited homes.
In reply to terorista101:
I am late, though that happens because you are all probably operators of your server
Hey!
Me and some friends made a server. We were trying to figure out how to set up the named homes and we got it working. After we changed the world and opened the server to all our friends, it stopped granting me access to the command. Everyone else can set multiple homes but I can only set 1 default home.
When I try to set a named home it says: ''An internal error has occured while attempting to perform this command''
This same error shows when I do /homes, but it does show my Default:home when i type that command.
I have tried adding myself to both admin and default group but none of it fixes the problem
Could you please help on how to fix this problem,
Thank you!
__________________________________________________
This is the Error message in the console if that helps:
___________________________________________________
In reply to Maylaee:
Here is a screenshot of the console after my friend set a home and after i tried to sat a home
Hey. Idk how to give people the permission to use the sethome command. Can someone help me?
Hi !
I'm pretty new to plugins. So I've installed your plugin with LuckPerm and when I'm typing /sethome it says to me "unknown command" can you help me please ?
(I'm on Mohist)
Have a nice day
Kinda nice, I like the overview. Good combination with EssentialsX :)
Hello! We are having issues with setting a maximum number of houses. The config file reflects the limit we set and we get a message in-game confirming the limit too. But "max homes: 0" appears in the console right after and the limit doesn't work. I'm wondering if this is a 1.18 issue?
Thank you!
I believe that the plugin only allows one person to go to their home at once? Since whenever someone tries to go to their home while many others are playing, it says they are already teleporting. Can you help me fix this issue?
I would like to create a house to which all players from the server will be able to teleport, e.g. home shop. How can this be done ?