#placeholder-api

1 messages · Page 173 of 1

turbid tide
#

you are trying to make a leaderboard from a placeholder that doesn't give a number.

earnest moth
#

ok so what should i do to fix this

turbid tide
#

ugh. make leaderboards just from placeholders that return numbers

earnest moth
#

but i want to let the placeholder to link to my plugin , so it can get the information of kills and wins and show it in the leaderboard

turbid tide
#

well then use valid placeholders.

earnest moth
#

ok

turbid tide
earnest moth
#

PlaceholderAPI

turbid tide
#

placeholder. not plugin.

earnest moth
#

u mean this ? %thebridge_totalKills%

turbid tide
#

yeah

#

have you tried parsing it?

#

/papi parse me %thebridge_totalKills% to see what it returns?

earnest moth
#

ok let me try

#

the chat just say %thebridge_totakKills%

turbid tide
#

well there's the problem. you can't make a leaderboard from a placeholder that doesn't work

earnest moth
#

ok tysm

turbid tide
#

what hologram plugin?

#

HD does not support PlaceholderAPI. If you want to use placeholders in HD you will need to install ProtocolLib and HolographicPlaceholders.

strange jungle
#

How can I register Expansion cloud account to upload my expansion? It says "Registration is currently locked."

turbid tide
#

@balmy marten ^

quick rain
#

ive tried looking for a placeholder that will show which world a user in in currently, for example resource world or regular overworld but couldnt find any, does this not exist or am i just blind?

quick rain
#

tried that

quick rain
#

nvm i got it working, thank you @austere hawk for tryna help me i appreciate it ^-^

balmy marten
placid light
#

Which is the latest javascript expansion jar to support java8? javascript 1.6.0?

placid light
#

WorldGuard PAPI expansion doesn't work
parsing any placeholders outputs empty line (or nothing)

strange jungle
tender vaporBOT
balmy marten
tardy glade
#

hello is there a way to make progress bar that uses other placeholder as max value?

#

this is my current setup

autumn rover
austere hawk
#

At com.extendedclip.papi.expansion.server.ServerExpansion.<init>(ServerExpansion.java:63)

#

I'm not pro either but try updating ths expansion perhaps?

autumn rover
quick sleet
#

hello! so i have this in my custom JS placeholder:

function getRank(){
    if('%ultraprison_prestige%' === 'P0') return `&7[%ultraprison_rank%&7}`;
    return `&7[%ultraprison_prestige%&7}`;
}

getRank();
``` but it doesnt work
#

i have registered it as such:

#
prestiege_or_mine:
  file: prestiege_ranks.js
#

both of those files are in /plugins/PlaceholderAPI/javascripts/javascript_placeholders.yml

#

hm, the command /jsexpansion doesnt seem to do anything, even though i have installed the javascript addon, and have done /papi reload

#

i am on java 16 though, might that affect the JS engine?

turbid tide
tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

this is where you find the startup log ^^^

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

turbid tide
#

this is where you put it ^^^

quick sleet
#

hm

#

it didnt register the JS one

quick sleet
#

i'll try that

turbid tide
quick sleet
#

i have, and i have even restarted the server

turbid tide
#

could be the MineResetLite expansion by the looks of it.

#

try deleting it and then doing /papi reload

#

you can find the expansion in plugins/PlaceholderAPI/expansions/ and it is named PAPI-MineResetLite.jar

quick sleet
#

well it works now, but the placeholder doesnt work, thats another thing, but try i'll figure that out

#

do i need to do something special in the JS to parse a placeholder?

#

actually no this is strange, its not supposed to return an empty string, ever

turbid tide
#

that means you're not using the correct placeholder or the one you're using is not registered at all

rigid wharf
#

How does PAPI parse placeholders?

#

I know (at least, I think I know) that it isn't done with packets

quick sleet
#

why would it be done with packets?

rigid wharf
#

I'm just wondering how papi parses them

#

Some plugins do their own implementations of placeholders using packets

tender vaporBOT
austere hawk
#

help

tepid solstice
#

Im using papi with holographic displays, apparently it's compatible. How do I get it to work bc this doesn't?

strange jungle
#

After upload, how can i get my expansion be verified?

simple current
#

What place holder for money? pls

sharp jay
#

what money plugin are you using

simple current
#

Vault X essentials @sharp jay

#

thx

sharp jay
#

np

tardy glade
#

is it possible to make a js placeholder that gets value from plugins api (any plugin)

cyan pebble
#

Hey - there is an invalid (though official) extension for plugin called AParkour on PAPI eCloud.
The main author is inactive and the extension on PAPI ecloud breaks the plugin placeholders which are added by the plugin itself anyway.

refs;

Placeholders are registered by the plugin itself in the main source too (not just the unofficial fork);


I think that the extension on eCloud should be removed / disabled or at least a notice should be put into the description mentioning this issue.

sharp jay
#

@balmy marten

tardy glade
#

i have no idea

tepid solstice
#

No, but if you know java it wouldn't be hard.
Can't do it for you, I'm busy with my own stuff.

silver minnow
#

javascript*

tepid solstice
#

oh

#

idk]

austere hawk
#

Hello, I'm getting errors with deluxemenus. Does anyone know how to fix?

#
java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "com.extendedclip.deluxemenus.requirement.JavascriptRequirement.engine" is null```
tender vaporBOT
austere hawk
#

Aight Bot I'll try

lunar slate
#

what is the placeholder to show players online from 2 spigot servers?

jaunty stag
#

Hello !
Do you know of an addon that allows you to have a placeholder that indicates the MSPT?

fallen dawn
#

Hi how to add in deluxemenu placeholders?

i do %playername_name% or other but it works i mayby write {playernick_nick} ?

junior musk
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

junior musk
#

not directly within the Server expansion but in a fork, and there's a direct download link

safe flame
#

Hey,
Is there a way to display the First Login in, last seen and "prefix" on the offline player code? It displays the correct info when player is online, but goes away when player logs off.

Is there a fix for that?

#

offline_players:

  • '&7 -------------[ &6&l%offlineplayer%&7 ]------------'
  • '&aStartede på serveren den: &7%player_first_join_date%'
  • '&aSpilletid: &7%offlinetime%'
  • '&aAntal gange logget på: &7%offlinetimesjoined%'
  • '&a%offlineplayer% var sidst online den: &7%player_last_played%'
    other_players:
  • '&7 -------------[ &6&l%playtime_player%&7 ]------------'
  • '&aStartede på serveren den: &7%player_first_join_date%'
  • '&a%playtime_player%s rank er %powerranks_prefix%'
  • '&aSpilletid: &7%playtime_time%'
  • '&aAntal gange logget på: &7%playtime_timesjoined%'
