diff --git a/README.md b/README.md index ce9c2de..97393f5 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,14 @@ An easy to use Python wrapper for the Pterodactyl Panel API. ## State of the project -Support for Pterodactyl 1.x endpoints is mostly completed, however some -endpoints are still missing. Future versions will not attempt to remain -backwards compatible with versions of Pterodactyl before 1.0, however old -versions of pydactyl that do support 0.7 will remain available. +Support for Pterodactyl 1.x endpoints is mostly completed, however some +endpoints are still missing. Future versions will not attempt to remain backwards compatible with versions of Pterodactyl before 1.0, however old versions of pydactyl that do support 0.7 will remain available. -The 1.0 release is mostly stable and will not see significant changes until the -Pterodactyl 2.0 release. Pull Requests will still be accepted and new endpoints -will continue to be added. Pterodactyl API changes are expected in the 2.0 -release, and there will likely be a refactor of the pydactyl interface at that -time. pydactyl 2.0 will be released once this work is completed. +The 1.0 release is mostly stable and will not see significant changes until +the Pterodactyl 2.0 release. Pull Requests will still be accepted +and new endpoints will continue to be added. Pterodactyl API changes are +expected in the 2.0 release, and there will likely be a refactor of the pydactyl interface at that +time. pydactyl 2.0 will be released once this work is completed. If you encounter problems, find APIs that haven't been implemented, or have a feature request please file a [Github issue][issues]. @@ -86,30 +84,13 @@ location_ids field to an invalid location it displays an error: api.servers.create_server(name='My Paper Server', user_id=1, nest_id=1, egg_id=3, memory_limit=8000, swap_limit=0, disk_limit=0, location_ids=[199]) -Traceback(most -recent -call -last): -File -"", line -6, in < module > -File -"D:\code\pydactyl\pydactyl\api\servers.py", line -268, in create_server -mode = 'POST', data = data, json = False) -File -"D:\code\pydactyl\pydactyl\api\base.py", line -98, in _api_request -'code'], errors['detail']) -pydactyl.exceptions.PterodactylApiError: Bad -API -Request(400) - NoViableNodeException - No -nodes -satisfying -the -requirements -specified -for automatic deployment could be found. +Traceback (most recent call last): + File "", line 6, in + File "D:\code\pydactyl\pydactyl\api\servers.py", line 268, in create_server + mode='POST', data=data, json=False) + File "D:\code\pydactyl\pydactyl\api\base.py", line 98, in _api_request + 'code'], errors['detail']) +pydactyl.exceptions.PterodactylApiError: Bad API Request(400) - NoViableNodeException - No nodes satisfying the requirements specified for automatic deployment could be found. ``` You can use the User class to add, modify, and delete panel users.