is there a way to change craft rate for vips ? or any plugin that does that ?
Different craft rate for VIPs and normal playersSuggestion
That would be very handy! A config with permissions for admins to add VIP
In response to FandangoChristmas ():@Adriok How are you able to acheive this? I been looking for this answer for a long time.
I was wondering this myself because I do not want to have to run 2 plugins but I guess I can 1 for VIP and one for Default.
Was looking to have Default set at 35% to 50 % and then vip instant crafting. Can this all be done with this single plugin or do I need to run 2 plugins one for default and 1 for VIP
Was looking to have Default set at 35% to 50 % and then vip instant crafting. Can this all be done with this single plugin or do I need to run 2 plugins one for default and 1 for VIP
In response to Adriok ():Then if a player has the permission change the rate else don't change it
What I was looking to do is this
Default get 50
VIP gets 10
Something like that can you do that with the changes you made?
Be cool to have like
/rate group <rate>
Add a variable in the code so you can set the group you know?
What about this ? :)
Sorry mate, just quit Rust for long time, what I did was setting a custom perm. that allows players to have half crafting rate. If a player doesnt have such perm it will craft the item with default rust rate.nivexIf you paste the snippet then I will add it to a future version
This is the code I had but can be improved so far.
if (!permission.UserHasPermission(crafter.UserIDString, "craftingcontroller.use")){
//task.endTime = 0f;
int itemID = 0;
int amount = 0;
ItemManager.CreateByItemID(itemID, amount);
UpdateCraftingRate();
}
else{
foreach (var bp in blueprintDefinitions){
if (CraftingRate != 0f)
bp.time = Blueprints[bp.targetItem.shortname] * (CraftingRate / 200);
else bp.time = 0f;
}
//task.blueprint.time /= 2;
//UpdateCraftingRate();
} - 1
- 2