[Mod] Per Player Gamemode [1.0][perplayer_gamemode]

Post Reply
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:

[Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by rubenwardy » Post

Enable or disable creative mode per player. Works well with MTG's creative inventory.

/gamemode mode - requires gamemode privilege
/gamemode playername mode - requires gamemode_super privilege

Where mode is either creative or survival

Version: 1.0
License: MIT
Dependencies: creative and sfinv (both found in Minetest Game 0.4.15)
Github: https://github.com/rubenwardy/perplayer_gamemode/
Download: https://github.com/rubenwardy/perplayer ... master.zip

Installation

Unzip the archive, rename the folder to perplayer_gamemode and
place it in minetest/mods/

( GNU/Linux: If you use a system-wide installation place
it in ~/.minetest/mods/. )

( If you only want this to be used in a single world, place
the folder in worldmods/ in your worlddirectory. )

For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by mahmutelmas06 » Post

That would be very usefull thank you
Can we set game mode for all ? or just a player
My Mods:

Beverage

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by Lone_Wolf » Post

Just what I was looking for!
Why not just make the commands require server privs?
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by ExeterDad » Post

The staff on HOMETOWN has been using a modified version of this mod for quite a while. It's very nice to be able to toggle in and out of creative as needed.
Highly recommended!

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by Lone_Wolf » Post

Mine want to take a look at this mod. It works like the default creative inventory does
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by rubenwardy » Post

Lone_Wolf wrote:Mine want to take a look at this mod. It works like the default creative inventory does
Not sure what this means, this mod does too. (although it was broken due to the creative mod's API changing)
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by Lone_Wolf » Post

rubenwardy wrote:
Lone_Wolf wrote:Mine want to take a look at this mod. It works like the default creative inventory does
Not sure what this means, this mod does too. (although it was broken due to the creative mod's API changing)
In creative mode octacian's mod doesn't take items you've placed from your inventory. Your health is removed and you r reach is increased
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

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: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by rubenwardy » Post

Lone_Wolf wrote:In creative mode octacian's mod doesn't take items you've placed from your inventory.
Exact same for this mod. The mod was probably broken when you tried due to the creative mod changing
Lone_Wolf wrote:Your health is removed and you r reach is increased
This isn't part of being in the "creative" mode, but is a per player damage. Not something I'm that interested in, personally
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

Re: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by Wuzzy » Post

It would be even better if there would be proper engine support for something like this.
Having a global Creative Mode setting is a major design flaw anyway.

Basically, this is just one of 100s of mods which fix a shortcoming and/or design flaw of the engine.

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: [Mod] Per Player Gamemode [1.0][perplayer_gamemode]

by rubenwardy » Post

Wuzzy wrote:It would be even better if there would be proper engine support for something like this.
Having a global Creative Mode setting is a major design flaw anyway.

Basically, this is just one of 100s of mods which fix a shortcoming and/or design flaw of the engine.
Creative mode is implemented by mods (creative in particular). All the engine does is have a check box to change a setting.

This mod modifies the creative mod to work better with per-player gamemode.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 50 guests