nu i xuinya

This commit is contained in:
2026-08-02 22:23:18 +03:00
commit e224dc91a7
205 changed files with 6356 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
mute:
integrations:
flectone:
enabled: true
voice:
enabled: true
permission: voicechat.speak
blocked-commands:
- msg
- tell
- w
- whisper
- reply
- r
- me
messages:
prefix: "<dark_gray>[<red>Moderation</red>]</dark_gray> "
no-permission: "<red>У вас нет права <permission>.</red>"
unsupported-sender: "<red>Эту команду может выполнить только игрок или обычная консоль.</red>"
usage-mute: "<red>Использование: /mute <player> <duration> [actor:<name>] <reason...></red>"
usage-unmute: "<red>Использование: /unmute <player> [actor:<name>] [reason...]</red>"
usage-ban: "<red>Использование: /ban <player> <duration> [actor:<name>] <reason...></red>"
usage-unban: "<red>Использование: /unban <player> [actor:<name>] [reason...]</red>"
usage-kick: "<red>Использование: /kick <player> [actor:<name>] <reason...></red>"
invalid-duration: "<red>Неизвестный или недопустимый срок: <duration>.</red>"
invalid-actor: "<red>Аргумент actor: указан неверно.</red>"
player-actor-forbidden: "<red>Игрок не может передавать actor: вручную.</red>"
missing-reason: "<red>Необходимо указать причину.</red>"
target-not-found: "<red>Профиль <target> не найден среди известных серверу игроков. Можно указать UUID.</red>"
target-offline: "<red>Игрок <target> уже вышел с сервера.</red>"
no-active-mute: "<red>У игрока <target> нет активного мута.</red>"
no-active-ban: "<red>У профиля <target> нет активного бана.</red>"
storage-error: "<red>Не удалось надёжно сохранить изменение. Наказание не применено.</red>"
action-failed: "<red>Не удалось применить действие. Подробности записаны в журнал сервера.</red>"
mute-success: "<green>Мут игрока <target> установлен на <duration>. Автор: <actor>.</green>"
mute-target: "<red>Вам запрещён чат.</red> <gray>Причина: <reason>. Модератор: <actor>. Срок: <duration>.</gray>"
unmute-success: "<green>Мут игрока <target> снят. Автор: <actor>.</green>"
unmute-target: "<green>Ваш мут снят.</green> <gray>Модератор: <actor>. Причина снятия: <reason>.</gray>"
ban-success: "<green>Профиль <target> заблокирован на <duration>. Автор: <actor>.</green>"
ban-disconnect: "<red>Вы заблокированы на сервере.</red>\n<gray>Причина: <reason>\nМодератор: <actor>\nСрок: <duration></gray>"
unban-success: "<green>Бан профиля <target> снят. Автор: <actor>.</green>"
kick-success: "<green>Игрок <target> исключён с сервера. Автор: <actor>.</green>"
kick-disconnect: "<red>Вы исключены с сервера.</red>\n<gray>Причина: <reason>\nМодератор: <actor></gray>"
muted-attempt: "<red>Вы не можете писать.</red> <gray>Причина: <reason>. Осталось: <duration>.</gray>"
reason-not-specified: "не указана"

View File

@@ -0,0 +1,54 @@
name: ModerationCommands
description: Moderation commands for Paper servers
prefix: ModerationCommands
version: '1.0'
main: org.kilka.moderationcommands.ModerationCommandsPlugin
api-version: '26.1.2'
load: POSTWORLD
softdepend: [ FlectonePulse, LuckPerms ]
authors: [ Kilka_v_HJIebe ]
commands:
mute:
description: Mute a player
permission: moderation.command.mute
unmute:
description: Remove an active mute
permission: moderation.command.unmute
ban:
description: Ban a player profile
permission: moderation.command.ban
unban:
description: Remove an active profile ban
permission: moderation.command.unban
kick:
description: Kick an online player
permission: moderation.command.kick
permissions:
moderation.command.*:
description: Allows all ModerationCommands commands
default: op
children:
moderation.command.mute: true
moderation.command.unmute: true
moderation.command.ban: true
moderation.command.unban: true
moderation.command.kick: true
moderation.command.mute:
description: Allows /mute
default: op
moderation.command.unmute:
description: Allows /unmute
default: op
moderation.command.ban:
description: Allows /ban
default: op
moderation.command.unban:
description: Allows /unban
default: op
moderation.command.kick:
description: Allows /kick
default: op