Updated plugin.yml
This commit is contained in:
parent
5c3c9f5a8d
commit
4a0f711682
3 changed files with 14 additions and 6 deletions
12
plugin.yml
12
plugin.yml
|
@ -59,5 +59,13 @@ commands:
|
||||||
description: activate every player's power
|
description: activate every player's power
|
||||||
setproximitylocation:
|
setproximitylocation:
|
||||||
description: sets one of two proximity blocks to create a space that players can change their flairs with using flairportals. Ask ali XD
|
description: sets one of two proximity blocks to create a space that players can change their flairs with using flairportals. Ask ali XD
|
||||||
getMetrics:
|
getLoginMetrics:
|
||||||
description: Gets metrics
|
description: Gets metrics
|
||||||
|
getInsurance:
|
||||||
|
description: Gets insurance
|
||||||
|
getInsuranceNugget:
|
||||||
|
description: Gets insurance nugget
|
||||||
|
getInsuranceBar:
|
||||||
|
description: Gets insurance bar
|
||||||
|
getInsuranceBlock:
|
||||||
|
description: Gets insurance block
|
|
@ -12,7 +12,7 @@ import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import alisolarflare.components.Component;
|
import alisolarflare.components.Component;
|
||||||
import alisolarflare.components.metrics.commands.GetMetrics;
|
import alisolarflare.components.metrics.commands.GetLoginMetrics;
|
||||||
import alisolarflare.components.metrics.listeners.PlayerJoinListener;
|
import alisolarflare.components.metrics.listeners.PlayerJoinListener;
|
||||||
import buttondevteam.lib.TBMCCoreAPI;
|
import buttondevteam.lib.TBMCCoreAPI;
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ public class MetricsComponent extends Component{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void register(JavaPlugin plugin){
|
public void register(JavaPlugin plugin){
|
||||||
registerCommand(plugin, new GetMetrics(this));
|
registerCommand(plugin, new GetLoginMetrics(this));
|
||||||
registerListener(plugin, new PlayerJoinListener(this));
|
registerListener(plugin, new PlayerJoinListener(this));
|
||||||
|
|
||||||
metricsList = new ArrayList<String>();
|
metricsList = new ArrayList<String>();
|
||||||
|
|
|
@ -6,11 +6,11 @@ import org.bukkit.entity.Player;
|
||||||
import alisolarflare.components.ModCommand;
|
import alisolarflare.components.ModCommand;
|
||||||
import alisolarflare.components.metrics.MetricsComponent;
|
import alisolarflare.components.metrics.MetricsComponent;
|
||||||
|
|
||||||
public class GetMetrics extends ModCommand{
|
public class GetLoginMetrics extends ModCommand{
|
||||||
|
|
||||||
private MetricsComponent module;
|
private MetricsComponent module;
|
||||||
|
|
||||||
public GetMetrics(MetricsComponent metricsModule) {
|
public GetLoginMetrics(MetricsComponent metricsModule) {
|
||||||
this.module = metricsModule;
|
this.module = metricsModule;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue