Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Stefan-Horst/CoCLeagueEvaluator
Creates a player ranking based on Clash of Clans CWL stats taken from Sidekick II Discord Bot for a fair distribution of the bonuses.
https://github.com/Stefan-Horst/CoCLeagueEvaluator
clan-war-league clash-of-clans clashofclans coc cwl java player-ranking
Last synced: 21 days ago
JSON representation
Creates a player ranking based on Clash of Clans CWL stats taken from Sidekick II Discord Bot for a fair distribution of the bonuses.
- Host: GitHub
- URL: https://github.com/Stefan-Horst/CoCLeagueEvaluator
- Owner: Stefan-Horst
- License: mit
- Created: 2021-10-10T21:44:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-12T20:19:50.000Z (over 2 years ago)
- Last Synced: 2024-02-17T10:25:35.569Z (9 months ago)
- Topics: clan-war-league, clash-of-clans, clashofclans, coc, cwl, java, player-ranking
- Language: Java
- Homepage:
- Size: 4.56 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoCLeagueEvaluator
Console App written in Java for creating a ranking of all participating players of the Clan War League (CWL) in Clash of Clans (CoC).
The input data is taken from the "league.csv" file. These files can be generated by the Sidekick II Discord bot.## Setup
Use the "/export number 7" Sidekick II bot command on your Discord server to download a .csv file containing the last seven wars (= the CWL).
You can also export the complete clan war history and edit the file by hand so that it only contains the wars of the CWL.
Make sure to rename the file to "league.csv" (or change the expected file name in the code) for the program to recognize it and then move it in the same directory as the CoCLeagueEvaluator.jar file.
Finally, start cmd.exe, navigate to the directory containing the CoCLeagueEvaluator.jar file and run the command "java -jar CoCLeagueEvaluator.jar" for the ranking to be calculated.## Configuration
Change "league.csv" in Main.java if you prefer your .csv files to have another name.
To modify the ranking, change the values of the constants in Program.java to adjust the weights of the components.
## Troubleshooting
Make sure the .csv file uses commas as separators. Semicolons etc. will not work and cause errors.
Sometimes the .csv file can be broken by player names containing commas or additional commas being inserted by encoding conversion problems.
You will get an error in the program should this happen. There you can see which line in the .csv file caused the problem. Manually find and remove the wrong comma in that line and try to run the program again.