#placeholder-api

1 messages ยท Page 121 of 1

mint fable
#

@royal parcel

#

that javascript also looks wrong

#

return no; will not work

#

return "no";

#

return "yes";

royal parcel
#

i got this message in console " Failed to set ScriptEngine for javascript placeholder"

trim mist
#

Are you using ChatControl?

royal parcel
#

no

#

i'm using deluxechat

trim mist
#

Okay NVM

fading smelt
#

My grief prevention placeholders are no longer working, is this a papi issue?

final shadow
#

No

fading smelt
#

So grief prevention will have to make it work with the latest version of papi?

final shadow
#

Should be a dev build floating around

fading smelt
#

Ill take a look

brazen isle
#

i get the same about the cooldown.js on your wiki it no longer works and says failed to set scriptengine but i do use chatcontrolpro lol 8.6 latest

trim mist
#

Yeah chat control breaks the expansion

tender vaporBOT
brazen isle
#

oh damn is it a setting on CC or i gotta remove it for now?

trim mist
#

Just click the link

brazen isle
#

got it working fine thanks

royal parcel
#

Is chat plugin breaks the js ?

#

i have DeluxeChat and InteractiveChat in my server

trim mist
#

Never heard of interactive chat

trim mist
#

It might break it. There's been a few out there breaking stuff lately.

royal parcel
#

okey thank you

knotty kite
trim mist
#

You'll need to ask the author of Slimefun4

#

Error is coming from that.

mint fable
#

who is it?

#

๐Ÿ˜‚

#

it fails on getAuthor

#

lmao

knotty kite
#

Oh ok thanks.

red hollow
#

/papi ecloud download Vault
/papi reload
yea, no.. this doesnt fix it. I suspect that Vault got updated and removed some key things that is needed to make this work, or that file needs to be updated. it says 1.6, Vault im using is 1.7

mint fable
#

can you send the entire startuplog?

#

?startuplog

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.

mint fable
#

@red hollow

red hollow
#

yup. one sec

tender vaporBOT
#
๐Ÿ“‹ Paste Converted!
https://paste.helpch.at/halomekeco

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

mint fable
#

what if you try with the latest release?

#

it looks like thats a beta?

red hollow
#

latest release of Vault? this was the latest one

mint fable
#

hmm

red hollow
#

i havent installed an economy yet, was going to do one that had its own placeholder api hooks since i could not get this working, but i'd have expected the Vault one to work even just for testing.

mint fable
#

try doing that

red hollow
#

ill come back when i get that far... getting an unrelated issue with that plugin that i need to fix before testing it back on here.. lol.. sighs.. the joy of it all

final shadow
#

Itโ€™s always fun

red hollow
#

ok, well. if you ever run into someone asking it again: If you do not have an economy installed, the Vault Placeholders do not work. They act as if they are not installed.

quick linden
#

not sure if this issue has been touched on yet but placeholder for ajparkour only work when i add a line of text then stop working when i relog

vernal patrol
#

i got problem with placeholder API "Animations" placeholder won't display

#

how do i post a image in here ?

rare lily
#

?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.

vernal patrol
#

ok wait

green osprey
#

Hello guys! Who know how to fix problem when papi didn't won't to hook into vault?

#

tried to redownload, nothing

vernal patrol
#

i got problem with placeholder API "Animations" placeholder won't display
@vernal patrol i use heroaction plugin for action bar

#

Hello guys! Who know how to fix problem when papi didn't won't to hook into vault?
@green osprey i use essentialsX ? i use papi, vault and essentialsX work fine

green osprey
#

I use CraftConomy3, and I was tried to use older version (PAPIv1.10.5) and error still there

heady falcon
#

HeroAction is not replacing the placeholders

#

Try /papi parse me (the placeholder)

vernal patrol
#

i tried use scoreboard revision too but still not work

heady falcon
#

Any error in console?

vernal patrol
#

no error

heady falcon
#

Ah

#

Replace the %player_name% with {player_name}

#

That's why it isn't working

green osprey
rare lily
#

Clip i swear to god, if I finish making this pr for JS expansion, you must merge it for me ._.

#

It will get rid the entire useless semicolon for later scripts

vernal patrol
#

still don't work

heady falcon
#

you left %

#

%animations_<...>{player_name}</....>%

#

example

vernal patrol
#

i use % in config

#

%animations_<healthbar symbol=โ™ฅ fill=&c empty=&7 size=10 max=20>{player_name}</healthbar>%

#

plugin scoreboard i use is scoreboard revision

heady falcon
#

Yes

#

Have you tried that?

vernal patrol
#

config at scoreboard revision

#

still

hollow wharf
#

Anyone can tell what to do about this error I get when I try to compile my project using maven, I just updated the placeholderAPI version

#

anyone?

final shadow
#

That will be fixed in a few hours

#

Itโ€™s my fault

hollow wharf
#

u silly goose

#

also when I reload plugin with plugman it seems that the placeholders for my plugin is lost

#

with previous versions

#

Not sure if it has something to do with I am using shade maven plugin

mental night
#

donโ€™t reload plugins with plugman then they saying is plugman breaks your plugins..

vernal patrol
heady falcon
#

It should work fine

#

What version of animations are you running?

#

Make sure it is the latest version (1.0.5)

vernal patrol
#

its latest version

#

1.0.5

austere hawk
#

how to use 3rd'party plugin placeholder?

hollow wharf
#

donโ€™t reload plugins with plugman then they saying is plugman breaks your plugins..
@mental night I only use it on my own plugins when debugging.

mental night
#

why not put a reload feature in your own?

royal parcel
#

Hello, I need advice on upgrading to version 1.15.2. My friend told me to keep version 1.12.2 because version 1.15.2 is not very well optimized. Can anyone using version 1.15.2 give me any advice?

green osprey
#

Under upgrading you mean client or server core?

royal parcel
#

i mean server core 'paper-1.15.2'

green osprey
#

Well, if you have powerful dedicated you can use ViaVersion, ViaRewind and ViaBackwards with paper and it can give access to join from older version (Ex: 1.12.2)

royal parcel
#

im not using via

green osprey
#

oof, you also can try protocol support

hollow wharf
#

why not put a reload feature in your own?
@mental night As far as I can remember I dont think I would reload a new build at runtime, if that makes sense :/

green osprey
#

but it can kill your scoreboard (Not fully sure mb this bug with my server)

royal parcel
#

okey

green osprey
mental night
#

alr

primal yew
#

I cannot download the griefprevention expansion

#

Please help!

balmy marten
primal yew
#

I placed it

#

But it won't load

balmy marten
#

What does the log say?

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.

primal yew
#

wait my placeholderapi isn't updated

#

Uh

#

this is bad

#

my log just got flooded with this

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

primal yew
#

I have another griefprevention placeholder which is custom, is it conflicting?

warm topaz
#

