[Feature]: Player Warnings for ns2 pls

Aperta
#5,240 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, shell
Ambito
backend, cli

Direzione di ricerca

Start by reading the attached update_warn_beta.sh script and the LinuxGSM code that handles the Natural Selection 2 server update and send commands. The issue asks for warnings before an update and a way to wait while players are in a round, but it does not identify the relevant files or define how to detect an empty server. Done means the warning and update behavior works for NS2 while allowing an active round to finish.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

command: send distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
Priority

priority: high

User story

i made a player warn script for ns2 but it don't check if server is empty.

Game

Natural Selection 2

Linux distro

Ubuntu 26.04

Command

command: send

Problem statement

lgsm player Warnings not aviable

Scope and impact

scope: single game

Further information

I’ve created an "update_warn" script to notify players that the server is about to be updated and restarted. However, I’m not sure how to configure the script so that it checks whether the server is empty before the update—that way, players can finish their current round. :P

update_warn_beta.sh Could you delete the file from "user-attachments" after you’ve read it? I’m not really sure how to delete it myself, lol!

Alternatives considered

You can use the command ./ns2 server send in conjunction with sh_csay color message (for colored, centered text) or sh_say (for a message in the general chat); however, this requires the "Shine" administration modification.

https://github.com/Person8880/Shine/wiki/Base-Commands#commands

Lingua principale
Shell
Stelle
4.9k
Fork
866
Merge medio
17h 58m
PR unite (30g)
100

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GameServerManagers/LinuxGSM

Tutte le issue di GameServerManagers/LinuxGSM

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.