Page 1 of 1

How can I change the amount of hotbar slots?

PostPosted: Sun Apr 20, 2014 21:14
by nfsprodriver
It is said in the topic... I've been searching for this option throught many many files in minetest: No success. Can you help me? Thanks in advice!

Re: How can I change the amount of hotbar slots?

PostPosted: Sun Apr 20, 2014 21:21
by PilzAdam

Re: How can I change the amount of hotbar slots?

PostPosted: Sun Apr 20, 2014 22:09
by nfsprodriver
Oh yes, thank you man!!! I only needed that line. Very cool!

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 14:49
by ssa
Don't work for me! I can execute most server commands, but this one is tough for me to grasp. It takes the command, but I still only have the default 8 hotbar slots. Any suggestions?

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 15:03
by Esteban
.

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 16:43
by rubenwardy
/me read "PilzAdam is a chat command"

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 16:49
by Esteban
.

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 17:00
by Calinou
By default, servers don't let you do that, although some mods may implement a /hotbar command or similar.

In Carbone, /hotbar 1-23 will change your hotbar size (the default being 16, Minecraft using 9 and minetest_game using 8).

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 17:36
by Wuzzy
For all those who don’t use Carbone, you can use the Player Tools mod to modify your hotbar size in-game. It too provides a command. The syntax is:
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
/sethotbarsize <num>

Where <num> is an integer between 1 and 23. You need to have the “hotbar” privilege first.

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 17:39
by ssa
singleplayer, local private server, I should have all privs. Player tools don't work for me.... /grant singleplayer all privs : don't do crap!......

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 17:41
by rubenwardy
1) Is it installed and enabled correctly
2) Did you type "/grant singleplayer all" (looks like you may have done "... all privs")

Re: How can I change the amount of hotbar slots?

PostPosted: Wed Oct 22, 2014 23:23
by Napiophelios
You may also want to edit or create a new "default\textures\gui_hotbar.png" to reflect the added slots
or its gonna look ridiculous and hacky.

Re: How can I change the amount of hotbar slots?

PostPosted: Fri Oct 24, 2014 18:19
by Calinou
Napiophelios wrote:You may also want to edit or create a new "default\textures\gui_hotbar.png" to reflect the added slots
or its gonna look ridiculous and hacky.


The best idea is to have an one-dimensional hotbar texture, so that it stretches painlessly.

Re: How can I change the amount of hotbar slots?

PostPosted: Sat Oct 25, 2014 09:01
by Wuzzy
Or even better: Just have a texture on a per-slot basis (as an alternative in Minetest), so you don’t have to draw a new texture for every time the number of slots changes.

Re: How can I change the amount of hotbar slots?

PostPosted: Sat Oct 25, 2014 18:06
by Calinou
Wuzzy wrote:Or even better: Just have a texture on a per-slot basis (as an alternative in Minetest), so you don’t have to draw a new texture for every time the number of slots changes.


Yes, I would have liked that. It seems smarter.

In the same vein, animation length should be specified in frames per second, not total animation length to not break texture packs that use more or less frames.