Skip to content
Mike edited this page Mar 13, 2014 · 1 revision

/dbs_slot [add/del] [craft/smelt] [id:meta:slot]

This command is used to manage blocks and their slot(s) that can be used for crafting or smelting.

eg. Imagine the vanilla minecraft Furnance has a block id of 61, you decide that you want to add the furnance block as a valid smelting tracker. You'd do this by finding out which slot is the crafted slot and then use the following command /dbs_slot add smelt 61:0:4 this would add the furnance to the list of slots/blocks to track for player crating events.

Note: The slot part of the command can be a comma separated list of slots, /dbs_slot add smelt 61:0:4,5,6 Note2: Slots can be removed in the same way except using del instead of add!

/dbs_config [load/save/edit]

This command is used to modify the config options of dbStats while the game is running.

The Save option will cause all the current settings the game knows to be saved to the config file.

The Load option will load all the settings again from the config file, this can be useful to edit the config and have it take effect without restarting the game.

The Edit option can be used to modify a select few settings

  • databasedelay - The number of seconds to wait between uploading the current stored statistics to the database, Minimum value is 15.
  • playerupdatedelay - The number of seconds to poll player trackers for updates (Mostly used for movements) Minimum value is 15!
  • debug - Turns On/Off debug messages (NOTE: this does not log sql messages, this logs internal issues and exceptions only)
  • logsql - Turns On/Off sql messages being logged (NOTE!: Highly remommend this being off, unless you want huge logs)
  • creativestats - Can turn stats tracking while in creative mode On/Off

/dbs_nbtdebug [on/off]

This command is simply for debugging nbt items/values when a player picks them up (used yet??)

/dbs_slotdebug [On/Off]

When this is enabled the player will be able to see what slot an item was pulled out of and how many of that item. This can be used in conjunction with the /dbs_slot add/del command to add custom blocks and their slots.

/dbs_tracking [enable/disable/status] [tracker]

This command can be used to toggle the statistics that are currently being tracked.

  • Status - Gives you a list of all the trackers and their current state (On/Off)
  • Enable - enable followed by the tracker name (as seen in the status output) will enable a tracker
  • Disable - disable followed by the tracker name (as seen in the status output) will disable a tracker

NOTE: Turning trackers on or off will save those options to the config file at the time they are toggled. This is so they are remembered when server restarts.

Clone this wiki locally