Jump to content

VIP Tokens 1.1.9

$15.00
   (3 reviews)

7 Screenshots

  • 49k
  • 311
  • 80.65 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



BoobleJ

Posted

Hi @imthenewguy

I've been testing this plugin before adding VIP Tokens to my Tebex Shop. I noticed that the VIP time is not expiring, I'm on the latest build 1.1.5. 

Example;

I setup a Token that adds a player to the VIP group for 30 seconds. It has a unique skin and have the config set to 'second'. The Data file shows the correct time to expire, though nothing happens after the 30 seconds. The player is still a member of the VIP group.

imthenewguy

Posted

17 minutes ago, BoobleJ said:

Hi @imthenewguy

I've been testing this plugin before adding VIP Tokens to my Tebex Shop. I noticed that the VIP time is not expiring, I'm on the latest build 1.1.5. 

Example;

I setup a Token that adds a player to the VIP group for 30 seconds. It has a unique skin and have the config set to 'second'. The Data file shows the correct time to expire, though nothing happens after the 30 seconds. The player is still a member of the VIP group.

Have you adjusted this value by chance?

"How often should the plugin check to see if a player has run out of VIP [seconds]?"

This periodically checks the groups for expiring tokens at the set interval. I would recommend maybe every 10 or so seconds if you were planning on using short term tokens.

By default its set to 3600 seconds.

PPlank

Posted

I'm almost ready to put this into action. Is it possible to run multiple commands? I use CraftingStore which is very similar to Tebex and when a player donates for a membership group, 3 commands get issued (amongst some other stuff). In this example below {uuid} is the CraftingStore equivalent to Tebex's {id}

sr add {uuid} 20000
o.usergroup add {uuid} vip+
o.usergroup add {uuid} backpackvip+

This gives the player 20,000RP, puts them into the vip+ group, and also puts them into a group that allows them to use backpacks with a higher slot count. With the VIP Tokens plugin I can put the player into the vip+ group and give them 20,000RP, but is it possible to issue another command and put them into the backpacks group and remove them at the end of 30 days? This is the relevant part of the config:-

    "vip+": {
      "name": "vip+",
      "time_type": "day",
      "time_to_add": 30,
      "vip_group": "vip+",
      "vip_description": "VIP+ 30 days.",
      "remove_tokens_on_wipe": false,
      "token_item": {
        "name": "VIP+ Token - 30 days",
        "skin": 2820804713,
        "item_shortname": "radiationresisttea.pure"
      },
      "_command": {
        "command": "sr add {id} 20000",
        "message": "You are now vip+ for 30 days, and have received 20,000RP.",
        "public_message": "{name} has redeemed a token and is now vip+ for 30 days.",
        "hook": true
      }
    },

It would be very cool if this was do-able and if there was a section that issued commands after the 30 days (or whatever) period was up so I could remove them from the backpacks group automatically. If this isn't possible then I could re-do my groups and other logic and incorporate the backpacks functionality into the vip+ group. (I might even just let them keep the backpack slots as a bonus. 🙂 )

But it's definitely a nice to have. 😉

imthenewguy

Posted

6 hours ago, PPlank said:

I'm almost ready to put this into action. Is it possible to run multiple commands? I use CraftingStore which is very similar to Tebex and when a player donates for a membership group, 3 commands get issued (amongst some other stuff). In this example below {uuid} is the CraftingStore equivalent to Tebex's {id}

sr add {uuid} 20000
o.usergroup add {uuid} vip+
o.usergroup add {uuid} backpackvip+

