HomeJavaModsExtraCommands
ExtraCommands
[​IMG]

ExtraCommands is a simple plugin that adds several new commands. All commands can be enabled and disabled and include /ip, /tpall, /kickall, /setspawn, /hideplayers, /showplayers, and more. The full descriptions of the commands can be seen below.

All messages are fully customizable, so you have full control over your players' experience. There isn't a single hard-coded message in the plugin.

Configuration
Code (Text):
#Put true to enable a command, or false to disable it. All commands are enabled by default.
commands:
  kickall:
  tpall:
  setspawn:
  ip:
  hideplayers:
  showplayers:
  day:
  night:
  killall:
  clearall:
  giveall:

# These options specify whether commands affecting all players will affect the player issuing the command.
# For example, if giveall is set to true, a player executing /giveall will receive the item that is also given to all other players.
# If it is set to false, all players except the one issuing to command will receive the item.
affect-command-issuer:
  kickall:
  tpall:
  killall:
  clearall:
  giveall:

messages:
  # These messages will be shown to players affected by these commands.
  default-kickall: '&7&lServer&5>> &b&lYou have been kicked!'
  tpall: '&7&lServer&5>> &b&lYou have been teleported!'
  killall: '&7&lServer&5>> &b&lYou were killed!'
  clearall: '&7&lServer&5>> &b&lYour inventory has been cleared!'
  giveall: '&7&lServer&5>> &b&lYou received an item!'

 
  clearall-complete: '&7&lServer&5>> &7Cleared inventory of all players.'
  day-complete: '&7&lServer&5>> &7Time set to day.'
  giveall-complete: '&7&lServer&5>> &7Given all players {amount} of {item}.'
  hideplayers-complete: '&7&lServer&5>> &7Hidden players from your view.'
  ip-complete: '&7&lServer&5>> &7The IP address of &b{player} &7is &b{ip}&7.'
  kickall-complete: '&7&lServer&5>> &7Kicked all players.'
  killall-complete: '&7&lServer&5>> &7Killed all players.'
  night-complete: '&7&lServer&5>> &7Time set to night.'
  setspawn-complete: '&7&lServer&5>> &7Spawn set to your position.'
  showplayers-complete: '&7&lServer&5>> &7You can now see players.'
  tpall-complete: '&7&lServer&5>> &7Teleported all players.'

  clearall-usage: '&CUsage: /clearall'
  day-usage: '&CUsage: /day'
  giveall-usage: '&CUsage: /giveall <item> [amount]'
  hideplayers-usage: '&CUsage: /hideplayers'
  ip-usage: '&CUsage: /ip <player>'
  kickall-usage: '&CUsage: /kickall <reason>'
  killall-usage: '&CUsage: /killall'
  night-usage: '&CUsage: /day'
  setspawn-usage: '&CUsage: /setspawn'
  showplayers-usage: '&CUsage: /showplayers'
  tpall-usage: '&CUsage: /tpall <x> <y> <z> [world]'

  no-permission: '&4You do not have access to that command.'
  must-be-a-player: '&CYou must be a player to execute this command.'
  command-disabled: '&7&lServer&5>> &7This command is disabled.'

  player-not-found: '&CPlayer {player} was not found.'
  world-not-found: '&CWorld {world} was not found.'
  item-type-not-found: '&CItem type {type} was not found.'

  plugin-reloaded: '&7&lExtraCommands&5>> &7Plugin reloaded.'

#Enable the update checker? Default is true.
update-checker: true
 

Commands
/tpall <x> <y> <z> [world] - Teleports all online players except those with the extracommands.dodgetpall permission to specified coordinates. If world is not specified, it will default to the default world.
PERMISSION: extracommands.tpall

/kickall <message> - Kicks all online players except those with the extracommands.dodgekickall permission. If no message is specified, it will default to the message specified in the default-kickall-message option in the config. PERMISSION: extracommands.kickall

/hideplayers - Hides all players from the person who executes the command.
PERMISSION: extracommands.hideplayers

/showplayers - Reveals all players to the person who executes the command.
PERMISSION: extracommands.showplayers

/setspawn - Sets the spawn location to your current location.
PERMISSION: extracommands.setspawn

/ip <player> - Gives you the IP address of the specified player. If no player is specified, it will give you your own IP address.
PERMISSION: extracommands.ip

/day - Sets the time to day.
PERMISSION: extracommands.day

/night - sets the time to night.
PERMISSION: extracommands.night

/killall - Kills all online players except those with the extracommands.dodgekillall permission.
PERMISSION: extracommands.killall

/clearall - Clears all players' inventories except those with the extracommands.dodgeclearall permisison. PERMISSION: extracommands.clearall

/giveall <item> [amount] - Gives all players except those with the extracommands.dodgegiveall permission the specified amount of the specified item. The amount defaults to 1 if it is not specified.
PERMISSION: extracommands.giveall

/extracommands reload - Reloads the plugin configuration.
PERMISSION: extracommands.reload


Have a suggestion for a new command? Post it here.

Have a problem or a question? Click here.

Don't forget to leave a review!

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.

ExtraCommands is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14. Downloaded 15,699 times (via Spigot). Download it and open it directly in the game.

Explore more