austere hawk
tranquil turtle
#

is there a plugin that [item] and it will show the item in hand?

warm plover
#

Not sure if this is possible with the new check item update, but I'm trying to use placeholders in placeholders with checkitem (like enchantments:SPARNESS={math_{server_online}+1}%)

mint fable
#

that won't be possible, no

#

but if you want to go that in depth you could always try using javascript to help you out to parse those extra placeholders

warm plover
#

aww that is really unfortunate, if that was possible then automatic deluxe menu shops would be possible

#

yeah I can try that too

mint fable
#

it might be just as simple as

var a = %server_online%
var b = "%math_"..a.."+1%"
#

might be outdated tho as well, but I'd give it a try

warm plover
#

hopefully works with the type of shop I want to make

mint fable
#

javascript is very powerful

#

and combined with checkitem

#

10/10

warm plover
#

Top 3 most powerful placeholder expansions
Math
Javascript
Checkitem

#

Only slightly biased

mint fable
#

😉

#

well

#

we're dumb

#

at that point you no longer need math expansion

#

lmao

warm plover
#

true lol

mint fable
#

😂

#

2 most powerful placeholder expansions
Javascript
CheckItem

warm plover
#

my thought for the checkitem/math shop is that it would check the level of sharpness your item in hand has, then multiply the coin requirement by 10, and then on click it removes your item in hand and adds the same item you add with current sharpness + 1

#

Complete automation, less effort to make a huge shop

mint fable
#

Yep very nice

#

I've seen so many good shops come out of checkitem

#

shops, custom recipes, whatever

vivid sparrow
#

@mint fable can you link me to the checkitem repo?

mint fable
vivid sparrow
#

@mint fable why dont you cache the itemwrappers?

#

Map<String, ItemWrapper> where the key is the params you get onRequest

winged saffron
#

Hi, i'm using a paper 1.17.1 and tcpshield anti ddos but using Player expansion and the %player_ping% placeholder i have internal error , can this be fixed by the expansion's developer ?

silver minnow
turbid tide
winged saffron
#

i already did papi ecloud update all and the error is still there, i think this is because tcpshield ip method masking ip... i'm not having any issue on my "normal" server without tcpshield

silver minnow
#

what is the error?
delete the player expansion from plugins/PlaceholderAPI and do /papi ecloud download Player

winged saffron
#

i will send the exact error please wait

turbid tide
#

what dkim said ^
go to plugins/PlaceholderAPI/expansions and you will probably find 2 or more Player expansions

winged saffron
turbid tide
#

delete them all and reinstall using /papi ecloud download Player then /papi reload

winged saffron
#

just tried deleting them and re-downloading and reload, nope

#

same error here

turbid tide
#

/papi dump

#

do this ^&

winged saffron
#

oki

turbid tide
#

send generated link

#

here

winged saffron
turbid tide
#

Expansion-player.jar and Expansion-Player.jar

#

these are both in your expansions folder

winged saffron
#

i will look

#

that fixed

#

double expansion

#

tnx a lot

turbid tide
#

👍

winged saffron
#

i noticed that doing papi ecloud update all creates some doubles

#

capped and not capped

#

i fixed looking in the timestamp

#

and deletoing older

turbid tide
#

yeah. so what happens is sometimes newer versions change the expansion name. in the player case it changed from Expansion-player to Expansion-Player.

#

not a lot we can really do about that I'm afraid

frank nova
#

%player_total_exp% in player expansion has a bug. It doesn't update it's value when using levels in anvil or enchanting table for example.

