ConsoleOnlyOP
2022-12-17Limit the /op command to the console only, no more malicious players insiding your server!
Worried of the possibility of someone gaining access to your server and /opping themselves? Or a malicious admin that decides to /op unwanted players?
Fear not, with ConsoleOnlyOP you can sleep soundly.
Features
- Only console can now run the /op command.
- Anti bypass that prevents players from using the /minecraft: op command instead.
- Configurable messages and prefix.
Essentially a small plugin that limits access to the /op command to only the console, with an extra feature that blocks any default command bypasses.
Commands that this plugin blocks
- /minecraft:ban Player ➨ is blocked!
- /essentials:ban Player ➨ is blocked!
- /ban Player ➨ is allowed and completely fine.
(Works with any plugin name and any command)
The Config File
# The name of your server. Will appear before the message.
# Change it to "" if you don't want to use it.
prefix: "&7&bServer | "
# The message that shows up when a player tries to use the command /op name
# {player_name} is the name of the player that was entered in the /op command
NoPermissionsMessage: "&7{player_name} is not in the sudoers file. This incident will be reported."
# The message that shows up when a player is trying to bypass a default command.
# {original_command} is the command that was blocked, but without its plugin prefix.
# if -> /minecraft:op Player was entered, {original_command} will be -> /op Player
# For example, the command -> /minecraft:ban Player -> will be blocked!
# Or, the command -> /essentials:ban Player -> will be blocked!
# But using the command -> /ban Player -> is completely allowed
NoBypassMessage: "&7Sorry! Try using {original_command} instead!"Configuring the config
- Drop the .jar file into your plugins folder on your server, run or reload it and you'll then see a new folder inside your plugins folder that is called ConsoleOnlyOP, open the config.yml file and voila you can now change the responses to the players.
- Color codes work, so you can for example make your message be colored in red by using &4 in the config.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta