#placeholder-api

150650 messages · Page 21 of 151

fervent jackal
#

Is there an expansion to obtain how much time is left for a certain date?
Can I make a placeholder that does it with Javascript expansion and epoch time?

hollow lantern
#

Does someone know why?

hollow lantern
#

Why does %bungee_total% show 0? do i have to install papi on bungee?

#

it takes 30 seconds to update.ffs im a dumbass

turbid tide
#

Is there an expansion to obtain how much time is left for a certain date?
Can I make a placeholder that does it with Javascript expansion and epoch time?
@fervent jackal Server_Countdown.

#

Caused by: java.lang.IllegalArgumentException: This registration already exists

#

I think you have 2 bungee expansions installed.

#

go to plugins/PlaceholderAPI/expansions and make sure you have just one

rugged widget
#

were can i get the bungee version ?

hollow lantern
#

thanks fixed it!

tender vaporBOT
#

@hollow lantern,

hollow lantern
#

whoops my bad

#

arran papi is not available for bungeecord, but you can install Bungeecord placeholders by using /papi ecloud download Bungee, and then /papi reload

turbid tide
#

^

bright locust
#

guys what's that

#

[WARNING] .... [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.93 which is not a depend, softdepend or loadbefore of this plugin.

#

why it's also says about vault

turbid tide
#

its just letting you know

bright locust
#

how can i fix it or just leave

turbid tide
#

its not an error or anything

#

you have to leave it like that

bright locust
#

kk

#

thx

turbid tide
#

I think there's a plugin that can remove console spam

#

don't remember its name

#

or if it can remove those

bright locust
#

i know

#

but i hate console spam

#

plugin

turbid tide
#

then you'll have to live with those warnings

turbid tide
#

yeah he knows but he doesn't like the plugin apparently.

hollow lantern
#

f

high star
#

ConsoleSpamFix should not exist. If something is spamming your console, figure out what it is and fix it instead of hiding it.

#

And for that warn, blame md_5.

#

it's an "improvement to the api"

stone parcel
#

why does it return only the placeholder without the "%"'s? the script: ```function language_active()
{
var ding1 = "%denizen_<player.flag[";
var ding2 = args[0];
var ding3 = "]>%";

var status = "";
return status.concat(ding1,ding2,ding3);

}

language_active();``` btw it's just a test script who will do something different

turbid tide
#

because the javascript only parses the palceholder when starting the script. It doesn't parse it after or on return. So you need to make sure it gets parsed using PAPI's parse method

#
function language_active()
{
    var ding1 = "%denizen_<player.flag[";
    var ding2 = args[0];
    var ding3 = "]>%";

    var status = ding1 + ding2 + ding3;
    return PlaceholderAPI.setPlaceholders(BukkitPlayer, status);
}

language_active();``` I think this should work
junior musk
#

isn't it setPlaceholders? 🤔

turbid tide
#

oh

#

shit

#

no idea why I used replace xD

#

ty for mentioning xD

junior musk
#

🙃

reef sable
#

Hi there

turbid tide
#

ugh anyone in here ever used the gradient expansion? It seems to not work. I might have done something wrong. Here is some more info:
I tried this command:
/papi parse me %gradient_message_{#ffffff}_{#000000}_message with colors%
I got this error: https://paste.helpch.at/mifutigure.bash
I also have Gradient v 2.0 which seems to be latest even tho it is colored orange. Any info on this is welcomed. Thanks.

reef sable
#

I'm gonna crazy

#

Can someone look that please

stone parcel
#
function language_active()
{
    var ding1 = "%denizen_<player.flag[";
    var ding2 = args[0];
    var ding3 = "]>%";

    var status = ding1 + ding2 + ding3;
    return PlaceholderAPI.setPlaceholders(BukkitPlayer, status);
}

language_active();``` I think this should work

@turbid tide wdym? it is a javascript placeholder

turbid tide
#

yeah

#

but you made your own placeholder

#

but its not parsed

#

isnide

#

the %denizen_<player.flag[arg[0]]>% is not going to get parsed

#

you need to use PlaceholderAPI.setPlaceholders

#

because otherwise it is just a string

#

not a placeholder

reef sable
#

Blitz when u able can u look my error please

turbid tide
#

already did and no idea what that is

reef sable
#

&a%statistic_mine_block:Emerald_ore%&7/&240000

#

I have something in DeluxeMenu

#

it says in menu invalid stat

turbid tide
#

what's your server version?

reef sable
#

1.12.2

turbid tide
#

and if you do /papi parse me %statistic_mine_block:Emerald_ore% the error appears in console ?

#

also are you sure you're using the latest Statistic expansion?

reef sable
#

same error

turbid tide
#

ok read last question and answer please.

reef sable
#

Yes i am sure

turbid tide
#

hmm what's the version of Statistic you have?

#

do /papi info Statistic

#

it will tell you there

reef sable
#

2.0.0

turbid tide
#

hmm

#

very weird.

#

I can parse the same placeholder with no problem.

#

I am on 1.16.3 tho

reef sable
#

lol

#

i fix that

#

changed mine_block to MINE_BLOCK

turbid tide
#

hmm weird.

reef sable
#

😮

#

Thanks your help

#

Sorry for your time ❤️

clear nebula
#

heya, I'm getting this error when stopping the server

#

what may be causing it

#

it happens to ~10 plugins

mint fable
#

I assume it's net.prosavage.outpost

#

outpost plugin/expansion?

#

most likely outdated

clear nebula
#

Around 13-14 plugins are like that

#

while on a friend's server they aren't

turbid tide
#

yeah because they all use outdated methods

#

the expansions of those plugins need to be updated or you need to downgrade to PAPI 2.10.6

clear nebula
#

tch, I see

#

ty

jovial wyvern
#

?json

tender vaporBOT
jovial wyvern
#

Hey there, does anyone know of a way I can use placeholder API to parse JSON? I've been looking through the eCloud but nothing obvious is standing out.

trim mist
#

I don't believe we have a json parsing expansion. Can you elaborate a little more on what you're trying to do?

jovial wyvern
#

I'm trying to implement On Hover to usenames so that it can display things like rank, towny residence, etc without clogging chat with prefixes and postfixes.

#

I tried the plugin Hover but it was conflicting with other plugins (or just doesn't work on 1.16) and the plugin dev hasn't been around for a few years.

#

Also, side note, I love your role's title.

trim mist
#

So the content itself from Towny is in JSON?

turbid tide
#

so you want every time you do /papi parse me %player_name% to get a json? then that is not possible. But if you want like everytime a player types something in chat you can hover over their name then you need a json plugin. A premium one is DeluxeChat but there are some free alternatives

jovial wyvern
#

Deluxe Chat? I'll have to look into that, that sounds closer to what I was looking for.

jovial wyvern
#

This is exactly what I was looking for. I hadn't considered looking for a different chat plugin that had the feature I was looking for and Papi support. Thank you!

#

But yeah, to answer Waffle King's question. The goal was that I was going to either use a prefix with placeholder that would contain the JSON, and upon hover it would display things like "Rank: Owner, Town: Nomad" etc

trim mist
#

Yeah, DeluxeChat is great for that.

#

Or whichever alternative you find that supports PlaceholderAPI 🙂

jovial wyvern
#

Thank you again! 😺

trim mist
#

Yup!

odd lance
#

/papi ecloud download Animations registers it as downloaded, but it doesn't load.

#

/papi reload Shows all working papi modules, but lists the mcmmo module twice. It also only registers "16" out of an actual 17 of my PAPI modules. 😐

compact knoll
#

Hey everyone! I'm getting something weird happening with PAPI. I am using the inbuilt function of the "PlotSquared" placeholder, and when I install it and reload PAPI, it does not show in the list. Is there any particular way this can be fixed?

vivid sparrow
#

-papi plotsquared

compact knoll
#

hm?

turbid tide
#

?ecloudblock

tender vaporBOT
turbid tide
#

^

stone parcel
#

the %denizen_<player.flag[arg[0]]>% is not going to get parsed
@turbid tide denizen is not made by me and it's supported by papi

tender vaporBOT
#

@stone parcel,

turbid tide
#

yeah I know but that doesn't matter

#

I added PlaceholderAPI.setPlaceholders(BukkitPlayer, Placeholder) for the placeholder to get parsed again

#

the script I sent should work

stone parcel
#

okay i'll try

#

console says TypeError: PlaceholderAPI.setPlaceholders is not a function in <eval> at line number 1

junior musk
#

try PlaceholderAPI.static.setPlaceholders(BukkitPlayer, Placeholder)

light comet
#

Im still looking for someone who would be willing to update mcMMO expansion to have placeholders to pull the mctop # and mctop player name. It should be possible correct?

raw fable
#

The PAPI placeholder "%essentials_kit_time_untilavailable<kitname>%" displays an incorrect time for any/all kits. The hours shown with the placeholder is incorrect. Days/Minutes/Seconds seems to be okay. Running on Version 2.10.9

fervent jackal
#

%server_countdown % Fixed
Few days ago I had some errors when trying to use this placeholder. So I downloaded and edited server expansion.
This edited version has some changes, for example:

  • %server_countdown_MM/dd_12/25_formatted% displays texts like "2 months 15 days" or "1 month 29 days"

  • %server_countdown_dd HH:mm:ss_10 09:30:00_formatted% displays texts like "3 days 23 hours 10 minutes 5 seconds"
    (You can edit texts in config)

  • %server_countdown_MM/dd_12/25_days% displays the number in days

Download link: https://mega.nz/file/iLp2HaYY#i8RHpNixA3-3vBbrBYu5Bs_aB3yr-n4YKP3M21grxCo
I share it here in case anyone is interested in using that placeholder in a more complex way
||Source code: https://mega.nz/file/LXYyjRLC#mTXfRSKqpDTAo90RSQT81y6K426lMq_vUrEAQLTnwJ8||

high star
#

source code on mega thonking

#

github

austere hawk
#

hey hey! I know this might seem like a weird one, but is there an easy way to run placeholders on a target person? Like as an admin, if i'm wanting to run a placeholder on all online people but it only spits out the output to myself, not the target person

high star
#

check out /papi parse. It can for sure run placeholders on 1 person, although I don't know about everyone at once

warm topaz
#

@fervent jackal this is unnecessary, the papi dev builds fixes this lol

austere hawk
#

check out /papi parse. It can for sure run placeholders on 1 person, although I don't know about everyone at once
@high star
Oh sweet, I always thought by the wording of the help command that it sent the output to the other person whose name you use. I use parse quite a bit in testing so that will be useful

high star
#

afaik it only sends it to the command runner

austere hawk
#

yup just tested it 👍

tender vaporBOT
stone edge
#

where to request a placeholder update in placeholder list from github

warm topaz
#

i guess github would be the best place

#

open an issue maybe

turbid tide
#

here.

#

xD

#

I'm bored since my server console is fucked up. Send me a friend request and what you want modified. I'll do it rn

#

@stone edge

warm topaz
#

add RNG expansion to github xd

turbid tide
#

k 1 sec

#

adding that too

warm topaz
#

thank

turbid tide
#

what was it? rng_random, rng_val1,val2 and rng_valMax ?

#

time to go to the expansion's github xD

stone edge
#

it says reqiored instead of required :,v

turbid tide
#

where?

#

alonsolevels?

warm topaz
#

yes

#

wait no

turbid tide
#

well I mean I know where it does just making sure that's what he wants changed xD

#

I'm checking the spigot page tho

warm topaz
#

rng_valMin for that one

#

rest is right

turbid tide
#

ok ok

#

@stone edge are you sure its a spelling mistake on the wiki only and not in the plugin as well?

stone edge
#

yes :,v

#

in my wiki, it says required

#

but in papi wiki it says reqiored xd

turbid tide
#

kk changing it

stone edge
turbid tide
#

done

stone edge
#

ohhhh

#

Arigato ^^

#

I'm too lazy to ask for other plugins to be added to the list :sad:

turbid tide
#

dw. I'm lazier. Even if you would have asked I wouldn't have added them xD

stone edge
#

sad_fingerguns xD

warm topaz
#

if u really bored u can add the new chatreaction placeholders too blitz fingerguns

#

(find them all on the ecloud)

turbid tide
#

yo @warm topaz what does %chatreaction_time_in_seconds% do? Same as time_remaining just in seconds?

#

welp I hope it does that because I saved it like that xD

warm topaz
#

uh it gets the time from when it was started, whereas time remaining is the time it has left until the reaction timer has stopped

turbid tide
#

oh

#

updated

turbid tide
#

[14:22:31] [Server thread/WARN]: [AutoSell] AutoSmelt break material: WOOL has an invalid material set! and [14:22:31] [Server thread/WARN]: [AutoSell] Failed to establish a hook for area handling.those are the only things I can still see

whole temple
#

Hi, is there a placeholder that truncates other placeholders?
So it would change
123456789 to 12345 if the length is set to 5

warm topaz
#

javascript placeholder

whole temple
#

Welp, time to learn JavaScript.

mint fable
#

@tacit vigil here

tacit vigil
#

?

mint fable
#

I've alerted people you want to make an account, just gotta sit and wait.

#

Somebody will probably tag you here

#

What expansion are you uploading?

tacit vigil
mint fable
#

why not include it in your plugin?

tacit vigil
#

umm, the github page says it's better to use separate jar

#

¯_(ツ)_/¯

mint fable
#

I'd recommend including it

tacit vigil
#

waow

#

okay

mint fable
#

🤷‍♂️

tacit vigil
#

anyway thanks

austere hawk
#

can i somehow change quantity of decimal symbols?
%jobsr_plimit_money% placeholder give me 255.014250000000001
instead of 255.0

tacit vigil
#
double value = 34.766674;
String result = String.format("%.3f",value);
System.out.print(result);//  34,767
#

can place 1 instead of 3 here

static needle
#

i need some help with my Bedwars plugin, because we have each map on its own server the Bedwars plugin doesn't have the placeholder support for multi servers so players wont be able tell if the game is currently going on or ready to join in the lobby

is there anything you can do to sync Placeholderapi across servers?

crisp hound
#

@static needle afaik papi doesn't support bungee placeholders

#

well

#

bungee syncing of placeholders between servers

#

you can send like online count and stuff

static needle
#

No like can i sync placeholders from a plugin in one server to another?

tacit vigil
#

If plugin supports sql already

static needle
#

using placeholder api?

tacit vigil
#

placeholders should by synced

static needle
#

it does

crisp hound
#

papi can only display placeholders from that server

#

your bedwards plugin needs to provide the placeholder that will give data from different servers

tacit vigil
#

papi can only display placeholders from that server
@crisp hound Depends on how the Expansion gets results)

static needle
#

Looking in the bedwars sql tables it doesnt seem to

#

this is the plugin

crisp hound
#

im pretty sure this isn't a papi thing and you should contact the author of that plugin for support with this

#

they will need to provide the placeholder

static needle
#

alright thanks for your help

odd jay
#

The placeholder %rel_factionsuuid_relation_color% also returns green for you when you have a faction, and I wanted to create a javascript to work as that placeholder with a condition to return blank whenever the objective is yourself, I am struggling to make this and I don't even know if it is possible to do, can someone help me please?

junior musk
#

I don't think relationnal placeholders are supported with the js expansion, not sure

rare lily
#

The script is per-player, so you can have a check condition

odd jay
#

I have no single idea on how to do that xD

junior musk
#

neither do I

odd jay
#

lmao

junior musk
#

wait,

#

don't the colors come from the faction plugin?

odd jay
#

You mean the "relational" thing? From what I know yes, I read somewhere on the updates of PAPI, that the method to detect the player 1 and player 2 most be done by the server, idk Im not sure

junior musk
#

I'm talking about the factions relationnal placeholders colors

#

doesn't it take those colors from your faction plugin?

odd jay
#

Yea, from factionsuuid

#

I would need a javascript placeholder that will be located on the players's tags and would act as %rel_factionsuuid_relational_color% but, if it is you it would return blank, but if its not you, it would return that placeholder.

#

but the problem is that idk how to get that "%rel_player_name%"

#

And you can't just make a condition that it will make it blank if it has "&a" on it since it would also affect players that are on your faction

#

If anyone has any idea or knows if it is or isnt possible to do, it would be much appreciated

junior musk
#

welp, idk

#

I guess you would have to ask FactionsUUID's dev to add that

odd jay
#

Yup, I concluded in that just a few seconds ago xD

junior musk
#

or open an issue on the Javascript expansion's github to add a way to get a BukkitPlayer2 variable for relationnal placeholders

odd jay
#

Uh, i will have that in mind

#

looks interesting idea

#

thx gab

#

always there

junior musk
#

:D

#

I'm always watching 👀

odd jay
#

Sp👀ky

junior musk
#

lol

verbal narwhal
#

i need some help

tender vaporBOT
verbal narwhal
#

im trying to install "playtime" expansion, but after doing /papi reload nothing loads

turbid tide
#

you need a plugin for that expansion to work

#

that is an expansion for a plugin. its not its own expansion

verbal narwhal
#

it's registered now thanks

raven quartz
#

I need some help with PAPI please

brisk coral
#

Hard to assist if you don't provide any informat

#

Information*

raven quartz
#

f

#

oh

#

cant send pictures?

tender vaporBOT
#

@raven quartz,

raven quartz
#

i'll just describe it then

#

I try download the expansion for SuperbVote

#

I then type /papi reload

#

it says configuration reloaded

#

then it says An internal error occurred while attempting to perform this command.

tender vaporBOT
raven quartz
#

Failed to register expansion from Expansion-Superbvote.jar

trim mist
#

That doesn't really help, hence why the message above provides you with instructions.

raven quartz
#

?paste

tender vaporBOT
raven quartz
#

does that work for you @trim mist

trim mist
#

Failed to load due to a [NoClassDefFoundError], attempted to use io/minimum/minecraft/superbvote/SuperbVote

raven quartz
#

Right, how shall I proceed? Thanks

trim mist
#

Sounds like the expansion is outdated.

#

As in, it hasn't been updated to support the latest versions of PlaceholderAPI.

raven quartz
#

anything I can do / can be done?

trim mist
#

Afaik, I believe this author said he was not interested in maintaining the expansion, so, that puts us in a pickle.

raven quartz
#

O, I see..

#

And you cannot do anything yourself can you? - the author would have to, right?

trim mist
#

I could, but not for a few days most likely.

raven quartz
#

If you could that would be great- I can wait.

steep thorn
#

If somebody has the time...

trim mist
#

Lemme see if I have the resources to update it real quicck.

#

Any chance this works?

austere hawk
#

can i somehow change quantity of decimal symbols?
%jobsr_plimit_money% placeholder give me 255.014250000000001
instead of 255.0

steep thorn
#

@raven quartz did you see the new message?

#

This looks like it could do it

#

with the : thing

raven quartz
#

I will try it @trim mist

#

What do I have to do in game?

#

do I need to type /papi ecloud download SuperbVote again

#

I downloaded that jar and put it into expansions btw

steep thorn
#

@raven quartz drop the .jar in your expansions folder

#

Then just reload

raven quartz
#

I did /papi reload

steep thorn
#

And make sure you deleted the old jars

raven quartz
#

That too

trim mist
#

Probably best off stopping the server fully, delete the old jar, put that one I sent, then start up the server again.

raven quartz
#

On it

trim mist
#

Did it work?

cursive lark
#

Hi!

#

I was wondering if someone can help me

tender vaporBOT
cursive lark
#

PlaceholderAPI is only coming up as percentplayerpercent in chat instead of %player% and outputting the player name, placeholderapi is also not working on scoreboards

tender vaporBOT
cursive lark
#

Still not working

trim mist
#

What scoreboard plugin are you using?

cursive lark
#

Scoreboard-Revision

trim mist
#

Got a link to the SpigotMC page?

cursive lark
#

but it's also not working in chat with UltraPermissions

trim mist
#

Does /papi parse me %player_name% return your Minecraft username?

cursive lark
#

it's not just player placeholders

#

it's every placeholder I try

trim mist
#

Sounds like a problem with the scoreboard plugin then.

#

Have you tried contacting the developer of the plugin?

cursive lark
#

It's not the scoreboard plugin

#

It's happening in chat with UltraPermissions too

cursive lark
#

Yeah that works

#

but UltraPermissions wont work either

trim mist
#

Okay, have you reached out to them to ask for help?

cursive lark
#

Yeah, no response :/

trim mist
#

If the parsing works, that tells me that PlaceholderAPI is working just fine. Someone else here might know about UltraPermissions but I have never personally used it. Most likely will have to wait to see if anyone else knows about it.

sour oxide
#

Can I set the timezone for the date placeholder?

trim mist
#

@raven quartz Any chance you were able to try that jar and see if it started working again?

sour oxide
#

Waffle King is there a way to set the timezone for the %server_time_<SimpleDateFormat>% placeholder?

trim mist
#

You'd have to check Java wiki for SDF

sour oxide
#

I can make a placeholder with my own separate plugin with the timezone I want but can I not do it through PAPI?

sour oxide
#

Anyone know how to fix this error in Intellij?

Could not find artifact me.clip:placeholderapi:pom: in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/)

sour oxide
#

Fixed ✅

dry token
#

Hi I am trying to rig https://ajneb97.gitbook.io/conditionalevents/ with a vote listener. I want rewards to be given based on the world that a player is in. i.e., when in skyblock theyll receive 2 diamonds and when in survival they receive 1 diamond and 8 iron, while in creative they get 10 minutes of WorldEdit. Something like that. I am unsure as to what event to define for this to work. Do I need to find a vote listener that hooks into PAPI and has a 'confirmed vote' placeholder?

potent bramble
#

Hi. When I try to download any expansion the console says Failed to load due to a [NoClassDefFoundError]

warm topaz
#

paste the whole error

#

and what expansion are u trying to download

potent bramble
#

LuckPerms but I tried with others and I get the same error

warm topaz
#

?luckperms

tender vaporBOT
warm topaz
#

probably this is the issue then

potent bramble
#

Oh okay thanks

dusk copper
#

Is there a way to reset placeholders data for all players?? Thx

wise goblet
#

What placerholders are you refering to?

#

@dusk copper

dusk copper
#

player staistics

wise goblet
#

delete their player data, or delete their statistics part on their data

dusk copper
#

I have deleted the player data, but still it keep the same data

wise goblet
#

ahmm wait

dusk copper
#

ok

wise goblet
#

user cache?

#

btw playerdata is at each world.

#

and u have to delete the stats part

#

which is world > stats

dusk copper
#

I have tried deleting the cache, and playerdata i will give stats a go thx

wise goblet
#

good

#

cache: saves unique id's I think
Playerdata: inventory and stuff
stats: stats xD

dusk copper
#

I will let you know if it worked 🙂

wise goblet
#

ok

dusk copper
#

Yesss Thanks @wise goblet it worked

wise goblet
#

great, I know that too now 😄

supple dawn
#

Hello,

I have a survival server with griefprevention. I also have a presentman so ppl that come every day can claim claimblocks, because they are online every day. But the placeholder %player% doesnt work. I downloaded the placeholders for Griefprevention from /papi. I also use a /title command from vanilla itself to let ppl know they have gotten the claimblocks. The plugin I use is RewardPro, but they dont give any support what so ever. Maybe you guys can help?

turbid tide
#

?player

tender vaporBOT
turbid tide
#

@supple dawn ^

supple dawn
#

ok thanks. I downloaded the Player placeholder to, but that didnt work. Il try this

turbid tide
#

well if you've downloaded it you have to use %player_name% not %player%

supple dawn
#

Dude thanks man! I have been working on this for weeks. It works!

naive panther
#

I don't know what i did, but when i use /papi ecloud download, the list doesn't appear anymore

turbid tide
#

what list exactly?

#

you need to do /papi ecloud list all/installed

naive panther
#

This list

#

When i first installed Papi, i could download all of the placeholders just changing the end of the command, like /papi ecloud download vault and /papi ecloud download players

#

But now i can only install one per server reinstall

pine hemlock
#

Is it possible to input a placeholder into another placeholder? I'm trying to input %essentials_nickname% into the Formatter Expansion's %formatter_text_substring_start:end_<text>% to remove the color formatting at the beginning of a player's nickname. It would look like this (though not functional): %formatter_text_substring_2:_%essentials_nickname%% because the first two characters would be the '&' and the color code

wise goblet
#

I think it's {}

pine hemlock
#

Yes! That was it. Thanks so much

random shoal
#

helo

#

i need help with placeholders

#
  • '{fast}&b%leaderheads_name_bw1058statswins_alltime_1% &f- &b%leaderheads_value_bw1058statswins_alltime_1%'
    • '{fast}&b%leaderheads_name_bw1058statsbedsdestroyed_alltime_2% &f- &b%leaderheads_value_bw1058statsbedsdestroyed_alltime_2%'
    • '{fast}&b%leaderheads_name_bw1058statsbedsdestroyed_alltime_3% &f- &b%leaderheads_value_bw1058statsbedsdestroyed_alltime_3%'
turbid tide
#

Robin#7385 please contact him if your problem is with leaderheads.

naive panther
#

Did i disable anything to the /papi ecloud download autocompletion/download stopped work?

mild gale
#

playtime placeholder isn't working. I used /papi ecloud download PlayTime and I'm using VentureChat with {playtime_time}

#

anyone can help me?

turbid tide
#

you need the plugin PlayTime for that expansion to work

#

its an expansion for a plugin

mild gale
#

ye I have

turbid tide
#

if you do /papi parse me %palytime_time% does that work?

mild gale
#

nope

#

"An internal error occured..."

turbid tide
#

restart your server and send the startup log please

#

?Startuplog

tender vaporBOT
turbid tide
#

this is how you get the log ^

mild gale
#

?paste

tender vaporBOT
mild gale
turbid tide
#

ok now please do /papi parse me %playtime_time% again and send the error that you get in the console

mild gale
tender vaporBOT
turbid tide
#

11.10 08:16:55 [Server] INFO Caused by: java.lang.NoSuchFieldError: PLAY_ONE_TICK seems like PlayTime is using an old Field. I think on 1.13+ Its called PLAY_ONE_MINUTE or something like that. what's your server version?

mild gale
#

1.16.3

turbid tide
#

well PlayTime only supports 1.8-1.13 I think

#

so you'll need to find another plugin or use the Statistic expansion

mild gale
#

does Statistic expansion accurate?

turbid tide
#

it should.

mild gale
#

and am I able to use playtime on rankup plugin?

#

requirements

turbid tide
#

does that plugin support placeholders as requirements?

mild gale
#

I think so

turbid tide
#

well then you can use it why not.

mild gale
#

what's the best placeholder for KDR?

turbid tide
#

probably math + statistics

#

%math_[precision:1]{statistic_player_kills}/{statistic_deaths}%

#

it will be formatted like xx.x if you want 0 precision so xx only then just change precision:1 to precision:0

#

if you want more precision like for example xx.xx use precision:2

#

etc.

mild gale
#

The provided value was invalid!. Reason: Empty expression.

#

I have put {math_[precision:1]}

#

@turbid tide

tender vaporBOT
#

@mild gale,

turbid tide
#

well that's because just the math itself won't do anything if oyu don't provide an expression

mild gale
#

how do I provide an expression?

#

I copy pasted what you said earlier

turbid tide
#

you didn't copy the statistic part

mild gale
#

&f{math_[precision:1]}&e&l{statistic_player_kills}&f/&6&l{statistic_deaths}

turbid tide
#

oh wait

#

you're using it in venture chat?

mild gale
#

yes

turbid tide
#

oh idk if you can then

#

it breaks when you use it like that

#

like {math_...}

mild gale
#

so i will just use statistics kills and deaths

turbid tide
#

yeah. they won't be calculated

#

but you will be able to show the deaths and kills

earnest flax
#

whats the placeholder to show someone's kills

#

it doesnt work dude ngl

#

oh it works xd

#

i m noob srsly

#

i didnt do ecloud stuff

#

@turbid tide and what is the placeholder for essentialsEconomy

#

balance

spiral garnet
#

What is papi??

tender vaporBOT
turbid tide
#

PlaceholderAPI ? its a minecraft plugin

spiral garnet
#

I mean what it is using for what

turbid tide
#

it helps you get information from minecraft/other plugins using just a word/group of words instead of actually having to code it yourself every time

#

so plugins that support PAPI can use those words to dispaly/use the information instead of actually needing to hook into a plugin etc.

spiral garnet
#

Ohh i understood now thx

junior musk
#

check console

#

send everything from when you execute /papi reload

#

does worldguard show in /papi list?

#

can you send your entire server logs?

#

=paste

tender vaporBOT
junior musk
#

weird

#

wait

#

you don't have the WorldGuard plugin

#

👍 😅

vivid sparrow
tidal osprey
#

Hello, there isn't placeholder that covers the name of the last player who hit each other?, I have been looking with the "Player" but nothing I am looking for.

trim mist
#

I'm not aware of anything like that.

warm topaz
#

i could add this to my list in my plugin

novel moss
#

hi, can i get an ecloud account to upload an expansion for my plugin?

trim mist
#

DM funnycube with your name and email.

novel moss
#

okay ty 👌

#

does he not accept dms from shared servers?

trim mist
#

Ahh probabaly not, might have to send him a FR

novel moss
#

oof, ill try

#

haha i cant even friend him

trim mist
#

Alrighty then if you see him online sometime, you can just ask him (:

novel moss
#

well gl me xd

#

thanks for trying tho

rare lily
#

I thought I already resolved the java 8 problem?

#

That's weird

rare lily
#

Can anyone test out my World expansion for a sec?

rare lily
#

.

trim mist
#

Send it

#

@rare lily

rare lily
#

@trim mist

trim mist
#

Send it

rare lily
#

The github or the jar

trim mist
#

Yes

#

Send it lol

#

I'll test it

#

Well, I will, tomorrow, took too long. Off to bed.

rare lily
#

I mean, all you have to do is press on the link and press "Download"...

turbid tide
#

I mean, all you have to do is press on the link and press "Download"...
to many buttons ...

novel moss
#

@balmy marten hi

hi, can i get an ecloud account to upload an expansion for my plugin?
@novel moss

tender vaporBOT
#

@novel moss,

novel moss
#

I cant dm or friend

#

Oof bad bot

turbid tide
#

xD

balmy marten
#

dm me an email and username you want

novel moss
#

I cant...

#

It says we are not sharing servers

#

Nvm discord on phone is trash lol

rare lily
#

I just come back home

#

The expansion seems to load fine for me, weird

mild gale
#

what is the difference between MVdW and Placeholder?

turbid tide
#

one works only for MVdW's plugins the other works for any plugins that add support for it

rare lily
#

The purpose for MVdW is for Maxi's plugins though

turbid tide
#

yeah that's whay I said one works just for MVdW's plugins

fringe karma
#

Oh, the bossshop pro plugin actually refers me to this plugin, I think? I'm trying to let BossShop Pro read off McMMO levels, for example that you can only buy a certain pickaxe at Mining level 100. Could anyone hit me up for some advice/assistance how to do this?

turbid tide
#

does BossShopPro accept placeholders as currency ?

fringe karma
#

I don't know what most of that even means, so I can't answer that for certain

turbid tide
#

looked thru their spigot page and seems like you are able to

#

then download PlaceholderAPI

#

and then do /papi ecloud download McMMO and /papi reload

#

and you can use %mcmmo_level_<skillname>% as a currency I guess

#

you'll have to remove the level using mcmmo's command if it even has that

idle sonnet
#

Hey what is the placeholder for GriefPrevention

#

😮 thx

fringe karma
#

Blitz, do you mind if I take this to DM with ya?

#

So that it doesn't clog up the chat space

turbid tide
#

dw about chat space. Just ask here. That's why this discord server exists xD

fringe karma
#

Oh okay

#

Okay PAPI is now installed

#

so I just use %mcmmo_level_mining now?

turbid tide
#

first execute those 2 commands I gave you above

fringe karma
#

Doneso

turbid tide
#

you should be able to use %mcmmo_level_mining% as a currency now

#

as I said I'm not 100% sure if it accepts placeholders as I never used this plugin but from what I've seen on the spigot page it should

idle sonnet
#

can u send that placeholder of griefprevention again

turbid tide
upper pewter
#

helo, I'm having trouble whith the MySQL expansion, pls any help

idle sonnet
#

i typed -papi votes in bot-commands but it not gaved me vote placeholders

turbid tide
#

well I mean is there a votes expansion?

#

because I'm pretty sure that expansion doesn't exist

#

what vote plugin do you have?

kind socket
#

Hi i've been trying to add Power Ranks to the API try and try wouldn't find it so I downloaded one into the Expansions File game now knows its there but won't register it. Any ideas on how to fix?

austere hawk
#

anyway to "undownload" a ecloud package?

#

so the opposite of "/papi ecloud download essentials"

trim mist
#

Remove it from the expansion folder manually.

austere hawk
#

Okie dokie. I’m a lazy butt lol

turbid tide
#

ugh @kind socket the expansion comes inside the plugin

#

no idea what you've downloaded but delete it

#

you only need the plugin itself

kind socket
#

Alright thanks

#

Still not displaying it just says %powerranks_rank% have I done something wrong?

wet basinBOT
#

@turbid tide Unknown expansion.

#

@turbid tide Unknown expansion.

turbid tide
#

do you have the PowerRanks plugin installed?

kind socket
#

Yeah

#

Everything in powerranks in game is working as normal just not on the scoreboard

elder fiber
#

I have instaled the PAPI plugin on my server and I downloaded expantions and I go into the game to type /papi reload bit there is no commands for the papi plugin, did I forget somthing?

turbid tide
#

what if you do /papi parse me %powerranks_rank% does that work Spooky ?

#

?startuplog

tender vaporBOT
turbid tide
#

@elder fiber send this ^

elder fiber
#

ooh ok will try that

#

?paste

tender vaporBOT
kind socket
#

It just prints out %powerranks_rank% and when I refresh it stays the same I could try re installing power ranks?

turbid tide
#

hmm idk if that will help

#

have you deleted the expansion you installed before from expansions folder?

kind socket
#

Yeah and I restarted the server

upper pewter
#

When try to install MySQL expansion an reload papi it don't reload and throw an error

elder fiber
#

so @turbid tide what do I do with the startup log? do I send it to you?

turbid tide
#

you send it here

elder fiber
turbid tide
#

When try to install MySQL expansion an reload papi it don't reload and throw an error
send the error please in a paste

#

I have instaled the PAPI plugin on my server and I downloaded expantions and I go into the game to type /papi reload bit there is no commands for the papi plugin, did I forget somthing?
@elder fiber I think you forgot to install the plugin

#

check your plugins folder

#

and make sure the jar is there

#

because no loading message from PAPI is showing in your logs

upper pewter
elder fiber
#

@turbid tide ooh ok I must have deleted the jar file cause I have the folders and everything just not the jar file

turbid tide
#

👍

#

https://paste.helpch.at/aqajacoqew.bash
hmm weird. I don't rly understand the error unfortunately. I think your best bet is to wait here until someone can help you or idk if issues on githubs are still opened then open a issue on there.

#

or contact the expansion's author and maybe they have a solution

upper pewter
#

OK, ty for the help

young sable
young sable
#

Can any one help me?

trim mist
#

Contract the author of the MySQL expansion

blazing zephyr
#

hello i need help on my essentials papi
%essentials_kit_time_until_available_creativefreechest% it return 0 only or it's not working?

#

here's my essentials kit.yml
kits: creativefreechest: delay: 60 items: - dirt 1

#

also here's my deluxemenu

'freechestcd': material: structure_void slot: 31 priority: 2 update: true hide_effects: true display_name: '&fFree Chest' lore: - '&7%essentials_kit_time_until_available_creativefreechest% &8sec.' left_click_commands: - '[sound] UI_BUTTON_CLICK' - '[refresh]'

#

and yes I have the
update_interval: 1

novel moss
#

I may seem desperate but how does one get his expansion verified?

vivid sparrow
#

Which expansion?

novel moss
#

Mine xd

#

So it can get downloaded through ecloud command

trim mist
#

What's the name of it?

vivid sparrow
trim mist
#

Oh it's that one

#

I'll have to see the source code for the expansion before I can verify it.

novel moss
#

Well how do i send it to you

#

I need to get home first tho

trim mist
#

Do you have a github repo for it?

novel moss
#

Nope

trim mist
#

Is it just a single class?

novel moss
#

Yep :)

tender vaporBOT
trim mist
#

For when you get home ^

novel moss
#

Sure

#

Good bot now

#

And il dm you the link?

trim mist
#

You can DM @tender vapor and I'll see it.

novel moss
#

Oh okay cool

austere hawk
#

Hey guys does anybody know if there is a placeholder for each mob killing like a one which counts the deaths of pigs, cows, zombies cause i found one but it was for every mob combined and i dont want that

trim mist
#

You might be able to try that statistics expansion.

austere hawk
#

Thank you :p

blazing zephyr
#

How about my issue?

turbid tide
#

How about my issue?
I'm pretty sure it returns 0 when available. If you're op I think it will always return 0

#

might be wrong tho

fluid chasm
#

how would i do this?

#

oh cant send images

tender vaporBOT
#

@fluid chasm,

fluid chasm
#

how do i make it so when a servers offline, it display's that its offline instead of the player count?

austere hawk
novel moss
#

how do i make it so when a servers offline, it display's that its offline instead of the player count?
@fluid chasm you can do it with basic javascript

fluid chasm
#

Ok thanks so I'll have to make a placeholder expansion?

#

@novel moss

novel moss
#

no

#

download js expansion and inside the papi folder there will be a javascripts folder

#

and you put there your script

fluid chasm
#

Thanks

novel moss
#

np

coarse wedge
#

I'm trying to get the TPS as just a single integer and it's whooping me

#

%server_tps% gives three values, the TPS aggregated over 1, 15 and whatever seconds

#

maybe 5?

#

%server_tps_15% gives me a double with a loooong decimal

#

sometimes even going over 20 :x

#

I tried %math_ceiling({server_tps_15})% and math_round() with a precision of zero and both return 20.000

turbid tide
#

Your best option is javascript

wintry owl
#

Hello it's possible to take the placeholder %statistic_deaths% from a server and display it on another?

turbid tide
#

there are some APIs and plugins that say they can do that but I don't know any of the top of my head. But it is not possible by default

dense trail
#

Anyone that could give me an in-depth explanation of how javascript works in papi

#

@turbid tide as you gave me the script i thought it'd be the best to ask u

>.... [14:14:38 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'mmolevel':
<eval>:2:4 Invalid return statement
return "&a1";
^ in <eval> at line number 2 at column number 4
tender vaporBOT
#

@dense trail,

dense trail
#

Oh shit, my bad...

#
if (parseInt("%mmocore_level%") <= 10) {
    return "&a%mmocore_level%";
} else if (parseInt("%mmocore_level%") <= 20) {
    return "&n%mmocore_level%";
}
turbid tide
#

Is that the entire script?

#

or do you have some more code?

dense trail
#

that's everything

turbid tide
#

oh well that won't work

dense trail
#

I just want it so I can make infinite different level colors

#

add / remove whenever I want to

turbid tide
#
function mmocore() {
  if (parseInt("%mmocore_level%") <= 10) {
    return "&a%mmocore_level%";
  } else if (parseInt("%mmocore_level%") <= 20) {
    return "&n%mmocore_level%";
  }
}
mmocore();```
#

also there's hundreds of javascript tutorials on google

#

I don't have the time to sit here and explain everything.

dense trail
#

It's fine, thanks for that I'll indeed as you said google for more information

#

I appreciate ur time ❤️

turbid tide
#

w3schools has some good tutorials on js

#

but yeah what you need to know is that you need to always have a function

#

and call that function after

#

and always return a string

#

and what you return is what gets printed

#

basically

rare lily
#

Well actually, you don't even need a function for it to work

#

How many times am I gonna say that javascript was supposed to be running without function in the first place thonking

dense trail
#

I've heard so many things about it, at least i got it to function now

rare lily
#

Yeah you should be using a function because of easier handling

dense trail
#
function mmocore() {
    if (parseInt("%mmocore_level%") <= 5) {
        return "&8Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 10) {
        return "&7Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 15) {
        return "&fLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 20) {
        return "&6Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 25) {
        return "&eLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 30) {
        return "&3Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 35) {
        return "&bLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 40) {
        return "&4Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 45) {
        return "&cLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 50) {
        return "&5Lvl %mmocore_level%";
    }
}
mmocore();
#

Works as a charm

rare lily
#

If you want non-function way, this is the entire script: js if (parseInt("%mmocore_level%") <= 10) { "&a%mmocore_level%" } else if (parseInt("%mmocore_level%") <= 20) { "&n%mmocore_level%" }

dense trail
#

Ahh i see

#

for me easier to understand with return

#

cause then I know what's happening in the script

#

cause I'm not all to known with js

rare lily
#

👍

turbid tide
#

oh I wasn't aware then. I know its suppose to work without functions and that's why it felt weird when I first tried it and couldn't get it to work without functions.

#

but now that I look at it, it does make a lot of sense 🙂

rare lily
#

=paste

tender vaporBOT
wintry owl
#

there are some APIs and plugins that say they can do that but I don't know any of the top of my head. But it is not possible by default
F 😦 thanks

turbid tide
#

you could probably use a mysql database yourself but you will need some experience with java and mysql.

rare lily
turbid tide
#

or even better use switch xD

rare lily
#

How are you gonna make a switch condition in the =>, <= expression?

#

I mean, kotlin has it

#

But not for js, so that's a problem

turbid tide
#

oh right. its not when. Its switch.

#

forgot

#

kotlin is taking over my brain. I even tried to use fun instead of function in js placeholders xD

rare lily
#

||become a java lover pls||

warm topaz
turbid tide
#

I mean I don't hate java... I'm learning both at the same time

rare lily
#

Just one question

turbid tide
#

I just like kotlin because of the simplicity if I can even call it that.

rare lily
#

If you are kotlin addictor, why you still adding ";" in the js scripts thonking

turbid tide
#

bcz a lot of people don't update the expansion

#

believe me a lot of times I forget to add them as well

rare lily
#

I mean, it's obvious that he is using 1.6.0 expansion

turbid tide
#

even when I tried making a plugin on java all the errors were missing ; xD

#

I mean, it's obvious that he is using 1.6.0 expansion
how? xD

rare lily
turbid tide
#

what about that?

#

it doesn't say the version ...

rare lily
#

Below 1.6, there is not even an indicator which line was throwing error

turbid tide
#

oh nice. I should have known that because?

rare lily
#

Every script errors will just say error at line 1

#

Also, second indicator is this: [PAPI] [Javascript-Expansion] (1.6.0)

turbid tide
#

right

#

I mean I don't rly care

rare lily
#

[PlaceholderAPI] [Javascript Expansion] (1.5.4-)

turbid tide
#

it will work with and without.

#

so I don't mind typing a few more characters just to make sure it will work for everyone that tries to use it and don't update the expansion

rare lily
#

That depends on yourself

warm topaz
#

even when I tried making a plugin on java all the errors were missing ; xD
@turbid tide i feel this

earnest flax
#

uhh hi

#

actually it shows me the exact balance of vault

#

i mean till last decimal

turbid tide
#

?

earnest flax
#

is it a way i can limit it?

turbid tide
#

what shows you ? the vault placeholder?

earnest flax
#

like it shows me 549.99999999999 $

#

i just need it to be 550

turbid tide
#

you can use %vault_eco_balance_fixed%

warm topaz
#

javascript probably

earnest flax
#

not that much long lol

warm topaz
#

nvm

turbid tide
#

he wants it fixed Kaliber so I guess that will work.

#

if he wants like 2-3 decimals then yes javascript

earnest flax
#

ok

dense trail
#

Oh wow thanks for that @rare lily

devout summit
#

the placeholder turned into blank, not the placeholder itself, nor an error

return PlaceholderAPI.setPlaceholders(null, LANG.getString(s));

/papi parse me %fw_prefix%
=> &6->

/fw help
=> &7Help menu for the Forger's Weaponry plugin.

LANG is a FileConfiguration, the method returns %fw_prefix%&7Help menu for the Forger's Weaponry plugin. for example

#

any idea what i did wrong?

turbid tide
#

I mean you're parsing the placeholder for a null player

#

you need to parse it for a player or an offline palyer

devout summit
#

oh

#

dunno why it's required here, but it works

lone prairie
#

Does anyone know if it is possible to use Placeholder API placeholders in Venture Chat /msg?

turbid tide
#

yeah pretty sure its possible. I think you need to use {placeholder} instead of %placeholder% tho

lone prairie
wary scroll
#

how to get %statistic_hours_played% from selected player?

glad pumice
#

ok so here me out on this one - Basically I am trying to make players buy plots with the plugin PlotssSqaured with essentials econemy. To do this, players use a GUI (Plugin is CommandPanels) I learned that when a user was to buy a plot for the eco money, the command that it would run when they buy it is - console= lp user %cp-player-name% permission set plots.plot.x+1 - the plots.plot.x+1 is wrong becuase basically what this is doing is setting the users plot limit to +1 when they buy the plot, so Im prettty sure this would have to do with the placeholder #math, can anyone help me with this on how to use it?

#

help pls?

obsidian charm
#

Hello

#

What is this?

glad pumice
#

lol dont bother they have 5-7 supports that can help online rn but no help for me or you

novel moss
#

Maybe no one online atm have an answer for you..

glad pumice
#

they would have said that

warm topaz
#

its been like 30 minutes since uve messaged, u shouldnt expect support within that time. no one is getting paid here. also ive never heard of this plugin so i cant help u personally

#

@obsidian charm paste the full error

glad pumice
#

sorry i dont want to be that guy its just my server released soon so i need to get it done, but at the same time...... You have never heard of plotssquared.... the largest creative plugin,,, aka also a whole placeholder section in your github

warm topaz
#

i mean ur question is more towards CommandPanels by the sound of it

#

i could tell u how to do it in deluxemenus, but thats a different plugin

#

¯_(ツ)_/¯

glad pumice
#

deluxemenus have similar layouts, it really doesnt even have to do with command panels in the first place thats just a extra piece of info, that is just to trigger the command, the question is what will be the lp user command with what placeholder in order to increasse the limit to user by +1

warm topaz
#

u cant do that through LP then afaik

#

u must provide an actual permission

glad pumice
#

i know you can becuase a server i was on similar to mine does it

warm topaz
#

unless CommandPanels has some sort of requirements system (like what deluxemenus has) then im not sure

glad pumice
#

dude im not an expert but it wouldnt need it, it supports papi and all its doing is running the command, im just adking what placeholoder would be used to increase the plot limit by 1

glad pumice
#

still no help....

karmic marsh
dull meadow
#

Putting this here...
Anyone know how/what to use to get attributes from items, or just the player attributes in general? Like getting total generic.attack_damage, generic.armor, and the rest of them.

dim compass
#

c

novel moss
karmic marsh
#

Yes and I've restarted the server a couple times too.

novel moss
#

Try ti parse it using the command

#

And see if it displays anything

vivid sparrow
#

make sure it is enabled on papi config

vague lion
#

Hi !
I am an error with Placeholder Api when i down my server.
But PAPI are functionnal. 🤷‍♂️

lusty granite
#

Hello, I would like to have your opinion on the best method. I have LuckPerm, and PAPI. I would like in the TAB, just to have the players in color in relation to their roles.
What do you recommend as a placeholder?
Thank you for your help.

dull meadow
#

I'm using PAPI for roles, and it works really well so far. Never tried the other one though

#

Putting this here...
Anyone know how/what to use to get attributes from items, or just the player attributes in general? Like getting total generic.attack_damage, generic.armor, and the rest of them.
@dull meadow anyway.. bump

novel moss
#

Hello, I would like to have your opinion on the best method. I have LuckPerm, and PAPI. I would like in the TAB, just to have the players in color in relation to their roles.
What do you recommend as a placeholder?
Thank you for your help.
@lusty granite seems a bit sketchy but cant you put their color in their prefix then get the placeholder prefix?

#

Also idk if it works like that

timber current
#

Is there anyway to display placeholdersapi placeholders in skript? I was plugin Ersatz but it doesnt work for me.

turbid tide
#

Is there anyway to display placeholdersapi placeholders in skript? I was plugin Ersatz but it doesnt work for me.
That's a question to ask the skript developers. They need to add PAPI support. But I'm pretty sure they do support them tho.

timber current
#

Do you know how to make them?

turbid tide
#

Nope.

timber current
#

on join:
set {_barvicky} to placeholder "playerlist_online,perm,yes,amount,barvicky"
broadcast "%{_barvicky}%"

turbid tide
#

Don't they have a wiki or something?

timber current
#

I have this.

#

I donno

turbid tide
#

@dull meadow anyway.. bump
I think you can use Javascript placeholders.

#

yo have to now a bit of javascript and spigot api

dull meadow
#

Thanks, isn't it java though?

turbid tide
#

its a javascript expansion

#

so it uses javascript

#

not java

#

Hi !
I am an error with Placeholder Api when i down my server.
But PAPI are functionnal. 🤷‍♂️
@vague lion seems like the ultimatestatistics expansion gives that error.

dull meadow
#

Ah, ws thinking of something like this

player.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE)

If that doesn't work Imma go do research again, thanks for the help!

turbid tide
#

well yeah. You can use spigot methodfs

#

methods* in javascript

#

expansion

#

so that's exactly what you'd do I think.

dull meadow
#

Oh thanks a lot!

timber current
#

on join:
set {placeholder} to placeholder "%%playerlist_online,perm,yes,amount,barvicky%%
broadcast "%{placeholder}%"

  • It says: "<none>"
#

It should have said "0"

#

I'm lost.

turbid tide
#

I mean what does /papi parse me %playerlist_online,perm,yes,amount,barvicky% even return?

timber current
#

"1"

#

Bcs i have the permission.

#

But the skript doesnt show that. Idk

#

I tried 2 expansions but none of them worked

turbid tide
#
on join:

  set {_placeholder} to placeholder "skyblock_level"
  send "%{_placeholder}%"```
#

this is a bit lower on the same page

timber current
#

Yeah, i have this.

#

It's the same.

#

w8

#

is it cuz the "_" ?

turbid tide
#

how do you have it?

#

give it again

obsidian charm
#

@obsidian charm paste the full error
@warm topaz Its spamming this

timber current
#

on join:
set {_placeholder} to placeholder "%%playerlist_online,perm,yes,amount,barvicky%%"
broadcast "%{_placeholder}%"

turbid tide
#

no no

#

remove the %% %%

timber current
#

What?

#

Tried that.

turbid tide
#
on join:
    set {_placeholder} to placeholder "playerlist_online,perm,yes,amount,barvicky" 
    broadcast "%{_placeholder}%"```
#

like this

timber current
#

still <none>

obsidian charm
timber current
#

W8

novel moss
#

Woah is pastebin down

tender vaporBOT
timber current
#

Idk how, but it started working.

novel moss
#

Funnycube is watching over us lmao

turbid tide
#

ugh @obsidian charm you've installed PAPI on bungee?

#

that won't work

obsidian charm
#

Ah ok

#

F

turbid tide
#

PAPI doesn't support bungee yet

timber current
#

So is it possible to make something like this:

command /test:
trigger:
if {placeholder} is 1:
setblock xxx y zzz

?

turbid tide
#

Idk how, but it started working.

#

glad to hear

#

you'll have to try Zizoo

#

I don't use skript and never have used it.

timber current
#

oh ok

#

I know, iis not the best you know

#

But easy.

#

I mean "easier"

#

Ty

turbid tide
#

dude im not an expert but it wouldnt need it, it supports papi and all its doing is running the command, im just adking what placeholoder would be used to increase the plot limit by 1
@glad pumice you say it like its so easy... It won't even be possible with the math expansion. Because the math expansion doesn't save data. With DMenus it would have been easier since it has meta. Also about that github shit. We don't make those fucking placeholders for god sake. People add PAPI support. PAPI doesn't add other plugins support.

#

anyways back on the subject. Your best chance is to look into javascript data.

#

but I'm not here to make a full menu for you. I'm here to point you in the right direction and that's what I did ^

obsidian charm
#

Blitzzz

tender vaporBOT
turbid tide
#

hmm Rick is that the entire error?

obsidian charm
#

Yes is spamming

turbid tide
#

also when does that error appear?

obsidian charm
#

i think for Bungee Expansion

turbid tide
#

ugh

#

how have you downloaded it?

#

you have PAPI on all your servers but not on Proxy?

#

and then you did /papi ecloud download Bungee and /papi reload on those servers but once again not on proxy?

obsidian charm
#

Yes

#

This error is in hub

turbid tide
#

ok go to plugins/PlaceholderAPI/expansions and delete the Bungee one

#

then restart

#

and see if it still appears

#

the error I mean

obsidian charm
#

Sure wait

turbid tide
#

also make sure PAPI is actually enabled

#

when you do /pl

#

and its not red

obsidian charm
#

Yes yes

#

Ah

#

The expansion

#

is SSX

#

Expansion-ServerSelectorX.jar

turbid tide
#

oh yeah ExpansionSSX

#

missed that

#

I have no idea why its spitting the error tho.

novel moss
#

Because the expansion is not working properly lol

obsidian charm
#

I remove the expansion

#

and i don't have this error

novel moss
#

Ive had that happen when working on mine

#

Contact the owner of the expansion

turbid tide
#

well yeah Snowman I can tell that. But the error doesn't say the actual reason

#

it is not working properly

#

that's what I meant

obsidian charm
#

Now working all fine

novel moss
#

It couldnt register

#

Probably missing dependency

#

Or smth

devout summit
#

is there a way to load papi placeholder without sending in a player?

vivid sparrow
#

?

high star
#

If you mean parsing them via the api, you can pass null for a player

vivid sparrow
#

That too

austere hawk
#

heya anyone know of a good way to target placeholders at another person?

I know you can /papi parse <target player> %placeholder% but I don't want to give players permission to papi parse - what I'm doing is making a custom command that essentially does Their favorite color is: %target_player_placeholder%

turbid tide
#

^

austere hawk
#

oml

#

🙏

orchid fog
#

heyo, Im using Saberfactions, and using the 2 %rel_factionsuuid_relation%%rel_factionsuuid_relation_color% But it isnt working. Saber told me to go to tablist, then montlikadani told me to go here

mental night
#

We need a placeholder for deluxetags to see if a tag is equippred which returns yes or no 🤔 or im just being dumb and cant find it

turbid tide
#

just use %deluxetags_tag% (?)

mental night
#

But tryna set a requirement to see if anytag is equipped

#

returns blank but idk how i'd fill it out for this section

turbid tide
#

a requirement in dmenus?

mental night
turbid tide
#
  requirements:
    tag:
      type: '!string equals ignorecase'
      input: '%deluxetags_tag%'
      output: ''```
mental night
#

ill quickly try that

turbid tide
#

that check if he has a tag

#

not if he doesn't

#

also your priorities are bad

#

you have no requirement on prioirty 1

mental night
#

How would you suggest

turbid tide
#

you need requirement on 1 or on both

#

but noth on 2 only

#

it will always be the 1

mental night
#

alr

turbid tide
#

then

mental night
#

gotcha

#

so basically just switch the view req around

turbid tide
#

yeah and put it on the second one

mental night
#

gotcha

turbid tide
#

the item with prioirty 1

mental night
#

yeh

#

👍

#

cheers my friend

lethal carbon
#

@karmic marsh hey did you fix your Vault/PAPI issues

#

I am still experiencing the same thing

karmic marsh
#

Nope

lethal carbon
#

And it isnt just BalTop, it is all Vault palceholders. Other packages work fine

#

I can even run them thru /papi parse <player> and get nothin

turbid tide
#

what's your guys problem?

lethal carbon
#

It seems there was a Vault expansion update or something and now my Vault placeholders dont work

#

Possibly more than just vault I cant tell

#

But I definitely know Vault isnt

turbid tide
#

well some of the placeholders vault had got removed

#

for example the TOP placeholders

lethal carbon
#

It seems to be my LuckPerms also

#

its like I cant papi reload

turbid tide
#

?startuplog

tender vaporBOT
turbid tide
#

send this ^

lethal carbon
#

?paste

tender vaporBOT
lethal carbon
tender vaporBOT
#

@lethal carbon,

lethal carbon
#

whoops sorry didnt know I couldnt ping ya

turbid tide
#

oh shit everything fucking crashed and windows went into repair mode.

#

Seems like your EzRanksPro expansion is broken for some reason

#

also the LP expansion and Vault is not downloaded

#

then do /papi reload

#

first of all make sure the expansions aren't in there already and if they are delete them and then download them manually

#

also idk about your ezrankspro expansion.

#

@lethal carbon ^

#

do you even have the EzRanksPro plugin installed?

lethal carbon
#

Ahhh

turbid tide
#

if not then delete it

lethal carbon
#

I had it but deleted it

#

but didnt remove extension

#

could that be it?

turbid tide
#

delete the expansion from the folder then

#

but still

#

you'll have to download manually the Vault and LuckPerms expansions

lethal carbon
#

I definitely have Luckperms and Vault expansion in the folder

#

I reinstalled em already

turbid tide
#

manually?

#

from the ecloud?

#

if not then delete the existing ones and download them manually

lethal carbon
#

BOOM

turbid tide
#

because they don't get registered at all

lethal carbon
#

it was the EZRanks expansion

turbid tide
#

oh I see

lethal carbon
#

deleted it, reloaded papi, working

#

thanks bro

turbid tide
#

makes sense now. I think PAPI just stopped registering expansion after EZRP one was giving an error

#

no problem

#

and sorry for the 1 hour wait. Everything crashed.

lethal carbon
#

No problem at all shit happen

devout summit
#

If you mean parsing them via the api, you can pass null for a player
i do mean that, but that'd just make the placeholder blank

mint fable
#

depends on the placeholder

devout summit
#

parsing it doesnt require a player theoretically

mint fable
#

correct

devout summit
#

it just gets a string from a yaml file

mint fable
#

idk what you're doing exactly

#

cant find the source

devout summit
#

im registering some simple placeholders that gets some strings from a yaml file via papi

mint fable
#

ah ok

#

then you should be fine

devout summit
#

but when i pass in a null for the player parameter it just replaces the placeholder with empty string

#

😩

mint fable
#

=paste

tender vaporBOT
mint fable
#

send your class