Minecraft PC IP: play.cubecraft.net

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
Hello people interesed in code:

What is needed:
  • Eclipse
  • BuildTools decompiled (when you click the link, it's recommended to read everything)
  • Spigot/Bukkit jar imported into Eclipse(See below how)
Not needed but helpful (you can learn a bit of Java using my tutorial series of bukkit/spigot)
  • Basic Java knowledge
This is a simple tutorial on how to create a plugin: yup that's my voice. my microphone isn't actually the best, sorry for those weird things







How to import spigot/bukkit .jar into eclipse
1) Start Eclipse; you may change the workspace location if desired.
2) Create a new Project

  • Set the project name to whatever you wish. Here, we chose SpigotBlankPlugin. Click next.
  • Select Add External JARs under the Libraries tab. In the JAR Selection dialogue box, select the spigot-api-shaded jar file. Select Finish
3) Add a new package
Right click on src and click on New > Package. You may use any namespace convention you wish, just be consistent. Here, I use reverse domain name notation





I'm not a 10/10 coder or something like that, I'll "tryhard" to teach you everything I know along I'm learning.




PS: @Minikloon add this to your post of ways to learn coding ;)
jk this is crap



 
Last edited:

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
You can now see the video and hear my sexy voice


Also, sorry for Action watermark. Shadowplay didn't capture my voice + OBS eated my ram (still eating my ram, I can see a worm eating it, now it's eating the graphics card. HE'S HUNGRY!)


@Minikloon ask @HackersDontWin why im using your skin
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
This is my plan-list for some people might be interesed:
  1. Sending messages to the player on command
  2. Sending mesages with colors on commands
  3. Simple kits
  4. Locations
  5. Teleports between player
  6. Warps
  7. Simple configs
  8. Broadcasting messages
  9. World protection
  10. Editing servers MOTD
  11. Advanced configs
  12. Chat Filter
  13. ---------------------
  14. Spanish version/Serie en español
  15. ---------------------
  16. Plugin simple
  17. Mandar mensajes al jugador
  18. Mandar mensajes al jugador con colores
  19. Kits simples
  20. Teleportaciones entre jugadores
  21. Localizaciones
  22. Config.YML basicos
  23. Mandar mensaje global
  24. Proteccion de mundo
  25. Cambiando MOTD del servidor
  26. CONFIG.YML avanzados
  27. Filtro del chat
 
Last edited:

Buuuddy

Forum Expert
Mar 31, 2016
1,893
5,627
344
How good this tutorial may be, I will never understand how codes work... :(
 

LowFat

Well-Known Member
Dec 23, 2015
390
270
138
24
The Chunk Network
Way too fast of a tutorial for people who don't understand java itself, and way too slow of a tutorial for people who do.
I suggest you just assume the viewer already understands java and teach them Bukkit as if it were its own language.
 

Cubo ㅤ

Well-Known Member
Jul 12, 2016
363
253
139
Spanish:
Gracias, cuando tenga que crear un plugin en Bukit/Spigot ya sé a donde acudir :D (Creo que haré un server con mis amigos)
English:
Thank you, when I create one plugin in Bukit/Spigot I know where go :D (I think I will do a server with my friends)
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
Way too fast of a tutorial for people who don't understand java itself, and way too slow of a tutorial for people who do.
I suggest you just assume the viewer already understands java and teach them Bukkit as if it were its own language.
Okay, I'll do that one the next chapters, thanks!
How good this tutorial may be, I will never understand how codes work... :(
Like English, but in weird formatting + impossible to pronunce a class + more weird things.
Spanish:
Gracias, cuando tenga que crear un plugin en Bukit/Spigot ya sé a donde acudir :D (Creo que haré un server con mis amigos)
English:
Thank you, when I create one plugin in Bukit/Spigot I know where go :D (I think I will do a server with my friends)
thanks :D
 
  • Like
Reactions: Buuuddy

SantaClawz416

Well-Known Member
Jul 21, 2016
2
1
78
24
The tutorial is good for those who already know the basic functions and mentality of Java, but not so good for people that are just starting. You didn't explain what any of your methods do. onEnable() or onDisable() method. You simply just typed in the code and plugin.yml and hoped for people to know. If you're going to do that I suggest leaving a link of where people can learn the basics of Java.
 
  • Like
Reactions: Dan:

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
The tutorial is good for those who already know the basic functions and mentality of Java, but not so good for people that are just starting. You didn't explain what any of your methods do. onEnable() or onDisable() method. You simply just typed in the code and plugin.yml and hoped for people to know. If you're going to do that I suggest leaving a link of where people can learn the basics of Java.
I said that? Anyways, next chapter will be verter
 
Members Online

Team online

Latest profile posts

mojang nerf mobile players pls
Someone nerfed me because I can't find those hidden chests as easily anymore.. I won't stop trying tho >:c
help I haven't done ANYTHING I wanna do something:((((
Top Bottom