there should be more than that

primal yew
#

I'll give the entire log

warm topaz
#

uh possibly yea

primal yew
warm topaz
#

my phone cant open startuplogs wew ๐Ÿ™ƒ

primal yew
#

Any help would be appreciated.

#

This time I tried to download the expansion from in-game, when reloading papi, it threw the same error on console.

final shadow
#

yeah the developer screwed up

#

lol

primal yew
#

where can i contact him?

final shadow
#

hes pixar02? I think?

#

on spigot

primal yew
#

Is there anyway I can make it work?

final shadow
#

yeah use this one

primal yew
#

Like maybe use an older version?

#

Please send the one which will work

final shadow
#

@hollow wharf u around?

primal yew
#

is this the expansion or plugin?

final shadow
#

expansion

primal yew
#

๐Ÿ˜…

#

ah ok

final shadow
#

yo did he not test his shit before updating? lol

warm topaz
#

so he merged my pr, yet he still fucked up?

#

lul wut

final shadow
#

Idk what he did

warm topaz
#

idk but my version was working according to 2 people the other day

#

ยฏ_(ใƒ„)_/ยฏ

final shadow
#

Ya it is he did something

warm topaz
#

i do see this in the code (even in my pr, didnt really look at the code except for deprecated stuff), hes checking to see if the plugin isnt enabled twice. but surely that wouldnt cause a stack overflow right?

#
    @Override
    public boolean canRegister() {
        return Bukkit.getPluginManager().getPlugin(getRequiredPlugin()) != null;
    }

    @Override
    public boolean register() {
        if (!canRegister()) {
            return false;
        }

        plugin = (GriefPrevention) Bukkit.getPluginManager().getPlugin(getRequiredPlugin());
        if (plugin == null) {
            return false;
        }

        return super.register();
    }
final shadow
#

yeah hes calling canRegister in register then calling super.register

hollow wharf
#

I am

#

@hollow wharf u around?
@final shadow yeyeyes

final shadow
#

hey can u test this build in the dev repo and see if your issue is still occurring regarding the jetbrains annotations

hollow wharf
#

yeah, just a moment

final shadow
#
<repository>
  <id>dev</id>
  <url>https://repo.extendedclip.com/content/repositories/dev</url>
</repository>

<dependency>
  <groupId>me.clip</groupId>
  <artifactId>placeholderapi</artifactId>
  <version>2.10.9-DEV-94</version>
</dependency>
hollow wharf
#

No error

#

๐Ÿ™‚

final shadow
#

sweet

#

thank you

hollow wharf
#

np

final shadow
#

just use that dev branch for now. I dont know when the next update will be released as I have a few prs to merge when they are done and a few other things to fix

#

nothing is changing in terms of the api in 2.10.9 so u are good to use that

hollow wharf
#

Alright

#

I am having problems with papi cannot find my placeholder

final shadow
#

let me see your expansion class

tender vaporBOT
#
๐Ÿ“‹ Your paste, Gustav
https://paste.helpch.at/obimisohet

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

final shadow
#

i see thats an internal hook

#

how are you registering it

hollow wharf
#

yep

final shadow
#

also whats /papi dump show

hollow wharf
#

idk what /papi dump show is?

final shadow
#

in game do /papi dump

#

and send the link

final shadow
#

its registered

#

what placeholder are you using to test

#

./papi parse me %wyvencore_<whateveR>%

hollow wharf
#

Oh yeah it is working

#

but its just

#

I keep getting this

final shadow
#

hmm

#

whats [progress]

#

is that another expansion?

hollow wharf
#

yes

final shadow
#

oh wait i think progress needs an update

#

someone reported it on the spigot page

hollow wharf
#

Oh, I'll wait for that then

trim mist
#

Ya

hollow wharf
#

Tahnk you ๐Ÿ™‚

final shadow
#

@bronze bison

#

fix your stuff

vernal patrol
heady falcon
#

@vernal patrol Enter that into this command:

#

/papi parse me %animations_(your stuff here)%

#

then check the console for any errorrs

warm topaz
#

whats broke in the progress expansion?

#

ah actually i think it needs a canRegister method if thats required

final shadow
#

not required as it always returns true

#

unless you have getRequiredPlugin

#

then it checks for that plugin'

warm topaz
#

its using onPlaceholderRequest but thats only deprecated right?

final shadow
#

nah that dont work anymore

warm topaz
#

o i see

rare lily
#

@final shadow beg you to pr this ๐Ÿ‘€

vernal patrol
warm topaz
strong scroll
#

Hi guys! How do you set placeholder return player's original name if no nickname is set?

final shadow
#

@warm topaz join voice so i can talk

#

what do you use to set nicknames @strong scroll

strong scroll
#

cmi ๐Ÿ™‚ ty for responding!

final shadow
#

ah with our expansions that have nicknames we always fall back to player name if the nickname isn't set. CMI manages the expansion for that plugin so your only options are to request it to fall back to the username if no nickname is set or you can create a javascript placeholder to do it for you

junior musk
#

%cmi_user_display_name% would work

strong scroll
#

Ahh I see!

final shadow
#

or there u go

strong scroll
#

I've tried %cmi_user_nick% but those without nickname don't show up. I'll give that a bash. Thank you!!

#

@junior musk It worked! tysm!

junior musk
#

๐Ÿ‘

heady falcon
#

@vernal patrol You got the expansion instlaled

#

Oh wait

#

Dont put your name in the tags

#

Put {player_health}

mental night
#

Just wondering if there is a placeholder to return how many people are in a region for example %worldguard_playersin_spawn% and it would return like 4 if there was 4 players sitting in that region. If there isn't would it be possible to add or would I have to get someone to use the API and create it.

#

Found out there isnt a placeholder like that

#

But how would I go along creating one?

rotund pendant
#

How do I verify my email on the expansions site?

#

I haven't received any email

#

@ me

warm topaz
#

wym?

rotund pendant
warm topaz
#

hahahahahah clip is getting ddosed

#

cant get opn the site ๐Ÿ˜

rotund pendant
#

f

warm topaz
#

did fc make ur account?

rotund pendant
#

no

warm topaz
#

p sure hes gotta make u an account

#

or just any admin

rotund pendant
#

k

coarse sable
#

is the ecloud down?

warm topaz
#

so yes

coarse sable
#

Ah

turbid tide
#

what

#

why?

warm topaz
#

๐Ÿ™„

coarse sable
#

still ddos?

warm topaz
coarse sable
#

Aha, okay! ๐Ÿ‘Œ

rich flint
#

On disable, this spams over and over?

median kindle
#

can someone turn it on "We are aware of the sudden downtime of services such as the eCloud, Jenkins, and Nexus Repo."

dusk rose
#

Im trying to download placeholders for luckperms but I am getting some errors. How do I fix it?
[PlaceholderAPI] failed to download LuckPerms:5.0-R2

