⚠️This mod is in early stage of development, you can use all functions that are listed below, but they may be changed in future. Code quality might be very poor sometimes and it will be improved in future.
/home
command aliases in config.You can use homabric.teleport.bypass
permission to bypass teleport timeout.
To disable limits on homes for players give them homabric.limit.bypass
permission.
homabric.base.use
homabric.base.byName
homabric.base.set
homabric.base.remove
homabric.base.others
homabric.base.list
homabric.base.allow
homabric.base.disallow
homabric.base.setIcon
You can access to admin commands by using /homabric
.
homabric.admin.use
homabric.admin.reload
homabric.admin.teleport
homabric.admin.set
homabric.admin.remove
homabric.admin.list
You can disable these commands in configuration file by setting enableClassicCommands
to false
.
homabric.base.set
homabric.base.remove
homabric.base.others
homabric.base.list
homabric.base.allow
homabric.base.disallow
I developed this mod with simplicity in mind, I decided to store home data inside the configuration file instead of NBT in Entity or World, this allows server owners fast migration between maps without loosing data and editing them which saves a lot of time.
⚠️ Starting from version 2.0.0 the configuration file are now split into two different ones.
This file stores Homabric settings.
# Do not touch this value, it allows mod to
# check if config file is outdated or not.
configVersion=3
# This option enables alternative command variants like /sethome, /removehome and etc.
enableClassicCommands=true
# Sets the maximum amount of homes per player.
homesLimit=21
# You can define permissions that will override home limit for the players if they have them.
# Permission names are transformed to permissions like 'homabric.homelimit.<permissionName>'
# Example permission: vip: { max-homes=6 }
permissionsHomeLimit {}
# Sets the timeout in seconds before player will be teleported home.
# You can disable this feature by setting it to 0.
teleportCooldown=5
This file contains all homes that are created by players.
players {
# Player nickname (not a DisplayName)
ExamplePlayer {
# List of player homes
homes {
# Name of the home
"village" {
# Players that can access this home
allowed-players=[]
# Icon must be an identifier, for example 'minecraft:cobblestone'
icon="minecraft:map"
# World where home is located
world="minecraft:overworld"
# Coordinates, including head position
pitch=7.15
x=160.66
y=72.0
yaw=-51.45
z=-76.45
}
# Example of home with allowed player 'Rogi27'
home {
allowed-players=[
Rogi27
]
icon="minecraft:iron_shovel"
pitch=8.25
world="minecraft:overworld"
x=1337.3
y=172.0
yaw=123.1
z=276.45
}
}
}
}
Due to breaking changes in 2.0.0 you are required to manually edit your config file and move players
section from original config to new one called homabric.homes.conf
.