I need send data (hidden) to a formspec and then recover it thru 'minetest.register_on_player_receive_fields' to act in consequence. This is because the player is not a node nor a player, is a entity.
I know about ActiveFormspec mod adding a hidden field to a formspec. But without any dependency is there another simple method?
Formspec Hidden Field or Data
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Formspec Hidden Field or Data
Hidden fields are insecure, and should never be used. You should use a context instead, as explained here: https://rubenwardy.com/minetest_modding ... l#contexts
Who is online
Users browsing this forum: Blockhead and 8 guests