warm topaz
#

itll be back up soonโ„ข๏ธ

dusk rose
#

Oh

median kindle
#

clip must be doing something wrong

#

(angry face)

rotund pendant
#

@median kindle Did you read #announcements? - It's an issue on OVH's end, not clip's

echo umbra
#

Hello

warm topaz
#

@echo umbra @dusk rose @median kindle @coarse sable ecloud is back up ๐Ÿ˜„

coarse sable
#

Yeey

echo umbra
#

yeey

primal nacelle
#

Hey, when PAPI tries to load the bungee placeholders I get the error [PlaceholderAPI] Failed to load placeholder expansion from class: com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion Anyone know why that is happening?

turbid tide
#

I think you need to do /papi ecloud reload

#

not sure clip will answer

final shadow
#

Yeah we probably need to update it

turbid tide
#

he's here xD

final shadow
#

Idk I havenโ€™t checked that expansion yet

warm topaz
#

ill check it ๐Ÿ‘

#

i seem to be the guy updating everything xd

turbid tide
#

no one asked you to do it

#

so don't cry

primal nacelle
#

/papi reload gives the same error and updating it didn't work

warm topaz
#

i took the role myself ๐Ÿ™‚

primal nacelle
warm topaz
#

yeah the expansion is fine by the looks of it

#

as to why ur getting that, idk

primal nacelle
#

I'll try uninstalling it and reinstalling it

final shadow
#

it should be updated?

#

2.0 was wrote by sxtanna

primal nacelle
#

Ah, I have two jars, one called Bungee.jar and the other called bungee.jar

final shadow
#

delete both

#

and papi ecloud download bungee

primal nacelle
#

I assume at somepoint the name changed and I updated two

final shadow
#

then papi reload

#

the latest def should work

primal nacelle
#

Yeah, that's what I'm doing now

#

and errors fixed, thanks for your help

warm topaz
#

@final shadow how would i go about "maintaining" the chat reaction expansion as we discussed in voice call. ive got a nice update ready to go rn ๐Ÿ˜…

tender vaporBOT
#

@warm topaz,

Hey!

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

warm topaz
#

are u able to transfer ownership for the expansion on the ecloud?

final shadow
#

Yeah

warm topaz
#

my ecloud username is kaliber โค๏ธ

final shadow
warm topaz
#

๐Ÿ˜ฎ

#

awesome, thanks

vernal patrol
#

Put {player_health}
@heady falcon it works thanks

limber ice
#

if I run /papi ecloud list installed gold means it needs to updated?

warm topaz
#

yes

limber ice
#

and if I run the command to download latest and it stays gold then there is no update or an issue

warm topaz
#

either or yea

limber ice
#

mcMMO and bungee are not updating

warm topaz
#

any errors?

limber ice
#

none in logs

#

I have not parsed any placeholders for those expansions

warm topaz
#

whats the versions of these expansions?

limber ice
#

bungee is 1.0.1

#

mcMMO is 1.0

warm topaz
limber ice
#

still no change in version

dim nexus
#

where can I see the documentation of PlaceholderAPI#setPlaceholders ?

leaden kraken
#

What do you need to know about it

dim nexus
#

do I have to put %% when i'm talking about of an OfflinePlayer?

#
String result = PlaceholderAPI.setPlaceholders(Bukkit.getOfflinePlayer(UUID), "%"+identifier+"%");

OfflinePlayer is not null, but it returns " " ๐Ÿค”

leaden kraken
#

What is identifier

dim nexus
#

kitbattle_coins for example

#
String resultado = PlaceholderAPI.setPlaceholders(Bukkit.getOfflinePlayer(UUID), "%"+identifier+"%");
Bukkit.getConsoleSender().sendMessage(result+", of "+Bukkit.getOfflinePlayer(UUID).getName());

server log:

[21:40:53 INFO]: , of TesterDev
mint fable
#

where are you getting identifier from though?

#

does it already have the %% around it?

dim nexus
#

yml, i can do some debug messages for make sure that i'm using the placeholder

mint fable
austere hawk
#

Im having an issue on 1.15.2 where PlotsSquared placeholders arent returning the actual data, I have downloaded the ecloud along with reloading papi but it still isnt working.
Ive updated both PAPI and PlotsSquared for 1.15.2

#

ping me if you can help

mellow gull
#

Is ChatInjector up-to-date with the latest papi version? My placeholders aren't working in chat. (ping me :D)

fading smelt
#

@austere hawk @mellow gull I'm assuming both of those problems are on the plugins side and not papi. I had the same issue with grief prevention until it was updated today. If I am wrong someone please correct me

odd python
tender vaporBOT
#

@odd python,

Hey!

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

odd python
#

how am I supposed to put a online player inside without ide screaming that the method is scheduled for removal

final shadow
#

Cast to offlineplayer and it wonโ€™t scream at you. Btw that wasnโ€™t my doing

odd python
#

whoever made this, he's stupid

dim nexus
#

There is a way for get an placeholder result from an offline player? (literally offline, when I set a placeholder with an offline player, returns a blank string)

#

Im using PlacerholderAPI#setPlaceholders

final shadow
#

It really depends on the expansion since some do require a player online. Ex in player expansion u can get the name or uuid of the offline player but u canโ€™t get the location without them being on the server

odd python
#

which means online player should be enforced

#

no matter what

#

I mean yes for some applications you can use a offline player but you shouldn't break the api that rapidly cuz this screams bad practice

dim nexus
#

Nah I got it, looks like is an error from the plugin that Im using, that returns a blank string, is not an error from PAPI.

vernal patrol
#

It really depends on the expansion since some do require a player online. Ex in player expansion u can get the name or uuid of the offline player but u canโ€™t get the location without them being on the server
@final shadow essentialsX tp offline player maybe ?

#

wait

dim nexus
#

Looks like everyone is using

if(Player == null || !Player#isOnline){
return "" ;
}

karmic marsh
#

Can't seem to get the right name / format for the enchants with this placeholder. %player_item_in_hand_level_enchantment%

#

Ive tried, efficiency, Efficiency, EFFICIENCY, and DIGSPEED

#

Got it, it was literally the last possible option hahaha DIG_SPEED

final shadow
#

@odd python can u do me a favor

odd python
#

my ears are open

final shadow
#

Will you create an issue on git regarding not using offlineplayer so we can get a discussion on it. If everyone agrees I wouldnโ€™t mind sticking with player for 2.11 but Iโ€™d want everyone on board

odd python
#

sure

final shadow
#

I guess if thatโ€™s what people want, 2.11 would be the time to break some more things haha

#

The offlineplayer thing has been in there forever tho. I guess my goal was the hope that more expansions supported it. I do see your point on just sticking with a player though since thatโ€™s pretty much always the case where the player is online

dim nexus
#

more chances

odd python
heady falcon
#

