🔖Ranks textures (prefix)
Custom ranks textures
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F708574821-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-M28TcKgSDvuFN510qye-887967055%252Fuploads%252Fgit-blob-aa204cbdea33fb42d5ce255e1db7b1278c17212b%252Fimage%2520%2827%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29%2520%281%29.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=ea492746&sv=1)
You have to use LuckPerms and TAB to follow this tutorial, the method may differ if you're using other permissions and TABs plugins.
If you're using another prefix plugin you may need to use this method to show ranks
How to create my ranks?
Download the example ranks here
Create a new rank configuration
Open ItemsAdder/contents/betterranks/configs/ranks.yml
file and copy and paste one of them.
Then rename it to your rank, also decide a new .png file name, for example custom
Don't change scale_ratio
and y_position
. It would make the ranks look pixelated.
Creating the png image
Copy one of my ranks .png files and edit it from folder contents/betterranks/textures/
You can edit it using Photoshop, GIMP, Paint.NET or any other editing software you use.
For example copy admin.png
, name it custom.png
and edit it.
Don't change the rank image height! Change only the width or the image will look pixelated!
Example:
For example in order to make a similar rank to my BetterRanks addon you just have to use the Minecraftia font and cut some pixels.
Using the rank ingame
Luckperms
Creating a group, example (admin)
Use this command /lp creategroup admin
Add the prefix
Use this command to get the editor: /lp editor
Now click on the link and open the web editor.
Select the role, in this case admin
.
Write prefix.100.
followed by the prefix placeholder in the bottom input box, in this example I will use :admin:
prefix.100.:admin:
(make sure you write it correctly).
Press +Add
As you can see you have a new line in the permissions list, this is the prefix setting.
Now save your changes
Assign the group to a player
Use this command (change LoneDev
to your player name) /lp user LoneDev group add admin
TAB plugin
Make sure you installed PlaceholderAPI
Editing the config.yml of TAB plugin
Add this under the groups
category or edit it if already exists.
(You have to use %img_admin%
instead of :admin:
because TAB recognized only PlaceholderAPI placeholders and not ItemsAdder placeholders. This can be valid also for other plugins)
Then use the command /tab reload
Last updated