> For the complete documentation index, see [llms.txt](https://acknown.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acknown.gitbook.io/docs/premium-skripts/donutsmp/installation.md).

# Installation

Step by step instructions on how to install the "DonutSMP Lifes" resource easily!

## 1. Install Skript

You can find information on how to install the Skript plugin [here](/docs/extra-information/skript.md#how-to-install-skript).

For the temp-ban plugin, you can use any plugin that contains a `/tempban <player>` command, but I would recommend usage of one the following:

* [Essentials ](https://essentialsx.net/)\[FREE]
* [AdvancedBan](https://www.spigotmc.org/resources/advancedban.8695/) \[FREE]
* [LiteBans](https://www.spigotmc.org/resources/litebans.3715/) \[PREMIUM]

{% hint style="warning" %}
If you wish to use Placeholder API to display a player's life count, you need to download both [PlaceholderAPI ](https://www.spigotmc.org/resources/placeholderapi.6245/)& [skript-placeholders](https://forums.skunity.com/resources/skript-placeholders.909/), an addon for Skript, that allows skript variables to be displayed as placeholders.
{% endhint %}

After downloading all of the needed plugins, shut down your server & drag the .jar files into your server's plugins folder.\
After this, start your server back up.&#x20;

## 2. Install the Script

After downloading the resource from my BuiltByBit page & installing previously mentioned plugins,\
navigate to the "scripts" folder in Skript's directory - `home/plugins/Skript/scripts`

Now, upload the resource in said "scripts" folder.

## 3. Start your Server

After uploading the resource in to the "scripts" folder,\
start/restart your server & make sure that the Skript plugin has loaded.\
\
Make sure to check if there's a startup message registered in your console's log.\
It should look something like this:

<figure><img src="https://2917769990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9VYBodwm25KciH6A1lMc%2Fuploads%2Fx8fzih20n53OAViZaYJS%2Fimage.png?alt=media&amp;token=f02cac14-8a3d-442e-969f-e528fa294b0f" alt=""><figcaption><p>Console Log</p></figcaption></figure>

If you have any issues with the resource, make sure to find me on discord [here](https://discord.com/users/1237749582352613447).

## 4. Editing the Resource

You can view how to change different parts of this resource, like different messages, sounds & different configurable parts of the resource in the [Extra Options](broken://pages/nqYDh1iMvRakLxQxbFQh) page.

## 5. Permissions & Commands

### Permissions:

Access all admin commands : `sk.lifes`

### Commands:

Add lifes to a player: `/lifes add <player> <amount>` \[sk.lifes]\
Remove lifes from a player: `/lifes remove <player> <amount>` \[sk.lifes]\
Reset a player's life count: `/lifes reset <player>` \[sk.lifes]\
Check a player's life amount: `/lifes check <player>` \[sk.lifes]\
Life eliminate a player: `/lifes ban <player>` \[sk.lifes]

## 6. Further Support

If you need any further assistance/help, feel free to find me on discord [here](https://discord.com/users/1237749582352613447).\
\
I will also be creating a discord server soon, but until then, the best way to contact me is through discord. (Please do not message me on BuiltByBit)