I think that's probably a good idea

#

No one is really going to try and replace placeholders for an offline player are they?

primal yew
#

The latest GriefPrevention expansion still won't work

final shadow
#

So the problem is this will def be a breaking change

#

But Iโ€™f weโ€™re gonna do it might as well break things one last time

heady falcon
#

If you dont want it to break you should keep OfflinePlayer

#

And my best suggestion is if you are going to make it break, break it all in one update (rather than 2 or 3 if you see what I mean)

final shadow
#

Iโ€™d say break it once and be done with it

#

onRequest would break

#

setPlaceholders we can get by with

#

Actually I think I can gracefully transition back without too much breaking

odd python
#

what I think is that we need placeholderapi v3 asap

#

except if its bad api this will fix later

austere hawk
#

[16:03:29 INFO]: UUID of player * is *
[16:03:29 WARN]: [ViaVersion] Ignoring plugin channel in outgoing REGISTER: WECUI
[16:03:30 WARN]: java.lang.IndexOutOfBoundsException: Index: 0
[16:03:30 WARN]: at java.util.Collections$EmptyList.get(Unknown Source)
[16:03:30 WARN]: at com.gmail.nossr50.util.player.UserManager.getPlayer(UserManager.java:101)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.classic.McmmoBridgeClassic.getPowerLevel(McmmoBridgeClassic.java:109)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.placeholders.PowerLevelPlaceholder.process(PowerLevelPlaceholder.java:16)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion.onPlaceholderRequest(McMMOPlaceholderExpansion.java:77)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:38)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:326)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:525)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.placeholder.PlaceholderAPIHook.replacePlaceholders(Hooks.kt:17)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.placeholder.PlaceholderServiceText.replaceTextFromHooks(PlaceholderServiceText.kt:107)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.placeholder.PlaceholderServiceText.replaceText(PlaceholderServiceText.kt:94)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.features.ScoreboardServiceSpigot.setProcessedScoreboardValue(ScoreboardServiceSpigot.kt:132)
[16:03:30 WARN]: at
~~

#

How do I solve it?

#

Please whisper the original

odd python
#

this is via version

austere hawk
#

Yea?

odd python
#

this is not placeholderapi problem

#

this is via version's

austere hawk
#

Expansion-mcMMO version?

final shadow
#

Maybe until 3.x we just keep it how it is but next update I fix the deprecation issues when passing player

austere hawk
#

git-Paper-1618 (MC: 1.12.2)
mcMMO version 1.5.10
Placeholder API version 2.10.6

I am using this.

#

......

#

Which version do you download the Placeholder API version from?

austere hawk
#

Hello

vernal patrol
#

hello

compact karma
#

i have a bungee server and i would like to display the total number of people on more than one server but not the players on the other servers can i use the %bungee_<servername>% placeholder with multiple servers if so how

turbid tide
#

@compact karma %math_[precision:0]{bungee_<server>}+{bungee_<server>%

compact karma
#

thanks

#

but did you mean %math_[precision:0]{bungee_<server>}+{bungee_<server>}%

#

or is that wrong

turbid tide
#

oh yeah

#

forgot a

#

}

#

at the end

#

my bad

echo summit
#

Hi, i'm adding support of PlaceholderAPI to my plugin. So, I do like the API said, and then I check the log:

