Copy Paste

Copy and paste your buildings to save them or move them

Total Downloads: 21,542 - First Release: Apr 3, 2015 - Last Update: Jun 14, 2018

5/5, 83 likes
  1. Is there a way to úpload a building & paste it after wipe?
     
  2. we need an /undo command.... not the "/pasteback"
     
  3. is there anyway to give say.. an events manager the permission to paste bases?
     
  4. is there a possibility of saving a base u copied?
     
  5. Heyooo! I've been reading through all of the questions in here and a few questions are still left unanswered.
    I want to create kits for a user group, that's gonna be set @ authlevel 0, yet bound to only that group.
    My questions:
    - Is there a way to make this plugin use oxide's permission system instead of authelevel? (tying it to a group)
    - Is there a way to limit this enabled function to only 1 use / wipe? (also tied to specific group with authlevel 0)

    Hmm.. feels like there was something more... oh well it'll come back to me.

    BTW, this is truly one of the greatest plugins I've seen in my vast experience of 4 days as a server owner!
    Its time-saving capabilities are humongous! But you already know this. :)

    Thanks!
     
  6. Any chance at an /undo option instead of having to destroy it by hand?
     
  7. What is the permission command copu-paste plugin?
     
  8. UPDATE PLEASE!

    [Oxide] 4:48 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'CopyPaste v2.2.15' (ArgumentException: An element with the same key already exists in the dictionary.)
     
  9. /placeback does not work.

    After wipe it flipped my buildings almost a perfect 90 degrees left from point of copy.
     
  10. [Error] Failed to call hook 'OnServerInitialized' on plugin 'CopyPaste v2.2.15' (ArgumentException: An element with the same key already exists in the dictionary.)

    Same here pls help
     
  11. if i made a vault for a Vip using copy/paste that they could use once per wipe how would i be able to set that up so that they can even paste it and only once per wipe could anyone help me with this?
     
  12. Since update, old and new copy pastes don't work and throw errors:

    [2/18/2016 9:35:41 PM] [Oxide] 9:35 PM [Error] Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v2.2.14' (StackOverflowException: The requested operation caused a stack overflow.)

    and

    at BuildingBlock.ChangeSkin () [0x00000] in <filename unknown>:0
    at BuildingBlock.UpdateSkin (Boolean force) [0x00000] in <filename unknown>:0
    at BuildingBlock.RefreshNeighbours () [0x00000] in <filename unknown>:0
    at BuildingBlock.ChangeSkin (System.String prefab) [0x00000] in <filename unknown>:0
    at BuildingBlock.ChangeSkin () [0x00000] in <filename unknown>:0
    at BuildingBlock.UpdateSkin (Boolean force) [0x00000] in <filename unknown>:0
    at BuildingBlock.RefreshNeighbours () [0x00000] in <filename unknown>:0
    at BuildingBlock.ChangeSkin (System.String prefab) [0x00000] in <filename unknown>:0
    at BuildingBlock.ChangeSkin () [0x00000] in <filename unknown>:0
     
  13. Im getting a bug after this last update.

    When i try to paste a building it looks like this:

    "[Oxide] 10:41 PM [Error] Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v2.2.15' (StackOverflowException: The requested operation caused a stack overflow.)
    [Oxide] 10:41 PM [Debug] at BuildingBlock.ChangeSkin (System.String prefab) [0x00000] in <filename unknown>:0
    at BuildingBlock.ChangeSkin () [0x00000] in <filename unknown>:0
    "
    and then hundreds of filename unknown.

    Is this because of a needed update or error from my side?
    It has worked for 3 wipes before (although additions to the house so its not the same).
    Have tried the previous versions but they throw the same error, basically i get one foundation and a wall beside it before it stops.

    Thanks for an awesome plugin!
     
  14. I have a fix....

    Find this section in the code

    BuildingBlock SpawnStructure(GameObject prefab, Vector3 pos, Quaternion angles, BuildingGrade.Enum grade)
    {
    BuildingBlock block = prefab.GetComponent<BuildingBlock>();
    if (block == null) return null;
    block.transform.position = pos;
    block.transform.rotation = angles;
    block.gameObject.SetActive(true);
    block.blockDefinition = PrefabAttribute.server.Find<Construction>(block.prefabID);
    block.Spawn(true);
    block.SetGrade(grade);
    block.health = block.MaxHealth();
    return block;
    }

    and move: block.SetGrade(grade); to be above block.Spawn(true);

    so it becomes

    BuildingBlock SpawnStructure(GameObject prefab, Vector3 pos, Quaternion angles, BuildingGrade.Enum grade)
    {
    BuildingBlock block = prefab.GetComponent<BuildingBlock>();
    if (block == null) return null;
    block.transform.position = pos;
    block.transform.rotation = angles;
    block.gameObject.SetActive(true);
    block.blockDefinition = PrefabAttribute.server.Find<Construction>(block.prefabID);
    block.SetGrade(grade);
    block.Spawn(true);
    block.health = block.MaxHealth();
    return block;
    }
     
  15. Its throwing some plugin error on reload on server but it works to paste again!

    Thank you very much Cheeze!
     
  16. Not working since update

    Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v2.2.15' (StackOverflowException: The requested operation caused a stack overflow.)
     
  17. You read 2 posts up before posting?
     
  18. Thanks it s working ^^