Home›Java›Mods›OProtections | Simple OP Protection
OProtections | Simple OP Protection
ModsJava

OProtections | Simple OP Protection

Java mod listed for Minecraft 1.18. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Description:
This is a plugin that prevents the abuse of /op & /deop from being exploited. The approach i took with this is to only allow certain UUID's from a list in the config to be able to become a operator. In this way people with cracked clients won't be able to steal a users username and become op, because they won't be able to actually steal your UUID.

Setup:
To set this up, edit the config.yml and put your UUID into the list, you can get your UUID on any third party minecraft skin websites. When you've edited the config you can start/restart your server and op yourself however you please.

Permissions:
There's not a specific permission, whoever is in the allowed-op will be able to use the op command.

Commands:
/op
- Add player to operator if they're in the allowed list.
/deop - Remove player from operator.
/opreload - Reloads the config file (However some values needs a server restart, such as allowed-op list.

Default Config:
If you're updating the plugin, you might have to delete your current plugin config folder but you can just copy the UUID's into the newly generated one.
Code (YAML):
# Example of your UUID
# You can get your UUID from https://namemc.com/
# Remove the default UUID for security.
allowed-op
:
- "1de0e79c-70c8-4c89-8849-2e67dd86eee5"

# Disable minecraft:op & minecraft:deop
disable-cmd
: true

# Language stuff, change them as you please but DO NOT change the variable names.
# The plugin will crash if you change the variable names, only change values!
# Placeholders: %player%
prefix
: "&c&lOProtection &7> &r"
no-perms
: "&cYou're not allowed to execute this command."
no-username
: "&cYou didn't provide with a username."
not-online
: "&cThis player is not online."
removed-player
: "&cRemoved &b%player%&c as operator."
added-player
: "&aAdded &b%player%&a as operator."
not-in-list
: "&cThis player is not in the allowed operator list."
plugin-reloaded
: "&aPlugin successfully reloaded."
cmd-disabled
: "&cThis command is disabled."

# DO NOT CHANGE THIS IT WILL BREAK THE PLUGIN
pl-version
: 1.0.4

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

OProtections | Simple OP Protection is a free Minecraft Java mod. Compatible with Minecraft 1.18. Downloaded 260 times (via Spigot). Download it and open it directly in the game.

Explore more