Skip to content

Commit

Permalink
Updated LBParticles commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Humerus committed Aug 29, 2016
1 parent 16b3eaa commit 5630775
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LBParticles - A simple plugin for adding particles to your server

| Command | Sub Command | User | Params | Description |
|:-------:|:-----------:|:----:|:------:|:-----------:|
|`particles`|`give`|`<name>`|`LavaParticleEffect, PortalParticleEffect, RainbowParticleEffect, RedstoneParticleEffect`| Spawns a player's particle |
|`particles`|`remove`|`<name>`| | Removes a player's particles |
|`lbparticles`|`give`|`<name>`|`LavaParticleEffect, PortalParticleEffect, RainbowParticleEffect, RedstoneParticleEffect`| Spawns a player's particle |
|`lbparticles`|`remove`|`<name>`| | Removes a player's particles |

## The plugin can also be accessed by its API

Expand Down
4 changes: 2 additions & 2 deletions plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ author: LBSG
description: Lifeboat Particles Plugin For All
website: https://lbsg.net
commands:
particles:
lbparticles:
description: "Manages the particles plugin"
usage: "/particles <command> <args>"
usage: "/lbparticles <command> <args>"
permission: lbparticles
permissions:
lbparticles:
Expand Down
4 changes: 4 additions & 0 deletions src/LBParticles/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ public function onCommand(CommandSender $sender, Command $command, $label, array

$sender->sendMessage(TextFormat::RED . "[LBParticles] You don't have permissions to do that...");
return true;
case "help":
$sender->sendMessage(TextFormat::GREEN . '[LBParticles] Available commands: give, remove');
return true;
break;
default:
return false;
}
Expand Down

0 comments on commit 5630775

Please sign in to comment.