Skip to content
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

player Variable #77

Open
msilver6677 opened this issue Jan 24, 2014 · 1 comment
Open

player Variable #77

msilver6677 opened this issue Jan 24, 2014 · 1 comment

Comments

@msilver6677
Copy link

I want to run command /manuaddsub
but what variable can I use to run on the player opening the chest?
example:
/manuaddsub %p Warrior
will add the %p (player opening chest) subgroup of warrior.

please help.
I seen in a previous issue resolved that you said you could use %player%...
This does not work. :\

@Mtihc
Copy link
Owner

Mtihc commented Jan 30, 2014

wtf. It should work.

%player%
@p

Those are the 2 options. I looked it up in the code, right here on line 77
https://github.com/Mtihc/TreasureChest/blob/master/src/main/java/com/mtihc/minecraft/treasurechest/v8/rewardfactory/rewards/CommandReward.java#L77

(im not really testing or fixing anything today.... so I will get back to you in a while)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants