Posted April 5, 201510 yr Hi! I've been looking for a way to code tutorial books (for example Openblocks book that you get when you spawn or join the server) so far haven't found any. If anyone has a tutorial or some code they're willing to share please post! Thanks!
April 5, 201510 yr I have never did this, but I think you can use WorldEvent.playerJoinEventv. then add your book to player's inventory and add a variable to player's nbt that he got the book(boolean and set it to true). And before you add the book to player's invemtory you have to check if player's nbt isn't null and if the variable is't false. Sorry, if you find mistaches in my posts. I am not EN. And when I post anything on Modder support, it means, I can't help myself and I need your help. And when you decide to delete my topic, just PM me with the reason, please.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.