Skip to content

Last Man Standing lms

The LMS feature adds an event where players are teleported to an arena where they must fight to the death. This is primarily an individual event where teaming is not allowed, so faction members can (and are encouraged to) attack each other.

Config

max-runtime-seconds

The maximum length of an event. If an event lasts longer than this, it is immediately stopped.

event-countdown-seconds

How long, by default, the event will count down to start in chat. Effectively, this is how long players have to join the event.

join-warmup-time-seconds

How long the players must wait after doing /lms join to join the event. This is done to prevent players from TP-Tricking into the arena and should ALWAYS be longer than any TP warmup from any other plugin.

required-players

The minimum required players for an event to start. If less than this number of players sign up, the event is cancelled.

require-empty-inventory

If an empty inventory is required for players to join the event.

Note

The plugin saves player inventories when joining, however, this option effectively prevents people from escaping PVP battles by using /lms join.

drop-items-in-event-on-death

If a player's event items should be dropped when they die. This mechanic encourages players to kill each other, rather than hiding.

use-kit-for-lms

The default kit to use for the LMS battle.

Note

This is NOT an Essentials kit. Kits are defined via the /lms command. This is done for a few reasons, but the primary one is that this allows for you to properly define armor contents as well as potion effects. (Both are saved when doing /lms savekit)

allowed-regions-to-join

The regions in which players may do /lms join. Set this to an empty list to allow players to join from anywhere.

arena

The arena where players are teleported to when the event starts.

spawn-locations

The potential spawn locations for players when the event starts. You should try to set as many a possible as it's important to spread players out for when the event starts.

rewards

This section is very simply and not like the other reward sections in this expansion. Only the winner can receive rewards. As well as this, chances are not supported in this rwards section.


lobby Section

The lobby is an area in which players are teleported to after they've joined but before the event actually starts.

purge-location

If a player doesn't belong in the lobby, e.g. teleported in accidentally, they'll be teleported here.

lobby-spawn-location

The location to spawn players when putting them in the lobby.

corners

The region bounds of the lobby.


give-for-kills Section

A section defining item rewards to give the players when killing another player.

  give-for-kills:
    sets:
      set-1:
        drop-excess: false
        potion:
          type: POTION
          damage: 16421
          chance: 100.0
      set-2:
        sword:
          type: STONE_SWORD
          name: '&aSuper Sword'
          chance: 10.0
          enchants:
            DAMAGE_ALL: 6
    give-every-kill:
      - set-1:2
You can define several items, as shown above.

drop-excess

This is a special key you can add to prevent items that don't fit into the player's inventory from dropping on the floor. If omitted, it defaults to true.

give-every-kill

Defines the sets and how many to give to the killer. For example, set-1:2 gives 2 of whatever set-1 is to the killer.


grace-countdown Section

There is an optional grace period at the start of the LMS event to allow for players to get their bearings.

action-bar

Defines the action-bar message for players.

message

Defines the chat message for players when grace is counting down.


restrictions Section

Defines certain restrictions for players participating in the LMS event.

prevent-commands-in-warmup

Prevents players from using ANY command (other than /lms leave) X seconds before the event starts. This is useful when not using the lobby mode.

allowed-commands

The commands that players are allowed to use when in LMS. Supports Regex.

chat

Sets if players can use global chat during the event.

tab-name-hidden

If player tag/tab names should be hidden. Requires you have an updated version of TAB.

skin-change

If players should have their skin changed during the event. This is useful to prevent faction members from teaming.

Note

Due to implementation complications, this only works on 1.8.


loot-spawning Section

This section defines a small feature that spawns loot around the arena. This loot could be better equipment or more potions, overall giving the receiver a buff.

  loot-spawning:
    enabled: true
    spawn-after-seconds: 120
    max-concurrent: 3
    do-animation: true
    table:
      better-sword:
        chance: 100.0
        holder-name: '&cSharpness III Sword'
        type: DIAMOND_SWORD
        name: '&cBetter Sword'
        enchants:
          DAMAGE_ALL: 3
          FIRE_ASPECT: 1

spawn-after-seconds

Loot spawns will only happen after this many seconds of the event being active.

do-animation

If the particle animation should play where the items are spawned.

table

This section defines items that can be spawned and their chances of spawning.


scoreboard Section

A scoreboard for players participating in the event to see who has killed the most players and who is still participating.

In the scoreboard, you can use {KILLS_X} and {PARTICIPANTS_X} where you want top killers and participants to be shown. X denotes how many players you want to show in the list.


fight-coercion Section

Defines some mechanisms to encourage people to fight, rather than hiding/camping.


world-border Section

Uses a world border to coerce players toward the center of an arena. This world border can damage players if they're outside of it.

center

The center of your LMS arena.

initial-size

The initial size of the world border, as a diameter.

final-size

The final size of the world border.

start-shrinking-after-seconds

The world border will begin shrinking after this many seconds of the event running.

stop-shrinking-after-seconds

The world border will stop shrinking after this many seconds of the event running.


poison-passive-players Section

A mechanism that poisons players if they've not engaged in combat for X seconds.

passive-after-seconds

How long it takes for a player to be considered passive.

poisoned-message

Sent to the player every second while poisoned.

potions

The potion effects to apply to the player. It is NOT recommended to use permanent effects, but it's technically possible.


Command

  • /lms join - Joins a new LMS event.
  • /lms leave - Leaves an LMS event you're participating in.
  • /lms start [countdown=default] [kit=default] - Starts an LMS event with the given countdown and kit.
  • /lms stop - Stops the current LMS event immediately.
  • /lms savekit (name) - Saves your inventory and potion effects as a kit under the given name.
  • /lms removekit (name) - Removes (deletes) the kit with the given name.
  • /lms listkits - Lists all defined kits.
  • /lms getkit (name) - Gets the kit with the given name.

Permissions

  • Base Level - Nothing.
  • Admin Level - Admin commands.