mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Edit /addlevels a bit, along with some command info in plugin.yml
This commit is contained in:
parent
e92b57c50c
commit
dd0933c584
@ -87,7 +87,7 @@ public class AddlevelsCommand implements CommandExecutor{
|
|||||||
|
|
||||||
profile.addLevels(skill, levels);
|
profile.addLevels(skill, levels);
|
||||||
|
|
||||||
// TODO: Is it even possible for the player to be offline at this point?
|
// Check if the player is online before we try to send them a message.
|
||||||
if (player.isOnline()) {
|
if (player.isOnline()) {
|
||||||
if (skill.equals(SkillType.ALL)) {
|
if (skill.equals(SkillType.ALL)) {
|
||||||
player.sendMessage(LocaleLoader.getString("Commands.addlevels.AwardAll.1", levels));
|
player.sendMessage(LocaleLoader.getString("Commands.addlevels.AwardAll.1", levels));
|
||||||
|
@ -42,7 +42,6 @@ commands:
|
|||||||
aliases: []
|
aliases: []
|
||||||
description: Show your individual ranking in mcMMO
|
description: Show your individual ranking in mcMMO
|
||||||
addxp:
|
addxp:
|
||||||
aliases: []
|
|
||||||
description: Add mcMMO XP to a user
|
description: Add mcMMO XP to a user
|
||||||
addlevels:
|
addlevels:
|
||||||
description: Add mcMMO levels to a user
|
description: Add mcMMO levels to a user
|
||||||
@ -53,8 +52,7 @@ commands:
|
|||||||
aliases: []
|
aliases: []
|
||||||
description: Refresh all cooldowns for mcMMO
|
description: Refresh all cooldowns for mcMMO
|
||||||
mcgod:
|
mcgod:
|
||||||
aliases: []
|
description: Toggles mcMMO god-mode on/off
|
||||||
description: Make yourself invulnerable
|
|
||||||
mcstats:
|
mcstats:
|
||||||
aliases: [/stats]
|
aliases: [/stats]
|
||||||
description: Shows your mcMMO stats and xp
|
description: Shows your mcMMO stats and xp
|
||||||
|
Loading…
Reference in New Issue
Block a user