-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Hello,
first off love the plugin, you've made my players very very happy by allowing me to give them GUI interactions.
onward,
I am requesting the ability to add multiple item costs to run commands within the VC GUI.
you could separate the different costs by a comma
PrimaryAction {
Command = "cost-item: 2; console: give %player_name% conquest:steel_ingot 1"
HandheldItem {
SearchInventory = true
ItemType = "minecraft:coal"
UnsafeDamage = 0
Count = 2
},
HandheldItem {
SearchInventory = true
ItemType = "minecraft:iron"
UnsafeDamage = 0
Count = 2
}
or declare them as multiple arguments and variables
PrimaryAction {
Command = "cost-item: 2; cost-item2: 4; console: give %player_name% conquest:steel_ingot 1"
HandheldItem {
SearchInventory = true
ItemType = "minecraft:coal"
UnsafeDamage = 0
Count = 2
Item2Type = "minecraft:iron"
Unsafe2Damage = 0
Count2 = 4
}
I feel the second one would give users more flexibility because you could define different costs per argument, and looks like it may be easier to program (that that i know how to :) )
What are your thoughts on this?
Reactions are currently unavailable