Spigot Plugin Development - 10 - Spawn Plugin

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

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

  • @Neeky
    @Neeky 7 หลายเดือนก่อน +3

    idk, this series just is helping me a lot! ty for existing!

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

      Thank you for existing too! I hope it is going well

  • @wolfmine7408
    @wolfmine7408 ปีที่แล้ว +5

    I havent even watched the video but i made it myself!!
    I really like your tutorials!
    Thank you! :)

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

    damn bro usually its yearly uploads from you. Good shit.

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

      thats cap and you know it! shut thy mouth

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

    I have started to learn developing Minecraft server plugins since a week ago using this Spigot Plugin Development playlist. Thank you for your nice video.

  • @nguyentruong725
    @nguyentruong725 6 หลายเดือนก่อน +3

    good luck , i love video when i watch you .!

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

      Thank you!

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

    Thank You so much! you helped me a lot! your tutorials are great! also, you have a nice voice.

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

    You should have done a way to set the time after which the player gets teleported and also if the player has a respawn point then it wont teleport him to the spawn

  • @1Shazam
    @1Shazam 3 หลายเดือนก่อน

    Wouldn't it be easier to set the plugin instance in you main file and import it into the others?
    Thanks for the answers in advance.

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

    hey i get after the reactions from the /setspawn and /spawn command i get a reaction with /spawn how do i fix this?

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

    My server said "Error occurred while enabling SpawnPlugin v1.0-SNAPSHOT (Is it up to date?)" Do you know what the problem might be?

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

    can u make a plugin which teleports the player back to the last location they logged off at

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

      That is the default functionality of minecraft

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

      @@KodySimpson it doesnt do that on my server :(

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

    Is poggers dude

  • @daswiney
    @daswiney 9 หลายเดือนก่อน

    Is system out like depreciated or something? It makes me use a different method for 1.20.4 plugins I am trying to make, I don’t have an issue bc ai figured it out within .2sec but confused why system out doesn’t work for me my mc server doesn’t like it either

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

    Hey, do you know why it doesn't work on 1.8.8? What do I have to change?
    Location location = plugin.getConfig().getLocation("spawn");

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

      Looks good to me

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

      @@KodySimpson Ye but it doesn't work

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

      @@5hks Turns out 1.8.8 doesnt support this, you need to grab the data manually or come up with another way

    • @5hks
      @5hks 2 ปีที่แล้ว

      @@KodySimpson thanks and also thanks for making this series

    • @eryeo-x8n
      @eryeo-x8n 2 ปีที่แล้ว

      Hey, you have fixed this error ?

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

    It didn't work for me at first. So I removed the save instructions inside main and added this directly in the onCommand function:
    FileConfiguration config = plugin.getConfig();
    config.options().copyDefaults(true);
    config.set("spawn", location);
    plugin.saveConfig();

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

      It doesn't work for me, if you pass me the code please

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

      thanks bro i tryed to get it working for like 2h before i saw this

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

    yo i have question, when i restart server and use /spawn its says i didnt set spawn, but in config i have spawn cords and world. Can you help me?

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

      i have 1:1 code from video

  • @jojjjo157
    @jojjjo157 4 หลายเดือนก่อน

    why not just set the vanilla minecraft spawn point?

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

    Do you know in any chance why dosent my config save? Every time i reload the plugin it gets reset. Any help would be appreciated :D

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

      I cannot possibly know that without any actual code :(

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

      @@KodySimpson i am really sorry I just missed something but thanks for the reply :D

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

    HELLO DADDY KODY

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

    Help!! . what version is it for?, I get an error on respawn

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

    Is the ability to save data into config.yml a function of the newer versions?

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

      This has always been possible

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

      @@KodySimpson ok, thanks. Then I will be able to remove my h2 database

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

      @@dani3l3_ uwu

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

    do a msg plugin next

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

    Very good tutorial

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

    I found an issue where if I player sleeps in a bed after setting their spawn, they would spawn at the setspawn location stored in the config.yml, but won't spawn at the bed, how can I fix that?

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

      I made this one, and work pretty well
      public void onPlayerRespawn(PlayerRespawnEvent e){
      Location location = plugin.getConfig().getLocation("spawn");
      if(e.isBedSpawn()){
      Player p=e.getPlayer();
      p.sendMessage("Has revivido en tu cama");
      }else{
      if(location != null){
      e.setRespawnLocation(location);
      }
      }
      }

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

    Yo, could you possibly make a video on how to switch all this into kotlin? I know the basics of both java and kotlin, but dont really know what to change and where in the code. It would be awesome if you did an example listener, command, using a dependency (like protocollib).
    You dont have to continue the series in kotlin, just a side tutorial for those folks who wants to. There is only a single forum post on the spigot website that describes this, would be awesome to see it on a video.
    I am asking for I’ve heard that kotlin is much better for the modern day use, and since it interops with java it can be used for plugin development, hence I want to try it.

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

      Probably not to be honest, I dont know kotlin and am not interested in learning it. focused on other things. I appreciate the suggestion though

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

      @@KodySimpson Alright, thank you anyways. I love the series!

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

      @@realmemebox thanks dood!

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

    How can I make this plugin to work on version 1.8.8 minecraft?

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

      Watch the vid I made on this

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

      @Astox literally like the second episode or something

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

    The 69s really shook you huh haha