Separate names with a comma.
Comments in 'Plugin Development' started by Boltingthunder, Feb 8, 2015.
How do I use the Player Function? The docs never really help me...
Can you be more specific?
I want to mess around with the players motion, such as when you tap on any block, I want the Y-value to increase by 5.
Look in some plugins to help you out, but don't copy the code. If you do make sure you have permission or you have at least given full credit of the code to who rightfully owns/wrote it.
Use setMotion() to change the speed, or teleport() to teleport directly.
Could I change how much the player can be launched up into the air?
How do I do that?
$setMotion(x, y, z);
So, I can do $setMotion(x, y + 5, z); ?
But don't write "x", "y", "z" xD replace them with the values you want to set
Alright, I got it. Thanks. also, could you i DM you on Twitter? I've got some questions if you don't mind answering.
You can DM me by the forums