CommandSpy

Script CommandSpy 2.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.7
  2. 1.8
  3. 1.9
  4. 1.10
  5. 1.11
  6. 1.12
  7. 1.13
  8. 1.14
  9. 1.15
CommandSpy_icon.png CommandSpy
* this resource, his description and images below were made by Sitieno14 and licensed Creative Commons by-nc-sa 4.0 International License
Be notified in-game of commands used by users

Skripts compatible with this resource:
MSG : If option "spyMSG" is set to true
Vanish : If option "hideVanishedPlayers" is set to true

Features.png


Commands.png


CommandSpy_Sitieno14.png


CommandSpy_Notch.png


CommandSpy.png

Code:
#-----------------------------------------------------------General Settings-----------------------------------------------------------#

#Prefix for almost all messages sent by this skript
prefix: &3Command&bSpy &9»

#Format of notification about the commands executed by users for players with CommandSpy enabled
format: &f%player% &7- &a%world% &7- /&6%full command%

onquit-disablecommandspy: true #If this option is "true", CommandSpy will be disabled on quit
#Leave it to true if you have an Auth Plugin, otherwise not logged players will be able to see other players' commands before logging in

#Message to be sent to players who try to execute CommandSpy commands without having the required permissions [No {@prefix} by default]
nopermission-error: Unknown command. Type ""/help"" for help.

#------------------------------------------------Other Skripts Compatibility-------------------------------------------------#

spyMSG: true #If this option is set to "false", it will not be granted to spy on private messages exchanged by users
#You can use https://www.spigotmc.org/resources/msg-fully-customizable.52824/ as MSG skript, it is compatible with this option

hideVanishedPlayers: true #If this option isn't set to "true", this skript will not hide in-vanish players in his functions
#You should use https://www.spigotmc.org/resources/vanish.52005/ to make sure this option works properly

#----------------------------------------/commandspy & /commandspy <playername>-------------------------------------------------------#

#Change this option if you don't want players to be able to toggle CommandSpy with the /commandspy command
commandspy: true

#Error message to be sent to the console when trying to execute the /commandspy command (because it must be executable only by players)
commandspy-error-console: &cYou can use this command only in-game, &8use &7/&fforcecommandspy &7instead

#---------------------------------------------/commandspy-----------------------------------------------#

#Message to be sent to players who enable CommandSpy for themselves by executing the /commandspy command
commandspy-self-enable: &7You &acan now &7see the commands other players will execute!

#Message to be sent to players who disable CommandSpy for themselves by executing the /commandspy command
commandspy-self-disable: &7You &ccan no longer &7see the commands other players will execute!

#-------------------------------------------------/commandspy <playername>-------------------------------------------------#

#Change this option if you don't want players to be able to toggle CommandSpy for others by using the /commandspy command
commandspy-others: true

#Message sent to players who enable Command Spy for another player with /commandspy command
commandspy-others-enable: &f%arg 1% &acan now &7see the commands other players will execute!

#Message sent to players who disable Command Spy for another player with /commandspy command
commandspy-others-disable: &f%arg 1% &ccan no longer &7see the commands other players will execute!

#Message sent to players who get Command Spy enabled from /commandspy commands
commandspy-others-enabled: &7Thanks of &f%player%&7, you &acan now &7see the commands other players will execute!

#Message sent to players who get Command Spy disabled from /commandspy commands
commandspy-others-disabled: &7You &ccan no longer &7see the commands other players will execute!

#Message to send when players try to enable/disable Command Spy with /commandspy commands for a non online/inexistent player
commandspy-error-404: &cNo online players called '&n%arg 1%&c'

#---------------------------------------------------------------------/forcecommandspy---------------------------------------------------------------------#

#Change this option if you want to disable the console's /forcecommandspy command
forcecommandspy: true

#The confirm message the console receives from enabling CommandSpy for a player with /forcecommandspy commands
forcecommandspy-console-enable: &f%arg 1% &acan now &7see the commands other players will execute!

#The confirm message the console receives from disabling CommandSpy for a player with /forcecommandspy commands
forcecommandspy-console-disable: &f%arg 1% &ccan no longer &7see the commands other players will execute!

#Message to be sent to players who get CommandSpy enabled by console through the /forcecommandspy command
forcecommandspy-player-enabled: &7Thanks of &8console&7, you &acan now &7see the commands other players will execute!

#Message to be sent to players who get CommandSpy disabled by console through the /forcecommandspy command
forcecommandspy-player-disabled: &7You &ccan no longer &7see the commands other players will execute!

#Error message to be sent to players who try to run the /forcecommandspy command because it must be executable only by console)
forcecommandspy-error-player: Unknown command. Type ""/help"" for help.

#Usage message to be sent to the console when a player is not specified as an argument for the /forcecomandspy command
forcecommandspy-error-usage: &8Usage: &7/&fforcecommandspy &c<player>

#Error message to be sent to console when specifying an offline or non-existent player for the /forcecommandspy command
forcecommandspy-error-404: &cNo online players called '&n%arg 1%&c'

#------------------------------/commandspylist-------------------------------#

#Change this option if you want to disable the /commandspylist command
commandspylist: true

#First line that will be sent after the /commmandspylist command execution
commandspylist-format-1:&7Players with &3Command&bSpy &aenabled &8↓

#One line for each player (Placeholder: %loop-player%) with CommandSpy enabled
commandspylist-format-2: &8- &f%loop-player%




Author
Sitieno14
Downloads
139
Views
790
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Sitieno14