Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faforever/faf-moderator-client
FAF Moderator Client
https://github.com/faforever/faf-moderator-client
faf gradle hacktoberfest javafx javafx-desktop-apps spring-boot
Last synced: 12 days ago
JSON representation
FAF Moderator Client
- Host: GitHub
- URL: https://github.com/faforever/faf-moderator-client
- Owner: FAForever
- License: mit
- Created: 2017-11-11T00:24:48.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-19T22:13:49.000Z (3 months ago)
- Last Synced: 2024-08-21T01:56:48.338Z (3 months ago)
- Topics: faf, gradle, hacktoberfest, javafx, javafx-desktop-apps, spring-boot
- Language: Java
- Homepage:
- Size: 1.14 MB
- Stars: 4
- Watchers: 5
- Forks: 11
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FAF Moderator Client [![Build](https://github.com/FAForever/faf-moderator-client/actions/workflows/build.yml/badge.svg)](https://github.com/FAForever/faf-moderator-client/actions/workflows/build.yml)
This application enables faforever.com moderators to perform administrative actions. This involves:
- managing of users, user groups and permissions
- uploading and assigning avatars
- managing matchmaker map pools
- map & mod vault
- checking recent activities
- editing runtime translations# How to use / run it
- Make sure you have Java 21 or higher installed (JRE or JDK does not matter). Adoptium offers free installation
packages [here](https://adoptium.net/?variant=openjdk21) (other Java flavours like Oracle should also work)
- Download the right client version for your operating system from the release page
- Unzip it
- Go to the bin folder and run the .bat script (Windows) or the .sh script (Linux)
- Login with your FAF credentials# Setting up your environment
## Recommended software
- We recommend [JetBrains IntelliJ](https://www.jetbrains.com/idea) as IDE. The community edition is free and open source.
- For editing the user interface, we strongly recommend [Scene Builder](https://gluonhq.com/products/scene-builder)
- For a simple setup and testing of the dependencies you should use [Docker](https://www.docker.org) and [Docker Compose](https://github.com/docker/compose/releases)## Boot the dependencies
- Checkout the [FAF Stack](https://github.com/FAForever/faf-stack) and initialize the database (`scripts/init-db.sh`).
Afterwards boot the api via `docker-compose up -d faf-java-api`.
- Get some [test data](https://github.com/FAForever/db/blob/develop/test-data.sql) and insert it into the MySQL db (
user: root & password: banana). A tool like HeidiSQL can help you with this. This also adds a moderator account with
username: test & password: test_password## Run from source
1. Clone the project with git
1. Import the project into IntelliJ as "Gradle Project"
1. Make sure you have the IntelliJ [Lombok plugin](https://plugins.jetbrains.com/idea/plugin/6317-lombok-plugin) installed
1. Make sure you have `Enable annotation processing` enabled in the settings
1. Add the dev profile as command line options ("VM options" in IntelliJ) using `-Dspring.profiles.active=dev`
1. Add your platform as parameter for all Gradle processes e.g. `-PjavafxPlatform=win` for Windows.