Use Tag provided by the Main Class in CommandPanelsReload & add Togglevalues to config

This commit is contained in:
TheLonelyWolf 2022-06-18 22:49:37 +02:00
parent f4ff0631d1
commit 9a621f98e0
2 changed files with 6 additions and 1 deletions

View File

@ -53,20 +53,26 @@ updater:
update-checks: true
purchase:
currency:
enable: true
success: '&aSuccessfully Bought For $%cp-args%'
failure: '&cInsufficient Funds!'
data:
enable: true
success: '&aSuccessfully Bought For $%cp-args%'
failure: '&cInsufficient Funds!'
tokens:
enable: true
success: '&aSuccessfully Bought For %cp-args% Tokens.'
failure: '&cInsufficient Tokens!'
coins:
enable: true
success: '&aSuccessfully Bought For %cp-args% Coins.'
failure: '&cInsufficient Coins!'
item:
enable: true
success: '&aSuccessfully Sold %cp-args%.'
failure: '&cInsufficient Items!'
xp:
enable: true
success: '&aSuccessfully Bought For %cp-args% Experience.'
failure: '&cInsufficient Experience!'

View File

@ -50,7 +50,6 @@ public class Commandpanelsreload implements CommandExecutor {
registerCommands();
}
plugin.tag = plugin.tex.colour(plugin.config.getString("config.format.tag"));
sender.sendMessage(plugin.tex.colour(plugin.tag + plugin.config.getString("config.format.reload")));
}else{
sender.sendMessage(plugin.tex.colour(plugin.tag + plugin.config.getString("config.format.perms")));