Integrate arma-manager module
- Vorherrschende Sprache
- JavaScript
- Sterne
- 0
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Dahlgren implemented functionality that allowed easy starting of an arma 3 server (https://github.com/Dahlgren/node-arma-server). He doesn't necessarily allows stopping it, but it is supposed to return the PID of the executable! We can use that to stop and check if the process is running.
Otherwise, checking the port listener and then grabbing the PID related there is another option.
Controls to implement:
- [x] start
- [x] stop
- [ ] status
- [ ] restart - Is there a way we can send chat commands to the server? Then we could imitate `#restart`
- [ ] update - Updates the game and any mods that are out of date. Use the FASTER XML to check on if anything is out of date? Might not work since FASTER is not guaranteed to be open or have checked for out-of-date mods in a while
- [ ] attendance - List the players who attended for the last event. An event is described as any session where the players were connected at any point during the 1900-2100 time period on a Wednesday, Thursday or Sunday
- ~~add_mod - Adds a mod to the start parameters of a particular server~~
- ~~remove_mod - Removes a mod from the start parameters of a particular server~~
- ~~add_server_mod~~
- ~~remove_server_mod~~
Beitragsleitfaden
Rechercherichtung
Look at the existing arma-manager module and the node-arma-server library to understand starting and stopping an Arma 3 server. Check how to get the PID and monitor port listeners. For status and restart, investigate sending chat commands. The attendance feature requires tracking player connections within specific time windows, which involves parsing server logs or using RCON.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- backend, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100