voidaddLocation(name, location); //Addes new locationMap<String, Location>getLocations(); //Gets map of locationsvoidremoveLocation(name); //Removes location from mapLocationgetLocationByName(name)//Gets location by nameOptional<Location>getLocation(name); //Gets location by name
Arena options (The arena stores options in YAML).
Thanks to arena options you can store some custom values.
Options options =arena.options();//orOptions options =arena.getOptionsOrCreate();options.setValue("key","value"); //sets the valueObject value =options.getValue("key"); //gets the valueObject value =options.getValueOrDefault("key","default"); //gets the value, or default value