SubSide / KOTH

A King of The Hill plugin that has all the flexibility that you need!
https://www.spigotmc.org/resources/koth-king-of-the-hill.7689/
19 stars 39 forks source link

Cannot Capture Koth , FactionUUID #139

Open Ariel0110 opened 4 years ago

Ariel0110 commented 4 years ago

Can't seem to capture the koth , I followed the insturctions here : http://dev.thomasvdbulk.nl/KoTH/faq#capture

But It doesn't let me capture..

Error Log : https://pastebin.com/Pea27vAE

@SubSide

Tagging The Dev As there seems to be other people with the same issue , Issues aren't answered for more than 2 - 3 months.

Please Help Me Resolve it , Thanks.

A248 commented 4 years ago

For anyone having this issue, it's caused by FactionsUUID making a binary-incompatible change to Faction#getOnlinePlayers. The method now returns a List instead of ArrayList.

To get a working version of KOTH, you only need to recompile the source. KOTH does not rely on the List being specifically an ArrayList. To do this, you may need to collect the dependencies of KOTH (or strip out the ones you don't need).

138

135

TheJoshue commented 3 years ago

For anyone having this issue, it's caused by FactionsUUID making a binary-incompatible change to Faction#getOnlinePlayers. The method now returns a List instead of ArrayList.

To get a working version of KOTH, you only need to recompile the source. KOTH does not rely on the List being specifically an ArrayList. To do this, you may need to collect the dependencies of KOTH (or strip out the ones you don't need).

138

135

and can you tell us where to put KOTH dependencies (jar files)? Compiling using ubuntu, maven

A248 commented 3 years ago

Search the web for how to add a jar file as a dependency using Maven - there are plenty of answers on the topic and you will learn by doing it.