StaffMonitor
It Works!
Special thanks to Protom1234 for fixing the plugin for me!
Description
This mod will create a log file for each person with the permisison node (StaffMonitor.Monitor). What goes in that log file is completely up to you. The current things that can go in that log file is commands, logins, logouts, game mode changes, block places and blocks in inventory. Any of these things can be turned off in the conifguration file.
Purpose
So why would you use this plugin? I guess the only reason you would is if you have a trust problem with your server staff. When I ran a factions server I had a slight trust problem with my staff spawning themselves items for their factions. (The only powerful factions on the server were the factions with staff in them...). The factions server I ran is long gone (for now), but in retrospect this would have been a very nice tool to have. However, perhaps someone else might need it so here it is. Also, I guess it can also be used as some sort of makeshift antigrief system or sorts, if you really really didn't want to install a blocklogger. But I'll leave that up to the user. I'm not going to tell you what it should be used for. Its just a tool of sorts.
Configuration File
View the config page for its info here.
Permissions
StaffMonitor.Monitor - the only permissions node that you really need to worry about. Players with this permission will be monitored. StaffMonitor.reload-reloads the plugin.If you are getting flooded with error messages issue this command and they should go away.
Planned Features
Log blocks crafted monitor ALL commands option
Notice
If you change your staffmonitor permissions while the server is running (for instance, using /pex reload), you must then use /staffmonitor reload for the changes to take effect. If you took away 'staffmonitor.monitor' from bob and added that permission node to bill, you need to use /sm reload (alias) for the plugin to stop monitoring bob and start monitoring bill.
-
View User Profile
-
Send Message
Posted Jun 4, 2016Can you please make so you can select all ID so what ever my admin will spawn it will log from creative??
-
View User Profile
-
Send Message
Posted Apr 3, 2017In reply to arturek1666:
-
View User Profile
-
Send Message
Posted Oct 19, 2013Just what I want please update it
-
View User Profile
-
Send Message
Posted Sep 7, 2013Please update this. Does it work?
-
View User Profile
-
Send Message
Posted Apr 3, 2017In reply to Charl101:
-
View User Profile
-
Send Message
Posted May 23, 2013Looks awesome, going to test to see if this works in my 1.5.2 test server.
-
View User Profile
-
Send Message
Posted Dec 6, 2012Great plugin, thanks! works on 1.4.5 too :D
-
View User Profile
-
Send Message
Posted Nov 1, 2012@DomIsAmazing27
I have tried to recreate this error, but I have failed. What were the circumstances in which this happened? Did you issue the /gamemode 2 command, or was another plugin modifying the player's game mode? For me in a controlled environment, the plugin works fine with the adventure mode. The only difference between your build of the plugin and the build I just tested is that mine is running the latest bukkit api, so that
mightbe it, though it didn't appear to change anything, but who knows. I'll have the latest build uploaded, so see if that fixes your problem. If it doesn't, give me the circumstances this happened in.-
View User Profile
-
Send Message
Posted Nov 1, 2012[SEVERE] Could not pass event PlayerGameModeChangeEvent to StaffMonitor
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)
at org.bukkit.craftbukkit.entity.CraftPlayer.setGameMode(CraftPlayer.java:506)
at com.earth2me.essentials.PlayerExtension.setGameMode(PlayerExtension.java)
at com.earth2me.essentials.commands.Commandgamemode.gamemodeOtherPlayers(Commandgamemode.java:61)
at com.earth2me.essentials.commands.Commandgamemode.run(Commandgamemode.java:35)
at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:96)
at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:383)
at com.earth2me.essentials.Essentials.onCommand(Essentials.java:301)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at forge.bukkit.ForgeCommandMap.dispatch(ForgeCommandMap.java:55)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:497)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:843)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:799)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:781)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NoSuchFieldError ADVENTURE
at com.mrz.dyndns.server.StaffMonitor.Listeners.GameModeChangeListener.onPlayerChangeGameMode(GameModeChangeListener.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 24 more
-
View User Profile
-
Send Message
Posted Oct 3, 2012"Any of these things can be turned off in the conifguration file." Wait, What? What did he just say? con i fguration? conifguration. Indeed. I believe It's spelled config not conifg :P
Personally I use CommandSpy and Hawkeye which does all of this in-game except for blocks in inventory, even then I have essentials which can do /invsee
-
View User Profile
-
Send Message
Posted Oct 3, 2012Yes, he means every block and entity in the game.
-
View User Profile
-
Send Message
Posted Aug 18, 2012I can add the functionality for ALL commands. When you say ALL MonitoredBlocks, do you mean every block in the game? I'm not sure what you mean by that.
-
View User Profile
-
Send Message
Posted Aug 18, 2012good plugin!
is there a way to log ALL commands? and ALL MonitoredBlocks?
-
View User Profile
-
Send Message
Posted Apr 3, 2017In reply to tschagg:
Copy and paste this under MonitoredBlocks: https://pastebin.com/Q1YP3Jy4
-
View User Profile
-
Send Message
Posted Aug 17, 2012Would love to see an option to log all command instead of having to specify them individually.
@Bimmr
Yes it does.
-
View User Profile
-
Send Message
Posted Aug 17, 2012Does it log the time they do these things?
-
View User Profile
-
Send Message
Posted Apr 3, 2017In reply to Bimmr:
-
View User Profile
-
Send Message
Posted Aug 17, 2012This would be GREAT to monitor new staff and shady players... great idea hope it works out, looking forward for the finished product.
-
View User Profile
-
Send Message
Posted Aug 17, 2012looks good, i need somthing like this.