[13:05:03 INFO]: [PlaceholderAPI] Successfully registered expansion: myplugin
[13:05:03 INFO]: [MyPlugin] Loaded support for PlaceholderAPI.
[13:05:03 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[13:05:03 INFO]: No expansions were registered!```
It says that it register my plugin, but after it also say that there isn't any plugin register...
brisk coral
#

Expansions, not plugins

turbid tide
#

expansions are a different thing

#

its a way to add support for papi for a plugin without doing it inside the plugin

#

its on the wiki as well

echo summit
#

I understand, but "registered expansion: my", "no expansions were registered".

turbid tide
#

wait so you have an expansion as well?

echo summit
#

Maybe I try to register it before the plugin start ?

#

wait so you have an expansion as well?
@turbid tide I register one in my plugin yes:

public class PlaceHolderAPISupport extends PlaceholderExpansion {
  private MyPlugin plugin;
  public PlaceHolderAPISupport(MyPlugin plugin) { this.plugin = plugin; }

  @Override
  public boolean persist() { return true; }

  @Override
  public boolean canRegister() { return true; }

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

  @Override
  public String getIdentifier() { return "myplugin"; }

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

  @Override
  public String onPlaceholderRequest(Player p, String identifier) {
    // never called      
  }
}```
turbid tide
#

well inside your plugin right? its not another jar

#

that you've put in plugins/PlaceholderAPI/expansions

echo summit
#

Yes in my plugin jar, located at /plugins/MyPlugin.jar.

turbid tide
#

yeah then it won't show in expansions loaded

#

it won't count I should say

#

that only counts external expansions

#

so unless the plugin doesn't work you don't have to worry about anything

#

well about that at least

#

xD

echo summit
#

xD
The plugin doesn't work >.<

#

Do you have a test plugin just to check if placeholder are well checked ? Because with FeatherBoard, it doesn't work

echo summit
#

Edit: FeatherBoard doesn't work with PlaceholderAPI ๐Ÿ˜ฎ

junior musk
#

it never did

#

only with MVDWPlaceholderAPI

#

but you can use PAPI through MVdWPAPI

echo summit
#

ok

dusk rose
#

What does the parse other placeholder do?

balmy marten
#

As in the expansion?

final shadow
#

onPlaceholderRequest needs to be changed to onRequest

mellow plinth
plush nexus
#

Hello, Any idea when/if MultiEconomy will be updated to support the "updated" PlaceholderAPI?

trim mist
#

Wasn't planning on it but I suppose I'll need to. Is that in the eCloud?

vivid sparrow
#

Yes

plush nexus
#

^^, Thank you ๐Ÿ™‚

trim mist
#

Ill look into it in a few days

compact karma
#

@turbid tide do i need to download any ecoulds because the placeholder is not working

tender vaporBOT
#

@compact karma,

Hey!

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

turbid tide
#

yes

#

the math one

#

and the bungee one

#
/papi ecloud download Math
/papi ecloud download Bungee
/papi reload```
compact karma
#

thx

#

all so is there any way to make the bungee player count placeholder to update faster

turbid tide
#

yes

#

in plugins/placeholderapi/config.yml

#

its set to like 30 seconds

#

I think

compact karma
#

thx

manic drum
#

By the way: ... annotations when using shit IDE's is Jetbrains IntelliJ 2020.2

final shadow
#

@manic drum ๐Ÿ˜†

heady falcon
#

Hey how do I fix the placeholder api error

final shadow
#

fuck off

warm topaz
#

just fix it 4Head

final shadow
#

ask kangaroo

heady falcon
#

โ˜น๏ธ

#

I just want to learn how

red hollow
#

quick question, to update placeholderapi, i just copy the jar file into plugins, or do i need to delete the placeholderapi folder first?

rotund pendant
#

Yes

arctic loom
#

Update the jar file (replace the old one with new one)

warm topaz
#

theres no need to delete the folder, just replace the jar

red hollow
#

thank you greatly.

karmic marsh
#

Don't really understand Math expansion quite well. Here is what I'm trying to do /papi parse EarthAgar %math_{player item in hand level greed} + 1%

#

Ill get an error msg in one sec

turbid tide
#

/papi parse me %player_item_in_hand_level_greed% what does it return?

#

also you used _'s inside {} ?

karmic marsh
#

the placeholder on the spigot page doesn't have _ but Ill try that

warm topaz
#

๐Ÿค”

karmic marsh
#

Ooof I just got Internal error occurred

warm topaz
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

karmic marsh
warm topaz
#

where is this greed enchant from?

karmic marsh
#

AdvancedEnchantments

warm topaz
#

im guessing thats an internal placeholder, not one from placeholderapi

karmic marsh
#

Oh so like I wouldn't be able to use it outside of the plugin?

warm topaz
#

as for ur error, im guessing that ur plugin doesnt actually register the enchantments, so when u try to use the placeholder, it cant find an enchant called greed.

#

no

karmic marsh
#

Ok I'll try to discuss it with GC.

warm topaz
#

i could be wrong tho. but the player expansion doesnt hook into any enchantment plugins to fetch enchantment info, so it only has knowledge of the vanilla enchants

karmic marsh
#

That placeholder is from the plugin for custom enchants

warm topaz
#

which is an internal placeholder

#

but the one blitz sent u im on about, as thats what u should be using

karmic marsh
#

Oh

#

Yeah no I am using that for vanilla enchants

#

But not custom of course

grim gorge
#

is the new papi good or should i stay with the 2.10.7 papi?

warm topaz
#

new papi is good

rare lily
#

2.10.9 is good now

grim gorge
#

ok

limber ice
#

mcMMO and Bungee expansion report wrong version numbers

orchid field
#

Not expecting much of help from here, as it is a Jobs issue, but their support sucks, but for some reason my placeholders for Jobs has just stopped working. All other placeholders work but this just doesn't. Any help from someone that is willing to assist in this issue?

rare lily
#

You're using PlaceholderAPI 2.10.9?

#

If you do, the Jobs-Expansion hasn't been updated yet

#

@final shadow fix the Job-Expansion since it isn't os, thank you

tender vaporBOT
#

@rare lily,

Hey!

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

orchid field
#

@rare lily do you know which version does support the jobs expansion? My server is running in 1.13.2, so it doesn't have to be recent.

brazen isle
#

if a placeholder is made by clip can we request for a fix to the new version or no?

mint fable
#

which one

final shadow
#

Ya which one

mint fable
#

@brazen isle bruh

#

you made a request

#

๐Ÿ˜‚

limber ice
#

bungee the versions were not updated

brazen isle
#

playerpoints lol

final shadow
#

Ok

brazen isle
#

thank you!

limber ice
#

when I run /papi ecloud list installed, Bungee claims to be outdated but it is not

final shadow
#

Ya ya

#

Iโ€™ll update it tomorrow after work

mint fable
#

oof somebody didn't change the version

#

โค๏ธ

final shadow
#

This is the most likes Iโ€™ve ever got for an update

limber ice
#

can I get help in understanding why I can't get the statz expansion to work

mint fable
#

FizzleTits

final shadow
#

All u gotta do is talk trash about shit ides

mint fable
#

MrMcYeet

limber ice
mint fable
#

just don't check for those

#

duh

austere hawk
#

hi

#

Javascript placeholder dont work now?

#

[PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: cooldown

#

yo does papi ecloud support subside koth?

final shadow
#

@brazen isle @grim swan has a an updated playerpoints expansion you can use

austere hawk
#

@final shadow any idea for my issue?

final shadow
#

No idea. What java version

austere hawk
#

8

final shadow
#

Can u paste the startup log

austere hawk
#

sure

dim nexus
#
[07:58:54] [Server thread/INFO]: [UltraAFK] Enabling UltraAFK v9.5
#

โฃ๏ธ

balmy marten
#

@austere hawk out of curiosity start the server without Boss installed

austere hawk
#
[07:58:54] [Server thread/INFO]: [UltraAFK] Enabling UltraAFK v9.5

@dim nexus โค๏ธ

#

@austere hawk out of curiosity start the server without Boss installed
@balmy marten work

#

tf

balmy marten
#

Yeah kangarko does some funky stuff with js that doesn't play nicely with papi

carmine glade
#

What does this mean? Failed to set ScriptEngine for javascript placeholder

#

I updated ChatControl and PAPI and I'm getting this error now, and none of my javascripts work now

austere hawk
#

same

balmy marten
#

Again kangarko doing funky stuff

brisk coral
#

Our lord and savior, mr thread.sleep man

austere hawk
#

but other day it's working

#

now no

#

wtf

final shadow
#

Yeah chatcontrol or any of kangaroos plugins donโ€™t play nice with JavaScript

carmine glade
#

Did the format of javascript_placeholders.yml change?

carmine glade
final shadow
#

Shouldnโ€™t have changed

carmine glade
#

Okay, that's the only thing I can think of, like it doesn't find the 'engine:' part

#

Hopefully kangarko answers soon, ChatControl has gone through some major turmoil lately

final shadow
#

Haha same with papi but I think weโ€™re good now

carmine glade
#

I had a bad time when you changed javascript stuff before. It was a bit annoying to have to rewrite everything, but at least it is more organized now on a per file thing

final shadow
#

At least I hope...

#

Well actually there is a very nice pr for JavaScript expansion

carmine glade
#

For PAPI? What is added/changed with it?

vernal patrol
#

supervanish placeholder/%supervanish_playercount% can't be used on version 2.10.9 but it work on version 2.10.7 papi

final shadow
#

Scripts no longer require ;

#

And support for multi line comments in your script files

#

Golok if itโ€™s my expansion Iโ€™ll update it after work

carmine glade
#

Multi line comments sound great, but I'm still using ; because I'm not a heathen

final shadow
#

I use them too but it wonโ€™t be required

carmine glade
#

Cool

undone crag
#

I can track metrics of how quickly people update placeholderapi in real time by just looking at the reports of people letting me know that PlaceholderAPI#unregisterExpansion doesn't exist

brisk coral
#

kek

final shadow
#

Lol

meager vault
vivid sparrow
#

Aww, npe

#

@bronze bison

fair elm
#

put \ before _ to stop making it italic

dusk rose
#

How do I use this place holder "%objective_score_<obj-name>%" ? pls help

#

I have an objective named "Times_Died"

errant dawn
#

Does the statistic remaining placeholders have changed? The placeholders return Unknown statistic 'seconds_played_remaining', check https://helpch.at/docs/1.16.1/org/bukkit/Statistic.html for more info for me.

In detail I mean the following placeholders:

%statistic_minutes_played_remaining%
%statistic_hours_played_remaining%
%statistic_days_played_remaining%```
vernal patrol
#

player placeholder don't work with scoreboard revision
it show nothing 2.10.9

#

should i downgrade placeholder api ?
because it work fine before

vernal patrol
#

yes it got fixed

#

thanks

austere hawk
#

Does anyone know why the leaderheads placeholders arent working?

#

I tried %statistic_seconds_played% but it doesnt work

steep thorn
#

@austere hawk it doesn't have anything to do with LeaderHeads, it also doesn't work in PlaceholderAPI itself, which you could check with /papi parse me %statistic_seconds_played%

austere hawk
#

@steep thorn Did that

#

sends the same placeholder back in chat

warm topaz
#
/papi reload```
austere hawk
#

did that already

warm topaz
#

it shouldnt be returning the %% back if it doesnt work

#

?startuplog

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.

warm topaz
#

send a startup log please

austere hawk
#

these are all the ones i have installed

#

Alright

steep thorn
#

What is 'expansion-leaderheads'??

austere hawk
#

thats the one that supports your plugin right? xD

steep thorn
#

I didn't write no expansion, so no clue where you got that from

austere hawk
#

i just typed /papi ecloud download leaderheads and it downloaded it

steep thorn
#

Yeah don't download random expansions, my wiki doesn't say anything about having to install that

austere hawk
#

just got it from here

#

@steep thorn I got it from placeholderapi their github btw

steep thorn
#

@austere hawk please show me where

austere hawk
#

ctrl+f (leaderheads)

#

and if you click on ''more info'' it sends me to the page you send me

#

thats how I got the info

steep thorn
#

'no download command'

austere hawk
#

im confused man

warm topaz
steep thorn
#

Yeah it's an unofficial one made for older versions, not really sure why

austere hawk
#

Soo is there something I can do to make it work?

steep thorn
#

I don't see anything about the Statistic expansion in your startup log, but I'm not really an expert at this

final shadow
#

Run /papi dump

#

And give us the link

#

Also robin Iโ€™ll unverify that if u have stuff built in

#

@steep thorn

#

@austere hawk run the command above

steep thorn
#

I think gian made it and I don't really want to destroy his work, but it's certainly confusing for people

#

Maybe it's possible to rename it to 'leaderheadsold'?

final shadow
#

Not gonna delete it but Iโ€™ll mark it so it donโ€™t show up In game

steep thorn
#

Ok, fine for me

final shadow
#

If they want it they can download it manually

austere hawk
#

Alright

#

was eating

#

going to do it rn

mental night
#

foood

austere hawk
#

it was so good

mental night
#

what u get quick quest

final shadow
#

Done

austere hawk
#

idk what its called in english

mental night
#

Clippos are god tier

austere hawk
#

its like a spring roll

final shadow
#

Robin itโ€™s unverified so no one will be able to download it in game anymore

austere hawk
#

clip

#

it says ''incorrect usage''

final shadow
#

Sup

#

Update papi

mental night
#

papi <3

final shadow
#

./papi dump

austere hawk
#

there you go

warm topaz
#

statistic expansion isnt registered

#

did u reload papi after downloading?

austere hawk
#

papi reload doesnt get executed for some reason

#

so i restarted my server after

warm topaz
#

why did it not get executed?

austere hawk
#

I dont know. it just doesnt say anything when I type it

#

No errors nothing

#

ohh wait it did give an error

warm topaz
#

yeah

#

@final shadow any ideas? idk what it means

#

try running the download command again now that ur on 2.10.9

austere hawk
#

Yes i did

warm topaz
#

hmm

austere hawk
#

wait what command?

#

I meant ''yes i did'' for the link you send me

austere hawk
#

It says I succesfully downloaded the expansion

#

but then again. /papi reload doesnt work

warm topaz
#

i assume ur getting the same error

austere hawk
#

Yes I am getting the same message you send me

#

its in the paste bin

warm topaz
#

see what clip/someone else says, as ive no idea

austere hawk
#

Alright. thanks for helping me out

final shadow
#

@austere hawk im not on my pc yet but if u can please create an issue on GitHub regarding this

austere hawk
#

@final shadow There's an issue with latest PlaceholderAPI

final shadow
#

That way I donโ€™t forget

austere hawk
#

When the server stops, it's printing out errors

final shadow
#

Yes letโ€™s see them

austere hawk
#

Ill try to create one. Im not that familliar with github

#

I just read stuff on there xD

final shadow
#

Itโ€™s easy Iโ€™ll like you

#

Link*

austere hawk
#

Thank you, Ill create an issue after my league of legends game

final shadow
#

Just select the issue and provide the info it asks for

#

Then Iโ€™ll be able to figure it out when I get on my computer

austere hawk
#

The error was given above.

final shadow
#

@austere hawk basically same thing as gils

#

Some expansions arenโ€™t doing things right

austere hawk
#

I can try reset the folders.

final shadow
#

Nah itโ€™s the outpost placeholders

#

Pro savage is not doing something right

austere hawk
#

Every plugin that uses Papi, prints out the error.

final shadow
#

Yes but the stack trace falls back to that expansion for every plugin

#

Donโ€™t worry Iโ€™ll come up with a fix

#

One expansion breaks them all

austere hawk
#

Is it savage's problem or yours?

#

I am in call with them xD

final shadow
#

Itโ€™s mine for not handling issues with expansions that may cause errors

austere hawk
#

Alright, thanks @final shadow

final shadow
#

Ask him what getAuthor returns in his outpost expansion

#

Or where is this call so I can join

#

@austere hawk

austere hawk
#

He is getting it out to see.

final shadow
#

add me

#

to the call

austere hawk
#

add to the friend

austere hawk
#

Made the issue clip!

#

Ohh oopsie I forgot to say one thing in the report.

#

Its that /papi reload doesnt work at all

final shadow
#

@austere hawk

#

should be fixed

austere hawk
#

server is starting right now with the new version

final shadow
#

might not work but

austere hawk
#

/papi reload still doesnt work

final shadow
#

idk

#

hmm

austere hawk
#

btw does it automaticly enable when you restart the server or do you have to type /papi reload?

final shadow
#

it automatically enables

#

send your startup log

#

also do /papi dump again on this version

#

just to be sure...

austere hawk
#

ohh

#

i dmed you the pastebin

#

just realised the ip adresses are in there aswell xD

final shadow
#

gonna have to sit on this one for a bit until i get some time to look into it

#

apparently if you say "like this update to pay respects" you get a shit load of likes

warm topaz
#

๐Ÿ˜†

final shadow
#

never had an update with over 30 likes lol

trim mist
#

I guess that's what happens when an update is pushed that fixes stuff.

final shadow
#

I meant pay respect to the eclipse users

trim mist
#

Ahh

final shadow
#

Lol

#

Confirmed fixed the one issue I was nagging about

dim nexus
#

i'm eclipse user

#

;3

final shadow
#

Idk why sx added a hash code method that fetches values from wherever

#

The issue was plugins disabled but provided expansions

#

Papi still has a reference to the expansion but the plugin was null

#

They used plugin.getDescription.getVersion and get authors

#

Which I actually use in some of my plugins

#

Well the hash code method was called after the fact

#

By the way

#

Look what just arrived

#

@mint fable

mint fable
#

๐Ÿ˜ฎ that was fast

final shadow
#

Weโ€™re only a hop skip and jump away from each other

austere hawk
#

Oi, I found a flaw in PAPI's TimeUtil class, plus I reckon it could do some rework in general. Should I make a PR or explain and leave it up to "the owners of this repository"?

final shadow
#

Pr the fix

austere hawk
#

gotcha

final shadow
#

Appreciate it if u do

austere hawk
#

no lol not gotcha as in jk

#

got you* lmao

final shadow
#

Thanks and look forward to understanding what you would do is better. (Yeah I know my way is probably shit)

slender island
#

hello, I have a problem with my PlaceholderAPI in my plugin. The Spigot page says the problem with the expansion is fixed but i can't extends my class with PlaceholderExpansion. Thanks

final shadow
#

Whatโ€™s the issue exactly @slender island

slender island
#

i don't understand because the spigot page says the problem was fixed on 2.10.9

final shadow
#

Import

slender island
#

the import is the same think as the first screenshot

final shadow
#

Are you using eclipse or something

slender island
#

yes eclipse

final shadow
#

Restart but before you do go to settings and find the option to update on start or load of the project

#

Eclipse is garbage regarding refreshing your dependencies

#

Spent like 3 hours yesterday in eclipse dealing with this

slender island
#

i tried intellij but i really don't like x)

#

ok i try

final shadow
#

Coming from eclipse I said the same thing at first

slender island
#

and my laptot is garbage too x)

#

ok it works ๐Ÿ™‚

#

thanks

mellow gull
#

In the new papi update, my name turns all lowercase:

#

oh I can't paste images

tender vaporBOT
#

@mellow gull,

Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

mellow gull
#

Is this a papi issue, or is it another plugin?

#

ping me :)

#

In fact, everything is lowercased

#

this is a very weird issue

#

lmao

mellow gull
#

NOTHING I type is capitalized

mellow gull
#

anyone?

#

:(

warm topaz
#

thats not placeholderapi

mellow gull
#

alright, thxx

orchid field
#

I don't think I ever got an official answer for my issue last night, but it's even worse now and think it might be a PAPI issue this time. Now only are JobsReborn placeholders not working, but Rankup isn't either. I've tried two versions of PAPI and two different leaderboards (where I am trying to use the placeholders) and nothing seems to work. I have downloaded jobs placeholders and rankup doesn't require any.

turbid tide
#

what version of papi did you try?

orchid field
#

I have tried 2.10.9 and 2.10.4

turbid tide
#

try papi 2.10.6

#

its hard for me to believe its a papi problem since I do use papi 2.10.9 and latest version of jobs and everything seems to work fine

orchid field
#

Nope, nothing.

#

It seems like something is broken with my server, since one of my friends was using the exact same rankup plugin and scoreboard I used and it worked.

#

I just don't know where the issue would be located

turbid tide
#

have you tried parsing the placeholders in chat? /papi parse me %placeholder%

#

to see if they actually work there?

orchid field
#

Nope, they don't.

sacred cave
#

Hello why the bskyblock placeholders dont work to me?
I use scoreborad

#

I found the problem at the website u have a mistake
on github: %level_[gamemode]-island-level%
need to be: %level_[gamemode]_island_level%
and the same to all BentoBox

turbid tide
#

are you sure?

sacred cave
#

yup

#

u can check it

potent cobalt
#

Hi, i tried to register an account on the papi ecloud website and it said to go into the discord?

#

can anyone help

green osprey
#

,_,

frail sentinel
#

hi i tried gain on papi members on group in luckperms

#

there is a way?

potent cobalt
#

@final shadow how can i register an account on the ecloud website?

tender vaporBOT
#

@potent cobalt,

Hey!

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

potent cobalt
alpine cipher
#

Hello I have a problem with placeholderapi since I downloaded the latest version of this the trmenu does not work before I had the previous version of the new one and if it worked but since I updated the version it gives me that error with the trmenu

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

alpine cipher
#

My new version is 2.10.9

#

The old one was 2.10.6

#

@turbid tide Help me please

tender vaporBOT
#

@alpine cipher,

Hey!

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

final shadow
#

@potent cobalt my email verification is broken atm hence why registration is disabled

#

I can disable it and u can create an account

#

Lmk when ur ready

austere hawk
#

@alpine cipher What error did you get?

potent cobalt
#

@final shadow ready when you are

tender vaporBOT
#

@potent cobalt,

Hey!

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

final shadow
#

@potent cobalt give me 2 mins

potent cobalt
#

alrighty

final shadow
#

k

#

make the account and disregard the error at the end

#

let me know and ill enable your account after

#

send the username though

potent cobalt
#

done

#

FileFound

#

is my username

final shadow
#

ok try to login

potent cobalt
#

im in

#

ty man

final shadow
#

sweet

distant nova
#

I can't get the Animations expansion to function properly

#

Does it still work on newest version of papi?

limber ice
#

@final shadow

tender vaporBOT
#

@limber ice,

Hey!

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

final shadow
#

Idc

#

Restart

#

Or submit an issue on the bungee expansion.

limber ice
#

I was thinking it was an issue with my statz expansion I have been trying to get to work, I looked in expansion folder to find two bungee expansions

distant nova
#

Is there a way for players to use placeholders in chat?

vast mauve
#

Hello?

tender vaporBOT
#

@vast mauve,

Possible Solution Found:

As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.

balmy marten
#

Make sure luckperms and the luckperms expansion are both up to date

vivid sparrow
#

@balmy marten tempmute cmd, ty :*

austere hawk
#

yo is there a player playtime placeholder?

balmy marten
royal zinc
#

hi, I have a question regarding Placeholder

#

It seems after adding hooks and reloading the only hooks that exist are the ones from other plugins and not the ones from ecloud

#

also reloading randomly removes some hooks that are coming from the plugins installed

final shadow
#

Run /papi dump

royal zinc
#

its weird, on install it worked fine. Reloading killed it

final shadow
#

Can I see the latest.log

#

@royal zinc

#

Sorry at work so my responses might take a min

royal zinc
#

No worries, sure ill grab it in a sec i'm making a backup of the server. I'll pm it to you in a few

final shadow
#

Ok

heady falcon
#

@distant nova Whats issue with it?

#

It should work fine on latest version afaik

frail sentinel
#

hi i tried gain on papi members on group in luckperms
there is a way?

obsidian charm
#

In the last version of PlaceholderAPI all writings are lowercase

#

How i can solve?

noble rampart
#

Hello. I found a bug with displaying Statistic placeholders. The fact is that he does not place dividing marks. For example, I received 19065.20 damage in the Minecraft statistics window, but the placeholder gives me 1906520 damage. How can I fix this?

balmy marten
#

Create an issue on the github page for that expansion

#

Ricky, I'm not too sure what you mean

frail sentinel
#

I see this but i didnt see variable with players nick in group XYZ :<

austere hawk
#

whats the placeholder for block broken and whats the addon

#

ty

crimson vigil
#

@iron turtle Statistic, %statistic_mine_block:<material>%

#

oops sorry wrong ping :kekw:
@austere hawk

distant nova
#

@heady falcon I can't get any animation to work. When using rainbow it's one solid color and changes when I refresh, gradient says it's not an animation, the flashing/fade just show half of the text. I tried downloading it from ecloud and from their github and manually dropping it into the expansion folder to no avail

#

Tried using them with multiple plugins as well with the same result

heady falcon
#

gradient dont exist in the expansion yet

#

whatever plugin is using them needs to refresh the placeholders

#

can you give me an example of the placeholders?

distant nova
#

I'm trying to use them with holographic displays and that definitely refreshes them lol

#

%animations_<rainbow>testing</rainbow>%

heady falcon
#

thats correct

#

Are you using holographic extension, or something similar?

distant nova
#

Yeah iirc

heady falcon
#

To refresh the placeholders, because HD wont do it automatically

distant nova
#

yeah

heady falcon
#

Make sure you add {fast} or something

#

To make sure they update

#

Have you got that?

distant nova
#

Ahh that fixed it actually

heady falcon
#

๐Ÿ‘

#

Theres 5 to choose from

#

{slowest}

#

{slow}

#

{normal}

#

{fast}

#

{fastest}

distant nova
#

is that part of holographic extension?

heady falcon
#

Yeah

distant nova
#

Alright. Thanks a ton!

crimson vigil
distant nova
#

Have you broken sugar cane before? o.o

crimson vigil
#

yes

#

and i just did now again to try

fair abyss
#

Hey there,

I am the main developer of MultiChat and we allow people to use PAPI placeholders in our chat formats. However, using versions of PAPI 2.10.7 or higher cause an extra space to be added to some chat formats when using java PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message);

In Spigot the %1$s and %2$s variables are automatically replaced with player's display name and message respectively. But for some reason, as of PAPI 2.10.7 the %2$s variable is getting an extra space added onto the end of it. It is going from '%2$s' to '%2$s '. This is then causing double spaces to appear in players' chat.

#

One of MultiChat's contributors thinks it is the change that happened when the following method was updated:

@NotNull
  public static String setPlaceholders(final Player player, @NotNull String text) {
    return setPlaceholders(((OfflinePlayer) player), text);
  }```

which calls:

```java
public static String setPlaceholders(final OfflinePlayer player, @NotNull final String text) {
    return REPLACER_PERCENT.apply(text, player, PlaceholderAPIPlugin.getInstance().getLocalExpansionManager()::getExpansion);
  }```

 which calls: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java#L42
final shadow
#

@fair abyss im not sure where this issue lies. I am currently testing and can't replicate a space being added using %2$s

fair abyss
#

Would the /papi parse command return the exact same result as calling PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message); ? Because the space only seems to show up for me when using the API, when I use the parse command I get the same result as you do there