silver minnow
ionic fractalBOT
#
int getTotalExperience()```
Description:

Gets the players total experience points.
This refers to the total amount of experience the player has collected over time and is not currently displayed to the client.

Returns:

Current total experience points

silver minnow
#

i'd assume this is the code that %player_total_exp% uses

turbid tide
#

it is

#

if you want to get the actual exp, you have 2 options %player_levels% for the exp levels or if you want the points then the javascript expansion

#

here's the tutorial on how to set it up

frank nova
#

I used this javascript expansion but it caused massive memory leaks and lag spikes.

frank nova
#

It starts eating RAM like crazy when refreshing this javacript placeholder with TAB plugin.

#

Maybe it's a problem with javascript expansion and devs can take a look?
CPU usage comparison with %player_total_exp% - https://prnt.sc/1tl1mba
I can refresh placeholder less frequent but it still pretty heavy.

turbid tide
#

yeah. I believe it is known why but yugi has no time to fix it at the moment

frank nova
#

At least %player_total_exp% works pretty well just need to use commands like /exp take <player> 0 to trigger refresh so it report correct value.

turbid tide
#

well. it reports the correct value already. it just is not meant to show what you need

frank nova
#

Is there reason why placeholder like %player_current_exp% doesn't exist in player expansion?

junior musk
#

isn't it there?

frank nova
#

wait... 😅

#

Bruh. I need to check wiki more frequently. When they added this? 😄

turbid tide
#

Oh. that was added like 2 years ago apparently. Didn't even know.

junior musk
#

lol

frank nova
#

It was added to wiki this June. That's why we didn't know. 😄

frozen yarrow
#

Anyone familiar with making a relational placeholder via the papi API? I tried creating a placeholder that turns green if same team and red otherwise, but instead if just prints the placeholder string and doesnt parse. resolved

junior musk
#

make sure you are using /papi parse**rel** <player1> <player2> %placeholder%
or if you're using it in a plugin, make sure that plugin actually parses relational placeholders (if it's your own, use PlaceholderAPI.setRelationalPlaceholders(p1,p2,string))

frozen yarrow
#

i figured it out I’m just dumb.

pure wraith
#

How can I get item enchantments in a player main hand

#

Is there a placeholder for this

turbid tide
pure wraith
#

Ok do you know how to do that

turbid tide
#

probably

snow sonnet
#

you i got an error when i tried to use %statistic_sprint_one_cm% saying i should check some link and i tried going to that link and it is giving me a 404 page

turbid tide
#

what error?

snow sonnet
#

it telling me to head to this https://helpch.at/docs/1.17.1/org/bukkit/Stastistics.html

#

or the walked one cm

#

not sprint

turbid tide
#

that's strange tho.

#

sprint_one_cm is a valid statistic

snow sonnet
#

i meant to use %statistic_walk_one_cm%

#

and it gave me that error

#

oh nvm

#

i typed it wrong

#

i typed walked instead of walk

turbid tide
#

oh. alright.

#

yeah. opened an issue about the wrong link tho. hopefully someone else besides me will see it and fix it.

snow sonnet
#

cool

unreal spoke
#

I have no idea how to use the Math extensions please help, I wanna check the balance of a player and half it so like I know it would be %vault_eco_balance% and the somewhere /2 to imply dividing by 2 thus halfing it, but idfk where %math_<expression>% comes into play

junior musk
#

%math_{vault_eco_balance}/2%

unreal spoke
#

bruhhh it seems so simple xD

junior musk
#

x)

#
      • /
#

{} for placeholders

unreal spoke
#

I got so close, I did %math{vault_eco_balance/2}%xD

junior musk
#

if you want to round the output, use %math_#_.... where # is the number of 0s

unreal spoke
#

ty for help

junior musk
#

but the {} is only for the placeholder

unreal spoke
#

ah

#

wait hold on a sec

#

so vault works, that's one thing I need, but now I have another plugin

#

the placeholder is %banksystem_total% and it does output a number, in my case it's 3,500.00 but when I do %math_{banksystem_total}/2% it fails

#

is it because of the ,

junior musk
#

yeah

unreal spoke
#

fk

junior musk
#

maybe the plugin has another placeholder that doesn't have the ,

#

or you could ask the dev to make one

#

or maybe the formatter expansion could help

#

mayben not

#

exactly the opposite ;-;

unreal spoke
#

damn it

#

well maybe

junior musk
#

oh wait

unreal spoke
#

I've had to recompile the plugin I am using right now, to fix the Interest issue, so I could just remove the commas in the plugin and use that for players placeholders

junior musk
#

%formatter_number_format_en_US:#.##_{banksystem_total}%

unreal spoke
#

hm

junior musk
#

/papi parse me %placeholder%

unreal spoke
#

still outputs a seizure

#

I did

#

/papi parse me %formatter_number_format_en_US:#.##_{banksystem_total}%

junior musk
#

still a , ?

unreal spoke
#

no it shows me the placeholder back

junior musk
#

oh

unreal spoke
#

yes I ecloud downloaded it

junior musk
#

uh

#

wot

#

did you do /papi reload after?

unreal spoke
#

ye

junior musk
#

does it show Formatter in /papi list ?

unreal spoke
#

yep

junior musk
#

/papi parse me %formatter_number_format_1234567%

#

what does that show?

unreal spoke
#

1,234,567

#

so ye

junior musk
#

the formatter or the banksystem one?

unreal spoke
junior musk
#

the entire?

unreal spoke
#

ye

#

/papi parse me %banksystem_total%

#

doing that displays a formatted version

#

cause the plugin auto formats

junior musk
#

/papi parse me %formatter_number_format_en-US:#.##_{banksystem_total}%

#

forgot to read entirely

#

it's a - instead of a _ in en-US

unreal spoke
#

still shows the whole placeholder back at me

junior musk
#

o

unreal spoke
#

the plugin has an auto formatter, so could it be cause it's trying to double format?

junior musk
#

%formatter_number_format_en-US:#,##_1234567%

#

and that?

unreal spoke
#

1'23'45'67

#

with the commans on-top

#

commas*

junior musk
#

so this works %formatter_number_format_en-US:#,##_1234567%

but this doesn't? %formatter_number_format_en-US:#,##_{banksystem_total}%

unreal spoke
#

exactly

#

but the %banksystem_total% works

#

but note that has a formatted version

junior musk
#

it might actually be the , breaking it again 🥲

unreal spoke
#

ye

#

I can remove it

#

and use the Formatted placeholder for player convinence and use the real one for the math

junior musk
#

yeah

#

other possibility is making a JS placeholder with the JavaScript expansion and replacing the , with an empty string but if you can do it directly by changing the source of the banksystem plugin then it may be better yeah

unreal spoke
#

works now

junior musk
#

👍

unreal spoke
#

for formatting

#

ty for all the help

unreal spoke
#

ok another issue, when dividing by 2 it adds a 3rd decimal point for no reason, how do I round off to 2 decimal points? I tried doing console /papi parse me %math_##_{banksystem_pocket}/2% but it didn't work

#

wait I got it ```console
/papi parse me %math_2:_{banksystem_pocket}/2%

raw yacht
plush ivy
#

<chat=dee19b19-003e-3433-bac6-9d86aa8f2f17>
anyone can tell me which placeholders should I download this ?

vivid sparrow
#

hm?

tender vaporBOT
plush ivy
#

ops sorry

#

aur able to see this image ?

vivid sparrow
#

no idea, sorry

plush ivy
#

and that number is deluxtags

raw yacht
#

I installed it manually as well

turbid tide
#

seems like the expansion is broken. it has no author set.

raw yacht
#

How does one repair it?

#

I'm downloading it via command and manually, is it on my end?

turbid tide
#

nah. it is the expansion that is broken

raw yacht
#

Ah I see

plush ivy
turbid tide
plush ivy
#

is that uuid ?

turbid tide
#

I assume a chat uuid.

#

probably from your chat plugin. And by the looks of it you use venture chat?

plush ivy
#

skyblock server have deluxtags
in skyblock people can see the tags

#

but from another server people can see chat=

turbid tide
#

wait. so usually there would be a tag instead of the chat=.... ?

#

how does your chat look like on skyblock

plush ivy
#

in skyblock its show tags

raw yacht
turbid tide
turbid tide
#

can you send a message on skyblock and send a screenshot from both servers?

#

of the exact same message?

plush ivy
#

send message on skyblock from my lobby ?
from lobby I dnt have issue

#

if message send from skyblock to lobby
then chat= things appear

turbid tide
#

no. I mean send a message from skyblock and make a screenshot of the message on lobby and on skyblock. of the same exact message

tender vaporBOT
frail hare
#

Hi there is placeholder-api for bungee?

turbid tide
#

nope

frail hare
#

ok ty

misty gull
#

Hello, I'm not sure if this is the correct channel, but I tried to implement placeholderAPI with my plugin. But whenever the placeholder is used, it's just a whitespace

plush ivy
misty gull
#
package me.mrgeneralq.survivednights.placeholderapi;

import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import me.mrgeneralq.survivednights.SurvivedNights;
import me.mrgeneralq.survivednights.interfaces.ISurvivedNightsService;
import org.bukkit.entity.Player;

public class PapiExtension extends PlaceholderExpansion {

    private final SurvivedNights plugin;
    private final ISurvivedNightsService survivedNightsService;

