Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Вопрос по команде #23

Closed
tigra323 opened this issue May 19, 2022 · 2 comments
Closed

Вопрос по команде #23

tigra323 opened this issue May 19, 2022 · 2 comments

Comments

@tigra323
Copy link

Какие значения может выдать python_aternos.AternosServer.status?

@DarkCat09
Copy link
Owner

Server.status - эквивалент Server._info['class']. Это CSS-класс, который используется на веб-сайте. Пример: сервер выключен, элементу на html-странице выставляется класс .offline, и полоска с надписью "Offline" становится красной. То же с классом .online. Список их я не помню, и я их никуда не записывал, ибо не было необходимости. Надо где-то в style.css смотреть.


Server.status is an equivalent for Server._info['class']. It's a CSS class which is used on the web site. E.g.: the server is shutdown, the class .offline is set to an element on the html page and a line with the text "Offline" becomes red. The same thing with the class .online. I don't remember the list of classes and I didn't write it anywhere because there wasn't any need. They can be found in the file like style.css.

@tigra323
Copy link
Author

спасибо

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants