Skip to content

Ste3et/ProtectionLib

Repository files navigation

ProtectionLib

Did you search a Proection check for the most important Protection Plugins ?

Getting Started

The ProtectionLib can check if the Player X have the right Permissions on the Plot/Region to build on it or is it the owner of the region/plot.

Commands

/protectionlib (aliases: [protl, ptl])
/protectionlib plugins | Display all hooked Plugins
/protectionlib debug (player) | Display some Informations then the building check is called
/protectionlib reload | Reload all hooks

Permissions

protectionlib.command | allow the protectionlib commands
protectionlib.admin | bypass the building check

Supported Plugins

Add Own Plugin hooks

public void insertPluginHook(protectionObj pluginHookClass){
  ProtectionLib.getInstance().getWatchers().add(pluginHookClass)
}

Maven Support

  <repositories>
      <repository>
          <id>jitpack.io</id>
          <url>https://jitpack.io</url>
      </repository>
  </repositories>
  <dependency>
      <groupId>com.gitlab.Ste3et_C0st</groupId>
      <artifactId>protectionlib</artifactId>
      <version>v0.9.7</version>
  </dependency>

Under Construction :/

Licensing

MIT License

Copyright (c) 2019 Ste3et_C0st

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages