Coder Social home page Coder Social logo

intellectualsites / incendopermissions Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 0.0 134 KB

Lightweight permission plugin for Minecraft

License: MIT License

Java 100.00%
bukkit minecraft permissions minecraft-permissions minecraft-pluigin minecraftplugin bukkitplugin

incendopermissions's Introduction

IncendoPermissions

IncendoPermissions is an upcoming Minecraft permission plugin, aimed to be both lightweight and easy to use, while still providing all the features expected of a permission plugin. IncendoPermissions aims to achieve this in a sane way, without bloating the plugin with a bunch of features that most people don't actually need or use.

Features

The plugin will offer the following features:

Permissions:

  • * wildcard support, etc: your.permission.group.*. Matches all permissions of the type your.permission.group.<perm...>
  • ! priority permission, will override all permissions from higher priority groups. Permission checks are greedy, and a positive permission node with a priority prefix will always return true
  • - permission negation. Prefixing a permission with the negation prefix, will forcefully revert the permission. This can be combined with the priority prefix

Groups: Groups are hierarchical. If a permission group has a parent, then it will inherit the parent permissions. Child permissions will always override parent permissions, unless the parent permission is a priority permission.

An example setup would be:

member
├── builder
|     └── advanced builder
└── moderator
      └── administrator

A player may belong to several permission groups, in which case a greedy search will be performed for any positive permission node. Players may also have personal permission nodes assigned.

Filters: Permission nodes can be defined per world and gamemode, and they may also be timed. There will be an API that will allow you to extend this.

Properties: Groups and players can be assigned properties, such as chat prefixes and suffixes. There will be an API that will allow you to extend this.

Storage: The plugin will allow you to store permissions in either flat files (using YAML) or in a MySQL database.

Code Style

If you are planning to commit any changes to the project, it would be highly appreciated if you were to follow the project code style conventions. To make this easier we have provided settings that can be imported into your IDE.

Eclipse: Window > Preferences > Java > Code Style > Formatter Press Import and select ...path/to/project/code_style.xml

IntelliJ: File > Settings > Editor > Code Style. Next to "Scheme" there is a cog wheel, press that and then Import Scheme > IntelliJ IDEA Code Style XML and then select ..path/to/project/code_style.xml

incendopermissions's People

Contributors

citymonstret avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

incendopermissions's Issues

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.