
Spawn | FancySetSpawn
📍 Simple spawn management plugin ⚙️ Custom messages 💬 Teleport sounds 🔊 /setspawn | /spawn 🚀 Supports 26.x ✅ | Simple API
!FancySpawn banner
A simple spawn plugin for Spigot and Paper.
FancySetSpawn lets players set a server spawn and teleport back to it with /spawn. It also supports customizable sounds, messages, and action bar notifications.
Works with Spigot and Paper 1.8.8+.
Features
!settings !setspawn !spawn
- Set spawn with
/setspawn - Teleport to spawn with
/spawn - Custom sounds for teleporting, setting the spawn, and joining
- Chat or action bar messages
- In-game configuration through
/fancyspawn - Configurable sounds, volume, pitch, and messages
- Reload configuration without restarting the server
- API for other plugins, available since version 1.2
Commands
| Command | Permission | Description |
|---|---|---|
/setspawn | fancyspawn.setspawn | Sets the spawn at your current location. |
/spawn | fancyspawn.spawn | Teleports you to the saved spawn. |
/fancyspawn | fancyspawn.admin | Shows the current settings. |
/fancyspawn reload | fancyspawn.admin | Reloads the configuration and spawn data. |
/fancyspawn sound <teleport|setspawn|join> <sound|off> | fancyspawn.admin | Sets or disables a sound. |
/fancyspawn volume <0-10> | fancyspawn.admin | Changes the sound volume. |
/fancyspawn pitch <0.5-2> | fancyspawn.admin | Changes the sound pitch. |
/fancyspawn messagelocation <chat|actionbar> | fancyspawn.admin | Selects where messages are displayed. |
/fancyspawn message <set|teleport|notset|onlyplayer> <text> | fancyspawn.admin | Changes a player message. Supports & color codes. |
Permissions
| Permission | Default | Description |
|---|---|---|
fancyspawn.spawn | Everyone | Allows /spawn. |
fancyspawn.setspawn | Operators | Allows /setspawn. |
fancyspawn.admin | Operators | Allows /fancyspawn and its subcommands. |
Installation
- Download the latest FancySpawn
.jar. - Put it into your server's
pluginsfolder. - Start or restart the server.
- Configure the plugin in
plugins/FancySetSpawn/config.yml, or use/fancyspawn.
The spawn location is stored in:
plugins/FancySetSpawn/spawnconfig.yml
Configuration
FancySpawn supports both chat and action bar messages.
Set messageLocation to either chat or actionbar.
Sounds can be disabled by setting them to off or leaving them empty.
config.yml
messages:
messageLocation: actionbar
spawnSet: "&aSpawn has been set to your current location!"
teleportToSpawn: "&aYou have been teleported to spawn!"
spawnNotSet: "&cSpawn position is not set."
commandOnlyPlayer: "&cThis command can only be used by a player."
reloaded: "&aConfiguration reloaded."
reloadFailed: "&cCould not reload the configuration. Check the console."
valueSet: "&a{key} set to &f{value}&a."
soundDisabled: "&aSound &f{key} &ahas been disabled."
saveFailed: "&cCould not save the configuration."
sounds:
teleport: "minecraft:entity.experience_orb.pickup"
setSpawn: "minecraft:entity.experience_orb.pickup"
playerJoin: "minecraft:entity.player.levelup"
soundSettings:
volume: 1.0
pitch: 1.0
After changing the configuration manually, use:
/fancyspawn reload
API
FancySpawn provides an API for other plugins starting with version 1.2.
The API allows other plugins to access the saved spawn and teleport players to it.
Add FancySpawn as a dependency in your plugin.yml:
depend: [FancySetSpawn]
The plugin name is FancySetSpawn.
Available methods
| Method | Description |
|---|---|
getSpawnLocation() | Returns the saved spawn location, or null if it is not set or its world is unavailable. |
isSpawnSet() | Returns true if a valid spawn is set. |
teleportPlayerToSpawn(Player) | Teleports the player to the saved spawn and handles the teleport sound and message. Returns false if the teleport fails. |
API example
import org.bukkit.entity.Player;
import org.patekcz.setSpawn.FancySpawnAPI;
import org.patekcz.setSpawn.SetSpawn;
public void teleportToSpawn(Player player) {
SetSpawn plugin = (SetSpawn) getServer()
.getPluginManager()
.getPlugin("FancySetSpawn");
if (plugin == null || !plugin.isEnabled()) {
return;
}
FancySpawnAPI api = plugin.getAPI();
api.teleportPlayerToSpawn(player);
}
☕ Support me on Ko-fi
Built with ❤️ by patek_cz
Сервер для плагина Spawn | FancySetSpawn - как у профи
Плагин Spawn | FancySetSpawn создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Spawn | FancySetSpawn для друзей можно за пару минут - BungeeHost всё уже подготовил.
