How do i make a custom rank for adonis? I'm confused

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

  2. What is the issue? Include screenshots / videos if possible!
    i dont understand how to add a custom ranks in adonis admin.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i looked for it in the devfourm and couldnt find anything helpful.

Could you explain what you want to do since your post is just the devforum default post?

Ye, i accidentally posted when i wasnt done typing what im trying to ask is how would i create a custom rank for adonis admin

lua
settings.CustomRanks = {};	-- List of custom AdminLevel ranks			  Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} 

There what it says but im confused

Well it should not be hard, but you should try watching some tutorials because they could explain it better than i can.
Of course if you can’t learn from the tutorials you can just ask again on the dev forum but try changing the post because when someone see’s a default post they would just ignore it since there is no explanation on what you need.

Here is the video i was talking about, it was recorded by the creator of adonis. Tho im not sure if it contains on how to make custom ranks i still recommend it!

If you still need some help just ask but it’s actually not that hard you just have to customize this line of code and put it inside the Settings module:

settings.CustomRanks = {{RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} };

I saw you deleted it but if you are making a cafe game you should just try changing the name’s of the ranks since i don’t think you need alot of ranks maybe just Moderator, Creator, and maybe VIP but it’s up to you.

Ye i really like only need a custom rank thats really low level and only has one command which would be the give command, i know hwo to make the permissions and so ye

If i only want the role to be obtained by a group rank can i like remove the other stuff?

settings.CustomRanks = {{RankName = {"--this stuff--Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} };

Oh you mean so they could give other’s tools?

You should be able to tho im not sure how exactly.

I know how the settings.perrmison works its just the customranks im unsure on

If you only want to make a rank that can give tools i recommend making your own command since it’s simple and you would have no limits in customizing it + it would save you alot of time.
it can be done just by detecting when a player chats so here is an example:

game.Players.PlayerAdded:Connect(function(Player)
	Player.Chatted:Connect(function(Message)
		if Message == ":give me Tool" then
			local Tool = game.ReplicatedStorage.Tool:Clone()
			Tool.Parent = Player.Character
		end 
	end)
end)

I made this example even tho it’s bad code it’s just an example of what you should do but if you want to make custom commands you should advance this code.
I can help you write the whole command if you need help so just tell me if you run into an problem.

Is there anyway of making this give the tool with the thrid message being the tool name? since a cafe has alot of tools it would be a mess

Of course you can continue using adonis for this but that would still mean that when someone goes into admins tab in adonis they would see that everyone has admin, which i find very stupid but it’s up to you.

Yes that’s why i said you should advance it.

I would write you whole command but im unsure if you will be able to edit it or understand the code.

I can try to use open ai chat ai cuz its kinda useful sicne im lazy xd

OpenAI is a not very advanced but you could try, if you found an solution please mark it so your post does not stay unsolved :slight_smile:

i can write you the whole command script right now but you gotta give me 5 minutest tho.

open ai is getting better for roblox, sicne alot of roblox devs have been using it lately and if your a script you have some knowledge of what wont work and then you fix the script the ai gave you and send it back to the ai as feedback the fixed script

i will try using adonis, wish me luck.

i will write you the code right now don’t worry :slight_smile: