但它在游戏中应该看起来还不错!
代码:
[LEFT]title: '&6Choose your Font:'size: 27Message: font: reset: '&e%prefix% you have set your Font back to normal!' changed: '&e%prefix% You have changed your Font to %font-name%'DefaultFont: NormalFontReset: Name: '&4Click to reset your Font!' Lore: - '&6Change your Font back to normal again!' ItemID: 20 InventoryPosition: 18Fonts: ExampleFont: letter-small: ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ letter-big: ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ Permission: ExampleFont.use ItemID: '1' ItemTitle: '&eClick to select the ExampleFont!' NormalFont: letter-small: abcdefghijklmnopqrstuvwxyz letter-big: ABCDEFGHIJKLMNOPQRSTUVWXYZ Permission: NormalFont.use ItemID: 276 ItemTitle: '&eClick to select the NormalFont!'[/LEFT]
如果您想将数据保存在 MySql 数据库而不是文件中,
只需将 MySqlConfig ACTIVE 更改为 true 并将数据库中的信息放入文件中。
如果插件可以连接到数据库,它将被使用。否则插件将继续将数据保存在文件中。
要使用 API,请将文件添加到您的项目中。
代码:
[LEFT]You can use:ChatColorPlus.setColor(ColorEnum, Player, String colorCode, String colorName);To set a player's Color for example, use ColorEnum.CHATCOLOR to change the users chatcolor.Color code is for example &6 for dark red and colorname would in this case be dark_red. If you're mixing a color like &6&l, then use this as colorcode and the colorname as whatever you name your creation. Tip: Put the same colorcode there if you have no specific name.ChatColorPlus.getColor(ColorEnum, Player);This will return a String with the colorcode of the Players ColorEnum color.ChatColorPlus.getColorName(ColorEnum, Player);This will return a String with the colorname of the Players ColorEnum colorChatColorPlus.getPrefix();Returns a String with the prefix the server owner choose for chatcolor+[/LEFT]