This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am trying to have right click on a book case (quiz block) execute a console command.But I A need a different command for each quiz block and I need to use the player who right clicked its name in the command as a variable, how would I do this?
Sorry, I had to take a week of from my plugins, once I get home tonight I will make a video of how to do this since it seems like the easiest way to show you.
while making the video I found that this will work much better if I change a few things, so I will make the changes this weekend and then record the tutorial.
So when do you think the tutorial will be done?
i finished with the changes and will record the video in a couple hours and then will just have to wait till it uploads and such to Youtube. so idk, about 6 hours?
Can't Wait I will have to instal the plugin tomorrow as I have a ton to do tonight.
Oh and if you have changed the plugin code post a download link here as the bukkit dev file is not applied yet!
Thanks for your help!
Video going up soon?
It is uploaded, I am just waiting for YouTube to approve it
Ok just post the link here when it is approved, thanks for your help!
ok, the video doesn't seem to want to be working... so if you have skype or something I can try to help you on there. If I don't hear from you by the time I finish my hw I will take some screenshots to try to show you wut to do.
Ok first of all this is for QuizBlock 1.0.0 so make sure you have that version.
It will generate a config which you can find in the QuizBlock folder and you should change the values to match the highlighted values in the first image. The top most highlighted one makes it so it is activated when a block is clicked (instead of being broken). The next group are the msgs which should just be blank. The last one is the command that will be run (only bother with this if a lot of the commands that you want this to run will be the same) I made the command give the player a book.
The second picture shows the command for making the Quiz. I called it "ClickCmd" but you can call it anything.
The third image shows the response the plugin sends after you make the Quiz.
The fourth picture shows the command for linking the bookshelf. Make sure you are targeting the bookshelf that you want to link.
The fifth image shows the response, make sure it say BOOKSHELF and not TORCH or something like that which may have been between you and the bookshelf.
The sixth shows the command for setting what command will be run upon click. Use this if it will be different than what you set in the config. (This bookshelf is old so I want it to give you a web instead of a book.)
Seventh is the response.
Eighth shows what happens when I click the bookshelf (it gave me a web)
I hope this helps. Remember that if you want to link many blocks at a time you can use my plugin Repeat so you can type "/r" every time instead of "/quiz link right ClickCmd" Let me know if you have any other questions.
I will try to use the screenshots tonight, else we can go on skype or teamspeak :)
Thanks
So can I link 2 commands to 1 block
<<reply 521555>>
yes, if you make two separate quizzes
On one block, ok ultimately I need the following cast teach <player> Blink whisper <player> you learned the blink spell spawn <player>
so just link the same block with 3 different quizzes
@Baffu: Go
that you can do all with one quiz... it would be much easier for me to just show you how to do it though... perhaps we hop on Skype sometime soon and either you come on my server or I'll go on yours. One question though, is the location of spawn going to be the same for every player? (or will it send them to there own bed?)
No spawn is spawn, not their bed. Its all tested so I just wound Create the quiz block then
quiz cmd right (quiz name) cast teach <player> Blink then again quiz cmd right (quiz name) spawn <player> quiz cmd right (quiz name) whisper You have learned the Blink Spell
I haven't beed playing MC lately due to lots of work but that is what I would do correct? I will be adding the quizblock this weekend
what time zone are you in I am in EST (its 5:50PM now) perhaps you could come on my server at some point or skype...
we are on the same time zone. But this is basically what you do.
With essentials spawn player will tp them to the set spawn
I do not get why I must link it as a wrong answer?? Cant I just to the right click command and bind all 3 things?!
You can do it the way you said, I just thought it would be easier this other way
Ok so the config confuses me I dont want every block to exact the command there I need one block that "teach <player> blink" The one next to it would say "teach <player> fireball
Do I need to do something in the config?
I did the following:
Made a quiz named test linked it to a gold block
used "quiz cmd right test spawn <player>"
set the config to this:
#Config file for QuizBlock #Plugin made by Codisimus #The amount of time (in seconds) the (Door)Blocks will stay open AutoCloseTimer=5 #If set to false then Players will simply click the Blocks instead of Breaking them BreakBlocksToActivate=true #If set to true, QuizBlock will overlook Permissions #Only OPs will be able to make Quizes #Everyone will be able to use Quizes UseBukkitPermissions=false #These are the messages that Players will see while using QuizBlock #Type \! instead of ! in order to use an exclamation point (ex. hi\!) #Use & to specify colors for messages (ex. &3hi&a.) PermissionMessage= DefaultRightMessage= DefaultWrongMessage= #These are commands that will be activated when the messages are sent #No command will be dispatched if the field is blank #Ex. DefaultRightCommand=give <player> 357 1 DefaultRightCommand=say Fail DefaultWrongCommand=
It dont work!
Same result with break to activate false
Got it to say correct block door opened but it wouldn't run the spawn player or give me 1 stone
if you can respond in under 30 mins we can hop on Team Speak
Ok i got it to give me an item and excute the say command, now I want it to cast teach <player> fireball and whisper <player> You learned the fireball spell, but it just lets me add 1.
To post a comment, please login or register a new account.