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

[Feature Request] Different Time for Different Reasons #128

Open
BlackYuzia opened this issue Oct 25, 2021 · 0 comments
Open

[Feature Request] Different Time for Different Reasons #128

BlackYuzia opened this issue Oct 25, 2021 · 0 comments

Comments

@BlackYuzia
Copy link
Contributor

BlackYuzia commented Oct 25, 2021

Возможно уже где-то обсуждалось.

Предлагаю сделать систему в которой можно банить игрока по определенным причинам исключительно на определенное время.

Пример:

{
        "text": {
            "reasons": [
                {
                    "name": "Test 1",
                    "time": [
                        {
                        // Будет отображаться просто как неактивная причина / текст
                          "title": "Забанишь ключника, тебя забанят, понял?"
                       // Как пример, можно ссылку на правила указать для админов,
                       // аки: mydomain.com/rules
                        }
                        {
                            "title": "30 Minutes",
                            "value": 30
                        },
                        {
                            "title": "60 Minutes",
                            "value": 60
                        }
                    ]
                },
                {
                    "name": "Test 2",
                    "time": [
                        {
                            "title": "1 Hour",
                            "value": 60
                        },
                        {
                            "title": "1 Day",
                            "value": 3600
                        },
                        {
                            "title": "Permanently",
                            "value": 0
                        }
                    ]
                },
                {
                    "name": "Test 3",
                    "time": [
                        {
                            "title": "Custom",
                            "value": -1
                        }
                    ]
                },
            ]
        },
        "ban": {
            // ...
        },
        "voice": {
            // ...
        },
        // mute is text + voice
        "mute": {
            // ...
        }
}
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

No branches or pull requests

1 participant