Hey guys, im pretty new to coding, and I know a little bit of JS and was wondering if there is a way to code MC plugins with it
Not that I'm aware (unless there's an external plugin somewhere I'm missing). If you want to learn to make Bukkit/Spigot plugins, you'll need to learn Java; however, the closest thing I can think of that may be appealing is Skript. EDIT: After a quick Google search, this is something I found. I'm sure there's someone more knowledgeable on external scripting languages than I.
http://dev.bukkit.org/bukkit-plugins/scriptcraft/ Supports JavaScript natively, a million times better than Skript
No. JavaScript is for Web. Without some serious modification tools (and even then it probably won't work), it will not work.
Java has a built in method to run JavaScript code. JavaScript is definitely not just for web any more: NodeJS Electron Rhino/ Nashorn
Of course that they have different uses and their are different, but they arn't radically different. I was talking about syntax and algorithmic. When you know JS you relatively easily understand Java, with training. Maybe I were just younger, but I didn't have more difficulty to learn JavaScript than Java. Anyway, I'm just saying that even if that sort of plugins exist, I think it'ss more logical to learn Java, you have a bigger potential. However this is only a coucil, based on my knowledge.
I'm not aware of any developer using JavaScript as a method of creating plugins head-on unless he's using a certain API / Jar. See @Tux's post for more information.
Java is to Javascript, as Ham is to Hamster. Completely different things, so naturally, no. There is no way to make a MC plugin purely in javascript.
Yes, Java and JavaScript are completely different programming language, but technically, you can generate Java bytecode from JavaScript source.
There is a bukkit plugin loader that loads js plugins I believe. There is JS support built into the JVM now with Java 8. Check this: https://www.spigotmc.org/resources/easyscript.1273/