Spigot Plugin Development - 10 - Spawn Plugin

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 59

  • @Neeky
    @Neeky 9 месяцев назад +3

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

    • @KodySimpson
      @KodySimpson  8 месяцев назад +1

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

  • @wolfmine7408
    @wolfmine7408 2 года назад +5

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

  • @Ecks1118
    @Ecks1118 3 года назад +5

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

    • @KodySimpson
      @KodySimpson  3 года назад +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 7 месяцев назад +3

    good luck , i love video when i watch 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 3 года назад +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 5 месяцев назад

    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?

  • @daswiney
    @daswiney 10 месяцев назад

    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

  • @mlodyozzy
    @mlodyozzy Год назад

    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?

    • @mlodyozzy
      @mlodyozzy Год назад

      i have 1:1 code from video

  • @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 :(

  • @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();

    • @TheAluna26
      @TheAluna26 Год назад

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

  • @jojjjo157
    @jojjjo157 5 месяцев назад

    why not just set the vanilla minecraft spawn point?

  • @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 ?

  • @ahuman524
    @ahuman524 3 года назад +3

    HELLO DADDY KODY

  • @markloving11
    @markloving11 3 года назад +2

    Is poggers dude

  • @stikosek
    @stikosek 3 года назад +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  3 года назад

      I cannot possibly know that without any actual code :(

    • @stikosek
      @stikosek 3 года назад +1

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

  • @realmemebox
    @realmemebox 3 года назад +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  3 года назад

      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 3 года назад

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

    • @KodySimpson
      @KodySimpson  3 года назад

      @@realmemebox thanks dood!

  • @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);
      }
      }
      }

  • @Rmly
    @Rmly 3 года назад +3

    do a msg plugin next

  • @dani3l3_
    @dani3l3_ 3 года назад +1

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

    • @KodySimpson
      @KodySimpson  3 года назад

      This has always been possible

    • @dani3l3_
      @dani3l3_ 3 года назад

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

    • @KodySimpson
      @KodySimpson  3 года назад +1

      @@dani3l3_ uwu

  • @Baitermin
    @Baitermin 3 года назад +1

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

    • @KodySimpson
      @KodySimpson  3 года назад

      Watch the vid I made on this

    • @KodySimpson
      @KodySimpson  2 года назад

      @Astox literally like the second episode or something

  • @IndianBartonka
    @IndianBartonka 2 года назад

    Very good tutorial

  • @jonathankee9322
    @jonathankee9322 2 года назад +1

    The 69s really shook you huh haha