    public PapiExtension(SurvivedNights plugin, ISurvivedNightsService survivedNightsService) {
        this.plugin = plugin;
        this.survivedNightsService = survivedNightsService;
    }

    @Override
    public String getIdentifier() {
        return "survived-nights";
    }

    @Override
    public String getAuthor() {
        return this.plugin.getDescription().getAuthors().toString();
    }

    @Override
    public String getVersion() {
        return this.plugin.getDescription().getVersion();
    }

    @Override
    public String onPlaceholderRequest(Player player, String identifier) {

        if(player == null)
            return "";

        if(identifier.equalsIgnoreCase("survived-nights")){
            return String.valueOf(this.survivedNightsService.getSurvivedNights(player));
        }
        return "";
    }
}
#

Is there something wrong with this?

vivid sparrow
misty gull
#

I will move this to development, I continue there

turbid tide
tender vaporBOT
#
Help Menu:

Various Commands for Barry.

󠀠󠀠󠀠/Help General

• General Bot/Guild Commands

/Help Misc

• Miscellaneous Commands

/Help Level

• XP and Level Commands

/Chatreaction Help

• ChatReaction Help

tardy glade
#

can you use placeholder in other placeholder?

warm topaz
#

if the expansion supports it yea, u can do %placeholder_{inner_placeholder}% for example

tardy glade
#

i think it doesnt cuz i tried

junior musk
#

I made an expansion that allows to do that

tardy glade
#

ooo

junior musk
#

%nested_placeholder_{inner_placeholder}%

tardy glade
#

lets see if it works

#

%nested_aureliumskills_xp_progress_1_{lastskill_progressed}% like this???

junior musk
#

yeah I guess

#

do make sure that /papi parse me %lastskill_progressed% returns the correct placeholder output as well

tardy glade
#

it works but

#

theres a little delay

#

i see the original one for a milisecond

junior musk
#

not sure I can do much about that

#

where are you using the placeholder?

tardy glade
#

bossbar

junior musk
#

I mean which plugin

tardy glade
#

tab, yea

junior musk
#

is it just on the first time you load the bossbar?

tardy glade
#

yes

junior musk
#

are you using TAB on BungeeCord?

tardy glade
#

no

#

im not running a proxy

junior musk
#

before loading it into TAB (try to remove it and do the following), does it work with /papi parse me %placeholder% ?

tardy glade
#

okay i think its the other expansions having that problem

#

%progress_bar_{nested_aureliumskills_xp_progress_int_{lastskill_progressed}}_c:&c■_p:&7■%

#

do you know what is wrong with this?

#

Couldn't get the number from %aureliumskills. The progress will be 0%.

warm plover
#

Hey! Is a server countdown placeholder possible to track the 1st of every month?

#

Also, all other placeholders work on holograms but for some reason %server_countdown_dd.MM.yyyy_01.10.2021% doesn't (it works being parsed)

turbid tide
#

yeah. timer placeholders are broken with HolographicExtension. the author knows but he's been like super super busy. he's not been doing any minecraft development in a while.

warm plover
#

rip that's really unfortunate

#

ty tho

valid bay
sharp jay
#

easier to read my bad

vivid sparrow
#

Use at least 1.8.8 @valid bay

grand shard
#

i want to edit the output of a placeholder
how can i do that?

sharp jay
#

use JS

austere hawk
valid bay
tender vaporBOT
vivid sparrow
#

have fun with using 1.8 lol

turbid tide
austere hawk
#

I got a question <.<
Im working on my javascript and include if %worldguard_region_name% is not null, how do i parse against 'null' aka empty line when in wilderness xD

#

Wait

#

Theres global tho

#

But why tf do i get an empty line when parsing the name

#

I am so confused

turbid tide
#

also. global regions are different.

austere hawk
#

Figured... ugh i got so much to learn haha

#

Help me out here xD

turbid tide
#
if ("%worldguard_region_name%" === "") {
  // Do stuff here if region is empty.
}```
austere hawk
#
function isTrusted()
{
    if (('%worldguard_region_name%') !== "")
    {
    return "&6World Guard %worldguard_region_name_capitalized%";
    }
    else if(('%griefdefender_claim_type%') == "wilderness")
    {
    return "&9Wilderness";
    }
    else if (('%griefdefender_claim_trust%') == "true")
    {
    return "&aYes";
    }
    else
    {
    return "&cNo";
    }
}
isTrusted();```
#

Works :)

#

I needed the not against empty string lel

turbid tide
#

👍

austere hawk
#

Tyvm ^_^

grand shard
#

I want to change an output of grief prevention expansion
Fot%griefprevention_currentclaim_ownername_color%
In unclaimed region it returned Unclaim
I want it to be &2Wilderness

turbid tide
#

this takes the {griefprevention_currentclaim_ownername_color} placeholder, compares it with Unclaim (ignoring the case and colors), if the ouput of that placeholder is that, it will print &2Wilderness otherwise it will print out the placeholder itself.

grand shard
turbid tide
#

yes.

grand shard
#

ok thanks:)
if i knew this i could have not broken my server trying to edit it from files

turbid tide
#

5 letters shorter lol xD

#

6 + a symbol actually

grand shard
#

this will not affect the output if the land is claimed right

turbid tide
#

yeah

#

it returns the last part

#

which is the placeholder itself

#

{griefprevention_...}

grand shard
#

o i see
thanks a lot

austere hawk
#

