LuckPerms/README.md

54 lines
3.2 KiB
Markdown
Raw Normal View History

2021-05-10 15:30:09 +02:00
![](https://raw.githubusercontent.com/LuckPerms/branding/master/banner/banner.png "Banner")
2018-11-06 14:28:05 +01:00
# LuckPerms
[![Build Status](https://ci.lucko.me/job/LuckPerms/badge/icon)](https://ci.lucko.me/job/LuckPerms/)
[![javadoc](https://javadoc.io/badge2/net.luckperms/api/javadoc.svg)](https://javadoc.io/doc/net.luckperms/api)
[![Maven Central](https://img.shields.io/maven-metadata/v/https/repo1.maven.org/maven2/net/luckperms/api/maven-metadata.xml.svg?label=maven%20central&colorB=brightgreen)](https://search.maven.org/artifact/net.luckperms/api)
[![Discord](https://img.shields.io/discord/241667244927483904.svg?label=discord&logo=discord)](https://discord.gg/luckperms)
2017-12-01 01:01:50 +01:00
2020-05-13 00:12:53 +02:00
LuckPerms is a permissions plugin for Minecraft servers. It allows server admins to control what features players can use by creating groups and assigning permissions.
2017-01-27 21:37:27 +01:00
The latest downloads, wiki & other useful links can be found on the project homepage at [luckperms.net](https://luckperms.net/).
2020-05-13 00:12:53 +02:00
It is:
2017-01-27 21:37:27 +01:00
2020-05-13 00:12:53 +02:00
* **fast** - written with performance and scalability in mind.
* **reliable** - trusted by thousands of server admins, and the largest of server networks.
* **easy to use** - setup permissions using commands, directly in config files, or using the web editor.
* **flexible** - supports a variety of data storage options, and works on lots of different server types.
* **extensive** - a plethora of customization options and settings which can be changed to suit your server.
* **free** - available for download and usage at no cost, and permissively licensed so it can remain free forever.
2016-07-21 22:40:24 +02:00
For more information, see the wiki article on [Why LuckPerms?](https://luckperms.net/wiki/Why-LuckPerms)
2018-04-04 18:10:33 +02:00
2017-01-27 21:37:27 +01:00
## Building
LuckPerms uses Gradle to handle dependencies & building.
2016-08-19 22:54:40 +02:00
2017-01-27 21:37:27 +01:00
#### Requirements
2018-04-04 18:10:33 +02:00
* Java 8 JDK or newer
2017-01-27 21:37:27 +01:00
* Git
2016-11-12 18:27:15 +01:00
2018-04-04 18:10:33 +02:00
#### Compiling from source
2017-01-27 21:37:27 +01:00
```sh
git clone https://github.com/lucko/LuckPerms.git
2017-05-26 21:48:41 +02:00
cd LuckPerms/
./gradlew build
2017-01-27 21:37:27 +01:00
```
2016-11-12 18:27:15 +01:00
You can find the output jars in the `loader/build/libs` or `build/libs` directories.
2017-05-26 21:48:41 +02:00
## Contributing
#### Pull Requests
2017-12-01 01:01:50 +01:00
If you make any changes or improvements to the plugin which you think would be beneficial to others, please consider making a pull request to merge your changes back into the upstream project. (especially if your changes are bug fixes!)
2017-05-26 21:48:41 +02:00
2017-12-01 01:01:50 +01:00
LuckPerms loosely follows the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html). Generally, try to copy the style of code found in the class you're editing.
2017-05-26 21:48:41 +02:00
#### Project Layout
2018-08-27 10:37:41 +02:00
The project is split up into a few separate modules.
2017-05-26 21:48:41 +02:00
2017-12-01 01:01:50 +01:00
* **API** - The public, semantically versioned API used by other plugins wishing to integrate with and retrieve data from LuckPerms. This module (for the most part) does not contain any implementation itself, and is provided by the plugin.
* **Common** - The common module contains most of the code which implements the respective LuckPerms plugins. This abstract module reduces duplicated code throughout the project.
* **Bukkit, BungeeCord, Sponge, Fabric, Nukkit & Velocity** - Each use the common module to implement plugins on the respective server platforms.
2017-05-26 21:48:41 +02:00
2017-01-27 21:37:27 +01:00
## License
LuckPerms is licensed under the permissive MIT license. Please see [`LICENSE.txt`](https://github.com/lucko/LuckPerms/blob/master/LICENSE.txt) for more info.