[Solved] Revoke ADMIN's privilege

Post Reply
User avatar
AspireMint
Member
Posts: 415
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint
Location: Stuck at spawn

[Solved] Revoke ADMIN's privilege

by AspireMint » Post

In local multiplayer game ADMIN has all privileges. Some of them i want to revoke, but i can't :/

Code: Select all

minetest.register_privilege("test", { description = "testing privilege", give_to_singleplayer = false })
then as ADMIN i type: /revoke ADMIN test , /privs and still have "test"

Any idea how to revoke "test" privilege?
Last edited by AspireMint on Wed Feb 28, 2018 20:52, edited 2 times in total.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Revoke ADMIN's privilege

by rubenwardy » Post

in 0.5.0, you'll be able to revoke any privileges from the admin which are give_to_singleplayer=false

Until then, you should play as a user other than the admin
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
AspireMint
Member
Posts: 415
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint
Location: Stuck at spawn

Re: Revoke ADMIN's privilege

by AspireMint » Post

Aaah, cool, thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests