Jump to content

SkriptSpy | Social Spy But On Skript


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
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - 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
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

On 6/6/2022 at 1:11 PM, sgdf said:

I feel like there would be a better way to do this skript.

i made it early 2021 shush

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

  • 2 years later...
8 hours ago, Kevin2232 said:

sorry for commenting on an old post but if youre still there is it possible to make it so the player that has ss enabled doesnt see their own commands?

 

3 years later; I'll make you a better SocialSpy skript lol
It's not tested but should work
 

command /socialspy:
	aliases: /ss
	permission: socialspy.use
	trigger:
		if {SocialSpy::%player's uuid%} != true:
			set {SocialSpy::%player's uuid%} to true
			send "&aEnabled Social Spy" to player
		else:
			clear {SocialSpy::%player's uuid%}
			send "&cDisabled Social Spy" to player

on command:
	loop all players where [{SocialSpy::%uuid of input%} is true]:
		if loop-player is not executor:
			send "&7%executor% issued command: &a/%command%" to loop-player


I'll also be locking this post, If you need any further assistance please make a new post.

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

  • Pryzmm locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...