Description: Set the spawn point without unnecessary hassle
Commands:
/spawn (You can change the name of the command in the config.yml)
Plugin has only one configuration file:
Code (YAML):
############################# # SimpleSpawnCommand # # Made by GameDoctor # # 2024 # ############################# settings: # The right to teleport. Set to "-" if the right is not required permission: "-" # The right to teleport other players to spawn using the command /spawn <nickname>. Set to "-" if the right is not required permTeleportOther: "spawn.admin" # The right to change the spawn point using the /spawn set command . Set to
"-" if the right is not required
permSetSpawn: "spawn.admin" # The location is spawned. It is possible manually, it is possible by the command /spawn set location:
world: "world" x: 1
y: 1
z: 1
yaw: 1
pitch: 1
# If true, the player will be teleported to spawn every time he enters teleportOnJoin: false
# If true, the player will be teleported to spawn at the first login to the server teleportOnFirstJoin: true
command: # Command Settings # Whether to register a command register: true
# The name of the main command name: "spawn" # Alternatives to this command. You can remove it aliases: -
"tospawn" messages:
teleported:
chat:
enable: true
lines: -
"&aYou were teleported to spawn" title:
enable: true
line1: "&7Welcome to spawn," line2: "&c%player%" fadeIn: 20
# 1 sec stay: 60
# 3 sec fadeOut: 20
# 1 sec actionBar:
enable: false
message: "&7Welcome to spawn, &c%player%" sound: # Take the names of the sounds from the site https://www.spigotmc.org/wiki/cc-sounds-list enable: false
name: "ENTITY_PLAYER_LEVELUP" cmdNoPerm:
chat:
enable: true
lines: -
"&cYou don't have enough rights" sound:
enable: false
name: "ENTITY_ITEM_BREAK" spawnSet:
chat:
enable: true
lines: -
"&aYou have successfully set a new spawn point" teleportOther:
chat:
enable: true
lines: -
"&aYou have successfully teleported the %target% player to spawn" teleportOtherNotFound:
chat:
enable: true
lines: -
"&cPlayer %target% not found"
Code (YAML):
############################# # SimpleSpawnCommand # # Made by GameDoctor # # 2024 # ############################# settings: # Право на телепортирование. Установите на "-", если право не требуется permission: "-" # Право телепортировать других игроков на спавн с помощью команды /spawn <ник>. Установите на "-", если право не требуется permTeleportOther: "spawn.admin" # Право на изменение точки спавна с помощью команды /spawn set. Установите на "-", если право не требуется permSetSpawn: "spawn.admin" # Локация спавна. Можно вручную, можно по команде /spawn set location:
world: "world" x: 1
y: 1
z: 1
yaw: 1
pitch: 1
# Если true - При входе игрок будет каждый раз телепортирован на спавн teleportOnJoin: false
# Если true - Игрок будет телепортирован на спавн при первом входе на сервер teleportOnFirstJoin: true
command: # Настройки команды # Регистрировать ли команду register: true
# Название главной команды name: "spawn" # Альтернативы этой команде. Можно убрать aliases: -
"tospawn" messages:
teleported:
chat:
enable: true
lines: -
"&aВы были телепортированы на спавн" title:
enable: true
line1: "&7Добро пожаловать на спавн," line2: "&c%player%" fadeIn: 20
# 1 sec stay: 60
# 3 sec fadeOut: 20
# 1 sec actionBar:
enable: false
message: "&7Добро пожаловать на спавн, &c%player%" sound: # Берите названия звуков с сайта https://www.spigotmc.org/wiki/cc-sounds-list enable: false
name: "ENTITY_PLAYER_LEVELUP" cmdNoPerm:
chat:
enable: true
lines: -
"&cУ вас недостаточно прав" sound:
enable: false
name: "ENTITY_ITEM_BREAK" spawnSet:
chat:
enable: true
lines: -
"&aВы успешно установили новую точку спавна" teleportOther:
chat:
enable: true
lines: -
"&aВы успешно телепортировали игрока %target% на спавн" teleportOtherNotFound:
chat:
enable: true
lines: -
"&cИгрок %target% не найден"
Demonstation:
The HEX color format in the plugin is similar to the one used in the infamous Essentials plugin. For the convenience of generating HEX text gradients, there is a website
https://spigot.kosfarix.ru/hex
But
keep in mind that variables (%player%, %color%, and so on)
cannot be converted to this format.
Формат HEX цветов в плагине похож на тот, что используется в небезызвестном плагине Essentials. Для удобства генерации HEX градиентов текста существует сайт
https://spigot.kosfarix.ru/hex
Но
имейте в виду, что переменные (%player%, %color% и так далее)
нельзя переводить в этот формат.
Note: If you want additional functionality to be added to the plugin, just write about it in the discussion
Installation: Download, drop it in plugins folder and restart your server