Jump to content

The Red Button 1.8.9

$10.00
   (15 reviews)

7 Screenshots

  • 73.4k
  • 1.9k
  • 137.71 kB

Recommended Comments



NooBlet

Posted

logic for that is in the works . just not that simple to implement without breaking some basic features

planeat

Posted

Custom command support perms?

Example: give kit {player}{perms}

NooBlet

Posted

custom commands is a console command ..... so if you able to give perm via console . it will work in custom command

Captain Tron

Posted

Hi Nooblet, Custom command 4 only has message option could you please add the command part for it next update if possible. honestly adding 10 custom commands would make my day. thanks for your time

MaLai

Posted

Just a suggestion: that you can give skinned items to a player.

Mabel

Posted

You can already do this with a console command 

inventory.giveto <steamID> <item.shortname> <amount> <skinid>

  • Like 1
MaLai

Posted

17 hours ago, Mabel said:

You can already do this with a console command 

inventory.giveto <steamID> <item.shortname> <amount> <skinid>

This isn't working. I just get paper instead of a skinned paper.

Captain Tron

Posted

1 hour ago, MaLai said:

This isn't working. I just get paper instead of a skinned paper.

You could make a kit then issue that kit. also assuming you have currency that is skinned as paper pretty sure there is a command to issue people that currency as an item instead adding to economics.

Mabel

Posted

4 hours ago, MaLai said:

This isn't working. I just get paper instead of a skinned paper.

show the command you used, it does work i use it, it should look like this 

 

Quote

 Custom Command 1 : Command": "inventory.giveto {playerid} paper 1 2420097877"




 

 

MaLai

Posted

2 hours ago, Mabel said:

show the command you used, it does work i use it, it should look like this 

 




 

 

  "5. Custom Command 1 : Command": "inventory.giveto {playerid} paper 10 2856928771",

Kobani

Posted

If someone builds a building nearby and has TC rights, they can delete the sign.

NooBlet

Posted

sign should be locked . so no ..... havent tested that specifically but should not be able to

XianSeho

Posted

you know what would make this plugin really cool?   if it could also give a reward like scrap or m249.  Make it like a random luck of the draw, you either get whacked or get a reward

NooBlet

Posted (edited)

It already has that function sir🤪 @XianSeho with 10 custom commands you have the option to add rewards

Edited by NooBlet
XianSeho

Posted

okay thanks i will try to figure it out

 

XianSeho

Posted

do those become active once you fill them in?  if i wanted to say give them scrap or run a command would it just be the item then player id?  is this how or what do i need to change?

 "3. Custom Commands": {
    "CustomCommand1": {
      "CCname (DONT CHANGE THIS)": "customcommand1",
      "Command": "inventory.give" {playerid} “scrap" “100” ,
      "Message": "Just got some scrap",
      "Weight": 0
    },
    "CustomCommand2": {
      "CCname (DONT CHANGE THIS)": "customcommand2",
      "Command": "boh.givebag "{playerid}" generic.small",
      "Message": "you got extra storage",
      "Weight": 0
    },

tschetschpi1

Posted

1 hour ago, XianSeho said:

do those become active once you fill them in?  if i wanted to say give them scrap or run a command would it just be the item then player id?  is this how or what do i need to change?

 "3. Custom Commands": {
    "CustomCommand1": {
      "CCname (DONT CHANGE THIS)": "customcommand1",
      "Command": "inventory.give" {playerid} “scrap" “100” ,
      "Message": "Just got some scrap",
      "Weight": 0
    },
    "CustomCommand2": {
      "CCname (DONT CHANGE THIS)": "customcommand2",
      "Command": "boh.givebag "{playerid}" generic.small",
      "Message": "you got extra storage",
      "Weight": 0
    },

Change your "Weight" from 0 to something else. iirc the default weight for all the pre-porgrammed stuff is 2. So it you want it as equally likely as the programmed stuff use 2. Higher number makes it more likely

NooBlet

Posted

aslo in command please change 

   "Command": "inventory.give" {playerid} scrap" “100” ,

to this

   "Command": "inventory.give {playerid} scrap 100” ,

to many  quotes     command is a single line

undertow

Posted

On 11/1/2023 at 8:04 PM, NooBlet said:

aslo in command please change 

   "Command": "inventory.give" {playerid} scrap" “100” ,

to this

   "Command": "inventory.give {playerid} scrap 100” ,

to many  quotes     command is a single line

you'd want to use giveto here instead of give, but yes it works as expected

 

here's another reward command:
spawn grenade.supplysignal.deployed {playerlocation}

XianSeho

Posted

i tried this but does not work also the validator says Error: Parse error on line 39: ...", "Command": "inventory.give {pla ----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

  "3. Custom Commands": {
    "CustomCommand1": {
      "CCname (DONT CHANGE THIS)": "customcommand1",
      "Command": "inventory.give {playerid} scrap 100” ,
      "Message": "You just got some scrap",
      "Weight": 0
    },

NooBlet

Posted

@XianSeho could you please open a support and post your current config file so i can have look

 

XianSeho

Posted

i changed it back to the default so the plugin would work. so just standard default config.  just wanted to add some rewards for players but can not seem to get it to work no matter what i do.

 

NooBlet

Posted

you just have to get the command right . without messing up the config .. @undertow gave an example that does work with giveto

NooBlet

Posted

maybe just open a support and give me what you want to do and lets get you to get it to work

XianSeho

Posted

okay i will do that thanks

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 7
  • Haha 3
  • Love 1

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.