🚫 NoPlugins - Minecraft Plugin
- PixelHost
- 15 ago 2024
- 5 Min. de lectura
Actualizado: 28 ago 2024
Managing a Minecraft server is crucial for owners, as it allows the installation of plugins, enhances gameplay, and provides other essential controls. However, issues can arise if players attempt to exploit the server, find hidden cheat commands, or encounter other possible problems. Unfortunately, this is common on many servers, but there are solutions to quickly remedy the situation. One of these is NoPlugins, a Spigot and Bukkit plugin that prevents certain in-game commands from being used. By using this on your server, you also get additional features, such as custom chat messages when a player tries to execute a blocked command. There are also interesting and useful options to explore, making this plugin a wonderful tool for many server owners. Installing and editing the plugin is easy with our PixelHost panel, simplifying the entire process. With that said, let’s learn how to install and use NoPlugins on your Minecraft server in this guide from PixelHost.
📥 Installation
Go to NoPlugins on Spigot and click the Download button.
Save the file somewhere easily accessible on your computer.
Head to your PixelHost server panel, then click "FTP File Access" near the top left.
Important: Make sure you’re using the correct Server Profile for this installation.
Log in with your password and enter the plugins directory.
In the top left corner, click "Upload" and drag the file into the designated area.
Wait for it to reach 100%, then return to the main panel.
Restart the server and join to confirm that the plugin installed correctly.
🚀 Getting Started
Once NoPlugins is installed, you and others may notice that some commands no longer work or return custom messages. For example, using /plugins or /pl will show a custom plugin list that hides everything you’ve installed. This is extremely useful to prevent players from snooping around and abusing server features. Those who wish to modify these messages or other aspects of the plugin can do so in the configuration file. Editing this will allow you to have complete control over what players see or use in-game. A popular change is to add other commands that regular users shouldn’t see. Another is using NoPlugins' special GUI menu to view all installed plugins, making other methods useless and inaccessible. Since almost everything is within the configuration, it will be a primary focus for this plugin.
⚙️ Configuration
As mentioned earlier, the configuration file is how owners utilize the plugin. There are no in-game skills or commands to set this up, making it a different editing process. Follow the steps below to learn how to access and change the NoPlugins configuration file.
Go to "FTP File Access" from the server’s main panel.
Log in with your password, then enter the plugins directory.
Next, locate and navigate to the NoPlugins folder.
Inside this area, click "Edit" on the far right of the config.yml file.
Make the necessary changes, then press "Save" at the top.
Restart the server from the main panel to apply the edits, then join to confirm.
🔧 Important Configurations
Given that there are an overwhelming number of configurations to edit, we’ll briefly cover the most essential ones. Some of these are core features of the plugin, making them important to customize. Others are quality-of-life options that will help you tailor NoPlugins to your liking. However, many of these settings work together, meaning editing one may affect another depending on what you change. Learn more about them in the table below.
Configuration | Description |
operator-bypass | Allows operator players to bypass NoPlugins. |
clean-command-list | Removes additional commands from TAB auto-completion, such as /bukkit . |
removed-commands | List of unwanted commands that will be disabled on the server. |
console-commands | List of commands that will only work in the Console. |
block-plugin-commands | Blocks specific commands from a defined list of plugins. |
plugins | List of plugins that players cannot access through commands. |
messages | Chat messages displayed when executing a command from the "removed-commands" section. |
💡 Configuration Examples
Some of these settings can be complex or a bit difficult to learn at first, so let’s go over a few examples.
Blocked Commands
This section of the configuration is where you can block individual commands. However, if the server is using version 1.13 or lower, the TAB auto-completer will block the list from appearing in-game. This is the main area to start adding commands you want to remove or disable, but they are still accessible through the Console, among operator privileges. By default, there’s a list made for you to save, add, or remove. Keep in mind this is not limited to anything, meaning all commands can be blocked.
Chat Messages
After blocking commands, if a player tries to use them in-game, a message will appear. This can be configured later in the file, which is helpful if you have tons of disabled commands. Color codes can also be used for them, giving you more control over how they appear in chat. Pay attention to the format of each message, as breaking it with a syntax error or another mistake can ruin this feature.
Blocked Plugin Commands
Instead of blocking individual commands, you can disable entire plugins for players. However, certain abilities may still work if they have the proper permissions. Otherwise, it simply prevents them from using commands for that plugin. This is important for large servers that have many different plugins installed.
🛠️ Commands and Permissions
Like other plugins, NoPlugins has some commands and permissions to use. These control how players interact with its features, such as bypassing command prevention. This requires a plugin like LuckPerms or another type of permission manager. Otherwise, having operator privileges will grant access to everything. As for the number of commands and permissions, there aren’t too many, but enough to review below.
📋 Plugin Menu
Players with the pluginmenu permission can open its GUI, revealing all the server’s plugins. In other words, this can be used as an alternative method to review the plugin list. An added benefit of using this feature is that it shows additional information, such as the author, dependencies, and more. It’s a highly detailed and useful menu for evaluating what plugins you have installed.
❗ Common Issues
The Plugin Doesn’t Load:
If the plugin fails after installation, the wrong version may have been used. For example, loading version 1.16 while the server is on 1.19 can cause it to not function. Otherwise, you might have installed NoPlugins on the wrong server profile. Ensure you’ve selected the correct one for this process, as having another can be problematic. Alternatively, you may not be an operator or lack the permissions to use the plugin. Once everything is confirmed, the situation will likely resolve itself.
The Configuration Isn’t Working:
In some cases, changing the configuration file doesn’t work and may break the entire plugin. This happens when there are ongoing formatting issues, incorrect values, or similar problems. Make sure to follow the exact spelling, words, and character usage to avoid errors. Additionally, ensure you’ve applied or saved the changes by clicking Save in the file editor and Restarting the server from the main panel. Once you have valid configurations and they’re applied, it will start working in-game without issues.
Best Regards,
João @PixelHost.
Comments