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.
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
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
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();
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?
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); } } }
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.
idk, this series just is helping me a lot! ty for existing!
Thank you for existing too! I hope it is going well
I havent even watched the video but i made it myself!!
I really like your tutorials!
Thank you! :)
damn bro usually its yearly uploads from you. Good shit.
thats cap and you know it! shut thy mouth
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.
good luck , i love video when i watch you .!
Thank you!
Thank You so much! you helped me a lot! your tutorials are great! also, you have a nice voice.
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
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.
hey i get after the reactions from the /setspawn and /spawn command i get a reaction with /spawn how do i fix this?
My server said "Error occurred while enabling SpawnPlugin v1.0-SNAPSHOT (Is it up to date?)" Do you know what the problem might be?
can u make a plugin which teleports the player back to the last location they logged off at
That is the default functionality of minecraft
@@KodySimpson it doesnt do that on my server :(
Is poggers dude
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
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");
Looks good to me
@@KodySimpson Ye but it doesn't work
@@5hks Turns out 1.8.8 doesnt support this, you need to grab the data manually or come up with another way
@@KodySimpson thanks and also thanks for making this series
Hey, you have fixed this error ?
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();
It doesn't work for me, if you pass me the code please
thanks bro i tryed to get it working for like 2h before i saw this
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?
i have 1:1 code from video
why not just set the vanilla minecraft spawn point?
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
I cannot possibly know that without any actual code :(
@@KodySimpson i am really sorry I just missed something but thanks for the reply :D
HELLO DADDY KODY
Yoooo
Help!! . what version is it for?, I get an error on respawn
Is the ability to save data into config.yml a function of the newer versions?
This has always been possible
@@KodySimpson ok, thanks. Then I will be able to remove my h2 database
@@dani3l3_ uwu
do a msg plugin next
Very good tutorial
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?
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);
}
}
}
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.
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
@@KodySimpson Alright, thank you anyways. I love the series!
@@realmemebox thanks dood!
How can I make this plugin to work on version 1.8.8 minecraft?
Watch the vid I made on this
@Astox literally like the second episode or something
The 69s really shook you huh haha