Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Latest commit

 

History

History
42 lines (33 loc) · 1.39 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.39 KB

PyPlugin

Main CI Release Total Downloads

PyPlugin is an EXILED plugin, which allows you to write plugins in Python. You can use all Exiled API in your plugin (except yaml configs).

Installation

You should download binaries from releases page, unarchive them and put them in plugins folder (%appdata%/EXILED/Plugins for Windows).

Then you should download plugins and put them into folder you specified in PyPlugin's config. It will look like:

Python:
    PluginA:
        plugin.py
        config.py
    PluginB:
        plugin.py
        config.py

Config

Python plugins don't have yaml configs, but developer can create config.py file in plugin's folder with ~same content:

# PRIORITY 100

# Broadcast duration
MESSAGE_DURATION = 10
# Broadcast message
MESSAGE = "Hello, I am test plugin!"
# Time between broadcasts
MESSAGE_COOLDOWN = 30
# Delay before first broadcast
MESSAGE_ROUND_START_DELAY = 10

And you can edit values in this file.