You are the only one who managed to do everything perfectly. Beginners should start with your videos. It sucks how in other videos, people manage to make worst of mistakes which gives wrong information to the beginner. Anyways, wonderful video
I love your videos, keep up the great work! Any chance you could do a video that goes more in depth to path finding and possibly even custom path finder goals? Stay safe man
If anyone is interested, instead of a ternary expression (connection == null ? false : true) you can alternatively just do "return connection != null". These are logically equivalent.
could u make tutorial on custom items? or toggle commands? say when i type /jump i get big jump effect and i can disable it with same command. love ur vids keep it up
As for custom items, you can't make a completely custom item with a custom ID because the client will not be able to see it. Custom items based on other items are in episodes 5 and 6 of CodedRed's spigot beginner series.
Why is your game looking so nicer than mine?? Is it caused that I am still stuck on 1.8 or is it all improvements by tools like shaders and resource packs? If yes, could you tell me your secrets, what you are actually using? :) btw that was already in mind since I watched your videos for first time. And I really enjoy the style of your videos and I think they could be very informative and useful for the people who are not that experienced yet. I think the key is, that you talk/explain about what you are coding and not doing boring copy&paste stuff. If I would imagine that I am new in that programming world, you would be a big help to understand. Soo keep going on! oups... just went a bit offtopic from my origin question :d
hey little General Java Question, at 11:02 couldn’t we just do return connection != null Wouldn’t that method return true if it was connected and return false if it wasn’t ? Thanks 😊
@@CodedRed It's probably a good idea too also check if the connection is still open as the database may have closed it. In conclusion, the current implementation of isConnected may return a false positive.
I'm curious how you know so much about Java and plugin development, besides the plugins on your spigot page, what do you do? Have you worked with servers?
I have had servers in the past as well as been a developer for a few. My plugins on SpigotMC don’t reflect all that I’ve done before :) I have 100s of plugins that I’ve coded just for fun lol
Hi I'm probably a bit late but is it possible to change this to SQLite and what should be changed? I know that this may seem complicated to explain in a comment but if you have any documentation it would be a great help.
9:01 I don't have a java.sql.connection import. It shows me sun.rmi.transport.Connection as an option. I posted more details here: www.spigotmc.org/threads/setting-up-sql-no-java-sql-connection-with-intellij.476183/ No solution yet.
it says "No suitable driver found for jdbc:mysql://localhost:3306/discordbotdata?useSSL=false " for the data base i plan to use for my economy discord bot. Can someone help?
You should set "useSSL" to true by default, (if not specified it assumes true) and make it a config option. Most server hosts have SSL certificates on their databases, but not all do. And establishing an SSL connection to a database without a certificate will spam the shit of out console. And establishing a non-SSL connection to a database that has a certificate, just defeats the purpose of it.
You are the only one who managed to do everything perfectly.
Beginners should start with your videos. It sucks how in other videos, people manage to make worst of mistakes which gives wrong information to the beginner.
Anyways, wonderful video
i love these videos so much, i'm extremely pleased to see that your channel has grown exponentially! thanks for everything man.
Keep up please! Dont stop uploading like everyone else. I really enjoi watching these tutorials
Hey codedred! Love ur vids they have helped me a lot with my coding. thanks heaps
Just saying, at 9:53, you could've just used "return connection != null;" for the return instead of using a conditional operator.
I have to use db for school but didn't know how to do it in mc. But now I do can't wait on the next video
Thanks, really helped me to figure out what's wrong with my code.
After many hours of searching this was the one thanks
What a coincidence! I'm building a plugin for a client that requires MYSQL data storage. Thank you!
I got kinda confused at some parts but it was mostly my fault, the tutorial was top tier though and really was easy for me to follow.
Thank you so much for making these videos!
I love your videos, keep up the great work! Any chance you could do a video that goes more in depth to path finding and possibly even custom path finder goals? Stay safe man
Also you can use return (connection != null); on isOnline method
Thank you so much, this really helped me :)
If anyone is interested, instead of a ternary expression (connection == null ? false : true) you can alternatively just do "return connection != null". These are logically equivalent.
could u make tutorial on custom items? or toggle commands? say when i type /jump i get big jump effect and i can disable it with same command. love ur vids keep it up
We already have all instruments for that. Just use vectors when you jump. Jumping is a player movement event btw.
As for custom items, you can't make a completely custom item with a custom ID because the client will not be able to see it. Custom items based on other items are in episodes 5 and 6 of CodedRed's spigot beginner series.
9:30 you could just have "return connection == null;" instead of the ternary thingy right?
yup lol
should be !=
Here before insprill
>:(
Insprill suck it
help me, what data did you use to create the playerdata table? if I don't understand that I won't understand anything about the video anymore
Why is your game looking so nicer than mine?? Is it caused that I am still stuck on 1.8 or is it all improvements by tools like shaders and resource packs? If yes, could you tell me your secrets, what you are actually using? :) btw that was already in mind since I watched your videos for first time. And I really enjoy the style of your videos and I think they could be very informative and useful for the people who are not that experienced yet. I think the key is, that you talk/explain about what you are coding and not doing boring copy&paste stuff. If I would imagine that I am new in that programming world, you would be a big help to understand. Soo keep going on!
oups... just went a bit offtopic from my origin question :d
he's using shaders. Also, what do you mean "stuck on 1.8"? Just change versions in the Minecraft launcher
He is using shaders, as well as a Minecraft version greater than 1.14, where Mojang basically changed all the textures.
hey little General Java Question, at 11:02 couldn’t we just do return connection != null Wouldn’t that method return true if it was connected and return false if it wasn’t ? Thanks 😊
Time stamp is a lil bit of oops but I’m talking about the Boolean method
RaworaDesign Yes, we could of wrote that return statement in many ways :)
@@CodedRed It's probably a good idea too also check if the connection is still open as the database may have closed it. In conclusion, the current implementation of isConnected may return a false positive.
I'm curious how you know so much about Java and plugin development, besides the plugins on your spigot page, what do you do? Have you worked with servers?
I have had servers in the past as well as been a developer for a few. My plugins on SpigotMC don’t reflect all that I’ve done before :) I have 100s of plugins that I’ve coded just for fun lol
why not just make the methods in the sql class static?
Awesome Tutorial! Do you mind sharing what shader you use?
Hi I'm probably a bit late but is it possible to change this to SQLite and what should be changed? I know that this may seem complicated to explain in a comment but if you have any documentation it would be a great help.
When does part 2 come out cuz I can’t wait.
You forgot to disconnect on the onDisable (reload) now you have 3 separate connections open
9:01 I don't have a java.sql.connection import. It shows me sun.rmi.transport.Connection as an option.
I posted more details here:
www.spigotmc.org/threads/setting-up-sql-no-java-sql-connection-with-intellij.476183/
No solution yet.
you should make a series on making a minigame plugin.
I also see that you have the bot marina. I have it too :/
Nice video! But at 9:24 you could have just used return connection != null;
it says "No suitable driver found for jdbc:mysql://localhost:3306/discordbotdata?useSSL=false
" for the data base i plan to use for my economy discord bot. Can someone help?
How to fix the ClassNotFound error?
You should set "useSSL" to true by default, (if not specified it assumes true) and make it a config option. Most server hosts have SSL certificates on their databases, but not all do. And establishing an SSL connection to a database without a certificate will spam the shit of out console. And establishing a non-SSL connection to a database that has a certificate, just defeats the purpose of it.
Definitely should make it a config option like i said :) when set to true it breaks my database.
Can you make tutorial how to make custom potion effect?
You can't make a completely custom potion effect. You can only give another name and functionality to an existing effect.
this very nice video
Helpful
You could also just say: return (connection != null);
It doesn't work for me :(
Not working to me F
this does not work
It does :)
Not that it really matters but SQL is said "sequel" out loud, not "ess queue ell"
The pronounciation discussion is still going... It’s just like the tab vs space discussion: you just have to choose for yourself