Skip to content

Commit c5d6a37

Browse files
authored
Create README.md
1 parent da4078d commit c5d6a37

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

README.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Pets
2+
This is a Plugin for the Game SCP:SL based on the Plugin Loader Synapse.<br>
3+
This plugin allows server hoster to create Pets that follows the owner of the pet.
4+
5+
## Create a Pet
6+
In order to create a pet just navigate to `~/Synapse/configs/server-{port}/pets`.<br>
7+
In this Directory should be already a example pet be generated the first time you start the server with the Plugin.This file can you copy and modify
8+
```yml
9+
[Example]
10+
{
11+
petID: 0
12+
role: ClassD
13+
godMode: false
14+
health: 150
15+
name: Example Pet
16+
badge: ''
17+
badgeColor: ''
18+
scale:
19+
x: 0.300000012
20+
y: 0.300000012
21+
z: 0.300000012
22+
itemInHand: GunLogicer
23+
maxAmount: 1
24+
everyoneCanUse: true
25+
permissions:
26+
- pet.example
27+
users:
28+
- 000@steam
29+
}
30+
```
31+
The PetID is the number that is used to spawn the Pet and for other Plugins to give access to this Pet to a different Player, which means it should be different for every pet that you create.
32+
33+
The Role is the skin that the Pet should use [RoleList](https://docs.synapsesl.xyz/resources)
34+
35+
The ItemInHand is like one can assume the Item that the pet should Hold. A list of all items can be found [here](https://docs.synapsesl.xyz/resources#items)
36+
37+
The Max Amount is the amount of this pet that a single Player can spawn.If you want to set a max value for all pets togethter change the value in the [config.syml](https://docs.synapsesl.xyz/setup/configs)
38+
39+
If you disable everyoneCanUse then are there 3 ways of giving some access to the Pet:
40+
* Permissions: You can add a permission to the list and the Plugin will check if the player has this permission
41+
* UserID: You can add a User ID manually to the Users list
42+
* DataBase: A other Plugin can give access to a pet by setting a value in the Database
43+
44+
## Installation
45+
1. Install [Synapse](https://github.com/SynapseSL/Synapse/)
46+
2. Place the Pets.dll in your plugin folder
47+
3. Restart/Start your Server

0 commit comments

Comments
 (0)