def _sb(self, player, args):
		if not self.deny(player): return
		if len(args) > 0:
			subcommand = args[0]
			if subcommand == "area":
				radius = args[1] # squareRadius, not circular. not really a true radius.
				
				player.message("&cApologies, but this command has not been implemented yet.")
			elif subcommand == "toggle":
				if player.username in self.toggled:
					self.toggled.remove(player.username)
					player.message("&c&lSmallBrother: &r&cTurned off check mode.")
				else:
					self.toggled.append(player.username)
					player.message("&c&lSmallBrother: &r&bTurned on check mode. Left/right click on a block to check the history.")
			elif subcommand == "block":
				x, y, z = int(args[1]), int(args[2]), int(args[3])
				actions = self.lookupBlock(x, y, z)
				found = False
				for action in actions:
					self.displayEntry(player, action)
				if len(actions) < 1:
					player.message({"text": "Could not find any actions in the specified area.", "color": "red"})
				else:
					player.message({"text": "End of list.", "color": "red", "bold": True})
			elif subcommand == "_debug_parse_region_data":
				x, y, z = player.getPosition()
				chunk = ChunkReader(int(x/1024), int(z/1024), self.logger.worldName)
				actions = chunk.load()
				for i in actions:
					player.message(str(i))
			elif subcommand == "help":
				player.message("&lSmallBrother's commands:")
				commands = {"toggle": {"text": "Toggles breaking or placing blocks that check for events in the block that you placed or broke.", "args": ""},
				"area": {"text": "Scan the square radius around the player for events.", "args": "<squareRadius>"},
					"block": {"text": "Checks those specific coordinates for action.", "args": "<x> <y> <z>"}}
				for i in commands:
					com = commands[i]
					player.message("&b&l/sb %s &r&c&o%s: &r&a%s" % (i, com["args"], com["text"]))
			else:
				player.message("&c&lSmallBrother: &r&cUnknown sub-command '%s'. Please see /sb help for a list of sub-commands." % subcommand)
		else:
			player.message("&a&lSmallBrother v1.0")
			player.message("&aFor help with SmallBrother's commands, run /sb help.")
dataset/ETHPy150Open benbaptist/minecraft-wrapper/example-plugins/SmallBrother.py/Main._sb/original