Page 1 of 1

[Mod] Search the creative inventory [creative]

PostPosted: Thu Nov 01, 2012 18:50
by Jeija
Image

This is just a simple but useful feature: You can search the creative mode inventory.
It will search the description and the name of the item.
However, all players have the same creative inventory and therefore all players have the same search in Multiplayer.
This could also be considered as feature, to show other players some items.

Download
as .zip

Installation
Replace the old "creative" mod by this new one.

License: WTFPL
Dependencies: none

PostPosted: Thu Nov 01, 2012 18:53
by PilzAdam
Jeija wrote:License: WTFPL

Thats wrong. It has to be LGPL because the code of the default creative inventory is LGPL.

PostPosted: Thu Nov 01, 2012 18:55
by Jeija
PilzAdam wrote:
Jeija wrote:License: WTFPL

Thats wrong. It has to be LGPL because the code of the default creative inventory is LGPL.

No it's not.
Source: https://github.com/celeron55/minetest_game/blob/master/mods/creative/README.txt

PostPosted: Thu Nov 01, 2012 18:56
by PilzAdam
Jeija wrote:
PilzAdam wrote:
Jeija wrote:License: WTFPL

Thats wrong. It has to be LGPL because the code of the default creative inventory is LGPL.

No it's not.
Source: https://github.com/celeron55/minetest_game/blob/master/mods/creative/README.txt

Oooppps, sorry. I thought the whole minetest_game would be LGPL.

PostPosted: Thu Nov 01, 2012 20:13
by sfan5
Really useful Mod

PostPosted: Fri Nov 02, 2012 01:23
by cornernote
@Jeija, you are a god standing among men.

I'm going to have to steal this to use in Craft Guide and Inventory Plus.

PostPosted: Fri Nov 02, 2012 01:58
by cornernote
correct me if i am wrong, but if 1 player does a search, all players are effected ?

EDIT:
i think each player needs their own detached inventory for this to work in multi-player
players detached inventory should be created when player joins, and removed when player quits

PostPosted: Fri Nov 02, 2012 07:21
by Jeija
correct me if i am wrong, but if 1 player does a search, all players are effected ?

Yeah, unfortunately. Anyway, I'll try out your suggestion, so that you will be able to choose between synced and non-synced.

PostPosted: Fri Nov 02, 2012 13:25
by sfan5
Moved to Mod Releases!

PostPosted: Mon Nov 12, 2012 00:14
by lord_james
I think drowning mod is a good example for add the synced and non-synced search:

http://minetest.net/forum/viewtopic.php?id=1402

PostPosted: Thu Nov 15, 2012 16:18
by madarexxx
Found a bug - after some search, i want to reset search, by clicking "search" with empty text field. After this i can't switch pages, use refill and trash. I hate this bug!

PostPosted: Thu Nov 15, 2012 16:31
by Jeija
Just wait a while, you should be able to switch pages again after just a few seconds.

PostPosted: Sat Nov 17, 2012 23:08
by qwrwed
Folder is invalid or corrupted :( Can someone re-upload this mod please?

PostPosted: Tue Jul 02, 2013 17:51
by Slain
is there any way to make this compatible with http://forum.minetest.net/viewtopic.php?id=5399 - creativechanger