Compare commits
14 Commits
95b949a40e
...
beta1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd092a02cc | ||
|
|
5a09d7b15c | ||
|
|
de8244815a | ||
| f30cb5a4b8 | |||
| 6bcb3f0e39 | |||
| eade17395f | |||
| a2f32ba314 | |||
| 6ba052ec2a | |||
| b3add4888b | |||
| b781aa22e3 | |||
| 03ca70ddfa | |||
| 04048a3d0f | |||
| f49fab6174 | |||
| 989e2accb5 |
25
README.md
25
README.md
@@ -1,3 +1,26 @@
|
||||
# Advanced Kill
|
||||
|
||||
Beta
|
||||
Minecraft Plugin to kill players with many possibilities
|
||||
|
||||
The /kill Command is a littelbit borring, isn't it? But, there is the AdvancedKill plugin!
|
||||
You can kill players with many different method, for example with an explosion or a lightning.
|
||||
|
||||
## Methods:
|
||||
- anvil - place an anvil above
|
||||
- fall - teleports the player to high 300
|
||||
- explosion - makes an explosion by the player
|
||||
- lightning - summons a lightning by the player
|
||||
- half - set the health for the player to a half heart
|
||||
- lava - places lava for 3 seconds by the player
|
||||
- void - teleports the player into the void
|
||||
- zombie - spawns a zombie with a diamond sword for 10 seconds by the player
|
||||
|
||||
## Usage
|
||||
```
|
||||
/akill <method> <player>
|
||||
```
|
||||
|
||||
## Installation
|
||||
1. Download **AdvancedKill_Paper_x.xx.jar** and copy it into the *plugins* directory from your server.
|
||||
|
||||
2. Restart the server
|
||||
@@ -46,8 +46,6 @@ public final class AdvancedKill extends JavaPlugin {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//Define mode et player
|
||||
String mode = args[0].toLowerCase();
|
||||
Player target = Bukkit.getPlayer(args[1]);
|
||||
@@ -58,15 +56,6 @@ public final class AdvancedKill extends JavaPlugin {
|
||||
}
|
||||
|
||||
|
||||
//Filtering 470Hacker
|
||||
//if (target.getName().equals("470Hacker")) {
|
||||
// if (!sender.hasPermission("akill.admin")) {
|
||||
// sender.sendMessage("§c470Hacker darf nicht gefoltert werden!");
|
||||
// return true;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//Run Commands
|
||||
switch (mode) {
|
||||
case "lightning":
|
||||
@@ -110,10 +99,7 @@ public final class AdvancedKill extends JavaPlugin {
|
||||
|
||||
//Completions
|
||||
@Override
|
||||
public @Nullable List<String> onTabComplete(@NotNull CommandSender sender,
|
||||
@NotNull Command command,
|
||||
@NotNull String alias,
|
||||
String[] args) {
|
||||
public @Nullable List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args) {
|
||||
List<String> completions = new ArrayList<>();
|
||||
if (sender.hasPermission("akill.use")) {
|
||||
if (args.length == 1) {
|
||||
|
||||
@@ -21,6 +21,6 @@ public class VoidCmd {
|
||||
0
|
||||
);
|
||||
target.teleport(loc);
|
||||
sender.sendMessage("§aErfolg!");
|
||||
sender.sendMessage("§aSuccess!");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,6 +33,6 @@ public class ZombieCmd {
|
||||
zombie.remove();
|
||||
}, 200L);
|
||||
|
||||
sender.sendMessage("§aErfolg!");
|
||||
sender.sendMessage("§aSuccess!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user