Minetest_game: Show messages from bed above the hotbar (and other requests)

Created on 22 Mar 2017  路  11Comments  路  Source: minetest/minetest_game

If you right-clicking on bed, if it's daytime, will show a chat message, i don't like it. Improve message like this:
screenshot_20160828_230727

If you standing on 4 blocks away from the bed and right-clicking, if it's night time, will show a message:
screenshot_20160828_231044

Because, player will set a spawnpoint 4 blocks away from bed. Too far away.

Must be very closer to the bed, and then right-click to sleep. Showing marking with torches, closer to bed, to detect a player, to sleep:
screenshot_20160828_231159

This feature based on Minecraft: https://www.youtube.com/watch?v=3GrPWuLmjn4&t=1m10s (Stop watching video at 1:20)
https://www.youtube.com/watch?v=9qRRQBCWDvw&t=3m28s (Stop watching video at 3:34).

Also, add the code for bed:

if_player_sleeping:true - Player detects if sleeping on bed. Because, it's used to prevent another player sleeping on occupied bed (If player is sleeping), using a glitch.
if_player_sleeping:false - Player detects if it's not sleeping on bed.

Engine change needed Request / Suggestion

Most helpful comment

Csm isn't the solve all solution to everything

All 11 comments

I agree. I don't like the chat messages too

This is also an issue with the engine - it should add a single api for this which takes into account multiple messages being shown as once. Would be nice if "fly enabled" etc could also use this, but that's a client side message.

I agree that the chat is an easily missed place to put it

@nerzhul +CSM?

Csm isn't the solve all solution to everything

Can be applied on other mod message who spam the chat as worldEdit.

If you right-clicking on bed, if it's daytime, will show a chat message, i don't like it. Improve message like this:

Game messages can only be displayed in chat, for other positions this is an engine issue..

Must be very closer to the bed, and then right-click to sleep. Showing marking with torches, closer to bed, to detect a player, to sleep:

This is determined by player-node interaction distance, a custom per-node interaction distance is an engine request.

So i assume this request is for this;

Also, add the code for bed:
if_player_sleeping:true - Player detects if sleeping on bed. Because, it's used to prevent
another player sleeping on occupied bed (If player is sleeping), using a glitch.
if_player_sleeping:false - Player detects if it's not sleeping on bed.

@sofar any comment for this 3rd request? I don't really understand it.

@WSDguy2014

Also, add the code for bed:
if_player_sleeping:true - Player detects if sleeping on bed. Because, it's used to prevent
another player sleeping on occupied bed (If player is sleeping), using a glitch.
if_player_sleeping:false - Player detects if it's not sleeping on bed.

I don't understand the request, sorry.
Close in 1 month if no clarification.

Because, player will set a spawnpoint 4 blocks away from bed. Too far away.

Are you sure this is the case? By checking the code it seems the player gets its position set to be next to the bed before setting any spawnpoints, so in theory the spawnpoint is always right next to the bed, not 4 blocks away.

Remember that things in Minetest don't work like in Minecraft, including MC-specific glitches or workarounds. The bed distance logic being different isn't a bug, copying Minecraft is not an MTG goal.

Moving notifications out of the chat would be a big improvement IMO, servers with lots of chat make if difficult to see notifications if in chat as they can scroll by very quickly. This would also have the added benefit of allowing players to turn off chat while still seeing notifications, something you cannot do now.

You could add an engine request for that.

No response, closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wuzzy2 picture Wuzzy2  路  4Comments

TekhnaeRaav picture TekhnaeRaav  路  5Comments

MarkuBu picture MarkuBu  路  5Comments

Fixer-007 picture Fixer-007  路  6Comments

juozaspo picture juozaspo  路  6Comments