Jump to content

setup a 30 days recycler

Closed 1.1.7

Colors
Colors

Posted

I would like to set a 30 days recycler for my players.
I tried this but it seems did not count the 30 days.

    "recycler": {
      "name": "Recycler",
      "time_type": "day",
      "time_to_add": 30,
      "vip_group": null,
      "vip_description": "Allows you to place a personal recycler that only your team can access.",
      "remove_tokens_on_wipe": false,
      "token_item": {
        "name": "Recycler - 30 days",
        "skin": 2544601457,
        "item_shortname": "radiationresisttea.pure"
      },
      "_command": {
        "command": "addrecycler {id} 1",
        "message": "You redeemed a recycler.",
        "public_message": null,
        "hook": false
      },
      "_commands": null,
      "remove_commands": [
        {
          "command": "clearrecyclers {id}",
          "message": "Your recycler expired.",
          "public_message": null,
          "hook": false
        }
      ]
    },

is there anyway to set my plan?
just want a 30 days recycler token.

imthenewguy

Posted

Not really.

This looks like it is using my PersonalRecycler plugin, which adds a redeemable recycler that the player can type as command for to redeem.

That recycler becomes a deployed entity, so you can't remove access to it via VIPToken. The VIP token's purpose would be to simply add 1 redeemable recycler for the player to grab, so the time parameter in the config for this item is not relevant.

Colors

Posted

okay.. I having another issue.
trying to put the token into shop, I set it as command but buyer did not get the token after buying.

I guess it may need to set hook or something.. can you help me please?
 

      "Items": [
        {
          "Type": "Command",
          "ID": 1972402188,
          "Image": "https://steamuserimages-a.akamaihd.net/ugc/1690521223902034750/11CB5A169E3B3B5CAC7C8FEE3A76F2715BD2119C/?imw=637&imh=358&ima=fit&impolicy=Letterbox&im",
          "Title": "VIP 1 - test dont buy",
          "Description": "",
          "Command (%steamid%)": "givetoken vip1 1",
          "Kit": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },

 

imthenewguy

Posted

That is a chat command is to give yourself a token.

 

The command to give token via console is:

addtoken <password> <steam ID> <tier>

So you would put:

      "Items": [
        {
          "Type": "Command",
          "ID": 1972402188,
          "Image": "https://steamuserimages-a.akamaihd.net/ugc/1690521223902034750/11CB5A169E3B3B5CAC7C8FEE3A76F2715BD2119C/?imw=637&imh=358&ima=fit&impolicy=Letterbox&im",
          "Title": "VIP 1 - test dont buy",
          "Description": "",
          "Command (%steamid%)": "addtoken <password from your config> %steamid% vip1",
          "Kit": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },

Password is located in your config: "Password for command verification (make one up)"

  • Like 1
Colors

Posted

work well now, thanks!!

but I think the lang should be improve
1712933910_.png.5cc6b23a3f7512984b0a87aaad04b0d2.png

this looks a little weird.

imthenewguy

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.