CommandGuard

Register now to download for free
⚚ Control usage location of every command ✖ Block or Allow commands in certain region ✔
Tags
Tags
None
I tested plugin on 1.8.8 and 1.10.2 it works perfect..probably it works on all versions

Did you ever wanted to force player to be on certain place when executing command..example if you have bank and you create building and want player to only can execute bank commands in that building(region) with this plugin you can allow or block any command with every diffrent message..very advenced also you can use this to block plugins command..and many mores, read config example i add few examples..

it also supports multiple infinity commands, and multiple infinity regions <3

Command
/commandguard reload

Permissisons
commandguard.reload <-- ability to reload plugin
commandguard.bypass.* <------ bypass all regions blockades
commandguard.bypass.<category> <--- bypass certain category blockades
(example commandguard.bypass.bank)

You can create as many as you want categories and blocking


# CommandGuard config.yml
#=====-----=====-----=====-----[ Categories ]-----=====-----=====-----=====#
# Each category must have a unique identifier. For example: bank or factions or whatever.
# Each category has separate region,command,and error message.
# If blacklist:false, the worlds list is treated as a whitelist.
#
# For example, the bank commands below only used in region named BankRegion and ATMRegion
#

category:
# example:
# blacklist: false
# regions:
# - "ExampleSpawnRegion"
# commands:
# - "spawn"
# messages:
# - '&e&l(!) &cCan''t Use That Command in This Region'
# - '&e&l(!) &cYou Must Go To &6Safe Zone &cFirst!'
# sounds:
# - "ENTITY_BLAZE_DEATH"
bank:
blacklist: false
regions:
- "bankregion"
commands:
- "bank"
- "withdraw"
messages:
- '&eYou are not standing in bank&c!'
- '&eGo to bank with /warps bank&c!'
sounds:
- "ENTITY_BLAZE_DEATH"
creative:
blacklist: true
regions:
- "creativeregion"
commands:
- "menu1"
- "ehat"
- "sethome"
- "esethome"
- "essentials:sethome"
- "inv"
- "inv1"
- "pb join"
- "pb leave"
- "refresh"
- "duel accept"
- "duel"
- "nether"
- "gm3"
- "ah"
- "auctionhouse"
- "ah:auctionhouse"
- "ah sell"
- "auctionhouse:shop"
- "auctionhouse:auctionhouse"
- "mediumbag"
- "mediumbag"
- "bigbag"
- "auc"
- "marry"
- "auctionhouse:auc"
- "auction"
- "suicide"
- "paintball"
- "pb join"
- "pb spectate"
- "izbornik"
- "kupistrugalicu"
- "scratch"
- "kit"
- "ec"
- "eec"
- "essentials:enderchest"
- "essentials:ec"
- "essentials:eec"
- "essentials:eenderchest"
- "enderchest"
- "spawnmob"
- "back"
- "cr giveallkey"
- "cr givekey"
- "esell"
- "einv"
- "sell"
- "sell hand"
- "esell hand"
- "essentials:sellhand"
- "essentials:esellhand"
- "buyscratch"
- "pv1"
- "pv"
- "top"
- "cuff"
- "uncuff"
- "spectate"
- "etp"
- "kill"
- "minigre"
- "miniigre"
- "cmi inv"
- "invsee"
- "inv2"
- "inv4"
- "inv3"
- "tpahere"
- "tphere"
- "marry gift"
- "minigames"
- "minigame"
- "prodaj"
- "kick"
- "ban"
messages:
- '&eYou cannot use that command in this creative region&c!'
sounds:
- "ENTITY_BLAZE_DEATH"
plugins:
blacklist: false
regions:
- "YourRegionName"
commands:
- "pl"
- "plugins"
- "bukkit"
- "epl"
- "eplugins"
- "bukkit:help"
- "/?"
- "bukkit ?"
- "calc"
- "icanhasbukkit"
- "op"
- "deop"
- "minecraft"
- "about"
- "ver"
- "icanhasbukkit"
- "version"
- "bukkit:pl"
- "bukkit:plugins"
- "bukkit:?"
- "eabout"
- "bukkit:about"
- "bukkit:ver"
- "plugins ?"
- "calculate"
- "/solve"
- "solve"
- "/calc"
- "stop"
- "restart"
- "eop"
- "essentials:eek:p"
- "essentials:eop"
- "edeop"
- "superpickaxe"
- "/superpickaxe"
- "/sp"
- "sp"
- "essentials:deop"
- "essentials:edeop"
- "ver ?"
- "version ?"
- "icanhasbukkit ?"
- "op ?"
- "deop ?"
messages:
- '&eSon you are not allowed to see plugins list&c!'
sounds:
- "ENTITY_BLAZE_DEATH"
teleport:
blacklist: true
regions:
- "BankRegion"
- "ATMRegion"
commands:
- "tpaccept"
- "tpa"
messages:
- '&e&lYou are currently in the bank'
- '&e&l(!) &cPeople in the &6Bank &cShould not teleport other!'
sounds:
- "ENTITY_BLAZE_DEATH"


#=====-----=====-----=====-----[ Messages ]-----=====-----=====-----=====#
message_prefix: "&8[&dCommandGuard&8]"
message_command_reload: "&6Config Successfully Reloaded"
message_command_nopermission: "You Don't Have &8[&f{perm}&8] &cPermission !"

Plugin is completed, but anyway i give you source code and if you want something to add by yourself feel free to use it <3

if you looking for sounds name list here it is
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html <-- for 1.9 to 1.12
http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html <-- 1.8


BEST PREMIUM PLUGIN <---- CLICK HERE


If you are very satisfied with this plugin and you decide to be my special friend and buy me a coffee that will keep me working on upgrading plugin more and more all the time <3

Author

Gasha

Owner
Author
Gasha
Downloads
6
Views
341
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.