The MultiHome mod provides a simplistic API allowing creation, deletion, access, and listing of homes as documented below. Note: Unless otherwise mentioned, the function documented below return values suitable so as to allow directly returning from chatcommand definitions so as to print to chat (returns two values, success and message).
multihome.set(player, name)
player
: PlayerRefname
: Home namemultihome.remove(player, name)
player
: PlayerRefname
: Home namemultihome.get(player, name)
nil
player
: PlayerRefname
: Home namemultihome.get_default(player)
player
: PlayerRefmultihome.list(player)
player
: PlayerRefmultihome.go(player, name)
player
: PlayerRefname
: Home name