[Mod] Locked Sign [20130216] [locked_sign]

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

[Mod] Locked Sign [20130216] [locked_sign]

by kotolegokot » Post

This mod adds locked signs in Minetest.
Only placer, main admin and sign editors (players, who have "sign_editor" privilege) can dig and edit it.

Image

Code: GPLv3, textures: CC BY-SA

Mod dependencies: default

Download

Github repository
Last edited by kotolegokot on Sat Feb 16, 2013 06:58, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
redcrab
Member
Posts: 833
Joined: Tue Dec 13, 2011 13:45
Location: France
Contact:

by redcrab » Post

+1000 : great
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Very nice!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Menche
Member
Posts: 1001
Joined: Sat Jul 02, 2011 00:43
IRC: Menchers
In-game: Menche
Location: An island in a lava lake.

by Menche » Post

Does the (owned by user) message at the end use some of the limited space for the sign's contents?
An innocent kitten dies every time you top-post.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

No.
Screen
Last edited by kotolegokot on Mon Jul 02, 2012 19:15, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
JackieFoxDude
Member
Posts: 10
Joined: Sun Jul 01, 2012 19:15

by JackieFoxDude » Post

Which version are you playing?

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

0.4.dev-20120606
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Idea for recipe: keep 6 planks but replace the stick with a steel ingot instead.

User avatar
Menche
Member
Posts: 1001
Joined: Sat Jul 02, 2011 00:43
IRC: Menchers
In-game: Menche
Location: An island in a lava lake.

by Menche » Post

Could you include a 16x16 texture? The one you have looks out of place with default resolution packs.
An innocent kitten dies every time you top-post.

User avatar
Gambit
Member
Posts: 453
Joined: Sat Oct 29, 2011 19:31
Location: United States

by Gambit » Post

Nice texture pack. I could draw up a proper one for MineToon 2.0. Perhaps a Plaque?
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

Menche wrote:Could you include a 16x16 texture? The one you have looks out of place with default resolution packs.
16x16 textures named "locked_sign_sign_wall_lock16x16.png" is in the textures folder.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

Gambit wrote:Nice texture pack. I could draw up a proper one for MineToon 2.0. Perhaps a Plaque?
I would be very grateful.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Gambit wrote:Nice texture pack. I could draw up a proper one for MineToon 2.0. Perhaps a Plaque?
That's Minetoon 1.0, how could you forget your own pack?

Temperest
Member
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Post

I assume Gambit means the next version of MineToon.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.

User avatar
Mallot1
Member
Posts: 85
Joined: Wed Jun 27, 2012 04:38

by Mallot1 » Post


Orby
Member
Posts: 85
Joined: Sat Aug 18, 2012 03:59
GitHub: orbitaldecay
IRC: orbitaldecay
In-game: Orby
Location: Baltimore, MD

by Orby » Post

Is line 39 of init.lua

return player:get_player_name() == owner or sender:get_player_name() == minetest.setting_get("name")

Supposed to be

return player:get_player_name() == owner or player:get_player_name() == minetest.setting_get("name")

? Because I'm getting sender == nil errors otherwise.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

Orby wrote:Is line 39 of init.lua

return player:get_player_name() == owner or sender:get_player_name() == minetest.setting_get("name")

Supposed to be

return player:get_player_name() == owner or player:get_player_name() == minetest.setting_get("name")

? Because I'm getting sender == nil errors otherwise.
Fixed, thanks.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

Kryuko
Member
Posts: 76
Joined: Tue Dec 11, 2012 20:26

by Kryuko » Post

My server crashed and i think the problem is this mod.
Here's a screenshot of the crash:
http://i.imgur.com/qIvNB.png
Last edited by Kryuko on Tue Dec 18, 2012 00:38, edited 1 time in total.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

This bug already is fixed. Download the mod again. Download
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

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

by rubenwardy » Post

You should make a privilage called "sign_editor" which means they can edit and remove locked signs
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Gambit
Member
Posts: 453
Joined: Sat Oct 29, 2011 19:31
Location: United States

by Gambit » Post

Image Image

Sorry for the long wait, but I figured I pass on some MineToons texture for 2.0 to some of the mods that may need it. MineToon 2.0 is very near and I'm in a good mood because of it.

The first sign with the chain is the normal sign, whereas the plaque sign is the locked sign. Cheers.
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001

User avatar
BorisGrishenko
Member
Posts: 206
Joined: Sun Jan 20, 2013 06:11
Location: Battlehorn Castle, Cyrodiil

by BorisGrishenko » Post

The idea is nice on servers that have no protection, but in the servers that has protection systems, its kinda useless but more less its great!
Hi, I'm this guy at his home somewhere in a very hot place.
Currently working on houses based in real and virtual worlds.
Judge Minister Claude Frollo should be a Disney Prince.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

Gambit wrote:Image Image

Sorry for the long wait, but I figured I pass on some MineToons texture for 2.0 to some of the mods that may need it. MineToon 2.0 is very near and I'm in a good mood because of it.

The first sign with the chain is the normal sign, whereas the plaque sign is the locked sign. Cheers.
Oh, this is super!
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
kotolegokot
Member
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Post

rubenwardy wrote:You should make a privilage called "sign_editor" which means they can edit and remove locked signs
I like this idea.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Locked Sign [20130216] [locked_sign]

by TenPlus1 » Post

Certain changes to the latest 0.4.9 dev versions of minetest now crash your game when using hack:sign_text_input so if you change the following line in your mod:

Code: Select all

meta:set_string("formspec", "hack:sign_text_input")
..to..

Code: Select all

meta:set_string("formspec", "field[text;;${text}]")
..then it will work fine again :)

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests