Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Censor /status and allow for custom status to be set (requires KFO Client update) #141

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

EstatoDeviato
Copy link
Contributor

No description provided.

@Crystalwarrior
Copy link
Owner

Can you name the PR descriptively, remember 1 PR per 1 core feature

server/area.py Outdated Show resolved Hide resolved
@@ -2,7 +2,7 @@
from server import commands
from server.evidence import EvidenceList
from server.exceptions import ClientError, AreaError, ArgumentError, ServerError
from server.constants import MusicEffect, derelative
from server.constants import MusicEffect, derelative, censor
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

server/area.py Outdated
raise AreaError(
f'Invalid status. Possible values: {", ".join(allowed_values)}'
f'Invalid status. Possible values: {", ".join(possible_values)}'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just outward specify "hub" is a restricted value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So just specify in ooc "Hub" is a restricted status?

@@ -647,7 +647,7 @@ def send_arup_status(self, clients=None):
return
status_list = [1]
if len(self.server.hub_manager.hubs) > 1:
status_list = [1, "GAMING"]
status_list = [1, "HUB"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-KFO Client might not display the right status color

Copy link
Contributor Author

@EstatoDeviato EstatoDeviato Jun 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version KFO client will be? so I can diversify from the old one

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any client that isn't KFO LOL

@Crystalwarrior Crystalwarrior changed the title Kfo client new version Censor /status and allow for custom status to be set (requires KFO Client update) May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants