Page 1 of 1

[SOLVED]How can i give admin-rights to a player using the mysql-database?

Posted: 15 Jul 2020, 18:11
by o0Julia0o
hi, How can i give admin-rights to a player using the mysql-database? Which table do i have to edit?

Over here maybe?
https://i.imgur.com/DqcVaut.png

I found out: Fill in a 1 to the level-field of the player.

But if i click on the buttons(Pyplanet settings and GameSettings) buttom right, i get an error-message:
https://i.imgur.com/PsYbV5Q.png

Re: How can i give admin-rights to a player using the mysql-database?

Posted: 23 Jul 2020, 12:18
by toffe
Use the newly introduced /claim command
Start up PyPlanet in the newest version and wait for the console message containing a claim command. Use this to gain admin rights.

Re: How can i give admin-rights to a player using the mysql-database?

Posted: 23 Jul 2020, 19:38
by o0Julia0o
And how do i do this without beeing able to write something in the chat ingame?

Is the database-edit correct? If i join the server it says: operator Julia is joining... or something like that. But if i click on the buttons(Pyplanet settings and GameSettings) buttom right, i get an error-messages - like in the screenshot some posts above this. So operator is not admin.

Re: How can i give admin-rights to a player using the mysql-database?

Posted: 28 Jul 2020, 15:13
by toffe
You can indeed also change it in the database, the players table.
Change the level column data to 3 (3 is master admin level number).

Re: [SOLVED]How can i give admin-rights to a player using the mysql-database?

Posted: 29 Jul 2020, 09:46
by o0Julia0o
But the claim-messages from pyplaned is still coming up. Anyway to deactivate it without chat?

Re: [SOLVED]How can i give admin-rights to a player using the mysql-database?

Posted: 29 Jul 2020, 10:43
by toffe
You can leave it there, it will always show.