This is a simple API to help with plugins wich requires of regions checking.
Why use it?: Just in case you want to do simple region system in your plugin. In case you wanna make big idea, go use WorldGuard.
How to include this API:
Maven
Step 1. Add the JitPack repository to your build file
Code (Text):
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
Code (Text):
<dependency>
<groupId>com.github.Meerkap</groupId>
<artifactId>WorldRegion</artifactId>
<version>1b940595ac</version>
</dependency>
Manually
Code (Text):
WorldRegionAPI api = new WorldRegion().getAPI();
Thats it!
Wiki!: https://github.com/Meerkap/WorldRegion/wiki
Features
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
❓ Give me ideas!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Methods: The API brings some methods wich make your life easier.
- Create
- Delete
- Set Points <A,B>
- Get Regions
- Change Regions Status
- Check region Status
- Check 2D and 3D regions for location
- Get regions in specified radius
- Get distance from 2 Points on a 2D or 3D plane
Bugs: If you find any bug, please avoid bad ratings.
Contact with me
Post it here:
https://github.com/PablockDA/WorldRegion/issues
Terms of service By using this API you agree to the following terms:
- You will provide credit (explained down)
- I cannot guarantee support indefinitely.
- You are not allowed to sell this API
- You are not allowed to to claim this API as yours
- I can update this terms of use at any time, without notification
- You can use World Region API in all of your plugins, both free and premium, both obfuscated and non-obfuscated.
However, for any plugin you release on Spigot, MCMarket or anywhere else, you must provide credit to World Region API with a clear link to this page on your Overview.
Thanks You!