#

We ran the following code earlier:

#
System.out.println(message);
// If we are hooked with PAPI then use their placeholders!
if (LocalSpigotPAPIHook.getInstance().isHooked()) {
    message = PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message);
}
System.out.println(message);```
#

Output is:

#
[09:35:19] [Async Chat Thread - #0/INFO]: '[G] %1$s: %2$s '```
final shadow
#

hmm

fair abyss
#

Could it be that it only happens at the end of a message?

final shadow
#

give me a sec

#

testing something now

#

@fair abyss mind testing a jar for me?

fair abyss
#

Sure!

#

Sorry something suddenly came up so couldn't reply sooner

final shadow
#

u still there?

#

@fair abyss

fair abyss
#

Yep

final shadow
#

switch to dm

leaden wraith
#

Hello everyone! Lombok breaks if when I try to create my own expansion

#

More into details, I don't know how do you add the jetbrains annotation as dependency into papi, but it doesn't get inherited, so I have to add manually to my project to avoid compilation errors.

#

@final shadow

tender vaporBOT
#

@leaden wraith,

Hey!

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

final shadow
#

Refresh your dependencies if using eclipse. I deleted my entire .m2 and tested with that shit ide and had no issues

leaden wraith
#

yeah I use eclipse, but I couldn't build from commandline too

