HomeРазвлеченияRelated VideosMore From: VerveDev

How to Make a Minecraft Plugin | Essentials Series - Fly Command (Ep.1)

119 ratings | 6446 views
Today we begin the brand new Custom Essentials series! We are starting the series with a FlyCommand Link to download eclipse: http://www.eclipse.org/downloads/eclipse-packages/ Link to download Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html Link to download spigot buildtools: https://hub.spigotmc.org/jenkins/job/BuildTools/ you can also find other videos on youtube on how to properly download all the spigot versions Social Media: Twitter - https://twitter.com/NikoTheDev Hosting Website- https://voidhost.us Spigot Profile - https://www.spigotmc.org/members/mrbandit.143433/
Html code for embedding videos on your blog
Text Comments (52)
ARFour (4 days ago)
its showing me errors and its not showing u errors wtf
Sha S (5 days ago)
What eclips do you use
Lightcaster5 (26 days ago)
What theme do you use???
GDM (1 month ago)
New video for custom Essentials please!
Taddeus tadd (1 month ago)
VerveDev when i put the plugin to the server it did nothing could you please help me?
TAJLN (1 month ago)
You should probably use getAllowFlight insted of isFlying otherwise you can only disable flight if you are in the air
TAJLN (1 month ago)
+VerveDev The videos are great and the small mistakes should be easy to fix by any1 with a simple google search. I'm glad I found your videos, because there are tons of tutorials by people that use a monotone voice for 30 minutes showing you how to install eclipse as "Part 1"
VerveDev (1 month ago)
I honestly hate this video cuz of the amount of mistakes. These videos were made out of my prime, go from making plugins all day everyday to nothing for months on end. You forget even the basics haha. I’ve retired from MC but i’m glad there is still some great devs out there!
iuri guerrero (3 months ago)
why my server doesn't detect my plugin? both have the same version
Weston Sublett (9 days ago)
Do you have your plugin.yml set up correctly?
Robo Head (3 months ago)
This guy is as rusty as rustablebulb455
Cameron Dudeck (3 months ago)
VerveDev, the fly command works but the message it sends back is "An internal error occured while attempting to perform this command". Do you know what the issue is? I'm using spigot 1.12.2. Here is my code: public class FlyCommand implements CommandExecutor { private Main plugin; public FlyCommand(Main plugin) { this.plugin = plugin; plugin.getCommand("fly").setExecutor(this); } public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { if (!(sender instanceof Player)) { sender.sendMessage(Utils.chat(plugin.getConfig().getString("console_error_message"))); return true; } Player p = (Player) sender; if (p.hasPermission("custome.fly")) { if (p.isFlying()) { p.setAllowFlight(false); p.setFlying(false); p.sendMessage(Utils.chat(plugin.getConfig().getString("FlyCommand.flying_disabled"))); return true; } else { p.setAllowFlight(true); p.sendMessage(Utils.chat(plugin.getConfig().getString("FlyCommand.flying_enabled"))); return true; } } else { p.sendMessage(Utils.chat(plugin.getConfig().getString("no_perm_message"))); } return false; } }
_Gewoon_Joey_ (4 months ago)
Hey! I've done something wrong, but I really don't know what... Could anyone help me out? Basically, I've created a small plugin with several commands. All of the commands work, but when a chat message should be displayed, I get an error. This is some of the code in Utils: public class Utils { public static String chat (String s) { return ChatColor.translateAlternateColorCodes('&', s); } and this is one of the messages which should be displayed: if (!(sender instanceof Player)) { sender.sendMessage(Utils.chat(plugin.getConfig().getString("console_error_message"))); return true; I really don't know what has gone wrong, so please help me out!
mgmadnesstv (5 months ago)
when i do ender.sendMessage(Utils.chat(plugin.getConfig().getString("console_message"))); i get a error at getConfig()
Clique (6 months ago)
hey, great video. when I do /fly it enables me to fly and when I do it again it disables fly. but the message I get is "An internal error occurred while attempting to perform this command". please help me. Here is the message I get when running /fly. https://gyazo.com/0fdabb2ff32797c1c8645e5d9e1aa83f
CandyCane120 (6 months ago)
next time do the speed command
IconPippi (6 months ago)
How to make GUIs
LetterSlayer (19 days ago)
+NibbaCode does that work? can u please test that for me?
spidertyler 2005 (2 months ago)
idk become a wizard
ッPH0NES (3 months ago)
how about you try that?
NibbaCode (5 months ago)
tie a rope*
NibbaCode (5 months ago)
first, you tie and rope. then, you hang the rope. finally, put your neck through the rope and tighten.
Kings for Games R B (6 months ago)
Niko please create video for ban or unban command (i have problem (error) with unban command (can you help me)); XD
VerveDev (6 months ago)
Thanks for the suggestion!
Kings for Games R B (6 months ago)
why do you change your YT nickname?
VerveDev (6 months ago)
Kings for Games R B it better suits what the channel will be doing
Kings for Games R B (6 months ago)
when you get a new video for custom_essentials??
Ansh Gupta (6 months ago)
When I'm trying to type in public FlyCommand, it says that it needs a return statement. I'm very confused. I'm using spigot 1.12, is that the problem? I had the same problem with the Death Messages video. When I type in public PlayerDeathListener it gave me the same error.
VerveDev (6 months ago)
Ansh Gupta what do you mean?
Ansh Gupta (6 months ago)
The Dev Project its ok i figured out how to make plugins in a different way idc anymore
VerveDev (6 months ago)
Ansh Gupta show me your code in a hastebin.
Kings for Games R B (6 months ago)
thanks you for that you are best developer :D
VerveDev (6 months ago)
CustomScripts (7 months ago)
By any chance you get your name from NykoNetwork if so then you may know who i am
and make ban
please make in the next time command /day (time set day) and when i type day send message to all player goodmorning ,day from (player name) and make tp and gamemode
Alex None145 (9 months ago)
Please you can give me this plugin?
FusedRicey (7 months ago)
why don't you make it?
Alex None145 (9 months ago)
this error is by p.sendMessage(Utils.chat(plugin.getConfig().getString("FlyCommand.flying_disabled"))); i can fix that? help me pls..
Alex None145 (9 months ago)
[00:22:52 WARN]: Unexpected exception while parsing console command "fly" org.bukkit.command.CommandException: Unhandled exception executing command 'fly' in plugin MultyCommands v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_161] Caused by: java.lang.NullPointerException at net.md_5.bungee.api.ChatColor.translateAlternateColorCodes(ChatColor.java:169) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] at me.MultyMain.Utils.chat(Utils.java:9) ~[?:?] at me.MultyCommands.FlyCommand.onCommand(FlyCommand.java:24) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24] ... 8 more Help pls
CiaranPi (7 months ago)
Sorry that I am late but in the Utils.java you need to use: "import org.bukkit.ChatColor;" not that other one :P
Jay Masher (9 months ago)
wow man thanks I am really enjoying your tutorials and they are inspiring me to code and learn java which is super fun, please make more tutorials as your videos are really helping me expand and get better and learn how to make plugins :D
GhostKM (9 months ago)
Can you make a tutorial on how to make a CERTAIN MOB be passive(Not attacking a certain player)? And one on how to make a toggleable custom command like "/make green", you have green selected, you will be green until you change it, as long as it's green you get a potion effect? Thank you for answering Anticipated ;)
Moog Williams (9 months ago)
keep it up! :D
Me Me (9 months ago)
Can you do Vanish if you have not?
VerveDev (9 months ago)
ItsMeTrey sure will make that next episode!
JossueDev (10 months ago)
I can’t see the last video due to copyrights, will you make a new one?
FlowkoMemez (10 months ago)
Yah Nice idea !! GOOD LUCK :)
JossueDev (10 months ago)
I’m so glad you started with the essentials! Can’t wait to learn more. How often will you upload? And for next time, do the command for /feed, /strike or even /tp - tpa - tpaccept - tpadeny tpo
Sha S (5 days ago)
JossueDev what eclips do you use
VerveDev (10 months ago)
Be sure to check out https://voidhost.us to get 30% off your minecraft test server!
JossueDev (10 months ago)
Void Entertainment Will do in the future

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.