Sueta

[Script] Resurrection

1.0.2

Script for resurrecting teammates

·Script


This resource is not plugin

Resurrection script is used to add special element to game.
When player is killed, his head is dropped at the location.
If another player place somewhere the head, resurrection process will start.

What is script offering?
- Particle function, that can be used anywhere
- Customizability

Requirements:
- Skript

Installation:
- Download the resurrection script
- Put script in file located /plugins/skript/scripts

Setting up:
- Open file resurrection.sk
- Edit values in "Options" section to your liking
- You can set if script should put death player to spectator mode, world, number of heads that are required, delay before resurrection, invincibility of respawned player, and all messages

#-----------------------------------------------------------------------------------------------------
options:
#basics
    spectator: false                                        #Set this true, if player should enter spectator mode after death
    world: hardcore                                         #Set this to world, where should this work
    number: 1                                               #Number of heads required for resurrection
    wait: 2                                                 #Delay before resurrection
    invincibility: 3                                        #Time before player's invincibility expires
#messages
    offline_message: "&c%{_p}% is offline"                  #Message which is sent if respawning player is offline
    resurrected_you: "&2You were resurrected by &a%player%" #Message which is sent to resurrected player after
    resurrected: "&2You resurrected %{_p}%"                 #Message which is sent to player who placed head
    resurrecting: "&2%player% is resurrecting you"          #Message which is sent to player, when spectator option is false
#function
    #Description    #JPResurrectEffect(<location of effect> , <time integer> , <height integer>, <diffusion integer>)
    #Example        #JPResurrectEffect(event-player, 3 , 0.025)
#-----------------------------------------------------------------------------------------------------
Screenshots

FAQ:
Can i edit the file? Yes, script is written to be easily understood and edited

Can i order custom scripts? Yes, you can contact me on my discord

Where to send ideas for improvements? Join my discord and send the idea

Can i order one image, like is the one at top of page? Yes, you can contact me on my discord

Don't use reviews to report bugs or give ideas

Similar projects

Script →