NEZNAMY / TAB

"That" TAB plugin.
Apache License 2.0
905 stars 246 forks source link

IA Ranks #1251

Closed GWDdoS closed 8 months ago

GWDdoS commented 8 months ago

TAB version

4.1.2

Software causing compatibility issue

IA Ranks not appearing and i cant edit the config of TABS without breaking tabs. also the wiki no work 💀

Additional info

No response

Checklist

NEZNAMY commented 8 months ago
GWDdoS commented 8 months ago

So IA items adder, and i am using the ranks addon. It the IA wiki it says how to make tabs and IA work togehert, although, its wrong and when you do what the wiki says, tab brakes saying delete line 156 etc. (the line were the edit is)

GWDdoS commented 8 months ago

https://itemsadder.devs.beer/plugin-usage/adding-content/ranks-textures-prefix

NEZNAMY commented 8 months ago

Sounds like you broke yaml syntax. Yaml syntax must be followed in all yaml files in all plugins, it is nothing specific to or invented by TAB. I can't even fix it for you, because you didn't send your config or even the error you got. The link to itemsadder wiki you sent appears to be working. What do you mean by wiki not working then?

GWDdoS commented 8 months ago

I wiki says to add the Admin: tabprefix: '%img_admin% ' tagprefix: '%img_admin% ' but if you do, the tabs conifg breaks and does not work

GWDdoS commented 8 months ago

image

GWDdoS commented 8 months ago

if i add the Admin: tabprefix: '%img_admin% ' tagprefix: '%img_admin% ' it breakes

16.03 21:43:39 [Server] [INFO] [TAB] [[WARN]] File plugins/TAB/config.yml has broken syntax. 16.03 21:43:39 [Server] [INFO] [TAB] Error message from yaml parser: while parsing a block mapping 16.03 21:43:39 [Server] [INFO] in 'reader', line 133, column 5: 16.03 21:43:39 [Server] [INFO] default:

NEZNAMY commented 8 months ago

You probably didn't add it into groups.yml like you should, but into config.yml somewhere to break the syntax. I can't know without seeing full config.

GWDdoS commented 8 months ago

Ok so GROUPS not CONFIG?

NEZNAMY commented 8 months ago

Config, the file you broke. Although you were supposed to add it to groups.yml which you didn't.

GWDdoS commented 8 months ago

Tahnk you SOO much!

NEZNAMY commented 8 months ago

Huh? I didn't fix the supposed compatibility issue still.

LuluxClient commented 8 months ago

don't use placeholders use a specific symbol to display the rank. for example in itemsadder you can add an UTF-8 symbol and you will use that in tab & luckperms. It's not a tab issue but a configuration issue @NEZNAMY you can close this issue since it's totally unrelated to your plugin.

LuluxClient commented 8 months ago

Example:

smile:
  permission: ranks.admin
  show_in_gui: false
  path: "ranks/admin.png"
  symbol: "é„¿"
  scale_ratio: 9
  y_position: 8

and now when typing ANYWHERE the "é„¿" symbol it will display your admin rank tab and it can be used litteraly everywhere; if you put it in luckperms when outputting the %luckperms_prefix% placeholder it will show the correct tag

Tree182 commented 8 months ago

Add a color code before it. That made it work for me.

For example:

tabprefix: '&f%img_admin% ' tagprefix: '&f%img_admin% '