World Spawn icon

World Spawn -----

Allows users to set a spawn for each world on your server



World Spawn is a simple plugin that allows your server to have one spawn per world and a hub which is the main spawn (lobby).

Features
- Set a spawn per world and do /spawn to warp to the world's spawn
- [1.5] Ability to decide if you want beds/anchors to take priority over the world's spawn using /spawnonrespawn
- Spawn delay
- Link a world to an other world's spawn
- Set a hub point and use /hub to warp to it
- When you die, you respawn to the world's spawn
- When you join the server, you can spawn to the world's spawn, hub or do nothing (Configurable)
- Configurable messages (messages.yml)

Configuration
language: Select the language.
hub-enabled: Enable or disable the /hub command
hub-on-join: Makes the player warp to hub when joining
spawn-on-respawn: Forces the player to teleport to the world's spawn when respawning.
spawn-on-join: Makes the player warp to world's spawn when joining (Has priority over hub-on-join)
The rest are locations which are set through commands.
spawn-delay: How many seconds between the moment you use /spawn and the moment you get teleported.
hub-delay: How many seconds between the moment you use /hub and the moment you get teleported.

Important!
WorldSpawn's spawn/respawn priority is set to lowest, meaning that it teleport the player before any other plugins upon join and respawn. If you have plugins relocating the spawn/respawn location of the player such as Multiverse Core, please configure them to stop relocating the player upon joining and respawning for WorldSpawn to function properly.

Upgrade notes
1.4.x -> 1.5: There are 3 new language keys in the messages configuration. Please refer to the template down below.

Commands
/spawn : Spawns the player to the world's spawn;
/setspawn : Sets the world's spawn to where you stand. Adding true or false as an argument (e.g. /setspawn true) will override the "spawn-on-respawn" configuration for that world specifically;
/hub: Warps to hub;
/spawnonrespawn: Sets if the beds/anchors take priority. By setting this to true, the players will repawn in the world's spawn. If false, the player will spawn at their bed/anchor unless they don't have one.
/sethub: Sets the hub location;
/linkspawn: Links the world you are in to an other world's spawn;
/delspawn: Deletes the world's spawn you specify or the one you are in.
/worldspawn: reloads the configs and messages

Permissions
worldspawn.use: Allows the player to use /spawn and /hub
worldspawn.admin: Allows the player to use /setspawn, /sethub, /linkspawn, /delspawn
worldspawn.bypass.delay: Allows to bypass the spawn delay and instantly teleport using /spawn

Supported Languages:
English: EN
French: FR
Italian: IT
Spanish: ES
Deutsch: DE
Russian: RU
Hungarian: HU

*** You can contribute to WorldSpawn's languages by sending me language file(s). The template is down below for anyone that is interested.

config.yml
Code (YAML):
#World Spawn Configs

#What language you want the messages?
language
: EN

#Enable or disable the hub command
hub-enabled
: true

#Spawns the player to hub location when joining
hub-on-join
: true

#Spawns the player to world spawn when joining (Is priority over hub)
#If a world does not have a spawn, the player will spawn at hub
spawn-on-join
: false

#Spawns the player to world spawn when respawning (Is priority over hub)
#If a world does not have a spawn, the player will spawn at hub
spawn-on-respawn
: true

#How long (in seconds) does it take to spawn the player after running
#the command? (0 = disable)
spawn-delay
: 0

#How long (in seconds) does it take to teleport the player to the hub after running
#the command? (0 = disable)
hub-delay
: 0

#WARNING: If you do not have a world called "world", you may experience some console errors.
#         If you are experiencing console errors, shut down the server and rename the "world"
#         setting of hub and spawns sections to your main world name!

#Hub location
hub
:
  world
: world
  x
: 0
  y
: 80.0
  z
: 0
  yaw
: 90.0
  pitch
: 0.0

spawns
:
  world
:
    world
: world
    x
