Configuações de linguagem
Como alterar alguma configuração dos arquivos de linguagem
1. Configurações de ícone, nome, etc no menu de linguagens
Acesse a configuração do CORE do XG7Plugins e localize essas seções. Aqui abaixo mostra essas seções e pra que elas servem
#Local da linguagem, buscado pela linguagem do jogador
locale: en_US
#Nome no menu de linguagem
formated-name: "English"
#Material do menu de linguagens
icon: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2QxNWQ1NjYyMDJhYzBlNzZjZDg5Nzc1OWRmNWQwMWMxMWY5OTFiZDQ2YzVjOWEwNDM1N2VhODllZTc1In19fQ=="
#Ícone no formulário Geyser
bedrock-icon: "URL, https://cdn.britannica.com/33/4833-050-F6E415FE/Flag-United-States-of-America.jpg"
2. Configurações do menu de ajuda
#Aqui você pode definir valores padrões do menu de ajuda
help-menu:
index:
title: "Help of XG7Plugins"
see-in-chat: "Click here to see the help in chat"
profile-item:
name: "Profile: %player_name%"
lang-chose: "%xg7plugins_player_lang%"
lang-item:
name: "Languages"
lore: "Click here to change profile lang"
tasks-item:
name: "Tasks"
lore: "Click here to see the tasks"
about-item:
name: "About"
lore: "Click here to see the plugin information"
commands-item:
name: "Commands"
lore: "Click here to see the commands"
about:
- "About &9XG7Plugins"
- ""
- "Version: &a%version%&r"
- "Website: &a&n%website%&r"
- "GitHub: &a&n%github%&r"
- "Discord: &a&n%discord%&r"
- ""
- "This plugin was made"
- "for creating other"
- "plugins for XG7."
- "Its goal is to manage"
- "tasks, include libraries"
- "(such as menus, scores,"
- "etc.) and facilitate"
- "the creation of plugins."
- "It also has a language"
- "system for the inclusion"
- "of new languages."
- ""
- "&oDeveloped by DaviXG7"
help-in-chat:
title: "&7Welcome to the &6XG7Plugins &7help page!"
content: "&eXG7Plugins is a plugin that aims to facilitate the creation\n of other plugins for other XG7Plugins.\n Click to see more information."
back: "&aClick to back to the help"
lang: "&aLanguages&f: &1click here to change profile lang"
tasks: "&aTasks&f: &1click here to see the tasks"
commands: "&aCommands&f: &1click here to see the commands"
commands-title: "&7Commands of &6XG7Plugins &8(&7%page%&8/&7%max_page%&8)"
Atualizado