This API will allow you to create the MultiArena plugin quite easily.
To use this API you have to follow the following steps:
Paso 1 (add the API in the ide):
First select the project in the ide and use the option called "Properties". Once you have used that option, it will open a window and in that window you must enter "Java Build Path"
then you have to use the option called "add external jar" and select the API and you can verify that it appears in a list.
The last thing to do in this step is to use the option called "Apply and close".
Paso 2 (Get the API in the ide.):
To get an API in the ide is really easy, you just have to place the following code just below the public class:
private MultiArenaAPI api = ( MultiArenaAPI ) Bukkit. getPluginManager ( ) . getPlugin ( "MultiArenaAPI" ) ; /*you must place it in all the classes in which you use the API if you do not know how to do it so that with only one method you can get it in any part of the plugin.*/
Step 3(Use the api):
in this version of the api it contains three methods:
api. arenaManager . saveArena ( /*WorldName*/ ) ; /*Is used to save the world in the API folder.*/
api. arenaManager . regenArena ( /*WorldName*/ ) ; /*Is used to regenerate the world from the copy of the api folder.*/
api. arenaManager . deleteSavedArena ( /*WorldName*/ ) ; /*Is used to remove the copy of the API folder.*/
Step 4(Configure the API) | Optional:
In this version of the API, you can change the name of the folder in which the API copy is made in the config.yml file. By default, the folder where the copies are stored will be saved as Sands, but you can change it in config.yml in the path called "Worlds Forlder".
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta