Darthfett / helperbot

A mineflayer bot that helps you do things in minecraft.
57 stars 14 forks source link

ability to set master(s) #6

Closed andrewrk closed 11 years ago

andrewrk commented 11 years ago

I should be able to set a command line argument which sets the bot to only obey a certain username or set of usernames.

maybe --master <username> and you could use the parameter multiple times to have multiple masters.

Once logged in, masters should be able to add or remove masters, much like server ops can add or remove ops.

Darthfett commented 11 years ago

This will be one of the features that comes with the chat_commands plugin.

Darthfett commented 11 years ago

As of bae124950f71e9b81178756eb21137d9afefa0e2, you can use the --masters username option to set username as the bot's master. This is currently used only in chat_commands, and only supports a single username, but will soon support a comma-separated list of usernames.

Darthfett commented 11 years ago

As of 52aed4e, you can use the --masters username1,username2,username3,... command line option to set the bot's masters to username1, username2, username3, ... etc.

One last thing needed is two commands to add/remove a master from a bot.

Darthfett commented 11 years ago

Fixed in 0a5748c00571a4b5dcb40885616b25bf54237afd.