This gives the player 20,000RP, puts them into the vip+ group, and also puts them into a group that allows them to use backpacks with a higher slot count. With the VIP Tokens plugin I can put the player into the vip+ group and give them 20,000RP, but is it possible to issue another command and put them into the backpacks group and remove them at the end of 30 days? This is the relevant part of the config:-

    "vip+": {
      "name": "vip+",
      "time_type": "day",
      "time_to_add": 30,
      "vip_group": "vip+",
      "vip_description": "VIP+ 30 days.",
      "remove_tokens_on_wipe": false,
      "token_item": {
        "name": "VIP+ Token - 30 days",
        "skin": 2820804713,
        "item_shortname": "radiationresisttea.pure"
      },
      "_command": {
        "command": "sr add {id} 20000",
        "message": "You are now vip+ for 30 days, and have received 20,000RP.",
        "public_message": "{name} has redeemed a token and is now vip+ for 30 days.",
        "hook": true
      }
    },

It would be very cool if this was do-able and if there was a section that issued commands after the 30 days (or whatever) period was up so I could remove them from the backpacks group automatically. If this isn't possible then I could re-do my groups and other logic and incorporate the backpacks functionality into the vip+ group. (I might even just let them keep the backpack slots as a bonus. 🙂 )

But it's definitely a nice to have. 😉

Have added both to the next release.

  • Love 2
Zienem

Posted

On 6/14/2022 at 4:48 AM, imthenewguy said:

Have added both to the next release.

Cant wait, really want this so I can add and remove better chat titles.

Au

Posted

Hello author, I want to have this plug-in to add VIP function to my server. If I want to use this to achieve multiple permissions for members, such as weapon damage, night vision, and other permissions, how do I add it?🤑

Au

Posted

Hello author, I want to have this plug-in to add VIP function to my server. If I want to use this to achieve multiple permissions for members, such as weapon damage, night vision, and other permissions, how do I add it?🤑

Au

Posted

Hello author, I want to have this plug-in to add VIP function to my server. If I want to use this to achieve multiple permissions for members, such as weapon damage, night vision, and other permissions, how do I add it?

imthenewguy

Posted

2 hours ago, Au said:

Hello author, I want to have this plug-in to add VIP function to my server. If I want to use this to achieve multiple permissions for members, such as weapon damage, night vision, and other permissions, how do I add it?🤑

Your best bet is to create an oxide group and have the plugin assign the player to that oxide group.

Au

Posted

Isn't this token group adding permissions? I don't understand what his role is

imthenewguy

Posted

18 minutes ago, Au said:

Isn't this token group adding permissions? I don't understand what his role is

The token is simply programmed to add the player to a group. The group that the token can provide them with can be any group you like, such as VIP, Admin, VIPExtended etc. The player then inherits any permissions that you have assigned to that group, such as nightvision, weapon damage etc.

An example would be:

  1. You create a new oxide group called "Battle"
  2. You configure the token to add the player to the group "Battle" once consumed.
  3. You assign the permission nightvision.allowed to the group (o.grant group Battle nightvision.allowed).
  4. Whenever a player consumes the token, they will be added to the "Battle" group, and will have access to the nightvision command.
Au

Posted

Understand that the addition of other plugin permissions is required, and give member group permissions😃

Au

Posted

On 7/1/2022 at 9:06 PM, imthenewguy said:

Your best choice is a digital version of the version of the sub-category, and the version of the plug-in "device" is assigned to the digital version of the sub-category.

 

On 7/1/2022 at 9:46 PM, imthenewguy said:

Command masters are added to categories by state for their user states. The new categories that a command master can create for them can be any category you have assigned, such as VIP, Admin, VIPExtended, etc. The state is then used to calculate any permissions you have assigned to the category, such as number of enemies, weapon damage, etc.

A state is

  1. You created a new subcategory called "Battle"
  2. You configure the command version to add the application status to the "fixed" subcategory after it is deleted.
  3. You grant the permission nightvision.allowed to a sub-category ( o.grant group Battle nightvision.allowed ).
  4. When you use the dynamic deletion command version, they are newly added to the "command" subcategory, and you can access many commands.

 

OneCubixMeterofAltosd

Posted

Will the newest update allow us to run multiple commands with the same token?

