@@RitaTheCuteFox if (cmd.getName().equals("example")) { // your code } else if (cmd.getName().equals("example2")) { // your code } // etc... this is how it is possible
1:26 I disagree. Why wount I just use 2 chars in my string and keep my code clean instead of this mess? If it ever gets changed I will do a huge replace in 2 clicks and done. Or even better I code with § codes and replace it for the productive version?
If you’ve tried to use the special character and committed it to git before, you’ll likely know that it can cause some issues between operating systems. Not only that, the feature is technically unsupported and using the ChatColor api instead of the chat directly protects you from any changes and ensures your plugin is backwards and forwards compatible in the event of any issues
honestly you can also just create a method to have it shortened out and still type it relatively smaller. Keeping you safe from issues with operating systems.
I'm trying to rewrite the skywars project, but I'm new in Java (I just have like 3 months) and I come from Js, so the project right now it's a complete mess. (Sry for gramatical mistakes, I'm also learning english :) )
I didn't think I would ever have to see some of these again, but here we are 🤣
Hey!
👋
Your first plugin is better than mine xDD (It such bad if look at code)
I remember I had in a single command executor class a switch-case of 30 commands.. that was horrible, about 1200 lines...
@@RitaTheCuteFox if (cmd.getName().equals("example")) {
// your code
} else if (cmd.getName().equals("example2")) {
// your code
}
// etc...
this is how it is possible
1:26 I disagree. Why wount I just use 2 chars in my string and keep my code clean instead of this mess? If it ever gets changed I will do a huge replace in 2 clicks and done. Or even better I code with § codes and replace it for the productive version?
If you’ve tried to use the special character and committed it to git before, you’ll likely know that it can cause some issues between operating systems. Not only that, the feature is technically unsupported and using the ChatColor api instead of the chat directly protects you from any changes and ensures your plugin is backwards and forwards compatible in the event of any issues
honestly you can also just create a method to have it shortened out and still type it relatively smaller. Keeping you safe from issues with operating systems.
Your first projects were much better than many of us
Maybe.. I don’t think so 😂
I'm trying to rewrite the skywars project, but I'm new in Java (I just have like 3 months) and I come from Js, so the project right now it's a complete mess. (Sry for gramatical mistakes, I'm also learning english :)
)
Chat believe I just found about you now! You are very talented, liked and subscribed!
Please make a video coding itemshop with a website
Get this man a mil subs now!!!!
🥺
YO REQUEST GOT ACCEPTED YAY JOIN THE DISCORD IT'S NOT A SCAM
First, Jordan is the best
New video!
mrbeast?