Hello. I have your plugin working well via /copy and /paste in the chat, so the data file is good and the functionality is good.
I'm trying to paste now via API in my plugin, and it's not returning a string (so good?) but there is no base pasted either.
Below is my code. Thanks in advance!
private bool MakeRandomBase(BasePlayer _player)
{
string filename = $"copypaste/2x1bare.json";
// string filename = "2x1bare.json";
var options = new List<string>{ "blockcollision", "true" };
// var result = CopyPaste.Call("TryPasteFromVector3", _player.transform.position, 0, filename, options);
var result = CopyPaste.Call("TryPasteFromSteamId", _player.userID, filename, options);
if(result is string) {
Puts("--result: " + result.ToString());
return false;
}
Puts("--base made");
return true;
}


