Caernarfon Town will have home advantage throughout the European Playoffs after clinching fourth spot over Newtown on goal difference.
The Cofis lost 1-0 at Bala Town thanks to Henry Jones' header in the third minute, the winger meeting Mike Hayes' cross from the left to get the only goal of the game.
The Robins then needed to win, and to get a four goal or better swing overall, to take fourth place from the Cofis, and that looked like it was about to happen as they were 3-0 up against Barry going into stoppage time.
A Curtis Watkins own goal had given Newtown the lead in the first half, and second half strikes from George Harry and Steve Leslie had moved Chris Hughes' side up into the top seed position, until Kayne McLaggon's 96th minute penalty meant Caernarfon regained fourth spot by one goal.
That means that Caernarfon will host Cardiff Met, while Bala will travel to Newtown in the Semi-Finals.
Greg Draper notched his 27th goal of the season to seal a second consecutive Golden Boot award as The New Saints beat Connah's Quay 1-0 at Park Hall in a dress rehearsal for next week's JD Welsh Cup Final.
In the Playoff Conference, a six-minute hat-trick from Liam Thomas helped Carmarthen Town to a 6-2 win over Aberystwyth at Richmond Park.
Jordan Knott had put the Old Gold ahead early on, only for Paolo Mendes to equalise just before the break. Ceri Morgan restored the home side's lead, before Thomas bagged his treble to put the game out of sight. Declan Carroll added the sixth for Neil Smothers' side, who finish the season on a four game winning run. Jamie McDaid grabbed the consolation for Aber.
An inexperienced Cardiff Met side came from behind twice to beat Llanelli 3-2 at Cyncoed.
A thirty-yard rasper from Micheal George put the Reds in front, before Tim Parker tapped home an equaliser. Chris Jones' penalty restored Llanelli's lead, before Parker again levelled, and Liam Black headed home the winner late on for Met, who will travel to Caernarfon two weeks tomorrow.
Llandudno meanwhile bowed out of the top flight on the wrong end of a 5-0 thumping by Cefn Druids.
Two goals for Jack Kenny, and one apiece for Aaron Simpson, Dean Rittenberg and Fisnik Hajdari gave the Ancients the perfect end to a season which saw them playing in Europe for the second time.
Don't worry, we hate spam as much as you do. We will only send you the latest updates and anything we think you will enjoy reading about.