Code Monkey home page Code Monkey logo

reports's Introduction

Download the plugin on poggit: Poggit
Join my GitHub discord server: Discord

Reports

๐Ÿ“ข A reports plugin for pocketmine servers

Functionality

  • Players can report other players with /report
  • This command will open a form where you can select an online player and the reason for the report.
  • You can put as many reasons as you want in the config!
  • Players will also have to wait a specific amount of seconds to send another report.
  • Those who have the admin permission will be able to see the reports in-game (default: reports.admin)
  • Admins can view the report list with /reportlist
  • This plugin uses webhook support, if set up correctly the reports will be also sent in discord!

Virions used

Pictures

Message
Embed
ReportForm
ReportList
ReportOptions

reports's People

Contributors

didacdelolmo avatar poggit-bot avatar sergittos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

reports's Issues

[SUGGESTION] Add support for Discord Webhooks

This request is quite simple, right now the plugin only sends a message to players with a specific permission as the "report". I personally feel like it'd be better if reports can be sent through a Discord Webhook, to notify server administrators that aren't online on the server itself.

WEBHOOK MISSING

when I installed the plugin and then start the server webhook config missing
image

Implement a report list for admins

Adding features such as, if the player as an operator or player has permission, operator can modify the report using /reportadmin and added message to operator or player has permission when joining the game and /reportlist to show all reports. Like this guy report plugins, if you add more features your plugin is very cool

Btw can you make and release plugins Friends? xD

Did /report & submit

Fatal error: Declaration of diduhless\reports\libs\CortexPE\DiscordWebhookAPI\task\DiscordWebhookSendTask::onRun() must be compatible with pocketmine\scheduler\AsyncTask::onRun(): void in phar:///home/container/plugins/Reports.phar/src/diduhless/reports/libs/CortexPE/DiscordWebhookAPI/task/DiscordWebhookSendTask.php on line 48

suggestions

  • add a description to report/webhook
  • add a command like /reportreset [player] to reset counts on someone. i reported myself 3 times for testing the webhook now i got 3 reports on myself lol
  • make it so you cant report yourself or add config option to disable
    • ability to add custom fields in config

Suggestion

Make permissions. This could help me out a ton! Also, amazing plugin!

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.