How would I show player is afk with TAB plugin?

read the title
5 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by itzjerm#0
Discount Milk
Discount Milk2y ago
Look for something along the lines of placeholder replacements And replace the essentials afk placeholder output to what you want your prefix to be This is in the TAB plugin somewhere
OhSoGamer
OhSoGamer2y ago
conditions:
nick:
conditions:
- '%player%=%essentials_nickname%'
true: '%player%'
false: ~%essentials_nickname%
afk:
conditions:
- '%essentials_afk%=no'
true: '%essentials_nickname%&r'
false: '&7%player_name%&r'
conditions:
nick:
conditions:
- '%player%=%essentials_nickname%'
true: '%player%'
false: ~%essentials_nickname%
afk:
conditions:
- '%essentials_afk%=no'
true: '%essentials_nickname%&r'
false: '&7%player_name%&r'
see my AFK condition then in groups.yml...
Player:
tabprefix: '&0&l[&7&lPlayer&0&l] &3'
tagprefix: '&2&lPlayer &3'
example_group:
header:
- This is an example of per-group header/footer
footer:
- applied to a group
_DEFAULT_:
tabprefix: '%luckperms-prefix%'
tagprefix: '%luckperms-prefix%'
customtabname: '%condition:afk%'
customtagname: '%condition:afk%'
tabsuffix: '%luckperms-suffix% %guilds_prefix%'
tagsuffix: '%luckperms-suffix% %guilds_prefix%'
per-world:
world1:
Owner:
tabprefix: '&0&l[&a&lOwner&0&l] &a'
tagprefix: '&2&lOwner &a'
Player:
tabprefix: '&0&l[&7&lPlayer&0&l] &3'
tagprefix: '&2&lPlayer &3'
example_group:
header:
- This is an example of per-group header/footer
footer:
- applied to a group
_DEFAULT_:
tabprefix: '%luckperms-prefix%'
tagprefix: '%luckperms-prefix%'
customtabname: '%condition:afk%'
customtagname: '%condition:afk%'
tabsuffix: '%luckperms-suffix% %guilds_prefix%'
tagsuffix: '%luckperms-suffix% %guilds_prefix%'
per-world:
world1:
Owner:
tabprefix: '&0&l[&a&lOwner&0&l] &a'
tagprefix: '&2&lOwner &a'
the customtabname and customtagname would be %condition:afk%
Jerm
JermOP2y ago
thank you! this helped alot! !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by itzjerm#0

Did you find this page helpful?