Jump to content

SkriptSpy | Social Spy But On Skript


AgentGamerPro

Recommended Posts

I was bored so I made a social spy skript. This command simply sends players messages when a player types a command. Skript is rough and dosent show arguments, but here it is:
 

command /SocialSpy:
	aliases: /ss
	permission: Skript.SocialSpy
	trigger:
		if {SocialSpy::%player%} is not set:
			set {SocialSpy::%player%} to true
			send "&aSocialSpy has been enabled! You can now see other player's commands." to player
		else if {SocialSpy::%player%} is false:
			set {SocialSpy::%player%} to true
			send "&aSocialSpy has been enabled! You can now see other player's commands." to player
		else:
			set {SocialSpy::%player%} to false
			send "&cSocialSpy has been disabled! You can no longer see other player's commands." to player

on command:
	wait 2 ticks
	if executor is player:
		set {_executor} to player
		loop all players:
			if {SocialSpy::%loop-player%} is true:
				send "&7%{_executor}% &7has issued command: &a/%command%" to loop-player
	else if executor is console:
		loop all players:
			if {SocialSpy::%loop-player%} is true:
				send "&7Console has issued command: &a/%command%" to loop-player

 

  • Like 1

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

On 3/27/2021 at 11:32 PM, AgentGamerPro said:

I was bored so I made a social spy skript. This command simply sends players messages when a player types a command. Skript is rough and dosent show arguments, but here it is:
 


command /SocialSpy:
	aliases: /ss
	permission: Skript.SocialSpy
	trigger:
		if {SocialSpy::%player%} is not set:
			set {SocialSpy::%player%} to true
			send "&aSocialSpy has been enabled! You can now see other player's commands." to player
		else if {SocialSpy::%player%} is false:
			set {SocialSpy::%player%} to true
			send "&aSocialSpy has been enabled! You can now see other player's commands." to player
		else:
			set {SocialSpy::%player%} to false
			send "&cSocialSpy has been disabled! You can no longer see other player's commands." to player

on command:
	wait 2 ticks
	if executor is player:
		set {_executor} to player
		loop all players:
			if {SocialSpy::%loop-player%} is true:
				send "&7%{_executor}% &7has issued command: &a/%command%" to loop-player
	else if executor is console:
		loop all players:
			if {SocialSpy::%loop-player%} is true:
				send "&7Console has issued command: &a/%command%" to loop-player

 

Pretty good! But u could shorten these lines.
 

on command:
	wait 2 ticks
	send "%executor% has issued command: /%command% %arguments% ? """"%" to all players where [{SocialSpy::%input%} is true]

and these...
 

command /SocialSpy:
	aliases: /ss
	permission: Skript.SocialSpy
	trigger:
		if {SocialSpy::%player%} is not set:
			set {SocialSpy::%player%} to true
			send "enabled social spy"
		else:
			delete {SocialSpy::%player%}
			send "disabled social spy"

I would have also used metadata cause it doesn't really matter if server restarts!

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

  • 1 year later...
On 5/30/2022 at 4:54 PM, LindaW said:

Explain, please, what is a social spy? Are you talking about the spying features on the phone? I am very afraid of this and even regularly delete messages so that no one reads them remotely, since if necessary I can restore them more information about this here. See this source for details on how to do this. It turns out it's not difficult at all.

1. SocialSpy tracks commands sent by players and console. Based on your message, I assume that you've been browsing the web and saw this and don't play minecraft.

2. Don't necropost on posts older than 1 month.

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...