I have two levels of vip and am wondering how to change this part of the kit gui, to something like VIP2.![]()
I have kits.vip and kits.vip2 for two sets of kits and all the kits say VIP under them causing confusion for the vip's who can't claim them...
Is there some way to change this to a different name?
Thank you.
Renaming the lower bar that says "vip kit"
any kit that has a permission (which you dont have) will show vip kit . if you have the permission or it has no permission it will show redeem
The answer to this question is simple. Alter the language file of the plugin and the bar will render whatever you want instead. Make sure to backup the file first for safety, make the changes required, then reload the plugin!
File Path: oxide/lang/en/kits.json
Line: "UI.NeedsPermission": "VIP Kit",
Your Change: "UI.NeedsPermission": "whatever_you_want_here",
Psyche
The answer to this question is simple. Alter the language file of the plugin and the bar will render whatever you want instead. Make sure to backup the file first for safety, make the changes required, then reload the plugin!
File Path: oxide/lang/en/kits.json
Line: "UI.NeedsPermission": "VIP Kit",
Your Change: "UI.NeedsPermission": "whatever_you_want_here",
Thanks I am a newb and overlooked this file :) it's possible to have it say VIP kit for default players who don't have the perms for them as well as VIP2 for default players who don't have the perms for better kits?
rustrustrust69Thanks I am a newb and overlooked this file :) it's possible to have it say VIP kit for default players who don't have the perms for them as well as VIP2 for default players who don't have the perms for better kits?
To my knowledge this will not be a possibility without first editing the .cs file (the plugin itself). You would have to customize it. To get the effect you desire you would have to hardcode a new variable into the plugin for the language file (UI.NeedsPermission2, or something similar), as well as a conditional check (an 'if' statement function) to determine what variable to render for each kit based on what permissions the player currently has when they call the UI. This requires at least a moderate level of coding skill to accomplish and without such will not be possible. Your best alternative solution would be to add all relevent information about the kits and what level permissions are required to access them directly into each kit description instead. This would inform the players how gain the kits without any technical obstacle to overcome. Cheers, and best of luck!