HomeJavaModsKillAllInterface - Safer /killall and /mobkill!
ModsJava

KillAllInterface - Safer /killall and /mobkill!

⬇ Download on Spigot
KillAllInterface

Short Summary:
This plugin will change how the /killall and /mobkill commands work. It protects the server from players using those commands on certain entity types (item frames, paintings, etc). It also makes the /killall all or /mobkill all commands much safer! And usable! Instead of actually killing all the entity types, it will separately kill each type of entity except the types which are ignored in the config.

What's it all about?
If you occasionally use the command /killall or /mobkill, this is for you. This plugin was created due to my irritation with and fear of the killall and mobkill commands. It creates an interface (command front-end so-to-speak) for those commands. It allows the server to block the usage of the command on certain entity types, and it overrides the all type. The overriding of the all type allows some types to be ignored.

Why should you use this plugin?
How to use:
Commands:
Permissions:
Config:
Code (Text):
#Default KillAllInterface Config

#Should these commands be interfaced?
interface:
  killall: true
  mobkill: true

#These types will be ignored by the all type.
all-ignore:
- minecarts
- tamed
- itemframes
- paintings
- boats

#Disallow players from using the killall/mobkill command on these types.
disallow:
- itemframes
- paintings

#All plugin message strings can be edited here.
strings:
  commandNonExistant: '&cThat command does not exist.'
  entityNotAllowed: '&cYou are not allowed to use that command on that entity type.'
  help:
  - '&6[KillAllInterface] &7Commands:'
  - '&cUsage: /killallinterface <command>'
  - '&chelp  &7View a list of all KillAllInterface commands.'
  - '&creload  &7Reload the plugin.'
  info:
  - '&6[WGTreeFarmFlag] &7Version %version%'
  - '&6[WGTreeFarmFlag] &7By S_Ryan'
  noPermission: '&cYou do not have permission for that command.'
  reloaded: '&6[KillAllInterface] &7Successfully reloaded.'
Types:
These types will be recognized by the config.

Code (Text):
tamed
named
drops
arrows
boats
minecarts
xp
paintings
itemframes
endercrystals
monsters
animals
ambient


Known "bug":
I wanted to post this here because it may be mistaken for a bug, but it is NOT. If a player who does not have permission does /killall all or /mobkill all. They will receive a "no permission" message for every type which is not ignored (it will appear to be spam). Also, be aware that the entityNotAllowed message will also be displayed to players who do not have permission for the original command (if they enter a type which is not allowed). If you want to hide more from users, change the entityNotAllowed message to something more vague.


The reason for me allowing this to stay is that in order to change this, I would have to add extra permissions/checks which would (in my opinion) stray from the purpose of this plugin: to keep the original commands in their original state and to instead interface them.

Contact the Dev:
If you need to contact me, please post in the discussion or private message me. If you are desperate to get in contact with me, you can add me on my skype (spencer.ryan.c).

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

KillAllInterface - Safer /killall and /mobkill! is a free Minecraft Java mod. Downloaded 993 times (via Spigot). Download it and open it directly in the game.

Explore more