CommandWatcher
CommandWatcher

Version: 0.5
CraftBukkit Build 1.3.1-R2.0 [Tested]
Info
Info This plugin lets you see every command a player does as they do it. You can set commands for it to not send to the person in commandwatch Currently this is defaulted to /login, /changepassword and /register but can be what ever you want.
Config
#Commands which are not shown to people in commandwatch# BlockedCommands: - /login - /changepassword - /register #Message sent to person in commandwatch #&player is the players name and &cmd is the command they did &x is x coordinate etc. &world is the worldname. OnCommandMessage: '&3[CW]&c&player: &6&cmd' #When false it wont remove your commandwatch on quit# RemoveFromCwOnQuit: True #If true then it enables the commandwatch.exempt and commandwatch.bypassexempt permissions EnablePermissionExempt: true
Features:
- Command watching
- Removes from CommandWatch when you quit
- Can check whos in CommandWatch
- Can enable commandwatch for any player
- Can Reload CommandWatch
- Can show coordinates with the command
- Can show worldname with command
Example

Commands
- /cw Enables CommandWatch
- /cw help
- /cw check Lists people in CommandWatch
- /cw reload Reloads the config and plugin
- /cw {Playername} Enables or disables CommandWatch for a online player
Permissions
- commandwatch.watch - Allows access to the /cw command
- commandwatch.help - Allows access to /cw help command
- commandwatch.checkwatch - Allows access to the /cw check command
- commandwatch.reload - Allows access to the /cw reload command
- commandwatch.watchother - Allows access to /cw {player} command
- commandwatch.exempt - Players in commandwatch without the commandwatch.bypassexempt permission wont see this users command
- commandwatch.bypassexempt - Player can see commands even by users with exempt permission.
Example of how exempt might be used. Owner 1 gives his mods the ability to watch commands of other players but doesnt want the mod to see his commands. So he gives himself the commandwatch.exempt permissions and mods can no longer see his commands. Owner 2 wants to see Owner 1's commands so he gives himself commandwatch.bypassexempt and he can now see Owner 1's commands.
- v0.1
- First Release
- v0.2
- Added /cw reload
- Added /cw check instead of /cwcheck
- Added /cw {playername}
- New Config to set Message and blocked commands
- v0.3
- Added Metrics
- Added New feature in config "RemoveFromCwOnQuit" When false it wont remove your commandwatch on quit
-v0.4
- New features
- Added /cw help command with permission commandwatch.help
- Bug Fixes
- Fixed bug with error on /cw <OfflinePlayer>
- Fixed bug when executing commands from console
- Added github Repository https://github.com/McLuke300/CommandListener
-v0.5
- New Features
- You can now use &x, &y, &z for coordinates of commands in the command message and &world for the world name!
- There is now commandwatch.exempt and commandwatch.bypassexempt more info above
- New config option EnablePermissionExempt which when false will show all commands to people in commandwatch enless of course your using the blacklist
- Bug Fixes
- Fixed a big bug with RemoveFromCwOnQuit on false throwing lots of errors!
- Various other bug fixes
-
View User Profile
-
Send Message
Posted Sep 23, 2012@Xeliya
Ok I was worried it was mine ;(
-
View User Profile
-
Send Message
Posted Sep 1, 2012@Xeliya
That's wierd :/ Can you paste your config here please :| And if there are any errors in console then please paste them here also. Thanks :/
-
View User Profile
-
Send Message
Posted Sep 1, 2012@McLuke300
Just tested with other players, they could not see any commands after they were put on the CW list.
I also have not given the 'Default' group, nor the any of the players online at the time 'commandwatch.exempt'; I also have 'commandwatch.bypassexempt'.
NinjaEdit: I no longer have this issue, it was my fault. :p
-
View User Profile
-
Send Message
Posted Sep 1, 2012@Xeliya
Your havent given players commandwatch.exempt have you?
By no command showing I hate to ask the simple questions but. Have you actually enabled /cw? If you do /cw list is your name listed? Do other admins have the same problem?
-
View User Profile
-
Send Message
Posted Sep 1, 2012Hey Luke, I'm trying to use the updated version of this plugin after having it installed on 1.2.5
Plugin Version: 0.5
CraftBukkit: 1.3.1 R2.0
My problem is that it simply doesn't show any of the commands players do.
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Darganking
Added in v0.5
-
View User Profile
-
Send Message
Posted Aug 23, 2012@javoris767
Fixed in 0.5
-
View User Profile
-
Send Message
Posted Aug 23, 2012@EvilJackCarver
Fixed in v0.5
-
View User Profile
-
Send Message
Posted Aug 23, 2012@EvilJackCarver
Im working on a fix now
-
View User Profile
-
Send Message
Posted Aug 23, 2012@javoris767
It's trying to send a CW notice to someone who is offline. It's the same line as my error, which was more-or-less caused by me having "removecwonquit" set FALSE.
In other words, if the setting above is false, and Charles and Mike are on and both in CW, when Mike leaves and Charles executes a command, it's still trying to tell Mike that Charles did a command.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Error: http://pastebin.com/zqyMd0xV
-
View User Profile
-
Send Message
Posted Aug 9, 2012@Darganking
Its a planned feature heres the ticket from it http://dev.bukkit.org/server-mods/commandwatcher/tickets/2-cw-exempt/
-
View User Profile
-
Send Message
Posted Aug 9, 2012Can you make an option or node that makes it so a rank can only see the commands of the ranks it inherits? So lower ranks cant spy on higher ranks.
-
View User Profile
-
Send Message
Posted Aug 5, 2012@McLuke300
cool, now I can use some of your code :D.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@korikisulda
It was one of my first uploads so I just random ally pick one I'll chnage it.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@McLuke300
True, and there is no reason to be competetive, the way forward is co-operation; indeed, you've already been very helpful to me(thanks a lot, btw ;)). I think that the reason you have been more successful is the combination of obvious simplicity and ease of use(yours is sort of in the middle, you have more features than command-spy, but less than commandspy; and yes, someone released a plugin called command-spy), and that yours also appears on plugins.bukkit.org, which is what I'm hoping to get with plugin approval.
Oh, and btw, what's the point in a public github repository if your source is all rights reserved? I recommend the GNU GPL v3 personally.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@korikisulda
Well I'm not competitive, I can't help having more downloads then yours with 4.4k at only 3 versions. I don't know how I have marketed or publicised my plugin except for recommending it to a few people on bukkit forums for people who needed whisper spy or to view everyone's commads in console but my plugin was a better alternative fr them.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@Mhjort
None taken, although commandspy is no more complicated to use than this, if you choose not to use the additional features and filters. I'd put this success more down to better publicity and 'marketing'.
@McLuke300
Commandspy isn't more confusing to use (is /commandspy true really that hard?). 4000 or so downloads is nice, but I still want to do better than all my 'rivals', which at the moment is only you ;)
-
View User Profile
-
Send Message
Posted Aug 4, 2012@korikisulda
Your plugins nearly got 4000 downloads anyway...
-
View User Profile
-
Send Message
Posted Aug 4, 2012@korikisulda
Trust me I'm surprised myself, if you made commandspy then yes it is confusing to use.
@Mhjort
I never liked using console for looking at commands so I made this plugin for my own server and made it really simple to use. I had a prototype of this plugin made months before but didn't know how to use hash maps to keep them in Commandwatcher mode so when I did I made it and released it to bukkit. One thing with this plugin that I'm not going to change is to keep it nice and simple and minimal commands,