Jump to content

Console commands

Closed 2.8.3

Mirdon
Mirdon

Posted

Hello, I am trying to use this vendor as a specialty item vendor for another plugin making customized weapons and gear.
The command from the other plugin is console only, without me modifying the plugin.

I've entered the command for the item, and it does give me a skinned item, but it isn't correct and It can't be used.  Like, I select it and nothing occurs.

The command is 

Quote

cw.give %steamid% admin.lr

Without being able to debug, I am not sure what it is actually doing.
As you can see from the screenshot below, I have an item, but it has no durability bar, nor ammo, nor is it actually in my hand to use.

 

Screenshot2025-05-16130126.png.e4857b037aa4acaea8fc707863992999.png


All of that to say, do I need to do something different for the plugin to run console commands as opposed to chat commands?

 

Many thanks for your time!

tofurahie

Posted

7 hours ago, Mirdon said:

Hello, I am trying to use this vendor as a specialty item vendor for another plugin making customized weapons and gear.
The command from the other plugin is console only, without me modifying the plugin.

I've entered the command for the item, and it does give me a skinned item, but it isn't correct and It can't be used.  Like, I select it and nothing occurs.

The command is 

Without being able to debug, I am not sure what it is actually doing.
As you can see from the screenshot below, I have an item, but it has no durability bar, nor ammo, nor is it actually in my hand to use.

 

Screenshot2025-05-16130126.png.e4857b037aa4acaea8fc707863992999.png


All of that to say, do I need to do something different for the plugin to run console commands as opposed to chat commands?

 

Many thanks for your time!

 

8 hours ago, Mirdon said:

Hello, I am trying to use this vendor as a specialty item vendor for another plugin making customized weapons and gear.
The command from the other plugin is console only, without me modifying the plugin.

I've entered the command for the item, and it does give me a skinned item, but it isn't correct and It can't be used.  Like, I select it and nothing occurs.

The command is 

Without being able to debug, I am not sure what it is actually doing.
As you can see from the screenshot below, I have an item, but it has no durability bar, nor ammo, nor is it actually in my hand to use.

 

Screenshot2025-05-16130126.png.e4857b037aa4acaea8fc707863992999.png


All of that to say, do I need to do something different for the plugin to run console commands as opposed to chat commands?

 

Many thanks for your time!

Hey, i think the command dose something else beside just give you an item with specific skin id, from what plugin this command?

Mirdon

Posted

14 minutes ago, tofurahie said:

 

Hey, i think the command dose something else beside just give you an item with specific skin id, from what plugin this command?

It is Customizable weapons.
https://codefling.com/plugins/customizable-weapons

I know the console command works, I am just trying to figure out how to get it loaded into the vendor so I can make a bunch of custom weapons/gear for people to buy.

I appreciate you taking the time to look into this.

Mirdon

Posted

On 5/17/2025 at 2:08 AM, tofurahie said:

i tried like this and it workedimage.png.00142e90d241ca1a9a3230d57eb340fe.png

I apologize, I didn't see a notification for your reply.

I modified mine to match yours exactly, and I still am not getting the actual weapon.
The only difference you and I had was the SkinID and the Display Name.

I've removed other plugins to see if I can get it to work.  CustomVending, Drop Bags, loottable, and a few others.
No matter, I am not getting any success.

I will say, I've noticed that when I have a period of time in which I add/configure a number of plugins, things get wonky on the server.  Perhaps I've done too much this wipe and need to try again next wipe.

I appreciate you taking the time to help.
Thank you.

tofurahie

Posted

2 hours ago, Mirdon said:

I apologize, I didn't see a notification for your reply.

I modified mine to match yours exactly, and I still am not getting the actual weapon.
The only difference you and I had was the SkinID and the Display Name.

I've removed other plugins to see if I can get it to work.  CustomVending, Drop Bags, loottable, and a few others.
No matter, I am not getting any success.

I will say, I've noticed that when I have a period of time in which I add/configure a number of plugins, things get wonky on the server.  Perhaps I've done too much this wipe and need to try again next wipe.

I appreciate you taking the time to help.
Thank you.

Can you send me your npcshop config and customweaponconfig

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.1k

Files Sold

Total number of files sold.

2.6m

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.