I am trying to customize mine but seem to be having difficulty with it displaying the messages and commands upon consuming the token. It runs the first command but not the second so I am not sure if I am doing it wrong - is there any documentation on using this a little more with some better examples?.

Any ETA on the update?

Thanks!

Porky

Posted

Hello this plugin looks fabulous.

I currently have kits installed, shop, skinshop etc and use economics.
I have guest user,  vip1, vip2, and vip3 kits.
i have tebex,     how easy is this plugin to set up and what is the support like?
things i am looking to do
have it so if someone buys a token,  their role on Discord automatically changes,  they recieve X amount of ingmae currency and are added to the oxide  and betterchat groups   and then when the 30 days is up   ( or week as i plan to have options for buying for a week and buying for the month ) it removes and restores them to their original settings like guest or auth in discord, guest in betterchat and default in oxide   ( my default oxide group is guest in betterchat ).

any advice would be most apprieciated
thanks

beetle

Posted

18 minutes ago, PorkChop said:

Hello this plugin looks fabulous.

I currently have kits installed, shop, skinshop etc and use economics.
I have guest user,  vip1, vip2, and vip3 kits.
i have tebex,     how easy is this plugin to set up and what is the support like?
things i am looking to do
have it so if someone buys a token,  their role on Discord automatically changes,  they recieve X amount of ingmae currency and are added to the oxide  and betterchat groups   and then when the 30 days is up   ( or week as i plan to have options for buying for a week and buying for the month ) it removes and restores them to their original settings like guest or auth in discord, guest in betterchat and default in oxide   ( my default oxide group is guest in betterchat ).

any advice would be most apprieciated
thanks

Hi, I am not a developer but I will answer.

First, be sure to watch the video in the instructions section at equal size.

It takes me a minute to look at the templates for the initial setup and configuration, and 10 seconds to understand them.

Random time, to configure according to the number of tokens.

10 minutes because it takes another plugin to grant Discord Role.
If you already have that system in place, it should be tied to the Oxide group, so 0 minutes.

30 seconds to grant in-game currency, since the command can be used.

1 minute to add an Oxide Group.

You can undo it whenever you want, and if something goes wrong, all you have to do is look at the Data File and you can remove privileges and do all sorts of things.

  • Love 2
Porky

Posted

6 hours ago, beetle said:

Hi, I am not a developer but I will answer.

First, be sure to watch the video in the instructions section at equal size.

It takes me a minute to look at the templates for the initial setup and configuration, and 10 seconds to understand them.

Random time, to configure according to the number of tokens.

10 minutes because it takes another plugin to grant Discord Role.
If you already have that system in place, it should be tied to the Oxide group, so 0 minutes.

30 seconds to grant in-game currency, since the command can be used.

1 minute to add an Oxide Group.

You can undo it whenever you want, and if something goes wrong, all you have to do is look at the Data File and you can remove privileges and do all sorts of things.

Thank you for the in depth answer, i think when the wages go in the bank i shall be making a purchase.
again many thanks

lengyue

Posted (edited)

In the configuration file_ commands and_command,What's the difference between them’?

QQæª图20221016131358.png

Edited by lengyue
imthenewguy

Posted

_command is the depreciated way of doing it.

_commands allows for multiple commands to be run upon consumption.

If you are only doing one command, you are fine to use _command.

"_command": "my_command",

 

Au

Posted

Can one token add many permissions? Does he conflict with IQPermissions, IQChat

imthenewguy

Posted

Not sure what those 2 plugins do, but you can add any permission you could add via console with this plugin. The plugin simply runs the permission command when the food is eaten, and removes it after a set time (days/weeks/months).

Au

Posted

😂Hello author I have purchased this plugin, it is great, but I will not add multiple permissions, how to do it, can you give me an example! I don't quite understand, this usage, I want to give my members multiple permissions, how to add them, what is the format, anxious