:(

#
function unclaimed()
{
  if (('%griefprevention_currentclaim_ownername_color%') == "Unclaim")
  {
    return "&2Wilderness";
  }
  {
    else return "%griefprevention_currentclaim_ownername_color%";
  }
}
unclaimed();
#

too easy

turbid tide
#

u tested it? bcz the first check might not work

#
function unclaimed()
{
  if ("%griefprevention_currentclaim_ownername_color%" == "Unclaim")
  {
    return "&2Wilderness";
  }
  {
    else return "%griefprevention_currentclaim_ownername_color%";
  }
}
unclaimed();
#

you used () instead of ""

austere hawk
#

Oh shit yea xD

#

This should work

#

Since i did it the same way here

turbid tide
#

why are you using ' and ". you should get used to using only " for strings.

#

other (most) languages don't allow you to use ' and if you get used now with it, might be a problem in the future

austere hawk
#

Fair point

#

I'm in the mood for practice today so I'm making a lot of different (bullshit useless) javascripts xD
I guess I adapted the style from my better half and the very first few js we made together. That was the day my brain exploded.

last ember
#

Hi there,
I'm currently trying to use a placholder in my plugin but can't do this.
I managed to create my own placholder in this plugin, but I can't use a placholder from other plugins and I don't know why you could ask for help. This is my source code of my main: https://haste.nycode.de/apigocizab.avrasm

Kind regards,
Tom

austere hawk
#

i cant register

turbid tide
turbid tide
#

looks like you need the vault and the player ones.

#

/papi ecloud download player then /papi ecloud download vault then /papi reload

austere hawk
last ember
#

Okay I try it

turbid tide
# austere hawk yes

you will have to wait for @balmy marten to wake up. he will probably contact you when he sees this message and has some time. (just so u don't have to read another 2 messages cube, he wants an ecloud account.)

last ember
turbid tide
#

ugh you can't. you have to download the expansions manually. well. you could maybe write a java program to download them yourself but I can't help you with that.

last ember
#

okay 😦

balmy marten
raw yacht
raw yacht
tender vaporBOT
vivid sparrow
#

Failed to load expansion class McMMOPlaceholderExpansion - One of its properties is null which is not allowed!

tender vaporBOT
# raw yacht Okay?
Hey!

Please respect the rules, be patient and don't ping staff members!

raw yacht
# raw yacht Okay?

I clearly do not understand, quoting something from the paste and not explaining more on it isn't helping... thank you

crystal vine
#

hello, how cna i use %player_has_potioneffect%?

austere hawk
#

%player_has_potioneffect_<effect>%

turbid tide
#

actually might not even be the expansion

#

what mcmmo plugin do you have? because this expansion only supports mcMMO Classinc (v1.x) and mcMMO Overhaul (v2.x)

tender vaporBOT
grand shard
tender vaporBOT
grand shard
#

'&eStatus:%changeoutput_equals,ignorecase,ignorecolor_{pinger_online_209.145.48.76:25569}_Online_&2✔_{pinger_online_209.145.48.76:25569}%'
in this i walso want to change Offline to ❎
so where am i supposed to add that thing

turbid tide
#

%changeoutput_<options>_INPUT_MATCHER_OUTPUT-IF-MATCHED_OUTPUT-IF-NOT-MATCHED%

austere hawk
#

Hey Blitz, if you're here, I got another question. I made another placeholder using javascript, works perfectly fine, it returns names and times of potion effects and i aim to display one effect per line, so i added the \n character for next line, but in the deluxemenu, all 3 effects i currently have on me show up for a split second, but then it jumps to only display one. Why would that be?

austere hawk
#

hey yall i had a question, i'm tryna black list people's alts from the playtime statistic so we have a proper measure of playtime on the leaderboards i made

gloomy flume
#

Hi, how can i get a player playtime?

#

if i do %player_time% it shows in ticks

austere hawk
# gloomy flume Hi, how can i get a player playtime?

%statistic_ticks_played%
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%

gloomy flume
#

oh thanks

austere hawk
#

Use ticks, will stretch your - whatever you use to display this - to infinity xD

vivid sparrow
austere hawk
#

No durr

high finch
#

Probably the wrong place, but how do I remove this scoreboard? I have no idea where it's coming from. It pops up for a second on join and then disappears.

magic rock
magic rock
#

looks like FeatherBoard

high finch
#

I don't have featherboard installed

#

But it still shows

magic rock
high finch
#

Ah i have to delete scoreboard.dat from all my world folders

austere hawk
#

is there a way to disable statistics for certain players?

#

i'm trying to disable alt accounts for having playtime on the leaderboards

last ember
#

which placholder do i need to get the name from the tablist with rank and so on ??

heady urchin
#

Can someone help me with this error please

warm topaz
#

update to java 11+

#

ur on java 8

sharp jay
#

also why pastebin

#

its so bad

heady urchin
#

cause I wanted to use it

#

How would I go about updating to java 11 using ptero

sharp jay
#

cant update that via ptero

heady urchin
#

Only issue is factions runs on java 8

#

and wont work on java 11

soft basin
hard basalt
#

i havent touch this chat for a very long time

vivid sparrow
sharp jay
#

Wasn’t for me

vivid sparrow
#

O damn, role icons

vivid sparrow
heady urchin
#

It’s a dedi

#

So can’t just ask someone lol

vivid sparrow
#

Go to server build configuration

heady urchin
#

On the panel?

vivid sparrow
#

Yes, at the top where console, startup etc are, should also be an arrow

heady urchin
#

Sec lemme get out of bed lol

vivid sparrow
#

Btw what spigot version do you use?

heady urchin
#

1.12.2

#

Paper

#

Okay I’m on the build confirguration bit

vivid sparrow
#

Actually it is startup

#

Docker Image Configuration

heady urchin
#

yeah

vivid sparrow
#

Do you have a java 11 option?

heady urchin
#

i do on mine but ill have to check with Tree when he gets online for him to check

#

How would we go about adding it if its not there

vivid sparrow
heady urchin
#

oh its that easy?

vivid sparrow
#

Yeah

heady urchin
#

wow thanks

vivid sparrow
#

Np

heady urchin
vivid sparrow
#

xD

turbid tide
#

because if you do not then that's why it doesn't finish

#

you don't have anything to be finished

foggy timber
#

soo i install Placeholder bc i wanna code the command with %server_online_<world>%
but idk how to use it. i use /papi ecloud download <world> but it says "No cloud expansions are available at this time." pls help me!

turbid tide
#

world is not a valid expansion

#

try /papi ecloud download server then /papi reload

foggy timber
#

/papi ecloud download server?

turbid tide
#

yes

foggy timber
#

still not working

turbid tide
#

what does it say?

foggy timber
#

same

turbid tide
#

then you might have to manually download it

foggy timber
#

download what?

#

what do i have to download manually?

#

?

turbid tide
#

ok so. go to <https://placeholderapi.com/ecloud > and search for the Server expansion. download the latest version from there and put it in your plugins/PlaceholderAPI/expansions folder

#

then do a /papi reload

foggy timber
#

oh ok

turbid tide
#

click on the download latest

foggy timber
#

ill try it 🙂

#

and thx for helping me

#

i have to place it on "/plugins/PlaceholderAPI/expansions/" right?

turbid tide
#

yeah

foggy timber
#

oh ok

#

then what do i do?

silk quail
#

Anything above October 23rd (so oct 24/25/26/27/etc, not 23 above it)%server_countdown_dd:MMM:yyyy_23:Oct:2021% outputs 10 days instead of 30 or some super wrong number

#

Am I going to die oct 23 😦

foggy timber
#

ok

turbid tide
foggy timber
#

ok done

silk quail
#

Blitz help papa when you get chance

#

❤️

foggy timber
#

is it done now?

#

did i complete?

turbid tide
#

yeah. iyou should have the expansion. try doing /papi dump and sending the generated link here pelase

turbid tide
foggy timber
#

theres no command to that

turbid tide
foggy timber
#

yes

turbid tide
#

ugh. are you sure the papi plugin is even enabled?

foggy timber
#

yes

turbid tide
#

what version of papi do you have?

foggy timber
#

idk i just download it days ago

#

i did /papi help thats it

turbid tide
#

/papi version what does it say?

foggy timber
#

it crash my server.....

#

but im running it back

#

and check it again

turbid tide
#

well. My assumption is that placeholderapi is either broken or corrupted or something

foggy timber
#

ill let you know

#

it crash my server but its worked now tysmm

turbid tide
#

no problem. 👍

foggy timber
#

😄

silk quail
#

Blitz? :>

turbid tide
#

I've got no idea

soft basin
tender vaporBOT
soft basin
#

but its just basic plugins, like essentials vault etc. nothing that should be acting up

turbid tide
#

I mean in the expansions folder

#

Are there any expansions there?

wheat cape
#

uhh I have papi on my server and I cannot use /papi parse me placeholder. What can cause it to not work? I have the latest build..

#
[19:08:53] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.10.10
[19:08:54] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[19:08:54] [Server thread/INFO]: [SpigotPing] Enabling SpigotPing v2.6
[19:08:54] [Server thread/INFO]: [SpigotPing] TabList is enabled, task added with a delay of 5 second/s.
[19:08:54] [Server thread/INFO]: [TAB-BukkitBridge] Enabling TAB-BukkitBridge v1.5.2
[19:08:54] [Server thread/INFO]: [TAB-BukkitBridge] Enabled in 3ms
[19:08:54] [Server thread/INFO]: [spark] Enabling spark v1.6.1
[19:08:54] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[19:08:54] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: spark
[19:08:54] [Server thread/INFO]: [spark] Registered PlaceholderAPI placeholders``` it's enabled and working
#

fixed it using ecloud download

strange dove
#

help plz

mellow moss
#

[19:33:34 ERROR]: Error occurred while enabling DeluxeMenus v1.13.3-Release (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "com.extendedclip.deluxemenus.requirement.JavascriptRequirement.engine" is null
at com.extendedclip.deluxemenus.requirement.JavascriptRequirement.<init>(JavascriptRequirement.java:19) ~[?:?]

tender vaporBOT
mellow moss
#

Hey so

#

Deluxe menus is using a lot of ram

sharp jay
#

@mellow moss how so?

foggy timber
#

can anyone help me?

sharp jay
#

?help

tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

foggy timber
#

why cant i do %server_online_HUB% work on hologram?

sharp jay
#

what hologram plugin?

foggy timber
#

holographicdisplay

sharp jay
#

this is the placeholder

#

oh wait

#

nvm

foggy timber
#

i have it

sharp jay
#

"server" is world

#

not bungee

#

is your world name hub?

foggy timber
#

yes

#

its my lobby

sharp jay
#

is it all in caps?

foggy timber
#

not really

sharp jay
#

then fix that

#

and test

foggy timber
#

its "Lobby

sharp jay
#

then why did you call it hub?

#

%server_online_lobby%

#

try this

foggy timber
#

i did

sharp jay
#

does it work ?

foggy timber
#

it does not

sharp jay
#

what does it show?

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

sharp jay
#

can you show me

foggy timber
#

sure

#

there

sharp jay
#

ohh

foggy timber
#

?

sharp jay
#

do {online: lobby}

#

maybe not that

#

that might be bungee

foggy timber
#

but i dint use bungee

sharp jay
foggy timber
#

u want me to instal and put it on my plugins folder?

sharp jay
#

ye

foggy timber
#

oh ok

#

may take a while

#

i installed it

#

now what?

#

what to do now?

#

?

foggy timber
#

so i have a bedwars worlds to play with my friend and im setting up my npc.i wanna set it to "432 players are playing solo!" but idk what the command for it.

#

i used SBA and bedwars addons

dusk delta
#

[WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.3.55 which is not a depend, softdepend or loadbefore of this plugin. what is this?

austere hawk
#

It is just a loading message. Safe to ignore.

#

I'd be worried if this didn't show up lmao

vivid sparrow
#

wait until a plugin loads a library from another plugin due to spigot's plugin system

sweet current
#

Is there a skript placeholder?

#

I have the Expansion-skript.jar but i can't see it in /papi list

austere hawk
sweet current
austere hawk
#

Skript is a plugin iirc. Maybe you mean javascript instead?

sweet current
#

No i meant skript

#

javascript is working fine

austere hawk
#

No idea then, i have it working but don't remember how lol

sweet current
#

oh lol

#

I'm running it on 1.12 server

austere hawk
#

Perhaps u got an old version of papi?

#

Idk

sweet current
#

2.10.9

#

It's just skript i can't get to work, all the other expansions works fine

austere hawk
sweet current
austere hawk
#

O.O

#

How?

sweet current
#

idk i added it, reloaded and it didn't load any of them

#

so i removed it again

austere hawk
#

Papi reload or 'reload'

sweet current
#

papi

austere hawk
#

Really weird as it does work for me. Hmmm

sweet current
austere hawk
#

So what does it say in console when you reload papi with the skript expansion?

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

sweet current
austere hawk
#

Its your java version

vivid sparrow
#

You need java 11 for that expansion

austere hawk
#

Ok I see I'm no longer needed here.

sweet current
vivid sparrow
#

Ask you hosting provider to change the java version of your server to 11

vivid sparrow
#

Java version is not the same thing as minecraft version

sweet current
#

ok

vivid sparrow
#

Just ask them that, they will know what to do

foggy timber
#

so i have a bedwars worlds to play with my friend and im setting up my npc.i wanna set it to "432 players are playing solo!" but idk what the command for it.
i used SBA and bedwars addons"

#

can anyone help me pls?

#

i kinda new to this thing

vivid sparrow
#

What plugin?

foggy timber
#

bedwars plugins?

#

SBA and Bedwars Addons

sweet current
vivid sparrow
#

Don't use acronyms like everyone knows what SBA is lol

foggy timber
#

this one

#

"432 players are playing solo!" want to set the npc like this

#

but dk the command to it

#

.

#

.

elder marlin
#

Guys

#

Papi is supported on 1.17?

austere hawk
tender vaporBOT
#
Hey!

Please respect the rules, be patient and don't ping staff members!

placid light
#

hello
is there a papi placeholder that outputs yes/no if specific key is being pressed?

turbid tide
#

idk if you can even detect keys used by players in spigot without a custom client.

plush pelican
#

Hi uh. With my plugin, is it possible to make it check if the server has a certain Placeholder API expansion installed?

turbid tide
#

I believe you could use java PlaceholderAPIPlugin.getInstance().getLocalExpansionManager() then use the available methods to get the expansions you want.

#

getExpansion(identifier) is one of them

plush pelican
#

Ok. Ty.

tender vaporBOT
# placid light i mean like
Hey!

Please respect the rules, be patient and don't ping staff members!

placid light
#

yo detect shift key in menu

dusk delta
#

can make %TPS% show like 18-20=PERFECT 10-17=MEDIUM 0-9=LOW ?

vivid sparrow
#

Javascript expansion

dusk delta
#

How to do

vale moat
turbid tide
#

looks like you maybe removed the licenses from each class?

vale moat
#

I just cloned the github repo o_O

#

There are any sub modules or something?
I just used git clone https://github.com/PlaceholderAPI/PlaceholderAPI

turbid tide
vivid sparrow
#

Nope, sorry

#

Ask pig, I think he setup that plugin. Could as well just comment it out

turbid tide
#

oh right. it is just a gradle plugin right?

#

Tube you can try commenting it out in build.gradle

#

the liciense {} task

vale moat
#

Ok, so i removed

    include '**/*.java'

    matching('**/*.java') {
        header = file('config/headers/main.txt')
    }

    ext {
        year = 2021
    }
}```

But i still got the same error
#

Ok i got it

#

I removed id "org.cadixdev.licenser" version "0.6.0" from the plugin section

#

You should also change that in the repo 😄

long epoch
#

hello, i just got this plugin installed and tried to install a placeholder but i got an error " Failed to load expansion class ASkyBlockExpansion (Is a dependency missing?)" are there mods needed to run this one?

#

or do i need askyblock cuzz i use the new Bskyblock mod

#

but i guesed it was the same api since its just an updated version

turbid tide
turbid tide
long epoch
#

i already found i don't need to download askyblock but bentobox

vale moat
turbid tide
#

👍

long epoch
#

but there is no command and i don't know how to manualy do it?

turbid tide
#

if there is no command to download, it means it comes with the plugin itself (with bentobox)

long epoch
#

so i can already use for example '%Level_[gamemode]_island_level%' in my scoreboard and it should work?

long epoch
#

thanks a lot 😉

turbid tide
#

yes.

#

you change [gamemode] with bskyblock

long epoch
#

yea

#

thx

young maple
young maple
#

@sharp jay

tender vaporBOT
sharp jay
#

^

young maple
#

sorry

tender vaporBOT
#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17.1

Version:

v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest

young maple
sharp jay
#

paste your whole log

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

sharp jay
#

also use this ^

young maple
#

okay

#

wait

sharp jay
sharp jay
#

says its the ServerExpansion

#

reinstall it

young maple
#

okay

#

not fixed :/

#

ok , I got ti fixed

#

idk how , i managed to download server expansion two times lmao

mint fable
#

and i think the player expansion twice?

young maple
#

yea

mint fable
#

in the log it says it registered it twice 👀

dusk delta
#

why my %vault_eco_too_rank% doesn't work

sharp jay
#

not a placeholder?

turbid tide
#

well. could be because of a few reasons.

sharp jay
#

too is not a number

#

its 2

#

or two

turbid tide
#

nah. he meant to type top

sharp jay
#

oh

dusk delta
sharp jay
#

check pinned

turbid tide
#

these are some of the reasons it might not be working ^

austere hawk
#

Depends what you need. I'm no javascript guru yet but easy-medium I can do.

steel trail
#

Ejem

#

Hello, a question, what is the Death Statistics of the players?

I dont know if is:

**%statistic_deaths% **

turbid tide
steel trail
turbid tide
steel trail
#

Okay Thank you, another question, you know how I can reset the kills, so they all are from scratch

turbid tide
#

all the stats are stored by spigot in your main world folder.

odd willow
#

java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: com/github/benmanes/caffeine/cache/AbstractLinkedDeque$1 has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0...

I got this error when i try to install the Math or the javascript Extension

warm topaz
#

update to java 11+, ur on java 8 currently

odd willow
#

Im running an 1.8.8 server

#

there's only one way to check

#

:)

#

java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 55.0

#

same lol

vivid sparrow
#

You need java 15 for js expansion

odd willow
pliant kindle
#

Did whos know why my play time statistic doesn't save?

#

I always have 0 play time

#

i have this %statistic_hours_played% in SternalBoard config

thorn thunder
# odd willow Oh

You could try finding the old js expansion, that should work fine

pliant kindle
#

@thorn thunder sorry for ping but can u help me?

thorn thunder
#

I can check it out in a bit

pliant kindle
#

Ok, i never use placehorderapi

#

i have expansions

#

Expansion-bungee.jar

#

Expansion-essentials.jar

#

Expansion-luckperms.jar

#

Expansion-player.jar

#

Expansion-server.jar

#

Expansion-statistic.jar

#

Expansion-vault.jar

#

and %statistic_hours_played% in SternalBoard plugin config

thorn thunder
#

What does it say?

pliant kindle
thorn thunder
#

What does it say?

#

Send screenshot if possible please

pliant kindle
#

Accept to friend i send u screenshot because i can't send here

#

I think my statistic hours played not saving

thorn thunder
#

Use imgur

latent cargo
#

Can i use %RainbowColor_<Text>% in essentials nicknames?

#

I just get "Usernames must be alphanumeric"

austere hawk
#

is there any way to do a top kills?

cyan nacelle
#

hey, can somebody send me an example of this? %server_countdown_<SimpleDateFormat>_<time>%

#

icant understand how it works

austere hawk
vivid sparrow
odd willow
#

Test it urself

vivid sparrow
#

Mind your own business, thanks.

hasty anchor
#

lmao what

stoic grove
#

Lol

silver minnow
#

lol

austere hawk
#

Is there a way to parse placeholders across the bungee cord? Like is there a plugin like Papi-bungee? I wanna parse certain placeholders across bungee
For example I want to parse survival games stats from one server to other without using survival games plugin on my hub server for example.

hybrid leaf
lime bronze
#

its not dangerous

#

(i guess)

cyan nacelle
#

hey, can somebody send me an example of this? %servercountdown<SimpleDateFormat>_<time>%

icant understand how it works

hybrid leaf
austere hawk
tender vaporBOT
austere hawk
#

:woeisme:

lime bronze
#

dont mind these, they dont make your server crash so they are not dangerous

turbid tide
#

lol lol lol

#

@hybrid leaf you can fix that by updating your server expansion

#

/papi ecloud download server then /papi reload

turbid tide
#

and they're not a problem. it is just spigot letting you know that interaction happens.

#

it tells you that a plugin is loading a class from another plugin.

#

this is how some expansions get data from plugins for example

#

the essentials expansion loads classes from the essentials plugin to get the data

hybrid leaf
#

ty so much <333

austere hawk
#

@vivid sparrow Returns empty strings for all economy placeholders, permission side seems to work fine

vivid sparrow
#

I see

karmic fog
#

Is there an alternitive to .registerPlaceholderHook

warm topaz
#

ur meant to extend PlaceholderExpansion now, not PlaceholderHook
so now u need to do PlaceholderExpansion#register()

dusk delta
#

anyone know a armor amount that using placeholder?

turbid tide
dusk delta
#

I mean that show like heath that i have but it is arrmor amount i using

turbid tide
#

yes I Know

dusk delta
#

that have to download plugin?

cyan nacelle
#

hey, can somebody send me an example of this? %servercountdown<SimpleDateFormat>_<time>%
[11:55]
icant understand how it works

turbid tide
turbid tide
cyan nacelle
turbid tide
#

no. and no

cyan nacelle
#

sad, thanks

turbid tide
#

I mean if you know javascript you could make your own output using the javascript expansion but yeah

cyan nacelle
#

it would be cool, but no (
but thanks a lot anyway, you helped me a lot)

warped zephyr
#

we update papi version and when we restart the server, papi expansions being deleted

austere hawk
#

is there any way to create a top kills without downloading a plugin?

dusk fern
#

Having some trouble getting my javascript placeholder to work on Featherboard

#

Here are some errors I'm getting on the latest version of papi

turbid tide
#

oh wait. can you send a /papi dump actually?

#

execute that command and send the generated link here ^^

dusk fern
turbid tide
dusk fern
#

will do!

#

ty

#

It worked :)

