Page 1 of 1
Player name in locked chest

Posted:
Sun Feb 05, 2012 20:33
by neko259
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.

Posted:
Sun Feb 05, 2012 21:16
by sfan5
+2

Posted:
Mon Feb 06, 2012 01:41
by XCalibur54
+1 for both ideas.

Posted:
Mon Feb 06, 2012 05:12
by jji7skyline
Definitley.

Posted:
Mon Feb 06, 2012 05:52
by cisoun
Yep, that would be useful for shouting at someone who put one at a wrong place.

Posted:
Mon Feb 06, 2012 05:53
by neko259
cisoun wrote:Yep, that would be useful for shouting at someone who put one at a wrong place.
Or banning him :3

Posted:
Mon Feb 06, 2012 06:18
by sfan5
xD

Posted:
Tue Feb 07, 2012 21:20
by randomproof
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'
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
std::string LockingChestNodeMetadata::infoText()
{
std::string output;
output = "Locking Chest (";
output = output + getOwner() + ")";
return output;
}

Posted:
Sun Feb 26, 2012 14:53
by wokste
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()

Posted:
Tue Feb 28, 2012 02:47
by oblitorator
i like it C:

Posted:
Wed Mar 28, 2012 20:55
by bgsmithjr
http://www.filedropper.com/chestslocked 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.

Posted:
Thu Mar 29, 2012 00:35
by lkjoel
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'
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
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?

Posted:
Thu Mar 29, 2012 00:38
by LolManKuba
+2 Good idea neko.

Posted:
Thu Mar 29, 2012 12:37
by bgsmithjr
I just posted a mod with locked chests that displays the owner name. With no patches.

Posted:
Thu Mar 29, 2012 15:17
by Death Dealer
bgsmithjr wrote:http://www.filedropper.com/chestslocked 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

Posted:
Thu Mar 29, 2012 16:04
by bgsmithjr
Here are locked doors that display the owners name
http://www.filedropper.com/zlpdoors

Posted:
Thu Mar 29, 2012 16:16
by Death Dealer
wow dude your fast o.o NICE!!!

Posted:
Thu Mar 29, 2012 16:19
by bgsmithjr
Thanks, I already had locked doors and chest, so adding the owner name was easy.

Posted:
Thu Mar 29, 2012 16:24
by Death Dealer
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.

Posted:
Mon Apr 02, 2012 02:43
by Michael Eh?
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.

Posted:
Mon Apr 02, 2012 16:49
by bgsmithjr
I am working on something else, but I will add it to my to-do list.

Posted:
Tue Apr 17, 2012 01:35
by Michael Eh?
anyone got a windows compile of this mod for 0.3.1? I'm on a server that I could use this now.