Jump to content

setup a 30 days recycler

Closed 1.1.7

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.

Share this comment


Link to comment

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.

Share this comment


Link to comment

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
          },

 

Share this comment


Link to comment

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.1k

Files Sold

Total number of files sold.

1.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.