[Script] kanaFurniture & decorateHelp - Buy and place furniture, then reposition it (and items, too)

[github.com]

[github.com]

Description

Usage

Configuration

kanaFurniture

For Other Scripts

kanaFurniture

decorateHelp

Known Isssues

Requires...kanaFurniture adds the ability to buy and place furniture in the world and, with the aid decorateHelp, position and rotate the items to get them just so. The list of implemented furniture is by no means exhaustive, though it's easy to add new entries or edit the prices of the existing ones.For kanaFurniture, use the command (either /furniture, or /furn) to open the script's GUI. For decorateHelp, use the command (either /decorator, /decorate, or /dh) to open the script's GUI. Simples. For decorateHelp, your currently selected object is set to the last item you dropped in the current cell, the last piece of furniture you placed, or the piece of placed furniture you selected using the furniture menu's View section.(Default: false) - If set to true, the player must be given permission via one of the script's methods in order to place furniture in the cell they're in.(Default: 0.75) - Used to modify how much furniture is worth when selling them back.- Add items to the list of furniture. See the list of furniture in the script to see how the information should be formatted. Changes to the list aren't saved, so have to be added every time the server is launched.- Used to give a player permission to place furniture in the given cell if whitelist is true. "all" may be used as a player name to allow everyone.- Used to revoke a player's permission to place furniture in the given cell if whitelist is true.- Remove all permissions for the given cell.- Remove all furniture pieces placed by the given player in the given cell. If returnToOwner is true, the furniture will be returned to their furniture inventory, otherwise they're simply deleted.- Remove all furniture pieces placed by any player in the given cell. If returnToOwner is true, the furniture will be returned to the owner's furniture inventory, otherwise they're simply deleted.- Changes the ownership of a placed furniture piece (refIndex) in the given cell from the named current owner (playerCurrentName) to the new owner (playerToName). If you're doing this through a loop, don't set save to true and save the WorldInstance after the loop, otherwise set save to true. playerCurrentName can be nil/false, if so the owner will be changed to the new owner (playerToName) regardless of who originally owned it.- As with TransferOwnership, but applied to all current owner's items in the given cell.- Sets the player's (pid) selected object to the provided object (refIndex)Not a known issure per se, but it's worth noting that I haven't tried spawning all the furniture items on the list, so there may be some with borked refIds. If you happen to run into one, tell the server operator what you were trying to spawn and what cell you were in so they can delete the broken entry from the cell's file, and also inform me so I can correct the mistake :P