{
  "Maximum VIP days that a player can accumulate per tier": 90,
  "Sound effect when purchasing or consuming a token": "assets/prefabs/deployable/vendingmachine/effects/vending-machine-purchase-human.prefab",
  "Sound effect when consuming a token. Set it to nothing if you do not want an effect": "assets/prefabs/misc/easter/painted eggs/effects/gold_open.prefab",
  "Password for command verification (make one up)": "ChangeThisPassword124u5109123",
  "Chat commands for opening the menu.": [
    "viplook",
    "vipye",
    "vipcc",
    "vipdh"
  ],
  "Date time format (case sensitive): dd == day. MM == month. yyyy == year": "yyyy-MM-dd",
  "Prevent players from consuming a token if they are already in the group?": true,
  "How often should the plugin check to see if a player has run out of VIP [seconds]?": 600.0,
  "Add your vip tiers and commands here. Use {id} in place of a players userid and {name} in place of their name.": {
	"vip1": {
      "name": "神龙会员",
      "time_type": "day",
      "time_to_add": 30,
      "vip_group": "vip1",
      "vip_description": "欢迎加入尊贵的会员,您讲享受以下权益:\n1,武器无耐久\n2,加速熔炉\n3,起始10倍武器三种\n4,召唤武直副本\n5,标点传送60秒冷却\n6,宠物一个\n7,血量提升\n8,弹夹提升\n9,小飞机一辆\n10,专属会员菜单",
      "remove_tokens_on_wipe": false,
      "token_item": {
        "name": "30天会员币",
        "skin": 2529344741,
        "item_shortname": "radiationresisttea.pure"
      },
      "_command": {
        "command": "o.grant group vip1 nodurability.allowed",
        "message": "你获得金刚不坏",
        "public_message": "{name} 金刚不坏. ID: {id}",
        "hook": true
      },
      "_commands": [
        {
          "command": "o.grant group vip1 mapteleport.vip9",
          "message": "你获得标点传送10冷却.",
          "public_message": "{name} 你已获得VIP标点传送10冷却能力. ID: {id}",
          "hook": true
        },
		{
          "command": "o.grant group vip1 quicksmelt.use",
          "message": "熔炉加速.",
          "public_message": "{name} 熔炉加速. ID: {id}",
          "hook": true
        },
		{
          "command": "o.grant group vip1 betterhealth.vip",
          "message": "血量提升.",
          "public_message": "{name} 血量提升. ID: {id}",
          "hook": true
        },
        {
          "command": "ITEMFROMSHOP {id} rifle.ak 1 2668559158",
          "message": "起始10倍AK300.",
          "public_message": "{name} 你获得一把会员起始武器. ID: {id}",
          "hook": true
        },
		{
          "command": "ITEMFROMSHOP {id} lmg.m249 1 2592753455",
          "message": "起始10倍M249.",
          "public_message": "{name} 你获得一把会员起始武器. ID: {id}",
          "hook": true
        },
		{
          "command": "ITEMFROMSHOP {id} lmg.m249 1 2643202100",
          "message": "起始10倍LR300",
          "public_message": "{name} 你获得一把会员起始武器. ID: {id}",
          "hook": true
        }
      ],
      "remove_commands": [
        {
          "command": "inventory.giveto {id} scrap 1000",
          "message": "You received some scrap when your vip ended.",
          "public_message": "{name} has redeemed a token and give themselves some scrap. ID: {id}",
          "hook": true
        }
      ]
    }
  }
}

 

imthenewguy

Posted

On 10/27/2022 at 8:46 AM, Au said:

😂Hello author I have purchased this plugin, it is great, but I will not add multiple permissions, how to do it, can you give me an example! I don't quite understand, this usage, I want to give my members multiple permissions, how to add them, what is the format, anxious

Hey mate mind pming me your config?

  • Love 1
Au

Posted

On 10/27/2022 at 3:03 PM, imthenewguy said:

Hey mate mind pming me your config?

VIPToken.json

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 2
  • Love 3

User Feedback

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.3k

Files Sold

Total number of files sold.

2.5m

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.