I have a question about game modes.

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

I have a question about game modes.

by Tmanyo » Wed Jan 27, 2016 01:07

I seem to have this issue with a new server I host. It is a survival server and it is survival for everyone but me; no matter what I have tried I can not seem to get out of creative. Does anyone know how to solve this issue? Thank you in advance.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: I have a question about game modes.

by benrob0329 » Wed Jan 27, 2016 01:33

Do you use Unified Inventory?
 

User avatar
firefox
Member
 
Posts: 1185
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox

Re: I have a question about game modes.

by firefox » Wed Jan 27, 2016 10:01

if you are the admin of the server, you have full access to all abilities.
limiting yourself could be problematic, because you may need that power to moderate the server.

i suggest to register a 2nd account as a normal player.
then you can play survival with that account and still use your admin account to fix problems.
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: I have a question about game modes.

by Dragonop » Wed Jan 27, 2016 16:15

That can't be, if your server is survival, all the players are in survival.
Please tell us what mods are you using, that's probably the reason.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: I have a question about game modes.

by Wuzzy » Wed Jan 27, 2016 19:59

There is no such thing as a “game mode” in Minetest.

There are several settings which are more or less independent from each other.
There is Creative Mode which allows you to place stuff freely.
There is PvP which allows players to attack each other. If PvP disabled, players can NOT attack each other!
You can also toggle damage.
And much more.

But these settings apply to all players, there is no exception. But mods can mess around with Minetest a lot, so mods *might* be the reason for your problem, but I am not sure about that. But yeah, please post the mods you are using, just in case.

Anyways, you can combine these settings as you wish.
For “survival”, you probably want to disable Creative Mode, enable PvP combat and turn on damage.

PvP can only be edited in minetest.conf (I don't know the default setting), the other settings are changable in Minetest before you start the server.

For reference, here are the relevant settings for minetest.conf:
Creative Mode disabled: creative_mode = false
PvP enabled: enable_pvp = true
Damage enabled: enable_damage = true

You don't need to be admin of the server directly if you have set these values *before* the server was started, just edit the minetest.conf (or the in-game checkboxes) before you start the server. But if you want to change these settings in-game, you need the “server” privilege.
However, as far I know, some of these settings also only apply after a server restart, sorry. :-(

For more information about working with servers, look here:
http://wiki.minetest.net/Server
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: I have a question about game modes.

by Tmanyo » Wed Jan 27, 2016 23:32

benrob0329 wrote:Do you use Unified Inventory?


I do have unified inventory on there.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: I have a question about game modes.

by benrob0329 » Thu Jan 28, 2016 00:59

Then revoke the "creative" priv, you'll still be able to use giveme for admining.
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: I have a question about game modes.

by Tmanyo » Sun Jan 31, 2016 04:00

I did revoke the creative priv, for some odd reason it stays every time. It says after I revoke it: Privs of tmanyo:.......creative........
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: I have a question about game modes.

by rubenwardy » Sun Jan 31, 2016 04:49

Admins automatically have all privs, there's no way around it afaik.
 

DI3HARD139
Member
 
Posts: 144
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: I have a question about game modes.

by DI3HARD139 » Sun Jan 31, 2016 08:27

It only seems to effect server that are survival from the start. RRH-Economy does the same thing except that its impossible to revoke any privs from my profile. Doesnt seem to effect creative based servers.
Servers: mt.rrhgameservers.ml = [RRH] MT-Creative (48250), RRH-Survival (48253), Unknown (48255), Minetest City (48262)
Specs = Intel Core i5-3570s 16GB DDR3 2TB HDD, Ubuntu Server 16.04.1 x64 XFCE
------------------------------------------------------------
System: Lenovo Thinkstation S30 = Intel Xeon E5-2665, 20GB DDR3 (1333MHz Non-ECC), Gigabyte GTX1060 6GB, 3.5TB Storage, Win 10 Pro x64.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: I have a question about game modes.

by Wuzzy » Sun Jan 31, 2016 09:29

It seems you are the server admin. Like rubenwardy said, the admin has all privileges and most of them can NOT be revoked. But Minetest does not have any useful error message for this.
But you can change who's considered admin of the server.
It is very simle, it's based on your player name.

The “name” variable in minetest.conf is also the admin name. The player with this name will be the admin. So you must somehow join the server without this name.
Sadly, this is also used for your regular multiplayer name, it's a silly double meaning of this config variable.

Change the name behind “name = ” in your minetest.conf to something else. You should join with this name once at least to set a password, otherwise everyone who knows the admin name can just join with the admin name and do everything (as far I know).

Then start the server as a seperate process and just join this server with your regular name; now you should have normal privileges like any normal player. To get new privileges, you must join as the admin (so you have grant) and grant your regular player the privileges you want.



Gosh, I just realized how fucked up this whole “admin” model in Minetest actually is. xD
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
Ben
Member
 
Posts: 157
Joined: Tue Mar 31, 2015 20:09

Re: I have a question about game modes.

by Ben » Sun Jan 31, 2016 15:28

Wuzzy wrote:It seems you are the server admin. Like rubenwardy said, the admin has all privileges and most of them can NOT be revoked.


I was about to write that I think they should all be revokable except for the "privs" privilege itself – then an admin would always be able to re-grant themselves everything.

But thinking about it some more made me realize that the "admin has all privileges all the time" makes sense, and it is instead the privileges themselves which are faulty!

Consider the "fly" privilege: having this privilege allows you to enter fly mode, it does not force you to, you can still choose to walk. Same with "fast" and "noclip".

Now consider the "creative" privilege: it does force you into creative mode, if I understand correctly. The correct behaviour (in my opinion) would be to allow you to enter creative mode, not force you into it. You should still be able to play "uncreatively", but have the privilege to change this. This would require another system to keep track of which player actually was in creative (like flying or noclip), but if it's a mod that does this (Unified Inventory, right?), it should be relatively easy.

As an aside: I'd love for "damage enabled" and "pvp enabled" to be per-player states to, but that's a topic I'm planning to dig into some other time.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 31 guests

cron