final shadow
#

Are you sure that your dependencies updated though

#

I used eclipse for years and never realized how much of a headache dependencies are until the other day

mellow gull
#

placeholderapi's latest version is making the first word of everything lowercase. Only in the game chat, not the console.

brisk coral
#

IJ supreme angry_fingerguns

mellow gull
#

wha?

final shadow
#

Hmm

#

Show some examples

mellow gull
#

I downgraded to like something.something.8 and it works fine, only now my placeholders don't work (waiting for chatinjector to update)

#

here

#

i asked this a couple days ago, and someone said it wasn't papi's issue

#

but...

#

yeah

final shadow
#

Let me test

mellow gull
#

sure, do you need me to do anything?

#

right

#

ok

mellow gull
#

I don't know about the gradients and colors, but

final shadow
#

thats using another plugin which calls setPlaceholders

mellow gull
#

right

final shadow
#

hmm

mellow gull
#

so this is a bug?

#

:o

final shadow
#

idk? lol

mellow gull
#

lmao

#

riip

#

it's happening to me, so I'm downgrading

final shadow
#

what is the plugin that is setting placeholders doing

#

thats the question

#

as u see i tested papi directly and another plugin and its def not setting anything to lowercase

mellow gull
#

so you think I should upgrade and remove chatinjector?

final shadow
#

i think we should figure out what plugin is causing it because I don't believe its papi doing it

mellow gull
#

but i don't think papi alone can put placeholders in chat, can it?

final shadow
#

dont get me wrong it might be in some weird way

mellow gull
#

do ya want my plugin list?

final shadow
#

u sure its not your chat formatting plugin or something?

#

just wondering and not blaming

mellow gull
#

yeah np

#

uhh

#

chat formatting plugin...

#

I only have like essx chat and chatinjector

final shadow
#

hmm

#

maybe i should update chatinjector

#

but tbh i dont see how that would cause it