Sueta
KO

Komut Engelleme / Command Blocking

0.6

If you want to prevent your players from using prohibited commands, you can try this system on your

·Plugin

If you want to prevent your players from using prohibited commands, you can try this system on your server.

How Do I Block the Command I Want?
If you want, you can ban the command you want with the command in the game. If you want, you can block it by typing the command you want from the Banned-Commands.yml file.

How Do I Delete Banned Commands?
İsterseniz oyundaki komut ile yasaklı komutu silebilirsiniz. Dilerseniz yasaklı kelimenizi Banned-Commands.yml dosyasından bulup silebilirsiniz.

Can We Turn Command Blocking Protection On or Off?
Yes, you can turn command blocking protection off and on. If you set command-protection: true in config.yml to command-protection: false, you will turn off command blocking protection.

Config.yml

## Languages Supported:
## TR(Turkish) & EN(English)

prefix: '&3LeaderTR &8» &7'

language: EN

update-checker: true

command-protection: true

permissions:
    command-permission: command.blocking.*
    bypass-permission: command.blocking.bypass

version: v0.6

Banned-Commands.yml

Commands:
- word

Turkish Language

## Variables
## {COMMAND} = Komut adını çeker.
## {PLAYER} = Oyuncu adını çeker.

messages:
    nopermission: '&cBu komutu sadece yetkililer kullanabilir'
    command-banned-arg-usage: '&cLütfen yasaklanacak komutu yazınız!'
    command-remove-arg-usage: '&cLütfen kaldırılıcak olan komutu yazınız!'
    command-add: '&e{COMMAND} &7komut başarıyla eklendi!'
    command-remove: '&e{COMMAND} &7komut başarıyla silindi!'
    command-banned-already: '&e{COMMAND} &7zaten yasaklı komut!'
    command-banned-usage: '&e{PLAYER} &clütfen yasaklı komut kullanmayı kes!'
    no-command-found: '&cHerhangi bir yasaklı komut bulunamadı!'
    help-command: '&cHerhangi bir yasaklı komut bulunamadı!'

English Language

## Variables
## {COMMAND} = The command gets its name.
## {PLAYER} = Gets the player name.

messages:
    nopermission: '&cOnly authorities can use this command'
    command-banned-arg-usage: '&cPlease type the command to be banned!'
    command-remove-arg-usage: '&cPlease type the command to remove!'
    command-add: '&e{COMMAND} &7command successfully added!'
    command-remove: '&e{COMMAND} &7command deleted successfully!'
    command-banned-already: '&e{COMMAND} &7an already banned command!'
    command-banned-usage: '&e{PLAYER} &cplease stop using forbidden commands!'
    no-command-found: '&cNo banned commands found!'

Updates

V0.6

  • The config file has been redesigned!
  • Update system infrastructure change has been made!
  • The ability to change your messages completely over YAML has been added!
  • English Language support added!
  • Some fixes have been made!

Information
Do not change anything in the update section, the script may be corrupted. When the update comes, delete the config.yml file and the script should start it from the beginning, otherwise a bug may occur in the update system.

Plugins required for it to work
1.15.2 Script Plugins & Addons I Use
1.8.8 Script Plugins & Addons I Use
VirusTotal

Similar projects

Plugin →