Page 1 of 1

Creative mod

PostPosted: Sun Mar 17, 2013 14:31
by jojoa1997
in minecraft you just have to type "/gamemode #" to change modes. 0 is survival, 1 is creative, 2 is adventure. will ingame creative and survival switch be in our future soon?

PostPosted: Sun Mar 17, 2013 14:44
by PilzAdam
The current creative mode overrides the hand to break everything. You cant to this while the game is running, so a command for that is currently impossible.

PostPosted: Tue Mar 19, 2013 01:46
by lord_james
I think it could be possible re-write creative mode. A variable could keep the player's name and his current mode and later, in another part of the script, check the player's mode. For example, a function that destroy all punched nodes if the player is in creative mode; etc.

PostPosted: Tue Mar 19, 2013 10:05
by PilzAdam
lord_james wrote:I think it could be possible re-write creative mode. A variable could keep the player's name and his current mode and later, in another part of the script, check the player's mode. For example, a function that destroy all punched nodes if the player is in creative mode; etc.

The problem with these functions is that you have to click for every block and cant hold down the mouse button.

PostPosted: Tue Mar 19, 2013 18:05
by lord_james
It could be a limitation, but add the posibility to destroy nodes with all tools and creative mode per player is a great feature. In the another hand, the player won't destroy unexpected nodes

PostPosted: Tue Mar 19, 2013 18:35
by mauvebic
What i did was i added a 'creative' privilege for creative mode, so that the infinite inventory only shows up for players who have it. the only thing missing is something to update the players' formspec when the priv is granted/revoked.

PostPosted: Tue Mar 19, 2013 19:59
by lord_james
The problem with these functions is that you have to click for every block and cant hold down the mouse button.


The real problem is the other side: one click, a lot of nodes without control