Jump to content
DehDeh

Posted

Hello, i don't understand how to find the ID of a base and insert on the config

Scalbox

Posted

Hi

the plugin allows you to generate entities or execute commands.

Just create a new item in your configuration file, and have it execute the command to paste the base.

You can use the CopyPaste plugin.

Here is an example of a configuration for spawning a base

{
  "Enabled": true,
  "DisplayName": "Spawn Home 1",
  "Description": "Spawn Home 1",
  "Item name (That will be used to spawn the entity. Default grenade.flashbang)": "grenade.flashbang",
  "Spawn PrefabName": "",
  "SkinID": 3419609271,
  "Entity Type. Default Rust": "Custom",
  "Can Pick Up Entity. Default false": false,
  "Spawn Offset Y": 0.0,
  "Spawn Rotate Y": 0.0,
  "Custom Radius Check": 0.0,
  "Execute Commands": [
    "chat.say \"/paste <BASE NAME> auth true autoheight true position %%spawnCoordinateX%%,%%spawnCoordinateY%%,%%spawnCoordinateZ%%\""
  ],
  "Execute Commands As Admin": true,
  "Spawn Cooldown (seconds)": 0,
  "Requires Building Privilege to Spawn Entity. (Default: TRUE)": false,
  "Minimum spawn distance from any Tool Cupboard (TC). [0 = Disabled] (Default: 0)": 100,
  "Allow Spawn in Monuments. (Default: FALSE)": false,
  "Disable Spawn in Monuments and Monuments radius. (Default: FALSE)": false,
  "Disable Spawn On Road/Rails. (Default: FALSE)": true,
  "Minimum spawn distance from Road/Rails. (Default: 0)": 20,
  "Spawn Only Outside": true,
  "Dont Spawn In Water": false,
  "Requires Water": false,
  "Minimum Water Depth": 0.0,
  "Armored": false,
  "Unlimited Fuel": false,
  "Fuel Amount": 0
}

 

I created a new skin with the house design, you can also find them on steam, and when the item is throw the base will be pasted by running this command

"Execute Commands": [
  "chat.say \"/paste <BASE NAME> auth true autoheight true position %%spawnCoordinateX%%,%%spawnCoordinateY%%,%%spawnCoordinateZ%%\""
],

 

for skin

You can search for them here

https://steamcommunity.com/workshop/browse/?appid=252490&browsesort=toprated&section=readytouseitems&requiredtags[]=version3

 

or there are 6 created by me

https://steamcommunity.com/sharedfiles/filedetails/?id=3419609271

https://steamcommunity.com/sharedfiles/filedetails/?id=3419609489

https://steamcommunity.com/sharedfiles/filedetails/?id=3419609668

https://steamcommunity.com/sharedfiles/filedetails/?id=3419609965

https://steamcommunity.com/sharedfiles/filedetails/?id=3419610246

https://steamcommunity.com/sharedfiles/filedetails/?id=3419610437

 

or you can create your own icons with this tool

https://codefling.com/tools/custom-icon-creator

 

maybe if you search there are also free tools

----------------------------------------------------------------------------------------------------

An update will be released soon to make base spawning much easier.

----------------------------------------------------------------------------------------------------

DehDeh

Posted

But now that i have ur bases, i just need to put the code on the config, afterthat when i reload i have an error

Scalbox

Posted

You need to add this code to the list of items in your configuration.
Choose one of the skins I sent you and you can generate the bases.

If this doesn't work, send me your configuration.

Scalbox

Posted (edited)

3 hours ago, DehDeh said:

there is the file, sorry i'm not really good with configs

SpawnEverything.json 105.63 kB · 0 downloads

Everything is correct, you need to change this line

"Execute Commands": [
  "chat.say \"/paste <BASE NAME> auth true autoheight true position %%spawnCoordinateX%%,%%spawnCoordinateY%%,%%spawnCoordinateZ%%\""
],

and change base name to the name of the base you want to generate, for example

"Execute Commands": [
  "chat.say \"/paste my_base auth true autoheight true position %%spawnCoordinateX%%,%%spawnCoordinateY%%,%%spawnCoordinateZ%%\""
],

after, you can generate the item using the skinID you chose:

se 3419609271 1

Edited by Scalbox
Scalbox

Posted

Changed Status from Pending to No Response

DehDeh

Posted

Thx i will try !

DehDeh

Posted

Hey back, i still have this error :

image.png.c52b72f9da7c4705afa22e6bba806309.png

Scalbox

Posted

send configuration file

Scalbox

Posted

use this file, there was an error in the json I sent you:

SpawnEverything.json

fixed json

 

    {
      "Enabled": true,
      "DisplayName": "Spawn Home 1",
      "Description": "Spawn Home 1",
      "Item name (That will be used to spawn the entity. Default grenade.flashbang)": "grenade.flashbang",
      "Spawn PrefabName": "",
      "SkinID": 3419609271,
      "Item can be stacked? FALSE, the entity will be respawned in the same condition it was in when picked. TRUE, the entity will always be respawned as new. Default: FALSE": true,
      "Spawn Cooldown (seconds)": 0,
      "Usage Cooldown. Cooldown for reuse (seconds) (0 no cooldown)": 0,
      "Entity Category Type. Default Rust": "Custom",
      "Align the entity with the player's direction. Default false": false,
      "Force persistence. Set to TRUE if the spawned entity disappears after a server restart. Default false": false,
      "Can Pick Up Entity. Default false": false,
      "Spawn Position Offset": {
        "Right": 0.0,
        "Forward": 0.0,
        "Up": 0.0
      },
      "Spawn Rotation Offset": {
        "X": 0.0,
        "Y": 0.0,
        "Z": 0.0
      },
      "Custom Radius Check": 0.0,
      "Execute Player Commands": [
        "chat.say \"/paste my_baseone auth true autoheight true position %%spawnCoordinateX%%,%%spawnCoordinateY%%,%%spawnCoordinateZ%%\""
      ],
      "Execute Player Commands As Admin": true,
      "Execute Server Commands": [],
      "Allow spawning entity only where you have Building Privilege. (Default: False)": false,
      "Requires Building Privilege or zones without TC to Spawn Entity. (Default: TRUE)": true,
      "Minimum spawn distance from any Tool Cupboard (TC). [0 = Disabled] (Default: 0)": 100,
      "Allow Spawn in Monuments. (Default: FALSE)": false,
      "Disable Spawn in Monuments and Monuments radius. (Default: FALSE)": false,
      "Disable Spawn On Road/Rails. (Default: FALSE)": true,
      "Minimum spawn distance from Road/Rails. (Default: 0)": 20,
      "Spawn Only Outside": true,
      "Dont Spawn In Water": true,
      "Requires Water": false,
      "Minimum Water Depth": 0.0,
      "No Damage": false,
      "No Damage - Allow Decay Damage": false
    },

 

  • Love 1
Scalbox

Posted

Changed Status from No Response to Fixed

2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.