: 0
    y
: 80.0
    z
: 0
    yaw
: 0
    pitch
: 0
Message config for languages
Code (YAML):

#World Spawn Messages

#Prefix for feedback commands
worldspawn-main-prefix
: '&a [&bWorldSpawn&a ] '

#Prefix for admin commands
worldspawn-admin-prefix
: '&a [&bWS Admin&a ] '

#Prefix for error messages
worldspawn-error-prefix
: '&4 [&cWorldSpawn&4 ] '

#Shown when the player has no permission when using a World Spawn command.
command-no-permission
: '&cYou do not have permission to use that command.'

#Usually shown in console when the console tries to use spawn or something..
not-a-player-error
: '&cYou must be a player to use that command.'

#Shown when trying to access a non-existant world.
specified-world-not-exist
: '&cThe specified world does not exist.'

#Shown when the world has no spawn
no-spawn-world
: '&cThere is no spawn in this world.'

#Shown when using /worldspawn which just does a config reload.
config-reload
: '&aConfig reloaded!'

#Shown when spawning using /hub
hub-spawning
: '&aSpawning to Hub ...'

#Shown when the /linkspawn command fails
#WHERE %w = specified world name
spawn-link-fail
: '&e %w &cdoes not exist or does not have a spawn point.'

#Shown when successfully linking a world to a worldspawn
#WHERE %f = world name where the player executed the command
#      %t = specified world
spawn-link-success
: '&e %w &ais now linked to %t'

#Shown when successfully setting the hub using /sethub
hub-set-success
: '&aHub set!'

#Shown when hub does not exist
hub-not-exists
: '&cHub does not exist'

#Shown when successfully setting the spawn location of a world
#WHERE %w = world name
set-spawn-success
: '&aSpawn set for &e %w&a!'

#Shown when successfully deleting a spawn from %w world
#WHERE %w = world name
spawn-delete-success
: '&aSpawn deleted for &e %w &a!'

#1.5
#Shown when failing to delete a spawn from %w world
#WHERE %w = world name
spawn-delete-fail
: '&aUnable to delete spawn for &e %w &a!'

#Shown when using /spawn with a delay
#WHERE %w = world name
#      %t = delay in seconds
spawning-delay-message
: '&aSpawning to &e %w &ain %t seconds...'

#Shown when using /hub with a delay
#WHERE %t = delay in seconds
spawning-hub-delay-message
: '&aSpawning to Hub in %t seconds...'

#Shown when spawning to an other world
#WHERE %w = world name
spawning-message
: '&aSpawning to &e %w&a...'

#Shown when the spawning is being cancelled
spawning-cancelled
: '&cSpawning cancelled!'

#1.5
#Shown when successfully configuring a spawn from %w world
#WHERE %w = world name
spawn-configure-success
: '&aSpawn configured for &e %w &a!'

#1.5
#Shown when failing to configure a spawn from %w world
#WHERE %w = world name
spawn-configure-fail
: '&aUnable to configure spawn for &e %w &a!'

 
Feature request
If you have any suggestions for future features, you can leave a comment and I'll reply or consider them.

Setup video



Download Milestones

- 100 ✓
- 200 ✓
- 300 ✓
- 400 ✓
- 500 ✓
- 600 ✓
- 700 ✓
- 800 ✓
- 900 ✓
- 1000 ✓
- 2000 ✓
- 5000 ✓
- 10000 ✓
- 20000 ✓
- 50000 ?

=========================================================

6omrLK2LUgVWO9Z7FDQpn3d1roBMHS3OAfWlasdi.jpeg

Also checkout my parkour server...
IP
: mc.worldparkourmaker.com
Site: https://www.worldparkourmaker.com/
Twitter: https://twitter.com/Bluecoaster455
Resource Information
Author:
----------
Total Downloads: 76,562
First Release: Apr 11, 2017
Last Update: Mar 5, 2021
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings