4drian3d / 4drian3d/ServerPermissions

Feature Request: Replace /server command to allow filter servers by permissions

Đang mở
#16 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
8
Fork
1
Merge trung bình
7 ngày 14 giờ
Pull request đã merge (30 ngày)
1

Mô tả

When you do `/server`, it shows the server you are currently in and all thee available servers along with the number of connected players when you hover.

I think on that list it should hide the servers for which you don't have permission

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Look at the command handling for `/server` in the plugin code, likely in a class like ServerCommand. The list of servers is fetched from the Velocity API. Filter this list by checking the player's permissions, probably using a permission node pattern like 'serverpermissions.server.'. Test by joining a server without permission and verifying it's hidden from the list.

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

Đánh giá

Công nghệ
java
Lĩnh vực
backend
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
55/100

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.