mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-25 15:44:31 +00:00
up
This commit is contained in:
1 parent
a0b1590279
commit
b250194da9
11 files changed
+240
-61
No files matched your search
@@ -18,6 +18,9 @@ repositories {
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
}
|
||||
maven {
|
||||
url ' https://mvnrepository.com/artifact/mysql/mysql-connector-java'
|
||||
}
|
||||
maven {
|
||||
url 'https://maven.citizensnpcs.co/repo'
|
||||
}
|
||||
@@ -28,6 +31,9 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.apache.commons:commons-dbcp2:2.9.0"
|
||||
implementation 'mysql:mysql-connector-java:8.0.31'
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
|
||||
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
||||
compileOnly "com.github.MilkBowl:VaultAPI:1.7.1"
|
||||
|
||||
@@ -12,7 +12,7 @@ import coloryr.allmusic.music.play.PlayMusic;
|
||||
import coloryr.allmusic.music.search.SearchPage;
|
||||
import coloryr.allmusic.side.IMyLogger;
|
||||
import coloryr.allmusic.side.ISide;
|
||||
import coloryr.allmusic.side.bukkit.hooks.VaultHook;
|
||||
import coloryr.allmusic.sql.IEconomy;
|
||||
import coloryr.allmusic.utils.Logs;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
@@ -28,8 +28,9 @@ import java.util.Map;
|
||||
public class AllMusic {
|
||||
public static final String channel = "allmusic:channel";
|
||||
public static final String channelBC = "allmusic:channelbc";
|
||||
public static final String version = "2.17.0";
|
||||
public static final String configVersion = "100";
|
||||
public static final String version = "2.17.1";
|
||||
public static final String configVersion = "101";
|
||||
public static final String messageVersion = "101";
|
||||
|
||||
private static final Map<String, SearchPage> searchSave = new HashMap<>();
|
||||
private static final List<String> votePlayer = new ArrayList<>();
|
||||
@@ -47,9 +48,10 @@ public class AllMusic {
|
||||
public static IMyLogger log;
|
||||
public static ISide side;
|
||||
public static boolean isRun;
|
||||
public static VaultHook vault;
|
||||
public static CookieObj cookie;
|
||||
|
||||
public static IEconomy economy;
|
||||
|
||||
public static void configCheck() {
|
||||
if (config == null) {
|
||||
config = new ConfigOBJ();
|
||||
@@ -165,7 +167,20 @@ public class AllMusic {
|
||||
PlayGo.start();
|
||||
MusicSearch.start();
|
||||
DataSql.start();
|
||||
log.info("§d[AllMusic]§2§e已启动-" + version);
|
||||
|
||||
if(config.getEconomys().isNyEconomy()){
|
||||
NyEconomyHandle handle = new NyEconomyHandle();
|
||||
if(handle.start()){
|
||||
log.info("§d[AllMusic]§eNyEconomy已对接");
|
||||
economy = handle;
|
||||
}
|
||||
else
|
||||
{
|
||||
log.warning("§d[AllMusic]§cNyEconomy对接失败");
|
||||
}
|
||||
}
|
||||
|
||||
log.info("§d[AllMusic]§e已启动-" + version);
|
||||
}
|
||||
|
||||
public static void stop() {
|
||||
@@ -207,10 +222,10 @@ public class AllMusic {
|
||||
reader.close();
|
||||
messageCheck();
|
||||
|
||||
log.info("§d[AllMusic]§e当前语言配置文件版本为:" + configVersion
|
||||
log.info("§d[AllMusic]§e当前语言配置文件版本为:" + messageVersion
|
||||
+ ",你的语言文件版本为:" + config.getVersion());
|
||||
|
||||
if (!message.getVersion().equalsIgnoreCase(configVersion)) {
|
||||
if (!message.getVersion().equalsIgnoreCase(messageVersion)) {
|
||||
log.warning("§d[AllMusic]§c语言文件版本号错误,运行可能会发生问题,请删除后重载");
|
||||
}
|
||||
|
||||
|
||||
@@ -48,24 +48,6 @@ public class AllMusicBukkit extends JavaPlugin {
|
||||
AllMusic.log.info("§2PAPI未挂钩");
|
||||
}
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
|
||||
try {
|
||||
AllMusic.vault = new VaultHook();
|
||||
if (AllMusic.vault.setupEconomy()) {
|
||||
AllMusic.log.info("§2Vault支持已启动");
|
||||
} else {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.vault = null;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.vault = null;
|
||||
}
|
||||
} else {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.vault = null;
|
||||
}
|
||||
|
||||
if (AllMusic.getConfig().isTopPAPI()) {
|
||||
PlayMusic.nowPlayMusic = new TopSongInfo();
|
||||
PlayMusic.lyricItem = new TopLyricItem();
|
||||
@@ -74,6 +56,25 @@ public class AllMusicBukkit extends JavaPlugin {
|
||||
getServer().getMessenger().registerIncomingPluginChannel(this, AllMusic.channelBC, pluginMessage);
|
||||
AllMusic.log.info("§2设置为顶层模式");
|
||||
} else {
|
||||
if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
|
||||
try {
|
||||
VaultHook vault = new VaultHook();
|
||||
AllMusic.economy = vault;
|
||||
if (vault.setupEconomy()) {
|
||||
AllMusic.log.info("§2Vault支持已启动");
|
||||
} else {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.economy = null;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.economy = null;
|
||||
}
|
||||
} else {
|
||||
AllMusic.log.info("§2Vault未挂钩");
|
||||
AllMusic.economy = null;
|
||||
}
|
||||
|
||||
CommandBukkit command = new CommandBukkit();
|
||||
getServer().getMessenger().registerOutgoingPluginChannel(this, AllMusic.channel);
|
||||
PluginCommand command1 = Bukkit.getPluginCommand("music");
|
||||
|
||||
@@ -43,6 +43,39 @@ public class ConfigOBJ {
|
||||
private boolean MuteAddMessage;
|
||||
private boolean ShowInBar;
|
||||
private int MaxMusicTime;
|
||||
private Economys Economys;
|
||||
|
||||
public static class Economys {
|
||||
private String MysqlUrl;
|
||||
private boolean NyEconomy;
|
||||
private boolean Vault;
|
||||
|
||||
public Economys() {
|
||||
MysqlUrl = "jdbc:mysql://localhost:3306/minecraft?autoReconnect=true&autoReconnectForPools=true";
|
||||
Vault = true;
|
||||
NyEconomy = false;
|
||||
}
|
||||
|
||||
public boolean check() {
|
||||
boolean res = false;
|
||||
if (MysqlUrl == null)
|
||||
res = true;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
public boolean isVault() {
|
||||
return Vault;
|
||||
}
|
||||
|
||||
public boolean isNyEconomy() {
|
||||
return NyEconomy;
|
||||
}
|
||||
|
||||
public String getMysqlUrl() {
|
||||
return MysqlUrl;
|
||||
}
|
||||
}
|
||||
|
||||
public ConfigOBJ() {
|
||||
MaxList = 10;
|
||||
@@ -79,9 +112,15 @@ public class ConfigOBJ {
|
||||
MessageLimit = false;
|
||||
MessageLimitSize = 40;
|
||||
|
||||
Economys = new Economys();
|
||||
|
||||
Version = AllMusic.version;
|
||||
}
|
||||
|
||||
public ConfigOBJ.Economys getEconomys() {
|
||||
return Economys;
|
||||
}
|
||||
|
||||
public int getMaxMusicTime() {
|
||||
return MaxMusicTime;
|
||||
}
|
||||
@@ -237,6 +276,14 @@ public class ConfigOBJ {
|
||||
saveConfig = true;
|
||||
NoMusicServer = new ArrayList<>();
|
||||
}
|
||||
if (Economys == null) {
|
||||
saveConfig = true;
|
||||
Economys = new Economys();
|
||||
} else if (Economys.check()) {
|
||||
saveConfig = true;
|
||||
Economys = new Economys();
|
||||
}
|
||||
|
||||
return saveConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,27 @@ public class CommandEX {
|
||||
MusicSearch.addSearch(obj);
|
||||
}
|
||||
|
||||
private static boolean checkMoney(Object sender, String name, int cost) {
|
||||
if (AllMusic.getConfig().isUseCost() && AllMusic.economy != null) {
|
||||
if (!AllMusic.economy.check(name, AllMusic.getConfig().getAddMusicCost())) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCost().getNoMoney());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static boolean cost(Object sender, String name, int cost, String message) {
|
||||
if (AllMusic.economy.cost(name, AllMusic.getConfig().getAddMusicCost())) {
|
||||
AllMusic.side.sendMessage(sender, message
|
||||
.replace("%Cost%", "" + AllMusic.getConfig().getAddMusicCost()));
|
||||
return false;
|
||||
} else {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCost().getCostFail());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
private static void addMusic(Object sender, String name, String[] args) {
|
||||
String musicID;
|
||||
if (args[0].contains("id=") && !args[0].contains("/?userid")) {
|
||||
@@ -50,11 +71,12 @@ public class CommandEX {
|
||||
} else if (PlayMusic.isHave(musicID)) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getAddMusic().getExistMusic());
|
||||
} else {
|
||||
if (AllMusic.getConfig().isUseCost() && AllMusic.vault != null) {
|
||||
if (!AllMusic.vault.check(name, AllMusic.getConfig().getAddMusicCost())) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCost().getNoMoney());
|
||||
return;
|
||||
}
|
||||
if (checkMoney(sender, name, AllMusic.getConfig().getAddMusicCost())) {
|
||||
return;
|
||||
}
|
||||
if (cost(sender, name, AllMusic.getConfig().getAddMusicCost(),
|
||||
AllMusic.getMessage().getCost().getAddMusic())) {
|
||||
return;
|
||||
}
|
||||
AllMusic.getConfig().RemoveNoMusicPlayer(name);
|
||||
if (AllMusic.side.needPlay()) {
|
||||
@@ -71,11 +93,6 @@ public class CommandEX {
|
||||
|
||||
PlayMusic.addTask(obj);
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getAddMusic().getSuccess());
|
||||
if (AllMusic.getConfig().isUseCost() && AllMusic.vault != null) {
|
||||
AllMusic.vault.cost(name, AllMusic.getConfig().getAddMusicCost(),
|
||||
AllMusic.getMessage().getCost().getAddMusic()
|
||||
.replace("%Cost%", "" + AllMusic.getConfig().getAddMusicCost()));
|
||||
}
|
||||
} else
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getAddMusic().getNoPlayer());
|
||||
}
|
||||
@@ -182,7 +199,8 @@ public class CommandEX {
|
||||
}
|
||||
return;
|
||||
} else if (args[0].equalsIgnoreCase("vote")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.vote")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.vote")) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getVote().getNoPermission());
|
||||
return;
|
||||
}
|
||||
@@ -215,24 +233,25 @@ public class CommandEX {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getMusicPlay().getNoPlayMusic());
|
||||
return;
|
||||
} else if (args[0].equalsIgnoreCase("search") && args.length >= 2) {
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getNoPer());
|
||||
return;
|
||||
}
|
||||
if (AllMusic.getConfig().isUseCost() && AllMusic.vault != null) {
|
||||
if (!AllMusic.vault.check(name, AllMusic.getConfig().getSearchCost())) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCost().getNoMoney());
|
||||
return;
|
||||
}
|
||||
AllMusic.vault.cost(name, AllMusic.getConfig().getAddMusicCost(),
|
||||
AllMusic.getMessage().getCost().getAddMusic()
|
||||
.replace("%Cost%", "" + AllMusic.getConfig().getAddMusicCost()));
|
||||
if (checkMoney(sender, name, AllMusic.getConfig().getSearchCost())) {
|
||||
return;
|
||||
}
|
||||
if (cost(sender, name, AllMusic.getConfig().getSearchCost(),
|
||||
AllMusic.getMessage().getCost().getSearch())) {
|
||||
return;
|
||||
}
|
||||
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getStartSearch());
|
||||
searchMusic(sender, name, args, false);
|
||||
return;
|
||||
} else if (args[0].equalsIgnoreCase("select") && args.length == 2) {
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getNoPer());
|
||||
return;
|
||||
}
|
||||
@@ -247,7 +266,8 @@ public class CommandEX {
|
||||
}
|
||||
String[] ID = new String[1];
|
||||
ID[0] = obj.getSong((obj.getPage() * 10) + (a - 1));
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getChose().replace("%Num%", "" + a));
|
||||
AllMusic.side.sendMessage(sender,
|
||||
AllMusic.getMessage().getSearch().getChose().replace("%Num%", "" + a));
|
||||
addMusic(sender, name, ID);
|
||||
AllMusic.removeSearch(name);
|
||||
} else {
|
||||
@@ -255,7 +275,8 @@ public class CommandEX {
|
||||
}
|
||||
return;
|
||||
} else if (args[0].equalsIgnoreCase("nextpage")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getNoPer());
|
||||
return;
|
||||
}
|
||||
@@ -269,7 +290,8 @@ public class CommandEX {
|
||||
}
|
||||
return;
|
||||
} else if (args[0].equalsIgnoreCase("lastpage")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.search")) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getSearch().getNoPer());
|
||||
return;
|
||||
}
|
||||
@@ -311,7 +333,8 @@ public class CommandEX {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCommand().getError());
|
||||
return;
|
||||
}
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getHud().getPicSize().replace("%Size%", args[2]));
|
||||
AllMusic.side.sendMessage(sender,
|
||||
AllMusic.getMessage().getHud().getPicSize().replace("%Size%", args[2]));
|
||||
} else if (args.length != 4) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCommand().getError());
|
||||
} else {
|
||||
@@ -401,7 +424,8 @@ public class CommandEX {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (AllMusic.getConfig().isNeedPermission() && AllMusic.side.checkPermission(name, "allmusic.addmusic"))
|
||||
if (AllMusic.getConfig().isNeedPermission() &&
|
||||
AllMusic.side.checkPermission(name, "allmusic.addmusic"))
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().getCommand().getNoPer());
|
||||
else {
|
||||
switch (AllMusic.getConfig().getDefaultAddMusic()) {
|
||||
|
||||
@@ -4,11 +4,13 @@ public class CostObj {
|
||||
private String Search;
|
||||
private String AddMusic;
|
||||
private String NoMoney;
|
||||
private String CostFail;
|
||||
|
||||
public CostObj() {
|
||||
Search = "§d[ALLMusic]§2你搜歌花费了%Cost%";
|
||||
AddMusic = "§d[ALLMusic]§2你点歌花费了%Cost%";
|
||||
NoMoney = "§d[ALLMusic]§c你没有足够的钱";
|
||||
CostFail = "§d[ALLMusic]§c扣钱过程中错误";
|
||||
}
|
||||
|
||||
public boolean check() {
|
||||
@@ -18,10 +20,16 @@ public class CostObj {
|
||||
return true;
|
||||
if (NoMoney == null)
|
||||
return true;
|
||||
if(CostFail == null)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getCostFail() {
|
||||
return CostFail;
|
||||
}
|
||||
|
||||
public String getNoMoney() {
|
||||
return NoMoney;
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package coloryr.allmusic.side.bukkit.hooks;
|
||||
|
||||
import coloryr.allmusic.sql.IEconomy;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
import net.milkbowl.vault.economy.EconomyResponse;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
|
||||
public class VaultHook {
|
||||
public class VaultHook implements IEconomy {
|
||||
private Economy econ = null;
|
||||
|
||||
public VaultHook() {
|
||||
@@ -29,13 +30,11 @@ public class VaultHook {
|
||||
return econ.has(player, cost);
|
||||
}
|
||||
|
||||
public void cost(String name, int cost, String message) {
|
||||
public boolean cost(String name, int cost) {
|
||||
Player player = Bukkit.getPlayer(name);
|
||||
if (player == null)
|
||||
return;
|
||||
return false;
|
||||
EconomyResponse r = econ.withdrawPlayer(player, cost);
|
||||
if (r.transactionSuccess()) {
|
||||
player.sendMessage(message);
|
||||
}
|
||||
return r.transactionSuccess();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package coloryr.allmusic.sql;
|
||||
|
||||
public interface IEconomy {
|
||||
boolean check(String name, int cost);
|
||||
|
||||
boolean cost(String name, int cost);
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package coloryr.allmusic.sql;
|
||||
|
||||
import coloryr.allmusic.AllMusic;
|
||||
import org.apache.commons.dbcp2.BasicDataSource;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
import java.sql.*;
|
||||
|
||||
public abstract class MysqlConn implements IEconomy{
|
||||
//建立连接的驱动驱动名称
|
||||
public final String DRIVER_CLASS_NAME = "com.mysql.cj.jdbc.Driver";
|
||||
//最大空闲链接
|
||||
private final int MAX_IDLE = 20;
|
||||
//最大空闲连接
|
||||
private final int MinIdle = 8;
|
||||
//最大等待时间
|
||||
private final long MAX_WAIT_Millis = 5000;
|
||||
//最大活动链接
|
||||
private final int MAX_TOTAl = 5;
|
||||
//初始化时链接池的数量
|
||||
private final int INITIAL_SIZE = 10;
|
||||
//一个被抛弃连接可以被移除的超时时间
|
||||
private final int RemoveAbandonedTimeout = 180;
|
||||
//只会发现当前连接失效,再创建一个连接供当前查询使用
|
||||
private final boolean TOBESTNORROW = true;
|
||||
private BasicDataSource DATA_SOURCE;
|
||||
|
||||
public boolean start() {
|
||||
try {
|
||||
DATA_SOURCE = new BasicDataSource();
|
||||
DATA_SOURCE.setDriverClassName(DRIVER_CLASS_NAME);
|
||||
DATA_SOURCE.setUrl(AllMusic.getConfig().getEconomys().getMysqlUrl());
|
||||
DATA_SOURCE.setMaxTotal(MAX_TOTAl);
|
||||
DATA_SOURCE.setInitialSize(INITIAL_SIZE);
|
||||
DATA_SOURCE.setMinIdle(MinIdle);
|
||||
DATA_SOURCE.setMaxIdle(MAX_IDLE);
|
||||
DATA_SOURCE.setMaxWaitMillis(MAX_WAIT_Millis);
|
||||
DATA_SOURCE.setTestOnBorrow(TOBESTNORROW);
|
||||
DATA_SOURCE.setRemoveAbandonedTimeout(RemoveAbandonedTimeout);
|
||||
|
||||
getConnection().createStatement().close();
|
||||
|
||||
return test();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract boolean test();
|
||||
|
||||
public DataSource getDateSource() {
|
||||
return DATA_SOURCE;
|
||||
}
|
||||
|
||||
//提供获得链接
|
||||
public Connection getConnection() throws SQLException {
|
||||
return DATA_SOURCE.getConnection();
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
try {
|
||||
DATA_SOURCE.close();
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,10 +41,13 @@
|
||||
"EnableInfo": true,
|
||||
"EnablePic": true
|
||||
},
|
||||
"Economys": {
|
||||
"MysqlUrl": "jdbc:mysql://localhost:3306/minecraft?autoReconnect=true&autoReconnectForPools=true"
|
||||
},
|
||||
"UseCost": false,
|
||||
"SearchCost": 20,
|
||||
"AddMusicCost": 10,
|
||||
"MaxMusicTime": 600,
|
||||
"MusicBR": "320000",
|
||||
"Version": "100"
|
||||
"Version": "101"
|
||||
}
|
||||
@@ -90,7 +90,8 @@
|
||||
"Cost": {
|
||||
"Search": "§d[AllMusic]§e你搜歌花费了%Cost%",
|
||||
"AddMusic": "§d[AllMusic]§e你点歌花费了%Cost%",
|
||||
"NoMoney": "§d[AllMusic]§c你没有足够的钱"
|
||||
"NoMoney": "§d[AllMusic]§c你没有足够的钱",
|
||||
"CostFail": "§d[ALLMusic]§c扣钱过程中错误"
|
||||
},
|
||||
"Click": {
|
||||
"This": "§b[§n点我选择§r§b]",
|
||||
@@ -121,5 +122,5 @@
|
||||
"Login": "§d[AllMusic]§e使用/music login 重新登录账户"
|
||||
}
|
||||
},
|
||||
"Version": "100"
|
||||
"Version": "101"
|
||||
}
|
||||
Reference in new issue
Block a user