[Mod] Locked Sign [20130216] [locked_sign]

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

[Mod] Locked Sign [20130216] [locked_sign]

by kotolegokot » Mon Jul 02, 2012 17:43

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: 831
Joined: Tue Dec 13, 2011 13:45

by redcrab » Mon Jul 02, 2012 18:18

+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.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jul 02, 2012 18:36

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

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Mon Jul 02, 2012 19:01

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.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

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

by kotolegokot » Mon Jul 02, 2012 19:07

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 » Mon Jul 02, 2012 19:09

Which version are you playing?
 

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

by kotolegokot » Mon Jul 02, 2012 19:14

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
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 10:36

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

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Sat Jul 07, 2012 22:44

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.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Sat Jul 07, 2012 23:01

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

by kotolegokot » Sun Jul 08, 2012 07:08

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

by kotolegokot » Sun Jul 08, 2012 07:16

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.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Sun Jul 15, 2012 13:11

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?

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

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

by Temperest » Mon Jul 16, 2012 02:17

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 » Mon Jul 16, 2012 03:14

 

Orby
Member
 
Posts: 48
Joined: Sat Aug 18, 2012 03:59

by Orby » Sun Dec 09, 2012 18:50

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.
{ LinuxGaming.us:30000 LinuxGaming.us 0.4.6 Server | www.LinuxGaming.us | irc.linuxgaming.us #linuxgaming #minetest }
 

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

by kotolegokot » Mon Dec 10, 2012 12:36

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 » Tue Dec 18, 2012 00:05

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

by kotolegokot » Tue Dec 18, 2012 05:10

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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Mon Dec 24, 2012 15:12

You should make a privilage called "sign_editor" which means they can edit and remove locked signs
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Wed Feb 13, 2013 04:26

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

by BorisGrishenko » Wed Feb 13, 2013 07:23

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

by kotolegokot » Fri Feb 15, 2013 03:31

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

by kotolegokot » Sat Feb 16, 2013 06:54

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: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Fri Jun 20, 2014 14:24

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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
meta:set_string("formspec", "hack:sign_text_input")


..to..

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
meta:set_string("formspec", "field[text;;${text}]")


..then it will work fine again :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

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

by Krock » Fri Jun 20, 2014 15:05

TenPlus1 wrote: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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
meta:set_string("formspec", "hack:sign_text_input")


..to..

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
meta:set_string("formspec", "field[text;;${text}]")


..then it will work fine again :)

Good point. I created a merge request, so not everybody needs to change that manually ;)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

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

by Fixerol » Wed May 11, 2016 21:45

Reuploaded it here with fix by TenPlus1
Attachments
locked_sign.zip
(22.44 KiB) Downloaded 37 times
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 10 guests

cron