turbid tide
#

👍

austere hawk
#

Hello! I have an issue with papi.

I don't know what happened but PAPI stopped seeing vault? I have vault registered. When I do /papi reload it says that 2 hooks are registered successfuly. When I do /papi list then it shows me "a total of 3 placeholder hooks". I'm using TitleManager to display all placeholders... all of them are showing... only %vault_eco_balance% is showing instead of the numbers.

I've tried to re-install PAPI and Vault... didn't work... I don't know what to do.
MC version 1.16.5
PlaceholderAPI-2.10.10
Vault 1.7.3

austere hawk
#

The biggest mystery is.... when I load old server back-ups.... it doesn't work either... but... it worked back in the day?!?!

#

I've just noticed Vault is not connecting with the other plugins too.... even in the old server back-ups.... but it always worked.... I don't get it...

native crystal
#

Hey there, for some reason i am having trouble with placeholderAPI. IT says that there is no available expansions for vault, player, statistics and anything else!

#

I am using the latest version with MC version 1.8.9

broken ivy
#

Is there a way to use this with skript??

leaden ivy
#

Heyy, why askyblock placeholders doesn't work?

#

i tried to get the island name using %askyblock_island_world%

#

but it doesn't work

#

in the scoreboard

turbid tide
#

have you downloaded the expansion? are you sure your scoreboard supports placeholders?

