Add message command in config
This commit is contained in:
@@ -52,7 +52,7 @@ public class DonateThread extends Thread {
|
||||
|
||||
lastDonate = objects.getInt("id");
|
||||
|
||||
DonPayIntegPlug.commands.addLast("title @a title \"" + msg.replace("{username}", objects.getJSONObject("vars").getString("name")) + "\"");
|
||||
DonPayIntegPlug.commands.addLast(ConfigHandler.load().getMessageCmd().replace("{message}", msg.replace("{username}", objects.getJSONObject("vars").getString("name"))));
|
||||
DonPayIntegPlug.commands.addLast(cmd.replace("{username}", objects.getJSONObject("vars").getString("name")));
|
||||
|
||||
logger.info(String.format("Exec donate #%d", lastDonate));
|
||||
|
||||
Reference in New Issue
Block a user