Updated plugin.yml

This commit is contained in:
alisolarflare 2016-11-17 19:01:04 -05:00
parent 5c3c9f5a8d
commit 4a0f711682
3 changed files with 14 additions and 6 deletions

View file

@ -59,5 +59,13 @@ commands:
description: activate every player's power
setproximitylocation:
description: sets one of two proximity blocks to create a space that players can change their flairs with using flairportals. Ask ali XD
getMetrics:
description: Gets metrics
getLoginMetrics:
description: Gets metrics
getInsurance:
description: Gets insurance
getInsuranceNugget:
description: Gets insurance nugget
getInsuranceBar:
description: Gets insurance bar
getInsuranceBlock:
description: Gets insurance block

View file

@ -12,7 +12,7 @@ import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.java.JavaPlugin;
import alisolarflare.components.Component;
import alisolarflare.components.metrics.commands.GetMetrics;
import alisolarflare.components.metrics.commands.GetLoginMetrics;
import alisolarflare.components.metrics.listeners.PlayerJoinListener;
import buttondevteam.lib.TBMCCoreAPI;
@ -23,7 +23,7 @@ public class MetricsComponent extends Component{
@Override
public void register(JavaPlugin plugin){
registerCommand(plugin, new GetMetrics(this));
registerCommand(plugin, new GetLoginMetrics(this));
registerListener(plugin, new PlayerJoinListener(this));
metricsList = new ArrayList<String>();

View file

@ -6,11 +6,11 @@ import org.bukkit.entity.Player;
import alisolarflare.components.ModCommand;
import alisolarflare.components.metrics.MetricsComponent;
public class GetMetrics extends ModCommand{
public class GetLoginMetrics extends ModCommand{
private MetricsComponent module;
public GetMetrics(MetricsComponent metricsModule) {
public GetLoginMetrics(MetricsComponent metricsModule) {
this.module = metricsModule;
}