sour dragon
#

Is there a 1.7.10 compatible version for papi?

warm topaz
#

i believe in theory it should work on the latest, altho no support will be provided for using 1.7 anymore

sour dragon
#

I think that it caused some gson not found error

#

As GSON is only packaged in bukkit in 1.8 I believe

turbid tide
#

Version 2.10.9 or lower will 100% work on 1.7 but 1.7 support was dropped since version 2.10.10

#

So no more updates, bug fixes, etc

#

For 1.7.x

soft basin
#

hi, i added placeholder back to my server and its still stuck on the expansion registration although we have all the expansions loaded

untold crater
#

can placeholders contain spaces?

turbid tide
#

yes. I believe so

#

idk about identifiers

#

but like the arguments after

#

can

untold crater
#

just working on something that depends on spaces for formatting

turbid tide
#

yeah. arguments accept spaces

untold crater
#

nice thanks

marble creek
#

hey, placeholderapi isnt displaying my bungee server playercounts correct

#

it displays some as 0

austere hawk
#

Ok thx, bye

turbid tide
#

also make sure you have the latest version of the expansion on each server.

marble creek
#

i did try changing the time tho

#

1 second

turbid tide
#

what about the other things?

marble creek
#

gonna see rn

#

No, it doesn't work... :/

turbid tide
#

so. on what server are you on and what server are you trying to see the player amount for?

marble creek
#

can I dm you a screeenshot

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

turbid tide
#

use this service please ^

#

and send it here

marble creek
#

Like, some show as 0

#

when in reality there are some people there

turbid tide
#

can you please make a /papi dump on the server you are right now then one from the Bridge Duos server?

#

send the generated links here

marble creek
#

ye

#

hmm, i kinda want to keep it private from everyone, can i DM you it, then you respond here

warm plover
#

Is there any potion placeholders? Potion duration, level, etc

#

Couldn't really see any

marble creek
#

@turbid tide is tht fine?

tender vaporBOT
marble creek
#

oh sorry!!!!

turbid tide
#

sure. idk what really is there to hide in there tho... it just lists your plugins and your expansions.

cloud falcon
marble creek
#

i submit them to u blitz

vivid sparrow
cloud falcon
#

oh

vivid sparrow
#

You would need a plugin that allows you to modify statistics after your willing.

cloud falcon
#

uhm, don't you know any plugin, that can do this? 😅

vivid sparrow
#

no, sorry

#

there's Statz that store data on its own and has commands and stuff

cloud falcon
#

Mhm, but I'm not sure if it's supporting 1.17.1

vivid sparrow
#

probably not, but could check their discord

turbid tide
marble creek
#

it does

#

I've updated it?

#

and nothing works still

turbid tide
#

it says version 1.0.1 tho...

#

on one it is 2.0

#

on one it is 1.0.1

#

actually

#

looks like both

#

of them

#

have version 1.0.1

#

bungee [Author: clip, Version: 1.0.1]
and
bungee [Author: clip, Version: 1.0.1]

marble creek
#

@turbid tide so what do i do, is this the reason?

tender vaporBOT
marble creek
#

doesnt work! updated both

#

tbh might be something in my bungee