Git Product home page Git Product logo

commandspy's People

Contributors

nikijaz avatar samolego avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

commandspy's Issues

${dimension} doesn't always work

The ${dimension} only works for signs, not players. It may work for commandblocks. but we don't have any of those.
This is an extract from the console:

13.04 12:59:06 [Server] Server thread/INFO Player Turtles2018 used command: /trigger back in ${dimension}
13.04 13:00:01 [Server] Server thread/INFO killerbean27 has reached the goal [Rock Bottom]
13.04 13:03:20 [Server] Server thread/INFO Sign in: minecraft:the_end at X: -31 Y: 2 Z: 288 executed command: kill @e[type=item,distance=..10]

As you can see, it just shows ${dimension} instead of saying the dimension when Turtles2018 runs the command. But the sign says that it is in the end.

Here is my config:

{
  "logging": {
    "logPlayerCommands": true,
    "logCommandBlockCommands": true,
    "logSignCommands": true,
    "logToConsole": true,
    "logToOps": true
  },
  "messages": {
    "commandBlockMessageStyle": "Command block in: ${dimension} at X: ${x} Y: ${y} Z: ${z} executed command: ${command}",
    "playerMessageStyle": "Player ${playername} used command: ${command} in ${dimension}",
    "signMessageStyle": "Sign in: ${dimension} at X: ${x} Y: ${y} Z: ${z} executed command: ${command}"
  },
  "blacklistedCommands": [
    "testCommandThatShouldNotBeLogged"
  ]
}

Loggable commands

What commands can be logged?
Can commands from ClientCommands and Baritone be logged or no?

"logToOps": false does not work when using the mods EssentialCommands or Kits

For some reason, whenever either of these mods are loaded alongside CommandSpy, CommandSpy ignores the false setting for "logToOps"

Minecraft 1.18.1
fabric-loader: 0.12.12
fabric-api: 0.45.0+1.18
CommandSpy: 1.2.4
EssentialCommands: 0.19.0-mc1.18.1 https://github.com/John-Paul-R/Essential-Commands
Kits: 1.4.0-mc1.18 https://modrinth.com/mod/kits

Also, in case the info will help, when using the Styled Chat mod, these two mods (EssentialCommands and Kits) also for some reason applies the prefix/colors/styles for first rank in the Styled Chat config file, even if "opLevel" is set to 5 or higher (setting it to 4 or lower requires that OP level to apply the prefix/colors/style). Whatever these two mods are doing that CommandSpy does not like, Styled Chat does not like either.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.