EasySMP
  • EasySMP
  • General
  • PlayerData
  • ItemBlocker
  • extensions
    • PlaceholderAPI
    • Discord webhook
  • Hardcore
    • Config
    • End event
Powered by GitBook
On this page
  1. Hardcore

End event

PreviousConfig

Last updated 2 months ago

If you want to have a fun ending, you can use the plugin's end feature. It is recommended to announce this to everyone in-game, and if you have a Discord server, announce it there too. To start the end event, do: /hardcore end start It will open a menu where you can add players that will not be playing in the event. This is important. If you have admins in the end event, make sure to click their player head in the menu.

If you do: /hardcore end host add (player) They will also be exempt. The player who starts the event is automatically a host and will not be playing. The exempt status is stored in the player data, so it will apply to every event.

You can remove players from the exempt list by doing: /playerdata set end-exempt (player) false

Starting

Once you have selected all the exempt players and clicked on the green wool, it will send a title to every alive player: "Prepare for teleportation" After 10 seconds, they will be teleported within the border you set in the config. Everyone will be spread out, but they won't be teleported outside the border, into caves, or in the air.

After teleporting, a 5-second countdown will appear on the screen, and then everyone can move and the sudden death timer starts.

As a host, you will get an action bar instead of the "prepare for teleportation" title, and you will not be teleported. You will see a 20-second action bar timer that shows when players will be teleported and when the event starts.

Ending

When there are 2 players left and one of them dies, it will trigger a special death event. If you look at the video, it shows an example. In the actual death event, a title is shown to the player who won, some bell sounds will play, and fireworks will spawn.

After the event has ended, you can enable a whitelist or reboot the server. Rebooting ensures everything is reset and stored properly.

Sudden Death

Sudden death starts after a set amount of time defined in the config. When sudden death begins, the border will shrink from 50 blocks to 10 over the course of 50 minutes. All players will be frozen and teleported again, spread out within the border. After 5 seconds, the event resumes and everyone can fight.

This is useful if the event takes too long. If you don't want a sudden death, you can set the time to something like 1d and turn off the action bar.

Extra Info

  • If you want to randomly teleport someone again: /hardcore end rtp (player)

  • To set someone as exempt before starting the event: /playerdata set end-exempt (player) true

  • To remove exempt players: /playerdata set end-exempt (player) false ⚠️ Do NOT do this during the end event!

  • To cancel the event: /hardcore end stop