Refactor skill lookup logic and vote system, update language files

Refactored command handling to improve player and skill lookup logic, replaced some list operations with direct queries, and updated method signatures for clarity and null safety. The vote system was reworked to support more robust vote tracking, cooldowns, and localized chat messages. Language files were updated to add new vote-related translations. Various code style and nullability improvements were made throughout the plugin.
This commit is contained in:
Juzlus 2025-09-04 04:53:23 +02:00
parent 54b265d43d
commit e33975fe8b
117 changed files with 1532 additions and 1674 deletions

View file

@ -414,6 +414,14 @@
"healed": "Você foi curado.",
"game_start": "Jogo iniciado!",
"vote_started": "Votação iniciada: '{0}'",
"vote_timeout": "Votação '{0}' expirou!",
"vote_wait": "Você precisa esperar antes de iniciar outra votação!",
"vote_same_wait": "Você precisa esperar antes de iniciar a mesma votação novamente!",
"vote_not_enough_players": "Não há jogadores suficientes para iniciar uma votação!",
"vote_alredy_voted": "Você já votou!",
"vote_vote": "Votar",
"teammate_skills": "Habilidades dos seus companheiros de equipe",
"summary_start": "=======RESUMO=DA=ÚLTIMA=RODADA=======",
"summary_end": "======================================="