Code (Text):
/**
* Change log
*
* Added backwards compatibility until 1.8
* With this backward compat, you will need ProtocolLib for minecraft versions below 1.13!
* Added a few new config options
* Fixed the blocked plugins section, it did not block the commands from the plugins. It now does.
* Added a clean command list option, this will remove all "bukkit:" or "minecraft:" commands from the list
* - This also counts for all plugins e.x "plugman:"
* Added a message for the blocked plugin commands. Instead of having nothing
* Somehow "/icanhasbukkit" had disappeared from the removed commands section, it is now back by default!
* Added more documentation of existing settings and new ones in the config file.
* Fixed some debugging being broadcasted on the server. Now everything is in the console log.
* Fixed plugin menu not working on older versions.
*
* You will need to generate a new config. Take a backup of your old config and just copy over your command setups
* when the plugin has generated a new config, and do /npreload
*/
The new config should look like this:
Code (Text):
# Enable debug messages?
debug: false
# Enable/Disable update checker
updater: true
# Enable/Disable update notification when joining the server with enough permissions
update-notification: true
# Operator status bypasses NoPlugins? (/op)
# If this is set to false, you cannot be op and must have the permission (noplugin.bypass) to bypass.
# Otherwise if set to true, you can be op and have the permission specified or not.
operator-bypass: false
# Display messages in a list format?
list-messaging: false
# Remove every command from the command list in-game?
# This is what you see when you open chat and enter "/" and then press tab.
# In version 6.9.1 you have the "tab-block-everything" setting, if you set this to true it will act like that
# on minecraft versions before 1.13.
clear-command-list: false
# Want to clean the command list ingame? This removes all e.x "essentials:" type commands
# from the tab completion list for minecraft clients on 1.13+
clean-command-list: false
# The list where you remove individual commands from the command list in-game and the default set of commands blocked.
# When using minecraft version below 1.13 this is the list where the tab blocker checks for commands to
# prevent being tab completed.
removed-commands:
- about
- ver
- '?'
- version
- icanhasbukkit
- pl
- plugins
- bukkit:pl
- bukkit:plugins
- bukkit:ver
- bukkit:version
- bukkit:?
- bukkit:about
- bukkit:help
# Enable/Disable String Commands Protection
string-command-protection: false
# String command message
string-command-blocked: "&cThis command has been blocked!"
# String command list, this list may contain commands that actually do not exist on the server.
string-commands:
- /spigot
- /essentials
- /pex
# Enable/Disable console only commands
console-only-commands: false
# Console only message
console-only-message: "&cThis command is console only!"
# Console only command list
console-commands:
- /op
- /deop
- /stop
# Block all commands from specific plugins?
# This feature may not work on all plugins due to they register commands differently
block-plugin-commands: false
# Blocked/removed command message
blocked-command-message: "Unknown command. Type \"/help\" for help."
# The list of plugins to remove/block commands. This "hides" all commands from the specified plugins.
plugins:
- LuckPerms
- WorldGuard
##########################
# General Messages below #
##########################
nopermission: "&cYou don't have permission to do this!"
# In this message section you can add more commands to have custom messages!
# These messages are referenced to the command specified in the "removed-commands" list.
# The key has to be what the command is e.g "about: 'your message'" this is not case SenSITive
messages:
plugins: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
pl: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
iCanHasBukkit: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
about: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
version: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
ver: 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
'?': 'Plugins (3): &aNot&f, &aYour&f, &aBusiness'
# This section is for having multiple lines messages!
# This acts the same as the single line with extra custom messages for removed commands.
# You can add more commands here as well as long they are setup like default:
# plugins:
# - '&aNot'
# - '&aYour'
# - '&aBusiness'
# - 'More lines? :)'
list-messages:
plugins:
- '&aNot'
- '&aYour'
- '&aBusiness'
pl:
- '&aNot'
- '&aYour'
- '&aBusiness'
iCanHasBukkit:
- '&aNot'
- '&aYour'
- '&aBusiness'
about:
- '&aNot'
- '&aYour'
- '&aBusiness'
version:
- '&aNot'
- '&aYour'
- '&aBusiness'
ver:
- '&aNot'
- '&aYour'
- '&aBusiness'
'?':
- '&aNot'
- '&aYour'
- '&aBusiness'