[Feature]: Player Warnings for ns2 pls

Đang mở
#5,240 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, shell
Lĩnh vực
backend, cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Shell
Star
4.9k
Fork
866
Merge trung bình
17 giờ 58 phút
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GameServerManagers/LinuxGSM

Tất cả issue của GameServerManagers/LinuxGSM

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.