Pterodactyl4J
Pterodactyl4J copied to clipboard
Feature: Node: setMaintanceMode
This PR introduces the functionality to set a Node into Maintenance Mode.
API Doc:
https://dashflo.net/docs/api/pterodactyl/v1/
Personally I would change hasMaintanceMode into isInMaintenanceMode or inMaintenanceMode or something like that
Thank you for your suggestion regarding the naming convention.
Based on your feedback, I have updated the property to a more descriptive name, isInMaintenanceMode
.
However, I have decided to keep the function name as setMaintanceMode
to maintain consistency with the existing getter hasMaintanceMode
, as referenced in Entity Node L45.
This balance allows us to improve clarity while preserving coherence in our codebase.
Thank you for your feedback. I don't want to change the old function name but when you say it is okay then let's go. Now we use correct naming.
@mattmalec can we please merge this?