Player name in locked chest

User avatar
neko259
Member
 
Posts: 804
Joined: Sun Jun 19, 2011 06:51

Player name in locked chest

by neko259 » Sun Feb 05, 2012 20:33

Locked chest should have it's owner name in brackets when looking on it with mouse.

"Locked chest (neko259)"

Also, there has to be a way to destroy it by server op. Or a griefer would build some of these chest and anyone won't be able to remove them.
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj
 

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

by sfan5 » Sun Feb 05, 2012 21:16

+2
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

by XCalibur54 » Mon Feb 06, 2012 01:41

+1 for both ideas.
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

User avatar
jji7skyline
Member
 
Posts: 28
Joined: Tue Jan 31, 2012 01:39
 

User avatar
cisoun
Member
 
Posts: 232
Joined: Tue Apr 19, 2011 18:56
Location: Switzerland
GitHub: cisoun
IRC: cisoun
In-game: cisoun

by cisoun » Mon Feb 06, 2012 05:52

Yep, that would be useful for shouting at someone who put one at a wrong place.
Not here for a while due to some troubles between my graphic card and Minetest.
Cisoun's Texture Pack | The Conifers Mod (deprecated) | Faenza icons for Minetest |
Website
 

User avatar
neko259
Member
 
Posts: 804
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Feb 06, 2012 05:53

cisoun wrote:Yep, that would be useful for shouting at someone who put one at a wrong place.

Or banning him :3
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj
 

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

by sfan5 » Mon Feb 06, 2012 06:18

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

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

by randomproof » Tue Feb 07, 2012 21:20

As far as I can tell this can not be done with a mod, but if you really want it you can make a change to the source code and it seems that the change is only needed in the client to work.
Just replace this function in 'content_nodemeta.cpp'
Code: Select all
std::string LockingChestNodeMetadata::infoText()
{
    std::string output;
    output = "Locking Chest (";
    output = output + getOwner() + ")";
    return output;
}
 

wokste
Member
 
Posts: 78
Joined: Sat Feb 11, 2012 09:06

by wokste » Sun Feb 26, 2012 14:53

I think server admins should be considered to be owner of any placed item (currently only chests). I think this means:
  • They can look inside, usable if you suspect that someone is cheating
  • They can destroy chests
PS: I would change the text to "Owner: " + getOwner()
We must be careful not to clone Notches mistakes.
 

oblitorator
Member
 
Posts: 12
Joined: Mon Jan 16, 2012 00:39
Location: Dunbar.Ave 503 WV

by oblitorator » Tue Feb 28, 2012 02:47

i like it C:
you can get a membership card in the mail for my server just PM me! a membership card is basicly VIP! Membership bonuses:
geting into golden gates (Membership Gates),mining in awesome places like:lava falls,the death cavern and a diggy diggy hole!
also you will get rare items in the mail evry week (in game)
so get one today! ;)
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Wed Mar 28, 2012 20:55

http://www.filedropper.com/chests
locked chests with player name; brick, sandstone, stone, and wood. The wood recipe was changed to using sticks. Let me know if you want locked doors, that display the name also.
Last edited by bgsmithjr on Wed Mar 28, 2012 21:12, edited 1 time in total.
 

lkjoel
Member
 
Posts: 779
Joined: Wed Feb 29, 2012 19:27
Location: Gallifrey

by lkjoel » Thu Mar 29, 2012 00:35

randomproof wrote:As far as I can tell this can not be done with a mod, but if you really want it you can make a change to the source code and it seems that the change is only needed in the client to work.
Just replace this function in 'content_nodemeta.cpp'
Code: Select all
std::string LockingChestNodeMetadata::infoText()
{
    std::string output;
    output = "Locking Chest (";
    output = output + getOwner() + ")";
    return output;
}

That being said, it would be better if locking chests were fully in a mod, don't you think?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Thu Mar 29, 2012 12:37

I just posted a mod with locked chests that displays the owner name. With no patches.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo

by Death Dealer » Thu Mar 29, 2012 15:17

bgsmithjr wrote:http://www.filedropper.com/chests
locked chests with player name; brick, sandstone, stone, and wood. The wood recipe was changed to using sticks. Let me know if you want locked doors, that display the name also.

ya locked doors :D god job with the chests to:D
Keep calm and code python^_^
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo

by Death Dealer » Thu Mar 29, 2012 16:16

bgsmithjr wrote:Here are locked doors that display the owners name
http://www.filedropper.com/zlpdoors

wow dude your fast o.o NICE!!!
Keep calm and code python^_^
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Thu Mar 29, 2012 16:19

Thanks, I already had locked doors and chest, so adding the owner name was easy.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo

by Death Dealer » Thu Mar 29, 2012 16:24

bgsmithjr wrote:Thanks, I already had locked doors and chest, so adding the owner name was easy.

if you say so:D still good job.
Keep calm and code python^_^
 

Michael Eh?
Member
 
Posts: 390
Joined: Sun Jan 01, 2012 17:21

by Michael Eh? » Mon Apr 02, 2012 02:43

it would also be nice if a person is banned that their locked chests revert to normal chests or admin can empty them an return stolen contents.
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Mon Apr 02, 2012 16:49

I am working on something else, but I will add it to my to-do list.
 

Michael Eh?
Member
 
Posts: 390
Joined: Sun Jan 01, 2012 17:21

by Michael Eh? » Tue Apr 17, 2012 01:35

anyone got a windows compile of this mod for 0.3.1? I'm on a server that I could use this now.
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 2 guests