Subject to the rules of the corporate authorities, or the board to which the management has been delegated, each community building and its facilities shall be available for the use and benefit of the municipal inhabitants for recreational and educational purposes. Such corporate authorities or board may charge reasonable admission or use fees and may permit the use of a community building and its facilities temporarily, for any reasonable and legitimate private use, on such terms as may be reasonable and proper. When 50% or more of the cost of the building has been paid for from donations or legacies for the purpose of paying part of the cost of the building or all the cost, the use of the building shall be free and no admission or use fees shall be charged, and the words "reasonable and legitimate" as used in the prior portion of this section shall not authorize a use permit for a valuable consideration. No private use shall be permitted which unduly restricts the public use of the building and its facilities. Private permittees may charge admission fees, except where 50% or more of the cost of the building has been paid for from donations or legacies for the purpose of paying part of or all of the cost of the building.
65 ILCS 5/11-63-10