Home›Java›Mods›SLLockCommands
SLLockCommands
ModsJava

SLLockCommands

Java mod listed for Minecraft 1.8–1.12. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]
This is a simple but complete plugin, different from plugins where you just put the commands that will be blocked, this allows you to block commands in certain regions of certain worlds. This plugin has only one command, /sllockcommands-reload or /sllockcommands-rl that is used to apply changes made to the plugin configuration.

[​IMG]
In the messages part are only three messages, the first message indicates that the command executed is blocked, it will appear if the player who executed it is in the region and in the world where this command was blocked, the second indicates that the configuration has been updated, if you made changes to the configuration and run this command the changes will be applied, the third indicates that the player is not allowed to run the configuration update command, this would be a command for members of top positions. We have the option to enable or disable the command block, this option would be more practical at the time of testing, so we do not need to make other changes but only disable the plugin, to activate it just leave this option to "true" and to disable "false". Then we have the part to block the commands, I will leave an example of configuration just below, but it is very simple to configure this part, first put the name of the world you want to block a particular command or more commands, then define the region where this command will be locked, and finally the commands to be locked, remembering that you can configure multiple worlds, and in each world several regions, and in each region several commands. In this new version it is possible to block commands in all worlds or in all regions at once, to block in all the worlds use "ALL-WORLDS" in uppercase, and to block in all regions of a certain world you use "ALL-REGIONS" in uppercase, you can also use the two together.

See the example of configuration here

Spoiler
Code (Text):
 
#Configure messages as you see fit.
messages:
  - "&cThis command can't be executed in this area!"
  - "&aUpdated configuration!"
  - "&cYou don't have permission to run this command!"

#Set "true" to enable command lock or "false" to disable this option.
lock-commands: true

#Set world name to "ALL-WORLDS (in uppercase)" to lock a certain command in all worlds.
#Set region name to "ALL-REGIONS (in uppercase)" to lock a certain command in all regions.
#Set "*" to lock all commands in a certain world and region.
worlds:
  world_example_1:
    region_example_1:
    - "command_example_1"
    - "command_example_2"
    ALL-REGIONS:
    - "command_example_1"
    - "command_example_2"
  ALL-WORLDS:
    region_example_1:
    - "command_example_1"
    - "command_example_2"
    ALL-REGIONS:
    - "command_example_1"
    - "command_example_2"
 

[​IMG]

➤ WorldGuard
➤ WorldEdit

[​IMG]

sllockcommands.ignore.*.*.* ➤ Ignore all locked commands in any world and in any region.
sllockcommands.ignore.<world>.*.* ➤ Ignore all locked commands in any region of a certain world.
sllockcommands.ignore.<world>.<region>.* ➤ Ignore all commands blocked in a certain world and region.
sllockcommands.ignore.<world>.<region>./<command> ➤ Ignore a specific command in a certain world and region.
sllockcommands.reload ➤ Allows you to update the plugin configuration.
sllockcommands.* ➤ Gives access to all permissions of the plugin.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SLLockCommands is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 131 times (via Spigot). Download it and open it directly in the game.

Explore more