Home›Java›Mods›MultiArenaAPI
MultiArenaAPI
ModsJava

MultiArenaAPI

Java mod listed for Minecraft 1.7–1.13. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
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" [​IMG]
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. [​IMG] [​IMG]
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:
Code (Java):
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:
Code (Java):
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".
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MultiArenaAPI is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 171 times (via Spigot). Download it and open it directly in the game.

Explore more