-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arguments not working per-item #23
Comments
I'll look into this asap. What's your game version? |
1.8.9 server |
Hey, any updates on this? Did you manage to replicate the issue im having? |
I'll try to find some time this weekend. I apologise for the delay. |
I've just tested the plugin on paper 1.21 and I can't replicate this issue. My guess is that it is an issue caused by 1.8.9 ... |
Is it possible for you to test and fix it on 1.8.9? I think this is a pretty major issue, because I basically have to make a separate voucher for everything, and even entirely not possible for some things for example, if i wanted to give $542,213 money to someone with a voucher, id need to make a dedicated voucher for it for that specific amount. |
I sent you a jar via BuiltByBit @Danyyy3l |
replied |
Please help me with this:
I made a voucher using %args[]% to get different kinds of kits/ranks etc.. on the same voucher.
I made it so that when i type /av give [USERNAME] kit 1 Inferno
it will give me one inferno kit, and it works as expected, BUTTTTT:
When I give myself another voucher for a different kit, for example Warrior - and then I claim one of those 2, - the %args[1]% of the previous voucher also gets applied to the second one.
EXAMPLE: I give myself a voucher for Inferno, Warrior, Barbarian and Dragon kit --- If I claim the Warrior kit first, any other kit out of the remaining 3 that i claim will give me the Warrior kit again.
It's like the %args[1]% doesn't stay with that item.
VERSION: 2.3.3-SNAPSHOT
heres that voucher config:
(btw theres also another %args[2]% - thats just for changing the color of the kit name)
also let me know if you need any other information! Thank you.
kit:
item:
material: EMPTY_MAP
damage: 0
lore:
glow: true
name: '<dark_gray>[<%args[2]%>%args[1]%<dark_gray>] Kit (One-Time)'
actions:
settings:
messages:
receive: 'You have received a %args[1]% Kit!'
redeem: 'You just unpacked a %args[1]% Kit!'
confirmation:
enabled: false
limit:
enabled: false
type: GLOBAL
limit: 10
message: This voucher can't be used anymore
permissions:
whitelist:
message: You don't have access to use this voucher
list: []
blacklist:
message: You can not use this voucher because you are blacklisted!
list: []
worlds:
whitelist:
message: You can't use this voucher in your current world <dark_gray>(</dark_gray>{world}<dark_gray>)
bulkActions:
The text was updated successfully, but these errors were encountered: