Coder Social home page Coder Social logo

punish-gui's Introduction

PunishGUI

A Minecraft plugin that allows you to customize a GUI of punishments to make issuing mutes, kicks, or bans more linear, ultimately reducing the number of errors administrators make when issuing punishments.

Commands & Permissions

Command Description Permission
punishreload Reloads the configuration file punishgui.reload
punishgui <player> Opens the general punish menu punishgui.punish
mutegui <player> Opens the mute menu for muting a player punishgui.mute
kickgui <player> Opens the kick menu for kicking a player punishgui.kick
bangui <player> Opens the ban menu for banning a player punishgui.ban

To-do

  • Refactor other parts of the plugin to make it easier to maintain.
  • Only create menu items for players with permissions to issue punishment
    (E.g. A player shouldn't have the ban menu item if they don't have permission to ban).

Done

  • Implement right-click punishing functionality.
  • Fix punishments sometimes punishing the wrong player depending on who the last
    person punished was (Caused by listeners not being added for new menu).
  • Fix menus duplicating (Caused by adding listeners more than once).
  • Usage text for mutegui, kickgui, and bangui are printed in white instead of red.
  • Fix MenuItemBuilder using same instance of the item stack it's modifying
    preventing the developer from using the same MenuItemBuilder for different
    menu items.
  • Fix bug where if the punisher tries to mute a player twice the clicked
    menu item is dropped.

punish-gui's People

Contributors

escape9179 avatar

Watchers

 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.