Giter VIP home page Giter VIP logo

watchlist's Introduction

Watchlist

This is a plugin created in collaboration with a friend to keep a database of troublemakers on my game server. The game SCP: Secret Laboratory is a multiplayer game in which every player is assigned an in game role. Naturally, with multiplayer game servers, there are bound to be troublemakers. When a player is punished in any way, this plugin will log that, allowing us to keep track of repeat offenders in an easy and simple way. This plugin communicates with a Discord bot over TCP networking to allow for integration between the game and the server in which we manage the information.

Live View

The Discord bot provides a live list of players connected to a server, as well as their standing in Watchlist. If they do not have any logged punishments, they have a check mark next to their name. If they have previous punishments, they have a warning as well as their reason under their entry.

User Lookup

If a user is not currently connected to a server, you can lookup an ID through commands. An entry contains the punished player with their punishment, the date in which the punishment was issued, and the issuer.

Report System

Another feature added in this plugin was an in game report system. Upon typing a command in game, you are able to send an issue report to the server staff.

The staff will then see the output in the following format. Three buttons are added at the bottom and can be used as actions. Pressing the red X will discard the report, pressing the warning sign will ban the user from sending reports, and pressing the check mark will inform the user that their report is being dealt with in game.

For example, if we were to click the check mark, the player that sent the report would see this in their game.

Automatic Additions

This plugin automatically handles new entries being added into the database. Upon performing an administrative action on a player in game, the punishment issuer will receive a direct message from the bot asking for their reason for doing so.

The user can then type a reason to be added to the entry.

Finally, the user clicks the check mark to confirm the entry.

The bot will then send a confirmation message to log the addition in the main output channel.

watchlist's People

Contributors

cyanox62 avatar mitzey234 avatar tkocher62 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.