Keys - LWC-like container/block protection

@Ren

Find this file in your sponge config /config/sponge/global.conf. Open it and you will see something like this,
(Its under the “commands” section)

commands {
    # A mapping from unqualified command alias to plugin id of the plugin that should handle a certain command
    aliases { }
}

Just put this into the aliases section:

aliases {unlock=Keys}

This feature allows the /unlock plugin to be executed only for this mod without any conflict.

Now say if you wish to do the Pixelmon command /unlock do /pixelmon:unlock

Overall your config should look like this after a simple restart:

commands {
    # A mapping from unqualified command alias to plugin id of the plugin that should handle a certain command
    aliases {
        unlock=Keys
    }
}
2 Likes