• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Magic/Messages and Languages

来自Minecraft插件百科
炫宙菌留言 | 贡献2021年5月29日 (六) 08:22的版本 (创建页面,内容为“== Messages == The messages.yml config file can be used to change ''any'' of the in-game text in Magic. If you are looking to change one or two specific lines, sim…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

Messages

The messages.yml config file can be used to change any of the in-game text in Magic.

If you are looking to change one or two specific lines, simply open up plugins/Magic/defaults/messages.defaults.yml, then search for the text you want to change.

Copy that one line to plugins/Magic/messages.yml and modify it how you wish. Make sure that it is still in the correct section.

If you'd like to change a lot or all of the text, you may copy that entire file- but keep in mind that anything you have copied will override any future changes that may be made to the internal plugin defaults.

Localization

If you wish to localize the entire plugin, you may copy plugins/Magic/defaults/messages.defaults.yml to plugins/Magic/messages.yml and start editing.

Built-in Localizations

There are several different languages built into the plugin that can be activated by putting a line like this in config.yml:

language: ES

See here for the available languages:

https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/localizations

This mostly only applies to the survival configs.