Giter Site home page Giter Site logo

aop's Introduction

aOP

aOP (alpha OP)

This plugin was developed out of a bit of need for a custom plugin that could handle specific admin related functions without leaving ourselves open to op attack attempts. This plugin combines a couple of older plugins (they are open source) and adds some logging capabilities currently.

There are plans for more functions eventually so hopefully I will be able to implement them later on.

Functions:

  • Add opme and deopme
  • Uses permissions to control opme usage
  • Catch and block op and deop usage even for ops
  • Allow op and deop to be used in console
  • Alerts ops of usage for op, deop, opme, and deopme
  • Alerts console as well

(added in 2.0)

Configurable ability to ...

  • Silence deny message sent to player
  • Enable/disable notifications in chat
  • Enable/disable op/deop command block
  • Toggle if nick is shown in chat notification messages
  • Automatically drop op on quit

Permissions

  • aop.use (Allow usage of opme command)
  • aop.notify (Get notified when someone uses op,deop,etc)

(added in 2.0)

  • aop.bypass.opdrop (Bypass automatic drop of op rights on quit)

Commands:

  • /opme (Ops the calling user -- Currently permissions only)
  • /deopme (Deops the calling user -- Ops only)

Todo:

  • Add (optional) trap to opme command for those without permission -- kill on first usage, kick on second (config)
  • Add/test additional command blocks... Allowed via perm node only. Can be disabled via config (when implemented) (PRELIM complete -- relocated opblock check to class)
  • Add new CommandExecutor handler for /aop command... Reload + version options (Target 2.2) (DONE)
  • Split off Listener classes to their own files. (Target 2.1) (DONE)
  • Add in-game options to change config on the fly w/ node (maybe aop.config?) (Target 3.0)
  • Add ability to change in-game chat strings for aOP (not notify... Target 3.0?)
  • Add updateConfig() function to check for missing config lines and add them. Will be updated when new config vars are added. (Target 3.0)
  • Add additional blocks on op/deop usage... Will need to case test to see if op/deop is already blocked via command blocks and other plugins (eg Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "command");) (Target 3.0) NOTE: command blocks should be a non-issue. op/deop already blocked in vanilla and need op access already to get them.
  • Maybe filter setOp()? Is that even possible? (Target 3.0?)
  • Remove herobrine. (Target ∞)

Credits:

  • alexanderpas @ BukkitDev for making microOP/µOP. Without it this plugin would not be possible
  • Plague @ Bukkit Forums for making PlgDisableCmd. Without it this plugin would not be possible.

For both plugins they are already open source so that's why I'm posting source for this plugin.

aop's People

Contributors

shinji257 avatar

Stargazers

 avatar

Watchers

 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.