Spigot Plugin Development - 10 - Spawn Plugin
Автор: Kody Simpson
Загружено: 2022-01-21
Просмотров: 26129
Описание:
In this episode of the Spigot series, I show you how to make a Spawn plugin. This is a simple plugin that allows you to set a spawn point and store the location in the config.yml file and then run /spawn to teleport to it. There are also 2 listeners, one that respawns you at the location if you die, and another that spawns you at the location if it is your first time on the server. #Spigot #Minecraft #MCPlugins
Code: https://github.com/KodySimpson/spawn-...
Join the Community! - https://rebrand.ly/discordlink
Want to Support the Channel?
Become a Member: / @kodysimpson
or: https://paypal.me/kodysimpson
My Socials:
Blog: https://simpson.hashnode.dev/
Github: https://github.com/KodySimpson
Instagram: / kody_a_simpson
Twitter: / kodysimp
Timestamps by D1TZ:
0:00 Intro
0:13 What we are going to code in this video
2:00 Structuring the project
2:45 Coding the SetSpawn command
10:45 Testing if the location saves to the config.yml
12:15 Coding the spawn command
15:40 Testing the spawn command
16:30 Coding so the player spawns when it died or joined
19:20 Testing the listeners
20:05 Outro, Join the Discord server for free Tech Support
More Videos coming soon.
Leave a comment for any future video suggestions.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: