README
To use this plugin you need to have the TAB plugin (https://www.spigotmc.org/resources/tab-1-5-1-20-6.57806/) and the PlaceHolderApi plugin (https://www. spigotmc.org/resources/placeholderapi.6245/ ).
Then you will have to add the placeholder of the TwitchStatus placeholders plugin in the config.yml of TAB where there is the word placeholder:
TwitchStatus: "%twitchstatus_live_status%"
Something similar should appear in the tab config;
placeholders:
TwitchStatus: "%twitchstatus_live_status%"
time-format: '[HH:mm:ss / h:mm a]'
time-offset: 0
Afterwards, you will have to go to the groups.yml of the TAB folder, remove everything and copy and paste this:
#Owner:
# tabprefix: "&0&l[&a&lOwner&0&l] &a"
# tagprefix: "&2&lOwner &a"
Players:
tabprefix: "&0&l[&7&lPlayer&0&l] &3 %twitchstatus_live_status%"
prefix tag: "&2&lPlayer &3 %twitchstatus_live_status%"
example_group:
headers:
- "This is an example of per-group header/footer"
footer:
- "applied to a group"
# default settings for all groups, all groups will take properties from this section unless player's primary group overrides a specific setting
_DEFAULT_:
tabprefix: "%luckperms-prefix%"
tagprefix: "%luckperms-prefix%"
customtabname: "%player% %twitchstatus_live_status%"
customtagname: "%player% %twitchstatus_live_status%" # don't forget to enable unlimited nametag mode to make this one work
tabsuffix: "%luckperms-suffix%"
tagsuffix: "%luckperms-suffix%"
per-world:
world1:
Owner:
tabprefix: "&0&l[&a&lOwner&0&l] &a"
tagprefix: "&2&lOwner &a"
Then you just need to restart the server and the plugin is ready to use!
CONFIG.YML & GROUPS.YML already set:
If you want to make everything easier, remove everything from the TAB config and groups and paste the respective codes:
CONFIG.YML [TAB] -
https://mclo.gs/aFV3boB
GROUPS.YML [TAB] -
https://mclo.gs/wihNRzm
PLACEHOLDER
%twitchstatus_live_status%
DEPEDENCY
- TAB
- PLACEHOLDERAPI
USAGE
After following the steps described above, with the /live command in tab a suffix [Live] will appear; to remove it simply write /live
For commands use /help live , to see placeholders /papi list .
PERMISSIONS
Provide /live permissions only to streamers and your staff! You could risk a raid.
SOCIALS
GitHub -
https://github.com/sparnett/TwitchStatus
Youtube Trailer -
Telegram - @whymelooser
Discord -
https://discord.gg/6e3RYrgHZ5