Skip to content

Regions

Asintoto edited this page Jun 21, 2024 · 2 revisions

Regions

Here you will find how to use Basic's regions system


You can create a region as following:

Region region = new Region("Spawn", loc1, loc2);
// This will create a region with the name "Spawn". ("loc1" and "loc2" are two Bukkit Location)

Regions come with Getters and Setters so you can customize them as you want, and integrate them in you plugin in all the ways possible

Note: You can access a lot of region related method by using Basic.getRegionManager() and all its methods.

Clone this wiki locally