LimitOP
What is it?
This plugin stops server operators executing certain commands defined in a config.yml. This allows you to make commands totally inaccessible on a server. However, we've also made a configuration option where you can set players (owners for example) to bypass the plugin.
Commands & Permissions
There are no commands or permissions for this plugin, everything is done via the config.yml.
Configuration
LimitOP uses a simple config.yml file, use the below guide when editing the config.yml.
denied-message This is the message displayed when a OP is denied access to a command.
denied-commands This is a list of globally blocked commands, even too OP's.
bypassed-players This is a list of players who bypass this plugin.
Installation
- Download the latest version of LimitOP.
- Upload LimitOP.jar to your /plugins directory.
- Restart/reload the server.
- Plugin should be active.
- Edit the generated config.yml to your preferences.
- Restart/reload the server for changes to take effect.
Source Code
You can find the LimitOP source at https://github.com/craigventures/limitop/ - If you use large snippets of the code, please give credit and if possible donate.
Issues
If you have any issues or wish to report any bugs with the plugin please use our GitHub issue tracker. You can reach this by clicking here.
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
The Source file site is not exists
Tested on most recent Spigot Spigot and works a treat, enjoy :)
If anyone would like this plugin updating please contact me via https://craigventures.com/contact.html and I will be happy to do so.
Thanks.
@Yhezz @SnelleEdje
I'm thinking about updating this soon and adding the features requested, who would still use this plugin?
Edit: If I update this plugin, it will become open-source and I'll update it quite often (like http://dev.bukkit.org/bukkit-plugins/kitblock/)
Great, exactly what I needed. Works like a charm. Thanks. Possibility for using wildcards would be nice.
Can u add a cmd to reload the configuration ;)
1.1 is still awaiting BukkitDev staff approval.
I am sorry to inform you 1.1 will be the last update for this plugin, it should work into the foreseeable future however. If the plugin breaks in the future and I am requested to update it, I will recode the plugin.
Uploaded version 1.1! Now its just a matter of hours until BukkitDev staff accept the file.
I will update this in the next week or two.
It still works, but I plan on adding more features.
Version 1.0 works on 1.7.2!
Exciting update coming soon.
@KleinesGumi
Hi, I'm going to PM you regarding this issue. Next time please use the bug tracker. Thanks.
2013-10-14 14:06:04 [SEVERE] Could not load 'plugins/LimitOP.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: io/github/petercraig/LimitOP/limitop : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.reload(CraftServer.java:607) at org.bukkit.Bukkit.reload(Bukkit.java:277) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:263) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:228) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.UnsupportedClassVersionError: io/github/petercraig/LimitOP/limitop : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
GJJJJJ!
==== Please post feedback & suggestions above! ====