PocketEssential / RequestPlugins

Wanting to request a plugin? do it here
2 stars 0 forks source link

Rank Selector #6

Closed starterdragon closed 7 years ago

starterdragon commented 7 years ago

Hello again!

Do u know the language selector (sign with buttons on sides) from big server (ex LifeBoat) ? I have this idea but instead of changing a language, it will change the player's rank instead..

First I think getting PurePerm's group.yml is a good idea but later on I think that they might select OP group, so, It'll be a better idea if this creates own config, but ofc ranks should be same with what in PP.

to add more twist, you can add permission for vip so when they select it, a message will be sent if they dont have perm.. so on comment is my example config look, but u can change it if you want:

starterdragon commented 7 years ago

SAMPLE CONFIG // YOU CAN ADD ECONOMY SUPPORT IF YOU WANT ;) Guest: is_vip: false price: 0 Builder: is_vip: true price: 9999999 Loyal: is_vip: false price: 0 Fan: is_vip: false price: 1

PS. I just don't have the plugin src and I really have no idea how and what to start,,

xZeroMCPE commented 7 years ago

Confused, mind telling me more in a detailed way as possible.

starterdragon commented 7 years ago

image This, imagine a the three buttons are (in order from left to right) previous, select, next..

when you press next, the next rank on config appears, same with previous. and when you press select(middle) the current group(@ranks) on sign will be set to you..

xZeroMCPE commented 7 years ago

Ah okay i got it...

You press the next button, it displays the next rank on the sign? the buttom button sets the rank on you right?

starterdragon commented 7 years ago

I think this may need two configs, (for example) selector.yml and groups.yml in selector, it is where the signs are saved.. this will be the structure:

sign -X -Y -Z -prevB --x --y --z -selectB --x --y --z -nextB --x --y --z

sorry to bother, but If I only know where to begin I would not bother anyone :laughing:

xZeroMCPE commented 7 years ago

Alright, got it.

So support for Economy's ?

Like user have to pay to get the ranks? or...

starterdragon commented 7 years ago

It would be awesome, but it's up to you as always.

xZeroMCPE commented 7 years ago

Okay, so they can choose any rank they want?

starterdragon commented 7 years ago

Yep..

xZeroMCPE commented 7 years ago

Okay, got it

starterdragon commented 7 years ago

Ohh.. Thanks! I knew you guys are the only one that can help.. ;)