CommandSpy
Commandspy allows those with permission to see player and server commands and what people write on signs.
Documentation
For documentation, please see the spigot resource page. This project will continue to be updated with the latest versions.
Support
ircs://irc.esper.net:6697/#Commandspy
Licence and Source Code
Commandspy is licenced under version 3 of the GNU General Public licence. A copy of the source code is obtainable here.
Why did this pluging grow from 33kb to 1.4MB ?? wow. Just curious !!
@ProRevenge
You can with rules, but so far, they seem to have done nothing but confuse people. I'm thinking about adding ignore wrappers for 4.2.0.
To do this in the meantime, for only your player, you should make sure you have commandspy on (ie /commandspy on), then run /cs g \ add exclude command - shop
Alternatively, if you want to suppress this for all players, you should make sure that you have a rulegroup at your disposal (The default group would be easiest. Run /commandspy groups, and make sure you have one with ID 0), then run /cs g - add exclude command - shop
Is it possible to add in a command exception? Like for example if players are using /shop and I don't want commandspy to pick that up is it possible to ignore it?
@Subarrow
Sorry, somehow, when I changed the server version 1.8 to 1.9 "commandspy on" went to "off". I didn't notice that when i tried it.
I'm using Commandspy-4.1.0, and it is working on 1.9.
@roopekoo @Chalwk
I'm more than happy to try to fix bugs, but I'm (un)fortunately unable to read your stdout and minds ^^
@roopekoo
Don't expect updates for 1.9 yet. Most plugins will take time to update. Until then, stay on 1.8 :)
@GothkittyGirl
Hrm. That's a little odd. I've actually gone and disassembled the release just to check. Is it possible that you have more than one Commandspy binary in the plugins directory? I'd also be interested in the output of /commandspy version
Edit: Oh, right, apparently I misunderstood. Do you have a permissions manager?
after update im unable to find the command to turn on commandspy :/. lil help plz? /commandspy on doesnt work... and ive not changed anything in the config
@Chalwk
I'll work out something for 4.2. I quite like the idea of letting users choose their formatting themselves (although it would make sense to have a global one too)
Is it possible to change the color formatting in this edition?
In a previous version of Command Spy, the formatting I had set up for commands, signs and console was:
I am quite partial to a CommandSpy Prefix.
@Georggee
*shrug* If they can't use them, then... Surely there's no issue? :D
@Subarrow
users can type /c or /cspy etc and show all the commands available obviously they cant use them but still
@Georggee
I don't follow?
@Subarrow
can you add a permission to not let users type /c? etc?
@Georggee
That's not exactly what I told them to do :c
Including command events should be done after specific exclusions (as an include or exclude is final: When a rule matches, its effect will be final, and no others will be considered).
If you want this exclusion to apply for all users, you should simply execute
Assuming that you haven't changed the default effect, to personally receive command notifications, you should then execute
@Subarrow
22.02 15:48:40 [Server] INFO ID Owner Size 22.02 15:48:40 [Server] INFO 0000 #3 22.02 15:48:40 [Server] INFO 0 EXCLUDE CANDIDATE_HAS_PERMISSION ! 'commandspy.use' 22.02 15:48:40 [Server] INFO 1 INCLUDE IS_COMMAND '' 22.02 15:48:40 [Server] INFO 2 EXCLUDE COMMAND 'msg'
@Georggee
Could you possibly show me the output of /commandspy ls? (execute it in the console)
@Subarrow
Bit of help here please, how would I make it exclude from showing certain commands such as the console typing /save-on etc? because I typed what you said below to someone else but even when its added, those commands still show up
@CloudeLecaw Commandspy is written in Kotlin, and therefore requires the Kotlin runtime. It needs to be on the classpath, and so I opted to shadow it into the release jar. If you're aware of a way I could optimise it, I'd be glad to try.