User and registration management

A robot --user parancsával érhetjük el a felhasználó kezelő adminisztrációs felületét. Let's look what can do with this.

If you enter the --user help command, you will get more information of available subcommands.

[14:05:41] <CyB> --user help
[14:05:41] <Jabber> 
User manager:
	add [host] <id> <name> - Create user registration with <id> and <name>
	drop [host] <id> - Drop connected user by <id>
	find [host] <condition> - Search for users with <condition>
	help - Show this help
	list [host] - Show registered users
	message [host] <condition> <message> - Send chat <message> to filtered users.
	remove [host] <id> - Remove user registration by <id>

Create registration

Use the --user add command to create a new user registration.

--user add [host] <id> <name>

Parameters:

  • cím: egy szolgáltatás azonosító, ami általában a hubok teljes címe (pl.: adc://dcwatch.hu:29673).
    Ha nem adjuk meg, akkor a robot az épp aktuális szolgáltatáshoz rendeli az új azonosítót. Használható a * paraméter is, ami az összes elérhető szolgáltatáshoz hozzá rendeli az azonosítót. Az egyedi azonosítók különböző szolgáltatások esetén nem egyformák, ezért figyeljünk oda.
  • id: the user's unique identifier what do you want to register. It's the CID on ADC and nick on NMDC hubs.
  • name: a nick to identify the created registration

Configure user rights

<liter>

Remove registration

You can delete a registration with --user remove command.

--user remove [host] <id>

Parameters:

  • cím: a szolgáltatás azonosítója ahonnan a felhasználót törölni szeretnénk
  • id: the identifier of registration what do you want to delete