#Inventory size
1 messages ยท Page 1 of 1 (latest)
Using what? A plugin?
Or like the size of an item you made? Or like the inventory size of your inventory?
plugin would be the best becuase im new to making these things
just make this like bigger
and maybe even the hands bigger
if u can
Do you want to make such a plugin or are you looking for one? And if you are looking for one, then why didnt you ask in #1020660179102093323 ??
i wasnt sure where to ask
Its fine, just ask in the appropriate forum next time. This forum is ONLY for help with developing mods and plugins
/setinventorysize
This one exists as well
Maybe use the 2nd one if the first one doesnt work as you want it to
/setinventorysize it shows this
You obviously need some values
/setinventorysize -all 2 8 5
Will set the hands slot to have a width of 8 and a height of 5 for all players
i typed this in and it still shows this
But i dont think thats persistent
Use the config for it to always be active for all players
tried doing that too but it didnt work too
whats the command for the RFPocketResizer ?
I believe its quite obvious
Actually no it isnt in the config for that one
Plugins/<PluginName>/<PluginName>Configuration.dat
iirc
Or it may be .xml
You do realize that there is a Product page that describes how to use the plugin quite extensively
Maybe like idk read it
i dont see how to use the plugin
How
Its at the bottom
Its literally in the screenshot
Do you know how permissions work in Rocket?
i dont know
๐
There is a Rocket Permissions file
It has permission groups. If you havent touched it i think it will be default and VIP
Its in the xml format
Yes.
Players can be assigned permission Groups
Containing permissions
A permission is just a way to tell plugins what that player can and cant do
Or well plugins just use them as; does player have permission x
Here the plugin is explained to use permissions to set what handslot size you have
in what line do i add it?
An easy way for you to change the handslot for all players would be to open the permissions file, find the default auto assigned group and give it a pocket.8.5 permission
Its formated in xml
yeah
Each Element is defined as <Element> and then closed using </Element> or <Element /> for short
Notice the <Group> element
Thats a Permission group
It contains permissions
Yes exactly the Permissions of a PermissionsGroup
Simply copy paste one of lines inside Permissions to define a new permission element
it also says: Set PermissionPrefix to pocket
It just means that every permission starts with pocket
You can set it to whatever in the config
im gonna try it now
wait
but i need to first set the permissionprefix to pocket somewhere
Its set to that by default
Look at the config
<PermissionPrefix>pocket</PermissionPrefix>
The default permissionprefix setting is completely fine
Really no need to change it
Itd only really be if it was conflicting with some other plugin
Awesome
and just asking the max is 255 slots right?
So the cool thing about permission groups is that it allows different people to have different sizes of hand slots
youre right
So people could pay for a permanent upgrade or similar
Yes
๐
kiss kiss