Action Bar with addon

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Trason

Member
Feb 21, 2018
12
0
1
28
At first im new at Skript i do it now for 2 days.!!

Hey my Problem is i have a plugin that have a action bar but now i want do my on action bar with the addons from the plugin.
The plugin have a manabar and i try but i dont work.

code_language.skript:
show action bar with "&4%player's health% &c❤ &l&b | %manabar%" to player

And this is in the config.yml of the plugin.
code_language.skript:
# This is the format of the Action bar.
# To disable it, set it to '' (empty).
# Available values are:
# Bars: %manabar%, %expbar%
# Values: %mana%, %maxmana%, %level%, %exp%, %maxexp%
# format: Format with colors
# default: %manabar% &eLvL: %level%  &eExp: %expbar%
gui_actionbar_format: '%manabar% &eLvL: %level%  &eExp: %expbar% '
 
code_language.skript:
show action bar with "&4%player's health% &c❤ &l&b | %manabar%" to player

Unless one of those addons for the plugin links it with Skript somehow, the "%manabar%" expression you see in that config file can't be used in a script. It looks similar to Skript syntax, but it can actually only be used like that in the config file, at least as far as I can tell with the small snippet you provided.
 
Mhh oke so i can only hope that some skript addon will add the support for the plugin Races and Classes :/
 
Status
Not open for further replies.