branchrust_reboot/main/primitive/client_copy_pastecancel
11 Commits over 31 Days - 0.01cph!
Fix compile errors due to CLIENT and SERVER
Add commands to copy pastes off server since it now is based on storing on client
- `download_paste {name}` used to download from web, now it downloads from game server
- `list_pastes` to list pastes on client
- `list_pastes_sv` to list pastes on server
Fix error if trying to save a paste to client before the directory was created
merge from main -> client_copy_paste
Convert other commands from serverside -> clientside
- renamepaste
- deletepaste
Add `listpastes` to print list of all pastes in client folder
Switch directory to a constant
Remove old code that was keeping a serverside copy of the clipboard (that was shared between all admins)
Keep "undo" system to delete previous pastes
Add RPC to download paste from server
- locked to admins & devs to prevent servers arbitrary sending pastes to random clients
Copy & Paste should now store pastes competely clientside
Change paste command so it uses uploads paste from the client instead of storing on server