ModsJava
ConsoleOnlyOP
Java mod listed for Minecraft 1.19. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotWorried 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
Commands that this plugin blocks
Configuring the config
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.
Commands that this plugin blocks
- /minecraft:ban Player ➨ is blocked!
- /essentials:ban Player ➨ is blocked!
- /ban Player ➨ is allowed and completely fine.
Spoiler: The Config File
Code (YAML):
# 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!"
# 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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.19
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ConsoleOnlyOP is a free Minecraft Java mod. Compatible with Minecraft 1.19. Downloaded 105 times (via Spigot). Download it and open it directly in the game.