Giter Site home page Giter Site logo

pets's Introduction

Pets

This is a Plugin for the Game SCP:SL based on the Plugin Loader Synapse.
This plugin allows server hoster to create Pets that follows the owner of the pet.

Create a Pet

In order to create a pet just navigate to ~/Synapse/configs/server-{port}/pets.
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

[Example]
{
petID: 0
role: ClassD
godMode: false
health: 150
name: Example Pet
badge: ''
badgeColor: ''
scale:
  x: 0.300000012
  y: 0.300000012
  z: 0.300000012
itemInHand: GunLogicer
maxAmount: 1
everyoneCanUse: true
permissions:
- pet.example
users:
- 000@steam
}

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.

The Role is the skin that the Pet should use RoleList

The ItemInHand is like one can assume the Item that the pet should Hold. A list of all items can be found here

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

If you disable everyoneCanUse then are there 3 ways of giving some access to the Pet:

  • Permissions: You can add a permission to the list and the Plugin will check if the player has this permission
  • UserID: You can add a User ID manually to the Users list
  • DataBase: A other Plugin can give access to a pet by setting a value in the Database

Installation

  1. Install Synapse
  2. Place the Pets.dll in your plugin folder
  3. Restart/Start your Server

pets's People

Contributors

grafdimenzio avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cookiesofficial

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.