Refactor command system and add static skill support
This commit is contained in:
parent
e33975fe8b
commit
c73473f0ed
22 changed files with 509 additions and 156 deletions
|
|
@ -1,22 +1,95 @@
|
|||
{
|
||||
"Settings": {
|
||||
"LangCode": "en",
|
||||
"GameMode": 0,
|
||||
"GameMode": 3,
|
||||
"KillerSkillInfo": true,
|
||||
"TeamMateSkillInfo": true,
|
||||
"SummaryAfterTheRound": true,
|
||||
"DebugMode": true,
|
||||
"SetSkillCommands": "ustawskill, setskill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能",
|
||||
"SkillsListCommands": "supermoc, skille, listamocy, supermoce, skills, listaHabilidades, habilidades, 技能列表, 超能力列表",
|
||||
"UseSkillCommands": "t, useSkill, usarHabilidade, 技能使用, 使用技能",
|
||||
"ChangeMapCommands": "map, mapa, changemap, zmienmape, zmienmape, mudarMapa, trocarMapa, 更换地图, 更改地图",
|
||||
"StartGameCommands": "start, go, começar, iniciar, 开始, 启动",
|
||||
"ConsoleCommands": "console, sv, 控制台, 服务器",
|
||||
"SwapCommands": "swap, zmiana, trocar, 交换, 切换",
|
||||
"ShuffleCommands": "shuffle, embaralhar, 随机排序, 洗牌",
|
||||
"PauseCommands": "pause, unpause, pausar, despausar, 暂停, 恢复",
|
||||
"HealCommands": "heal, ulecz, curar, tratar, 治疗, 治愈",
|
||||
"SetScoreCommands": "setscore, wynik, definirPontuacao, configurarPontos, 设置分数, 调整分数"
|
||||
"SetSkillCommands": {
|
||||
"Alias": "ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"SkillsListCommands": {
|
||||
"Alias": "supermoc, skille, listamocy, supermoce, skills, listaHabilidades, habilidades, 技能列表, 超能力列表",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"UseSkillCommands": {
|
||||
"Alias": "t, useSkill, usarHabilidade, 技能使用, 使用技能",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"HealCommands": {
|
||||
"Alias": "heal, ulecz, curar, tratar, 治疗, 治愈",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"ConsoleCommands": {
|
||||
"Alias": "console, sv, 控制台, 服务器",
|
||||
"Permissions": "@jRandmosSkills/root"
|
||||
},
|
||||
"SetStaticSkillCommands": {
|
||||
"Alias": "ustawstatycznyskill, ustaw_statyczny_skill, setstaticskill, set_static_skill",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"StartGameCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 15.0,
|
||||
"PercentagesToSuccess": 60.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 500.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "start, go, começar, iniciar, 开始, 启动",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"ChangeMapCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 25.0,
|
||||
"PercentagesToSuccess": 90.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 500.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "map, mapa, changemap, zmienmape, zmienmape, mudarMapa, trocarMapa, 更换地图, 更改地图",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"SwapCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 15.0,
|
||||
"PercentagesToSuccess": 90.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 20.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "swap, zmiana, trocar, 交换, 切换",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"ShuffleCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 15.0,
|
||||
"PercentagesToSuccess": 90.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 20.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "shuffle, embaralhar, 随机排序, 洗牌",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"PauseCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 15.0,
|
||||
"PercentagesToSuccess": 60.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 2.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "pause, unpause, pausar, despausar, 暂停, 恢复",
|
||||
"Permissions": "@jRandmosSkills/admin"
|
||||
},
|
||||
"SetScoreCommands": {
|
||||
"EnableVoting": true,
|
||||
"TimeToVote": 15.0,
|
||||
"PercentagesToSuccess": 90.0,
|
||||
"TimeToNextVoting": 15.0,
|
||||
"TimeToNextSameVoting": 90.0,
|
||||
"MinimumPlayersToStartVoting": 2,
|
||||
"Alias": "setscore, wynik, definirPontuacao, configurarPontos, 设置分数, 调整分数",
|
||||
"Permissions": "@jRandmosSkills/root"
|
||||
}
|
||||
},
|
||||
"SkillsInfo": [
|
||||
{
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -401,7 +401,7 @@
|
|||
"skill_not_found_setskill": "No such CHATCOLORS.REDskill found",
|
||||
"player_not_found_setskill": "No such CHATCOLORS.REDplayer found",
|
||||
"correct_form_setskill": "Correct usage: CHATCOLORS.RED!setskill <nickname> <skill>",
|
||||
"correct_form_setskill": "Correct usage: CHATCOLORS.RED!setscore <CT> <TT>",
|
||||
"correct_form_setscore": "Correct usage: CHATCOLORS.RED!setscore <CT> <TT>",
|
||||
"done_setskill": "skill set",
|
||||
"error_setskill": "Failed to set CHATCOLORS.REDskill",
|
||||
"for_setskill": "for",
|
||||
|
|
@ -414,6 +414,14 @@
|
|||
"healed": "You have been healed.",
|
||||
"game_start": "Game started!",
|
||||
|
||||
"vote_started": "Vote started: '{0}'",
|
||||
"vote_timeout": "Vote '{0}' timed out!",
|
||||
"vote_wait": "You need to wait before starting another vote!",
|
||||
"vote_same_wait": "You need to wait before starting the same vote again!",
|
||||
"vote_not_enough_players": "Not enough players to start a vote!",
|
||||
"vote_alredy_voted": "You have already voted!",
|
||||
"vote_vote": "Vote",
|
||||
|
||||
"teammate_skills": "Your teammates' skills",
|
||||
"summary_start": "======SUMMARY=OF=THE=LAST=ROUND======",
|
||||
"summary_end": "======================================="
|
||||
|
|
|
|||
|
|
@ -414,6 +414,14 @@
|
|||
"healed": "Zostałeś uleczony.",
|
||||
"game_start": "Gra rozpoczęta!",
|
||||
|
||||
"vote_started": "Głosowanie rozpoczęte: '{0}'",
|
||||
"vote_timeout": "Głosowanie '{0}' przekroczyło limit czasu!",
|
||||
"vote_wait": "Musisz poczekać, zanim rozpoczniesz kolejne głosowanie!",
|
||||
"vote_same_wait": "Musisz poczekać, zanim ponownie rozpoczniesz to samo głosowanie!",
|
||||
"vote_not_enough_players": "Za mało graczy, aby rozpocząć głosowanie!",
|
||||
"vote_alredy_voted": "Już zagłosowałeś!",
|
||||
"vote_vote": "Głosowanie",
|
||||
|
||||
"teammate_skills": "Supermoce twoich sojuszników",
|
||||
"summary_start": "======PODSUMOWANIE=Z=OSTATNIEJ=RUNDY======",
|
||||
"summary_end": "============================================"
|
||||
|
|
|
|||
|
|
@ -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": "======================================="
|
||||
|
|
|
|||
|
|
@ -414,6 +414,14 @@
|
|||
"healed": "你已被治疗。",
|
||||
"game_start": "游戏开始!",
|
||||
|
||||
"vote_started": "投票开始:'{0}'",
|
||||
"vote_timeout": "投票'{0}'超时!",
|
||||
"vote_wait": "您需要等待才能开始另一轮投票!",
|
||||
"vote_same_wait": "您需要等待才能再次发起相同投票!",
|
||||
"vote_not_enough_players": "投票人数不足!",
|
||||
"vote_alredy_voted": "您已投票!",
|
||||
"vote_vote": "投票",
|
||||
|
||||
"teammate_skills": "你队友的技能",
|
||||
"summary_start": "=============上一回合总结==============",
|
||||
"summary_end": "======================================="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue