Skip to content

Update some plexora functionality#7038

Open
flleeppyy wants to merge 1 commit into
Monkestation:mainfrom
flleeppyy:plexora-patch3
Open

Update some plexora functionality#7038
flleeppyy wants to merge 1 commit into
Monkestation:mainfrom
flleeppyy:plexora-patch3

Conversation

@flleeppyy

Copy link
Copy Markdown
Member

About The Pull Request

Pulls over some functionality from Monkestation/Monkestation2.0#12038
It adds a sister server checker with the configuration IDs for each. I would have made it a config but I decided to just make it a macro. If you think you'll use it you can change it in the future.

Why It's Good For The Game

plexy up to date

Changelog

🆑
code: Updated Plexora code
/:cl:

Pre-Merge Checklist

  • You tested this on a local server.
  • This code did not runtime during testing.
  • You documented all of your changes.

@github-actions github-actions Bot added Code Maintenance Fixing this mess one line at a time Config Updates a config file. labels Jul 4, 2026

// Check status by id or game port
/datum/controller/subsystem/plexora/proc/check_byondserver_status(id, port)
if (isnull(id) && isnull(port)) return

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if (isnull(id) && isnull(port)) return
iif(!id || !port)
return

/datum/controller/subsystem/plexora/proc/check_byondserver_status(id)
if (isnull(id)) return
/datum/controller/subsystem/plexora/proc/check_servers()
if(!PLX_SHOULD_CHECK_SERVERS)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

replace with a define block / config flag or remove

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

for checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Maintenance Fixing this mess one line at a time Config Updates a config file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants