Solved A script which punishes the execution of certain commands with Ban

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

The_Trickster80

New Member
Aug 9, 2019
6
0
0
43
Hallo alle zusammen. Ich bräuchte Bitte Hilfe ein Skript zu schreiben was jemand außer ops mit autoban bestraft, wenn er spezielle Befehle eingibt. Ich hab vor Kommandos wie /plugins mit Ban zu bestrafen. Das die Spionage auf mein Server unterbunden wird. Ich danke euch schon einmal im vorraus für eure Unterstützung.

Hello everyone. I would need help writing a script what someone except ops punishes with autoban when typing special commands. I have to punish commands like /plugins with Ban. That the spying on my server is stopped. I thank you in advance for your support.
 
just make it so they dont have the permission to the commands
[doublepost=1566231503,1566231319][/doublepost]But if you want that then:
on command:
if command is "(command)":
execute console command "tempban %player% (time) (reason)"

But with the spaces before (first line 0, second line 4,third line 8)
I think that works
 
Thank you so that works for me.

Code:
on command:
    if command is "bukkit:about":
        execute console command "ban %player% reason "

And how do I do that so admins btw ops will not be banned?
 
Do you really think it's a good idea to ban people just to try to use a command?
You can give people perms by using Luck Perms.
 
Status
Not open for further replies.