Coder Social home page Coder Social logo

razesoldier / seat-srp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dysath/seat-srp

0.0 2.0 0.0 2.71 MB

A module for SeAT that tracks SRP requests

License: GNU General Public License v2.0

PHP 50.51% CSS 0.22% JavaScript 12.03% Blade 37.25%

seat-srp's Introduction

seat-srp

A module for SeAT that tracks SRP requests

This plugin write for SeAT is providing to your instance a way to manage your ship replacement program (SRP)

Latest Stable Version Build Status License

If you have issues with this, you can contact me on Eve as Denngarr B'tarn, or on email as '[email protected]'

Quick Installation:

In your seat directory (By default: /var/www/seat), type the following:

php artisan down
composer require denngarr/seat-srp

(You can skip this step if you are running 3.x) After a successful installation, you can include the actual plugin by editing config/app.php and adding the following after:

        /*
         * Package Service Providers...
         */

add

        Denngarr\Seat\SeatSrp\SrpServiceProvider::class

and save the file. Now you're ready to tell SeAT how to use the plugin:

php artisan vendor:publish --force
php artisan migrate

php artisan up

And now, when you log into 'Seat', you should see a 'Ship Replacement Program' link on the left.

Discord Webhook (optional)

Automated notifications of new SRP Requests submitted in Discord

In Discord application:

  1. On a channel of your choice, click the cog icon to open the channel settings
  2. In the channel settings, navigate to the Webhooks tab
  3. Click Create Webhook
  4. Fill in name for the webhook and (optional) image
  5. Copy the Webhook URL
  6. Click Save to finish creating the webhook

In SeAT .env file:

The SeAT .env file accepts two variables for the webhook:

  1. (required) SRP_DISCORD_WEBHOOK_URL: this is the url you copied when creating the webhook in Discord
  2. (optional) SRP_DISCORD_MENTION_ROLE: this can be a room mention (e.g. @here), a Discord role ID, or a specific user ID - Role ID and User ID can be obtained by typing /@rolename into a channel (e.g. /@srp_manager)

Example of .env entries:

SRP_DISCORD_WEBHOOK_URL=https://discordapp.com/api/webhooks/513619798362554369/Px9VQwiE5lhhBqOjW7rFBuLmLzMimwcklC2kIDJhQ9hLcDzCRPCkbI0LgWq6YwIbFtuk
SRP_DISCORD_MENTION_ROLE='<@&198725153385873409>'

Good luck, and Happy Hunting!! o7

seat-srp's People

Contributors

dysath avatar razesoldier avatar warlof avatar crypta-eve avatar herpaderpaldent avatar jhxsmatthew avatar queercodinggirl avatar

Watchers

James Cloos avatar  avatar

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.