⤧ SetTheSpawn ⤧ v1.9

Set spawn at the location. (Per world, progress bar, effect, gui, Vault support, spawn sign)

  1. Toldi
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Contributors:
    montlikadani
    SetTheSpawn
    Version: 1.7.x-1.13.x
    Commands & Permissions | Config.yml | Placeholders | Messages.yml | Issues

    Bukkit Link: Click

    Bug report here! (Click)

    I ask everyone to use the latest version, because I may have fixed that bug.

    Vote! Which spawn plugin is the best!
    Here

    Overview
    This plugin can be useful because you can set the spawn location for the server (players) to teleport to that location. I think this would be the best spawn plugin, but it still seems to be using EssentialsSpawn.

    Currently under repair:

    - Add animated particle effects that can be edited.

    Progress bar test
    [​IMG]

    Features
    ➢ Set spawn location
    ➢ Teleport delay (in seconds)
    ➢ Cost of player moved, jumped & damage - v1.8
    ➢ Progress bar - v1.7
    ➢ Teleport cancel if the player moves, jump (v1.5) & damage (v1.6).
    ➢ Teleport effect, sound & command (player or console).
    ➢ Void teleports to spawn.
    ➢ Launch firework when teleport to spawn. - v1.8
    ➢ Customizable sign text in configuration. - v1.2
    ➢ Per world spawn - v1.1
    ➢ Gui settings
    ➢ If a player rides on a horse or pig and teleports to the spawn, then the entity remains. - v1.9
    ➢ Protect player after teleport (time in seconds) - v1.8
    ➢ Title & actionbar supported (No plugin required)
    ➢ Check sneak mode while teleport. - v1.4
    ➢ Disable worlds - v1.3
    ➢ Spawn teleport (first join, join, respawn - v1.1)
    ➢ Check fly before teleport - v1.3
    ➢ Spawn cost (command & sign) - v1.1
    ➢ Vault support (optional) - v1.1
    ➢ Spawn sign - v1.2
    Feature comparison
    [​IMG]
    Commands
    [ ] = optional arguments
    < > = required arguments
    ( ) = command abbreviations
    ; = writes more to one place

    - /setthespawn (or /sts) - Main plugin info.
    - /sts help - Help commands.
    - /sts disable - Disable the plugin.
    - /sts reload (or rl) - Reload the plugin.
    - /setspawn - Set the spawn location.
    - /sts bukkitspawn [player] - Teleport to the bukkit spawn. - v1.9
    - /sts stopalltask - Stop all currrent task. - v1.5
    - /deletespawn (or /delspawn) - Delete spawn location.
    - /spawn [player;all] - Teleport to spawn.
    - /sts setup - Open setup gui.

    Permissions
    setthespawn.* - Allow all SetTheSpawn permission. - v1.7
    setthespawn.reload
    - Allows the player to use the "/sts reload" command. - default: op
    setthespawn.help - Allows the player to use the "/sts help" command. - default: false
    setthespawn.plugindisable - Allows the player to use the "/sts disable" command. - default: op
    setthespawn.plugininfo - Allows the player to use the "/sts" command. (The config is in your use.) - default: varied
    setthespawn.cmd.tabcomplete - You can use [TAB] for commands. - default: false
    setthespawn.setspawn - You can use "/setspawn" command. - default: false
    setthespawn.spawn.use - You can use "/spawn" command. - default: true
    setthespawn.bypass.blockspawninpvp - Bypass block spawn command in pvp. - default: false - v1.8
    setthespawn.sign.use.everybody
    - Allows a player to use in sign everybody line to teleport all online players. - default: false - v1.6
    setthespawn.delspawn
    - You can use "/deletespawn" command. - default: false
    setthespawn.bypass.cooldown - Bypass teleport cooldown permission. - default: false
    setthespawn.spawn.teleport.all - Teleport all players to spawn permission. - default: false
    setthespawn.spawn.teleport.other - Teleport other player to spawn permission. - default: false
    setthespawn.bukkitspawn - Allows a player to use the "/sts bukkitspawn" command. - v1.9
    setthespawn.bukkitspawn.other
    - Allows a player to use the "/sts bukkitspawn <player>" command. - v1.9
    setthespawn.spawn.setup
    - Spawn settings gui. - default: false
    setthespawn.sign.create - Sign create permission. - default: false - v1.2
    setthespawn.sign.break
    - Sign break permission. - default: false - v1.2
    setthespawn.sign.use
    - Sign use permission. - default: true - v1.2
    setthespawn.countdown.stopall
    - Allows a player to use /sts stopalltask command. - default: false - v1.5
    How to install
    1. Open the plugins folder on your server.
    2. Put the SetTheSpawn.jar file into the plugins folder.
    3. Restart or reload the server.

    Config
    Code (Text):
    #=================================OOO====================================#
    #                    SetTheSpawn Configuration File                      #
    #=================================OOO====================================#
    # config.yml file. Plugin version: 1.9                                   #
    # Author, created by: montlikadani                                       #
    #=================================OOO====================================#
    # [Default configuration]                                                #
    # https://github.com/montlikadani/SetTheSpawn/blob/master/config.yml     #
    #                                                                        #
    # [Placeholders]                                                         #
    # https://github.com/montlikadani/SetTheSpawn/wiki/Placeholders          #
    #                                                                        #
    # [Tips]                                                                 #
    # - Use color coding '&' character, on this page:                        #
    # http://minecraft.gamepedia.com/Formatting_codes                        #
    # - If you find a bug, send here:                                        #
    # https://github.com/montlikadani/SetTheSpawn/issues                     #
    # - If the string is empty does not send the message.                    #
    #=================================OOO====================================#

    #=========================================#
    #                Settings                 #
    #=========================================#
    # Use the Vault plugin for the plugin.
    vault: false

    # How many seconds do you have to wait for a player to be teleported?
    # If 0 you do not have to wait.
    teleport-delay: 0 # In seconds!

    # Teleport progress bar.
    progress-bar:
      enable: false
      # Progress bar size.
      bar-size: 30.0
      # Bar update fast in ticks.
      fast: 2
      # Teleport progress display mark.
      mark: '|'
      # When the teleport is ready.
      done-color: '&a&l'
      # When teleport is not ready yet.
      not-done-color: '&c&l'
      # Use %output%, %time% placeholder.
      message-format: '&aTeleporting in:&7&l [%output%&7&l]&6 (&8%time%&6)'

    # If the spawn can not be found, teleport it to the world spawn?
    teleport-to-world-spawn-if-spawn-not-found: true

    # Teleport op players to spawn. (Sign & spawn command)
    # If false not teleport op players.
    # If true teleport op players to spawn.
    # This only sign & command work. (If everybody teleport)
    teleport-op-players: false

    # You teleported to the spawn, how many seconds to protect you from damage?
    # Set 0 to disable.
    no-damage-time: 0

    # Message when other player was teleported the target player to the spawn.
    # Use %sender%, %newline%, %prefix% placeholder.
    other-player-teleported: '&e%sender%&a teleported you to spawn.'

    # Is it a spawn setting in separate worlds?
    # This is typical for each function!
    # If true, it will write to the spawns.yml file in the world where the player is currently in (setup).
    # If it is false, it will write to the spawns.yml file, the world name for the coordinates, and so on.
    per-world-spawn: false

    # In which worlds can spawn not be set?
    disabled-worlds: []

    # Disable spawn command in pvp.
    disable-spawn-in-pvp:
      enable: false
      # Command disabling time in seconds.
      time: 5
      # Message when you attack a player or attack you.
      message: '&cNow you can not teleport to spawn because you''re still fighting with a player.'

    # Check if the player is flying mode?
    # If it is true, it will cancel the teleport delay.
    # If it is false, you can teleport in flight too.
    check-fly-before-teleport:
      enable: false
      message: '&cYou can not teleport to the spawn in fly mode!%newline%&cTeleportation cancelled!'

    # When a player presses the SHIFT button while teleporting, and sits in snake mode, will it cancel teleportation?
    check-sneak-while-teleport:
      enable: false
      message: '&cTeleporting is canceled because snake mode is enabled.'

    # Cost /spawn command or sign usage.
    # This requires a Vault plugin.
    spawn-cost:
      enable: false
      enable-permission: true
      # If this is specified at the rank, they can use the /spawn command without payment.
      # If not specified, the /spawn command must be paid.
      permission: 'setthespawn.bypass.spawncost'
      cost: 3.0
      # Sign usage price. (Same as /spawn command.)
      sign:
        enable: false
        enable-permission: true
        # If this is specified at the rank, they can use the spawn sign without payment.
        # If not specified, the spawn sign usage must be paid.
        permission: 'setthespawn.bypass.signcost'
        cost: 2.0

    # Cancel teleport if:
    cancel-teleport:
      # Player was moved.
      move:
        enable: true
        # Message when the player moved.
        teleport-canceled: '&cTeleport cancelled, you can''t move!'
        # If true when the player moves, the teleport delay will cancel.
        # If false when the player moves, the teleport delay does NOT cancel it.
        enable-permission: true
        permission: 'setthespawn.bypass.movement'
        # If the player moved during teleporting, would the player pay for it or not?
        pay-if-moved:
          enable: false
          cost: 0.20
          enable-permission: true
          permission: 'setthespawn.bypass.spawn.movedcost'
          # Use %cost% placeholder.
          no-money: '&cYou do not have enough money to move during teleport.&e Cost:&a $%cost%'
      # Player was jump.
      jump:
        enable: true
        # Message when the player jumped.
        teleport-canceled: '&cTeleport cancelled, you can''t jump!'
        # If true when the player jump, the teleport delay will cancel.
        # If false when the player jump, the teleport delay does NOT cancel it.
        enable-permission: true
        permission: 'setthespawn.bypass.jump'
        # If the player jumped during teleporting, would the player pay for it or not?
        pay-if-jumped:
          enable: false
          cost: 0.15
          enable-permission: true
          permission: 'setthespawn.bypass.spawn.jumpedcost'
          # Use %cost% placeholder.
          no-money: '&cYou do not have enough money to jump in teleport.&e Cost:&a $%cost%'
      # When the player is attacked.
      damage:
        enable: true
        # Message when the other player attacked.
        teleport-canceled: '&cTeleport cancelled, you are in combat!'
        # If true when the player is attacked, the teleport delay will cancel.
        # If false when the player is attacked, the teleport delay does NOT cancel it.
        enable-permission: true
        permission: 'setthespawn.bypass.damage'
        # If the player damage during teleporting, would the player pay for it or not?
        pay-if-damage:
          enable: false
          cost: 0.5
          enable-permission: true
          permission: 'setthespawn.bypass.spawn.damagecost'
          # Use %cost% placeholder.
          no-money: '&cYou do not have enough money for the teleport damage.&e Cost:&a $%cost%'

    # When a player is being teleported, will plays an effect?
    teleport-effect:
      enable: true
      # All effects:
      # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
      effect: ENDER_SIGNAL
      duration: 10

    # Teleport sound playback.
    teleport-sound:
      enable: false
      # All sounds:
      # 1.7.x: https://jd.bukkit.org/org/bukkit/Sound.html
      # 1.8.x: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
      # 1.9.x - 1.13.x: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
      sound: ENDERMAN_TELEPORT
      volume: 10
      pitch: 1

    # Launch firework when the player teleported to the spawn.
    launch-firework:
      enable: false
      # If true, the features below do not apply to it.
      random: true
      flicker: true
      trail: true
      # All firework types: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
      type: STAR
      # Colors 0 - 255
      colors:
      - 229,0,0
      - 0,80,0
      - 0,0,103
      # The power to launch the firework.
      power: 1

    # Send title if:
    title:
      # When you have started teleporting, a title will also be displayed.
      start-spawn:
        enable: false
        # Use %seconds% placeholder.
        title: '&aTeleporting in'
        subtitle: '&6%seconds%&a seconds'
        # The time it takes for the title to fade into the screen. (In ticks)
        fade-in: 10
        # The time it takes for the title to stay on the screen. (In ticks)
        stay: 30
        # The time it takes for the title to fade out of the screen. (In ticks)
        fade-out: 60
      # This is when the player has teleported to the spawn and displays the title.
      end-spawn:
        enable: false
        title: '&3Teleport'
        subtitle: '&asuccess!'
        # The time it takes for the title to fade into the screen. (In ticks)
        fade-in: 10
        # The time it takes for the title to stay on the screen. (In ticks)
        stay: 30
        # The time it takes for the title to fade out of the screen. (In ticks)
        fade-out: 60
      # When a player moves while teleporting.
      player-moved:
        enable: false
        title: '&cYou moved!'
        subtitle: '&eTeleport cancelled.'
        # The time it takes for the title to fade into the screen. (In ticks)
        fade-in: 10
        # The time it takes for the title to stay on the screen. (In ticks)
        stay: 30
        # The time it takes for the title to fade out of the screen. (In ticks)
        fade-out: 50
      # When a player jump while teleporting.
      player-jump:
        enable: false
        title: '&cYou jumped!'
        subtitle: '&eTeleport cancelled.'
        # The time it takes for the title to fade into the screen. (In ticks)
        fade-in: 10
        # The time it takes for the title to stay on the screen. (In ticks)
        stay: 30
        # The time it takes for the title to fade out of the screen. (In ticks)
        fade-out: 50
      # When teleporting player are attacked while teleporting.
      player-damage:
        enable: false
        title: '&cA player was attacked!'
        subtitle: '&eTeleport cancelled.'
        # The time it takes for the title to fade into the screen. (In ticks)
        fade-in: 10
        # The time it takes for the title to stay on the screen. (In ticks)
        stay: 30
        # The time it takes for the title to fade out of the screen. (In ticks)
        fade-out: 50

    # When does the player void, will the player teleport to the spawn?
    void-on-spawn:
      enable: false
      # At that point, the player will be teleported to the spawn.
      # Example: 5 - so Y:5.
      height: 0
      # If it is true, it does not hurt.
      # If it is false, it hurts.
      fall-distance: true
      # When a player void, plays an effect?
      teleport-effect:
        enable: true
        # All effects:
        # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
        effect: ENDER_SIGNAL
        duration: 15
      # Message when the player has void fall and teleported to spawn.
      message: ''

    # Teleport on command.
    teleport-on-command:
      # Player commands.
      # Use %player%, %player-displayname%, %world%, %player-gamemode%, %player-health%, %player-max-health% placeholder.
      player-command:
        enable: false
        commands:
        - 'money'
        - 'kit'
      # Console commands.
      console-command:
        enable: false
        commands:
        - 'eco take %player% 50'
        - 'money'

    # Teleport to spawn if:
    spawn-teleport:
      # If the player joins the server, will it teleport to the spawn?
      player-join: false
      # If the player first joins the server, will it teleport to the spawn?
      player-first-join: false
      # When the player is died and teleported to the spawn.
      respawn: false

    # Spawn sign settings.
    spawn-sign:
      # Allows you to create and use the spawn sign.
      enable: true
      # If the player does not have permission to create a sign.
      no-permission-create-sign:
        # If it is true, it will break the sign.
        # If it is false, it does not break the sign.
        break-sign: false
        # If it is 'enable: true', it writes to the sign.
        setline:
          enable: true
          line0: '&cYou do not have'
          line1: '&cpermission'
          line2: '&cto create'
          line3: '&ca sign!'
      # If the spawn is not set up and what to write.
      # Use %text% placeholder.
      no-spawn:
        line0: '&c[Spawn]'
        line1: '%text%'
        line2: '%text%'
        line3: '%text%'
      # If the spawn is set and what to write.
      spawn-created:
        line0: '%color%[Spawn]' # Use %color% placeholder.
        line1: '%text%'
        line2: '%text%'
        line3: '%text%'
        everybody:
          # Use %all% placeholder.
          line0: '%color%[Spawn]' # Use %color% placeholder.
          line1: '%all%'
          line2: '%text%'
          line3: '%text%'
        # If the world spawn is set and what to write.
        per-world:
          # Use %world% placeholder.
          line0: '%color%[Spawn]' # Use %color% placeholder.
          line1: '&6%world%'
          line2: '%text%'
          line3: '%text%'
          everybody:
            # Use %all%, %world% placeholder.
            line0: '%color%[Spawn]' # Use %color% placeholder.
            line1: '%all%'
            line2: '%world%'
            line3: '%text%'
      # Play particle effect when you create a spawn sign?
      play-particle-effect-on-sign-create:
        enable: true
        # All particle effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
        type: EXPLOSION_LARGE
        duration: 5
      # Message when a player created a spawn sign.
      sign-created: '%prefix%&a The spawn sign was successfully created!'
      # What color should the [Spawn] first line be?
      # IMPORTANT! Colors in BIG letters!
      sign-color-line0: BLUE
      # Message when the player has broken the spawn sign.
      sign-break-msg: '&cYou broke the spawn sign!'

    # Enable the gui setup?
    # Requires the server restart when this enabled!
    enable-gui: false
    # How many rows should the GUI have?
    gui-rows: 1
    # What should the name of the GUI be?
    gui-name: '&5Spawn settings'
    # Message when the player has opened the gui.
    gui-open-message: '&aYou opened the spawn settings.'
    # All GUI items are here. Add slots in the same format, and it will add items to the GUI.
    # How to add new item in GUI?: https://github.com/montlikadani/SetTheSpawn/wiki/How-to-add-new-item-to-GUI%3F%E2%80%8B
    # Slot starts at 0 and end at 53 for a size 54 inventory.
    items:
      slot-0:
        item: AIR
        durability: 0
        name: ''
        lore:
          - ''
        command: ''
      slot-1:
        item: AIR
        durability: 0
        name: ''
        lore:
          - ''
        command: ''
      slot-2:
        item: SIGN
        durability: 0
        name: '&3Setspawn'
        lore:
          - '&7------------'
          - '&aSet spawn command.'
          - '&7------------'
        command: setspawn
      slot-3:
        item: AIR
        durability: 0
        name: ''
        lore:
          - ''
        command: ''
      slot-4:
        item: ENDER_PEARL
        durability: 0
        name: '&6Teleport'
        lore:
          - '&7------------'
          - '&aTeleport to the spawn.'
          - '&7------------'
        command: spawn
      slot-5:
        item: AIR
        durability: 0
        name: ''
        lore:
          - ''
        command: ''
      slot-6:
        item: BONE
        durability: 0
        name: '&4Delete spawn'
        lore:
          - '&7------------'
          - '&5Delete spawn location.'
          - '&7------------'
        command: delspawn

    #=========================================#
    #             Plugin Settings             #
    #=========================================#
    # The SetTheSpawn plugin is disabled (false) or enabled (true).
    enabled: true

    # bStats Metrics.
    metrics: true

    # Check for updates.
    check-update: true

    # Log plugin messages into console.
    logconsole: true

    # Logging to file messages.
    log-to-file: true

    # Plugin enable/disable messages in console.
    # Use %prefix%, %newline% placeholder.
    plugin-enable: '%prefix%&a The plugin successfully enabled&6 v1.9&a!'
    plugin-disable: '%prefix%&c The plugin successfully disabled!'

    # The default is allowed to see the plugin information.
    # Permission: setthespawn.plugininfo
    default-can-see-plugin-information: false

    # DO NOT CHANGE THIS!
    config-version: 3
    What do these features mean in the configuration?
    Here you will find it. (Click)

    How to add new item to GUI?
    Do not write '[ ]'.
    Code (Text):
    items:
      slot-[number]:
       item: [item type that will be clicked on]
       durability: [durability of item]
       name: [name of item when hovered over]
       lore:
         - [text you want on that line]
         - [text you want on the next line]
       command: [command to be executed by player when item is clicked]
    More information here.
    Create a spawn sign
    How do I make a spawn sign?
    Important! If the sign is not enabled in the configuration, then write it down correctly.
    1. Join the server.
    2. Put a sign anywhere.
    3. Write this on the sign: [Spawn]
    4. Done!
    To 3rd (NOT required): If you want teleport everyone, use the spawn sign:
    [Spawn]
    everybody or everyone
    Placeholders
    Config.yml file placeholders
    %seconds% - Teleport countdown time
    %newline% - Adds a new line.
    %time% - Teleport countdown time - v1.7
    %prefix% - Plugin prefix
    %cost% - Cost
    %player% - Player name
    %player-displayname% - Player display name
    %world% - World name
    %player-gamemode% - Player game mode
    %player-health% - Player current health
    %player-max-health% - Player max health
    %output% - Output message - v1.7
    %sender% - Sender name (console or player) - v1.2
    %text% - Sign text - v1.2
    %all% - Everybody or everyone in sign - v1.7
    %color% - Sign color line 0 - v1.2
    Messages.yml file placeholders.
    %command% - When you type the command (example: /setthespawn), it writes the command to it.
    %newline% - Adds a new line.
    %prefix% - Plugin prefix
    %args% - Command argument
    %perm% - Permission name
    %subcmd% - Sub command
    %world% - World name
    %player% - Player name
    %seconds% - Teleport countdown time
    %cost% - Cost
    %sender% - Sender name (console or player) - v1.4

    These placeholders are not for all of the features!
    Particle effects
    Sounds
    What bugs can occur when using spawn?
    Check it out: Click

    Dependencies
    Vault (optional)
    (Only if you want to pay /spawn command.)

    Before you start the server and use the plugin
    Before you start the server and use the plugin, delete the older spawn plugins beforehand, because if there are two spawn plugins on the server and commands are the same, command errors may occur.

    More
    Minecraft 1.7.x-1.8.x-1.9.x-1.10.x-1.11.x-1.12.-1.13.x versions, 1.6.x Does not work anymore!
    1.7.x version bug: Console does not display colors.
    View full changelog: Click

    You can not download it? Here is the link to download: Click

    Images
    [​IMG]
    bStats
    Coded with: upload_2018-8-28_17-6-2.png
    Join my hungarian discord server: [​IMG]
    [​IMG]

Recent Reviews

  1. Fighter2000
    Fighter2000
    5/5,
    Version: v1.9
    Better than old love bro xD..................................................................
  2. Dingg
    Dingg
    5/5,
    Version: v1.8
    good plugin
    5***************************************************************************
  3. R00t
    R00t
    5/5,
    Version: v1.7
    Best PerWorldSpawn plugin I've ever used, love it! No bugs, or issues! 10/10. I'd always rather use this than the normal PerWorldSpawn plugin.
  4. Fighter2000
    Fighter2000
    5/5,
    Version: v1.6
    This is very good resource, and not lagging or any bugs, better than old!!

    itt használom ----> play.mineworldmc.hu
    1. Toldi
      Author's Response
      Thanks for the review!

      Oké, megyek...
  5. NoLogicGamer
    NoLogicGamer
    5/5,
    Version: v1.6
    This is a fantastic spawn plugin with also void teleport !
    Can you add more beautiful animation of /spawn effect ?
    1. Toldi
      Author's Response
      Thanks for the first review!
      I'm already working on it, not sure it will come in, but hopefully I'll add it later.