Spigot Plugin Development - 2 - Event Listeners, Javadocs, and Players

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

  • @Sunra1z
    @Sunra1z 2 ปีที่แล้ว +13

    Absolute legend. Never thought I would enjoy watching programming tutorials. Making it easy to understand really keeps me motivated about learning more Java coding

  • @decisive-dolphin
    @decisive-dolphin 2 ปีที่แล้ว +9

    Seeing "BUILD SUCCESS" in all caps makes me feel like my life might just be worth something one day. I sure hope :D thx for the help

  • @bedbreaker5675
    @bedbreaker5675 3 ปีที่แล้ว +57

    Damn..
    That's like the best tutorial I found so far! Thank you! I only know a bit of c# and I don't have any experience with java but still every single part of your code was very clear and easy to understand

  • @adamever6120
    @adamever6120 ปีที่แล้ว +3

    You are just amazing. I have tried lerning plugins many times in the past and always got frustrated, with you its not only that im not frustrated but im also excited to learn more!

    • @KodySimpson
      @KodySimpson  ปีที่แล้ว +1

      Great to hear that, I appreciate you for watching

  • @Leonidesu
    @Leonidesu 3 ปีที่แล้ว +8

    You are forgiven for using Bing because you made really helpful tutorials. Approved

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว +3

      heheheh thanks

    • @Dimitrisbey
      @Dimitrisbey 2 ปีที่แล้ว

      bing is actually the best browser because it won't hide things like google does

  • @Eilay_Yosfan
    @Eilay_Yosfan 2 ปีที่แล้ว +6

    You explain so calm and easy, i'm not experienced in code, and i got 99% of the things, thanks man, can't wait to keep learning new things ecery video!

  • @heesel4089
    @heesel4089 2 ปีที่แล้ว +2

    06:10 For anyone using 1.18.1, if you want to register your event. Create a class (the name can be anything) and then to register it type:
    import example.example.testplugin.yourEvent;
    public final class YourClassName extends JavaPlugin implements Listener {
    getServer().getPluginManager().registerEvents(new yourEvent(), this);
    }

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว +1

      What? The version does not matter and I show external class listeners in the next video

    • @heesel4089
      @heesel4089 2 ปีที่แล้ว +1

      @@KodySimpson Oh, for me your syntax didn't work when I tried it in the main file. Then I tried this and it worked.

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว +1

      @@heesel4089 Then you did it incorrectly, but thats ok

  • @sheeeeeeeeeeeeeesh2253
    @sheeeeeeeeeeeeeesh2253 2 ปีที่แล้ว +6

    Your explanation is so good that idk java but still i can code plug-ins

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว

      That's awesome! Thanks

  • @ariakamali8619
    @ariakamali8619 6 หลายเดือนก่อน

    Wow, this tutorial is wonderful
    Although English is not my main language and I am weak in it, I can understand the codes

  • @ItachiUchiha-nx2sw
    @ItachiUchiha-nx2sw ปีที่แล้ว +1

    11:26 omg you use bing! I thought you were smart 😢

  • @danish0537
    @danish0537 2 ปีที่แล้ว +2

    03:30 I was write the same thing, but How do u have auto suggest and im not ? I mean, i can just write manually, but it will be awesome if u tell me how to add auto suggest. Or, there is related from Ep 1.5 where i didnt disable spigot or bukkit with Auto suggest ?

  • @muricanunclesam
    @muricanunclesam 7 หลายเดือนก่อน +1

    Hello. I've just been stumbling through life these past few years not having an idea of what to do or who to become. Maybe with these coding tutorials I'll finally find something to do that gives my life meaning. You have my thanks

  • @dirtydogs947
    @dirtydogs947 3 ปีที่แล้ว +1

    for me there are only 2 imports at the top im not sure if that means anything because im new but if it does could you help me out

  • @wildman-jh7hl
    @wildman-jh7hl 2 ปีที่แล้ว +5

    Hey Kody amazing tutorial!!! Just a suggestion The bed death one it will kill you when you leave it even if its morning!

  • @dr.unventor
    @dr.unventor ปีที่แล้ว +1

    What color scheme are you using?

  • @KOMOKgg
    @KOMOKgg 2 ปีที่แล้ว +3

    I don't have hints

  • @halfwitz
    @halfwitz 3 ปีที่แล้ว +1

    How do you see your "target" folder and contents in IntelliJ? The folder exists but I can't navigate it on intellij

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      It should just be there, hop into discord if ya need some help

  • @rumlow3643
    @rumlow3643 3 ปีที่แล้ว +1

    hey while creatiing pproject it says unable to get minecraft versions not allowing me to go next

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      This is a glitch with the plugin, they have a dev release that should fix it i think. also update intellij if needed

    • @rumlow3643
      @rumlow3643 3 ปีที่แล้ว

      @@KodySimpson thanks a lot man for reply but it is up to date

    • @rumlow3643
      @rumlow3643 3 ปีที่แล้ว

      You can also make a series on coding hypixel plugins maybe that will get you a lot of veiws

    • @Jarxay
      @Jarxay 3 ปีที่แล้ว

      @@rumlow3643 you're not funny

  • @TheRealMrGizmo
    @TheRealMrGizmo ปีที่แล้ว

    your freaking amazing dude im still using this today!! cant wait to see more of your videos so i can make some cool mods in mc! hope the best for you brother!

  • @egg.egg.egg.egg.
    @egg.egg.egg.egg. 10 หลายเดือนก่อน

    What theme are you using?

  • @arnarpall5893
    @arnarpall5893 ปีที่แล้ว

    How come you wrote the onBedLeave so uch differently then setJoinMessage?

  • @babybananawe
    @babybananawe 2 ปีที่แล้ว

    when i do pl in the start.bat it says 0 plugins loaded (i followed all the tutorials exactly)

  • @novamodz8308
    @novamodz8308 3 ปีที่แล้ว +1

    How do i make so that the sout can do like a /kill command?

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      This isn't possible, sout is a java statement for outputting stuff to the console. For making players run commands, hop into our discord ask there

  • @mxrshant
    @mxrshant 6 หลายเดือนก่อน +1

    Love this series!

    • @KodySimpson
      @KodySimpson  6 หลายเดือนก่อน

      Thank you!

  • @duckyyy2682
    @duckyyy2682 3 ปีที่แล้ว +3

    Thank you very much, great video. What's the name of the font you are using?

  • @williamcha7469
    @williamcha7469 2 ปีที่แล้ว

    sorry to ask this but what should I do if I can't see the directory.
    ex) EventListeners > src > main > java ............

  • @derwinralph1893
    @derwinralph1893 2 ปีที่แล้ว +1

    Why do I need to register and what exactily is registering a listener?

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว

      I literally explain this in the video!

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว

      But to be more specific its just a way to hook up your code to the server so that events are routed to your listeners when the occur

    • @derwinralph1893
      @derwinralph1893 2 ปีที่แล้ว

      @@KodySimpson yea I didn't really understand sryy

    • @derwinralph1893
      @derwinralph1893 2 ปีที่แล้ว

      @@KodySimpson ohhhh ok ok got it tq u so much

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว

      haha no worries bro, hop in the discord and feel free to ask more questions there and we will help you

  • @osotumarido
    @osotumarido 2 ปีที่แล้ว

    How can I change the arrow to another entity? help!

  • @dani3l3_
    @dani3l3_ 3 ปีที่แล้ว +1

    Thanks, you helper me remember how to make these plugins

  • @Mcneds
    @Mcneds 2 ปีที่แล้ว +2

    Holy crap these are good tutorials

  • @herobrinesky3348
    @herobrinesky3348 3 ปีที่แล้ว +1

    Great video, i like your tutorial. How can my plugins support version from 1.8 to the lastest version?

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว +1

      You will have to use techniques with NMS and reflection usually, advanced topics

    • @herobrinesky3348
      @herobrinesky3348 3 ปีที่แล้ว

      @@KodySimpson Thanks so much.

    • @herobrinesky3348
      @herobrinesky3348 3 ปีที่แล้ว

      @@KodySimpson Thanks. Have you made tutorial about that?

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      @@herobrinesky3348 Not yet

  • @imluctor5997
    @imluctor5997 3 ปีที่แล้ว +1

    Hope that was a good spaghetti! Great tutorials btw love it!

  • @TiejunZhang
    @TiejunZhang ปีที่แล้ว

    how to join the bed?

  • @itsqweru
    @itsqweru 2 ปีที่แล้ว +2

    The best tutorial on youtube except for one ting: fucking bing. how dare you use it, it caused me brain damage

  • @NimitzHF
    @NimitzHF 3 ปีที่แล้ว +1

    4:03 Every mac users press CMD + Q and close Intellij Idea...

  • @miamicode7117
    @miamicode7117 3 ปีที่แล้ว +2

    Great tutorials dude ❤️.

  • @SandSeppel
    @SandSeppel 2 ปีที่แล้ว +1

    Can everyone read this message or just the player who has joined? Great tutorial btw👏

  • @MrSimSim.
    @MrSimSim. 2 ปีที่แล้ว

    This video is amazing, most people just show how to make the file, thank you so much

  • @yangyl6050
    @yangyl6050 3 ปีที่แล้ว

    Thanks so much for your wonderful tutorial. But I don't find the code in the github page you mentioned in the end of this video.

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      github.com/Spigot-Plugin-Development-Tutorial/Event-Listeners-Javadocs-and-Players/blob/master/src/main/java/me/kodysimpson/events/Events.java

    • @yangyl6050
      @yangyl6050 3 ปีที่แล้ว

      @@KodySimpson thank you so much

  • @BryH52
    @BryH52 6 หลายเดือนก่อน +1

    thank you man
    I love you

    • @KodySimpson
      @KodySimpson  6 หลายเดือนก่อน

      Love ya too, thanks for watching

  • @frogboy831
    @frogboy831 2 ปีที่แล้ว +1

    did it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @vpminecraft3236
    @vpminecraft3236 3 ปีที่แล้ว +1

    Good Explaination

  • @almuaz
    @almuaz ปีที่แล้ว

    7:08 That's what HE said.

  • @potatoneto204
    @potatoneto204 3 ปีที่แล้ว +2

    Hello Kody! Great video! I wanted to ask you, how is your Intellij look like this? this is much more pretty than the normal and I want that too :D

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      Check the video on the front of my channel!

  • @malloc2497
    @malloc2497 3 ปีที่แล้ว +1

    thanks for the vid!

  • @Guusb
    @Guusb 3 ปีที่แล้ว +1

    great video

  • @stray1239
    @stray1239 2 ปีที่แล้ว +1

    lol i did another tutorial and i did "event" not "events"

  • @SimplyNo_
    @SimplyNo_ 3 ปีที่แล้ว +1

    this is crazy

  • @ShlokAgarwal0608
    @ShlokAgarwal0608 3 ปีที่แล้ว

    8:28

  • @pietrosedda5158
    @pietrosedda5158 ปีที่แล้ว

    10:22

  • @CJdough_
    @CJdough_ 2 ปีที่แล้ว

    Im having problems with some of the text related stuff like event.joinMessage() where if I put like event.joinMessage("something") it tells me that it cant convert it to net.kyori.adventure. Do you know how I can fix it or what the issue is?

  • @Bluestone0001
    @Bluestone0001 3 ปีที่แล้ว +1

    Thank you!
    Love the videos

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      Glad you like them! Thanks

  • @craftyryte
    @craftyryte 2 ปีที่แล้ว +1

    Bro, please get a better mic, I'm not able to hear anything

    • @KodySimpson
      @KodySimpson  2 ปีที่แล้ว +7

      Get a better speakers