UPDATE:
Perm sospawn.spawn.others and sospawn.spawn.others.bypass work now!
New config:
Code (YAML):
#Information
#Version: 1.1
#2st update
#Author: SausagesDev
#Support: https://discord.gg/YY38UD8FY6
#Version support: 1.19 and more
#Location of spawn
#[!] Do not change this information [!]
spawnLocation:
world:
x:
y:
z:
yaw:
pitch
:
#Teleport to spawn on player first join
spawnFirstJoin
: false
#Teleport to spawn on player join
spawnJoin
: false
#Teleport to spawn on player death
spawnDeath
: false
#All plugin messages
messages
:
#off/on prefix for all messages
enablePrefix
: true
#Prefix for all messages
prefix
:
"&f[&e★&f] &f"
#No permission message
noPerm
:
"&cYou don't have permission for this command."
#No spawn set message
spawnNotSet
:
"&cSpawn has not been set"
#disable/enable playerTeleport message
enablePlayerTeleport
: true
#Player teleport message
#Permission: sospawn.spawn
playerTeleport
:
"&aYou have been teleported to spawn."
#disable/enable playerTeleportOther message
enablePlayerTeleportOther
: true
#Other player teleport message
playerTeleportOther
:
"&aYou teleported a player to spawn"
#disable/enable adminTeleport message
enableAdminTeleport
: true
#Player teleported by operator message
#Permission: sospawn.spawn.others
adminTeleport
:
"&aYou have been teleported to spawn by &e"
#Set spawn message
#Permission: sospawn.setspawn
spawnSet
:
"&aSpawn has been set"
#Can't teleport player message
#Permission: sospawn.spawn.others.bypass
noTeleport
:
"&cYou can't teleport this player."
#No player executor message
onlyPlayerCommand
:
"&cOnly players can execute this command"
#Player not found message
playerNotFound
:
"&cPlayer not found"
#Reloaded config message
configReload
:
"&aConfig reloaded!"
#Help page messages
help
:
-
"&f| "
-
"&f| &eHelp page (&fSoSpawn&e)"
-
"&f| "
-
"&f| This message &e/help"
-
"&f| Spawn teleport &e/spawn"
-
"&f| Set spawn &e/setspawn"
-
"&f| Set spawn &e/reload"
-
"&f| "
data
:
players: