Revision Difference
CopyPaste#562911
<cat>Dev.Cinematic</cat>⤶
<title>CopyPaste</title>⤶
⤶
CopyPaste is an admin tool that saves a list of entities and can spawn them back into the world.⤶
⤶
# Copy⤶
⤶
You can copy entities in a box, radius or building to your clipboard.⤶
⤶
## Bounding Box⤶
⤶
# Paste⤶
⤶
Once you have something in your clipboard (after copying from world or loading from disk) you can paste it into the world.⤶
⤶
Use `paste` to place a copy of the clipboard centered on your player. By default this will try to place on the terrain, you can toggle `paste_autosnap` to control this.⤶
⤶
If you want to paste something directly from disk without loading it first, you can use `paste NAME`. **Note:** this won't replace your current clipboard.⤶
⤶
## Undo⤶
⤶
If you are unhappy with the way it was placed, you can use the `undopaste` command to delete the last thing you pasted in.⤶
⤶
# Save⤶
⤶
If you want to persist a clipboard of entities across server restarts, you can give it a name and save it to disk via the command `savepaste <name>`. It will be saved in the directory `server/{Identity}/copypaste`.⤶
⤶
# Load⤶
⤶
To load a paste from disk to your clipboard use `loadpaste <name>`. Keep in mind this will replace your current clipboard.⤶
⤶
## Download⤶
⤶
You can download pastes from a url with `downloadpaste <url> <name>`. If no name is provided it will use the filename of the URL.