#placeholder-api

1 messages · Page 73 of 1

brisk coral
#

the first word of the placeholder is usually the expansion name

sleek frost
#

I've installed the expansion and reloaded, now says 1 expansion loaded, but the command still returns that "%player_name%" is not found, so it doesn't replace it.

brisk coral
#

Where are you using it exactly?

sleek frost
#

I basically have this in my commands.yml":

  openchest:
  - uc treasure %player_name% -937 72 314 world
#

It's to teleport a player to a spot where they can open a lootchest for cosmetics

vivid sparrow
#

who use commands.yml for custom commands lol ...

#

just get mycommand

brisk coral
#

^

sleek frost
#

It's a really small server, but if that's an easy fix then awesome

#

Thanks

hollow heart
#

commands.yml is great for aliases

brisk coral
#

It is, but not for custom commands

hollow heart
#

one could call an alias a custom command :>

brisk coral
#

debetable

pallid finch
#

I'm at a total loss as to how to use placeholderAPIs outside of the parser. No matter what I do, the placeholders are not parsed by chat or commands. I've set myself to have all the permissions to ensure I'm not missing something, but... if I'm missing something, it's not spelled out anywhere. Does anyone have suggestions I can try?

brisk coral
#

Where are you using the placeholders, which placeholders are you using, and do you have the required expansion

pallid finch
#

PokeTeams. Trying to add %teamname% to chat prefixes, and I've tested in the parser that it works.

brisk coral
#

What chat plugin?

pallid finch
#

I don't know. I'm not sure we even have one

brisk coral
#

How are you setting the format then?

pallid finch
#

What do you mean?

brisk coral
#

You need a chat plugin in order to set the format

pallid finch
#

Can you recommend one then?

#

Maybe something that can be integrated with LuckPerms groups?

brisk coral
#

DeluxeChat, premium tho

#

Best out there ^

pallid finch
#

This works on Sponge?

brisk coral
#

Not sure

final shadow
#

Noooo

torn inlet
#

How can i enable the cache for player head please ? It's supposed to be enabled by default but i got a loading time during which i see no skin head each time i open the menu.

vivid sparrow
#

You sure isn't smth at your end? It works perfect for me

torn inlet
#

I don't know, i always experienced this even on another dedicated server so ...

glad lion
#

Profiles have to be cached client and server side

#

(Server looks up the URL for the texture, the client actually has to go lookup the texture)

small nova
#

I'm using FactionsUUID, and I need to put a space following the faction tag. This is not possible through the plugin itself, how could I go about doing this?

#

I assume through custom placeholder, but I am not sure how to do it.

brisk coral
#

Javascript

small nova
#

I don't know a lick of javascript

brisk coral
#

Sec

#
var faction = "%factionsuuid_faction_name%";

function chatFormat() {
  if (faction !== "") {
    return faction + " ";
  }
  return "";
}
chatFormat();
small nova
#

Thank you so much. How do I palceholderify this code?

brisk coral
#

You make a file with that inside and name it something.js and then out it in the javascript placeholders folder which is created after downloading the js expansion
After that you need to register the placeholder by opening the javascript_expansion.yml file and adding this at the bottom

  something:
    file: something.js

And then to use that placeholder you would use %javascript_something%

#

Hopefully that explains it :p (on mobile so hard to write that much)

small nova
#

Thank you so much for the 5am support 😄

#

I'll let you know how it goes

brisk coral
#

(The something can be replaced by whatever you wamt to call the placeholder)

willow elk
#

Hello I have a problem I had my server in 1.14.3 I passed it in 1.14.4 and since I have this bug that happens. Can you help me?

https://pastebin.com/WwQTLhkr

oak stump
#

helpme

#

i using deluxe menu

#

I want to execute the order in an order

willow elk
#

I am French sorry for my bad English

oak stump
#

how to?

#

😂

brisk coral
#

@oak stump ask in the correct channel please

oak stump
#

ok

willow elk
#

and for me?

brisk coral
#

On my phone so can't help you rn, be patient, someone will help you when they have time

willow elk
#

okay

#

thank

plain hare
#

Ok im using Papi and HDisplays, how would I get my factions server playercount to show? I've tried the listed ones but they aren't working? Any help would be appreciated

mint fable
#

Do you have the expansion @plain hare ?

#

Also, which factions do you have? MCore? UUID?

plain hare
#

wait

#

whats the expansion

#

i couldnt find it

mint fable
#

Which factions do you have?

plain hare
#

MCore

mint fable
#

^

#

Run those commands

#

and use those placeholders

plain hare
#

im trying to use it in the hub though

#

on a hologram

mint fable
#

Which placeholder are you trying to use?

#

I don't think you'll be able to use placeholders from a separate server

plain hare
#

{bungeeplayercount@factions}

mint fable
#

oh

#

you're not trying to use factions stuff

#

I read that wrong

#

^^

#

There you go

plain hare
#

i love you

#

so

#

if i now did %bungee_factions%

#

it'd say

mint fable
#

the amount of people on that server

#

you can test placeholders with /papi parse me %placeholder%

#

so /papi parse me %bungee_factions%

plain hare
vivid sparrow
#

make sure you got hext along hd

plain hare
#

wot

vivid sparrow
mint fable
#

without knowing about holographic extension, I had a stroke reading that statement

vivid sparrow
#

... ty cj

plain hare
#

Sorry i dont use those plugins

mint fable
#

What plugin are you using for holograms?

plain hare
#

I mean im new to these plugins I don't have much knowledge on them

mint fable
#

Also, did you try the parse command I sent you?

plain hare
#

Yes

mint fable
#

Did it come back with the number?

plain hare
#

The parse one replied "0"

mint fable
#

okay

#

So that works

#

Now, which plugin do you use for holograms?

plain hare
#

HolographicDisplays

mint fable
#

let me translate gaby's message for you

#

since he uses acronyms that nobody else does

vivid sparrow
#

translate

mint fable
#

make sure you got holographic extension along holographic displays

plain hare
#

Ok I have holographic extension

vivid sparrow
#

boy

#

HEXT

plain hare
#

HEXT

mint fable
#

nobody

plain hare
#

lol

vivid sparrow
#

blame niall

mint fable
#

now restart and see if it works

plain hare
#

Nope

#

Didn't work

mint fable
#

I don't use HD or HEXT so sadly I can't help too much there

#

good thing is: your placeholder works

#

now you just need to get it to display in the hologram....

plain hare
#

so

#

the placeholder is right

#

but it doesnt show

mint fable
#

Yes

#

Did you checkout the plugin page for HEXT?

#

They have an Implementing Placeholders section

#

maybe that'll help

karmic granite
#

@torn inlet depends how fast all the placeholders are loaded. Cause values are cached, but downloaded every once in a while if called

mortal ermine
#

btw is there a way to reset the javascript cooldowns?

hollow tusk
#

anyone know?

austere hawk
#

Hi! Trying to use JS to display specific ranks, what am I doing wrong?

It either returns the wrong rank, or doesn't display anything at all. Is the return value ""yes" or true/false?

function hasSupporterGroup() {
    var groups = [
        'Sphinx', 'Wyvern', 'Titan', 'Phoenix', 'DemiGod' 
    ];
    var prefix = '&f&l┗ &a&o';
    for (var index = 0; index < groups.length; index++) {
        var group = groups[index];
        if ('%luckperms_in_group_' + group +'%' === 'yes') {
            return prefix + group;
        }
    }
}

hasSupporterGroup();
trim mist
#

I'm not sure off the top of my head what it returns but you could try parsing the placeholder manually to see what it returns.

bronze bison
austere hawk
#

huh? not even in a for loop?

final shadow
#

All placeholders are parsed before eval

#

So wildcards such as yours aren’t possible rn

#

If that makes sense

austere hawk
#

yeah it does

#

any alternatives to my problem?

bronze bison
#

It is using the method i added

final shadow
#

If your pull works accept and build

#

Boo

bronze bison
#

it does, but i dont want it to be merged until someone review it

#

Im not the best in java

#

So im not sure about my code quality

final shadow
#

Haha

austere hawk
#

... if statements instead of the for and comparing to yes/no should work yes?

bronze bison
#

Nothing wrong with the for loop

#

U cant just use a js variable inside a placeholder

final shadow
#

The placeholders just have to be defined before eval to be parsed currently

austere hawk
#

yeah that's what i mean

#

so would


if %luckperms_in_group_myrank == yes  

``` work?
final shadow
#

Yes

austere hawk
#

okk ty

#

ughh it sucks writing tho, yikessss lol

#

thanks for your response @final shadow appreciate it!!!

#

do you manage the towny extension or does the towny dev manages the towny extension?

#

@bronze bison how did you get the guts to make a pull request? lol I'm scared too.

#

(not for this, but for any repo)

bronze bison
#

? Lol

#

Why would u be scared?

austere hawk
#

uhh, you're submitting code to a freaking repo??? where it'll be judged?!?!!?

bronze bison
#

if they didn't like ur code, close the pr and use it for urself

#

Ez

austere hawk
#

what if they call you an idiot and now that issue is on your profile forever lmao

#

Lmao

#

Create a new portfolio

#

😂😂😂😂

#

lmao!!

#

yikes lol

#

200iq

bronze bison
#

what people say doesnt matter.. just ignore them and dont open another pr, use it for urself

#

And i dont think someone will investigate ut whole profile...

austere hawk
#

haha that's true

#

what's wrong with this? everyone is wyvern :/


function hasSupporterGroup() {
    if ('%luckperms_in_group_sphinx') {
        return placeholder('Sphinx');
    }
    if ('%luckperms_in_group_wyvern') {
        return placeholder('Wyvern');
    }
    if ('%luckperms_in_group_titan') {
        return placeholder('Titan');
    }
    if ('%luckperms_in_group_phoenix') {
        return placeholder('Phoenix');
    }
    if ('%luckperms_in_group_demigod') {
        return placeholder('DemiGod');
    }
}

function placeholder(group) {
    return '&f&l┗ &a&o' + group;    
}

hasSupporterGroup();
bronze bison
#

The placeholder doesn't return a boolean

#

Add the === "yes"`` part

austere hawk
#

OH

#

sorry

#

im high

bronze bison
#

all good

austere hawk
#

@final shadow hi question! why did you decide to return yes/no strings instead of true/false? feels weird hahahaa

#

@bronze bison like this?```js
function hasSupporterGroup() {
if ('%luckperms_in_group_sphinx' == 'yes') {
return placeholder('Sphinx');
}
if ('%luckperms_in_group_wyvern' == 'yes') {
return placeholder('Wyvern');
}
if ('%luckperms_in_group_titan' == 'yes') {
return placeholder('Titan');
}
if ('%luckperms_in_group_phoenix' == 'yes') {
return placeholder('Phoenix');
}
if ('%luckperms_in_group_demigod' == 'yes') {
return placeholder('DemiGod');
}
}

function placeholder(group) {
return '&f&l┗ &a&o' + group;
}

hasSupporterGroup();

tender vaporBOT
#

@austere hawk

Hey,

Please be patient and don't ping helpful or staff members!

austere hawk
#

No need to ping every reply@

#

true

#

N hes gone offline

hollow tusk
#

Hey guys. I have been trying to put my network status on the TAB plugin, and it appears to be working on TAB's side, however pinger just always says 0 or offline, even when the server starts when its online, and I changed the update rate to see if it would fix it but I can't appear to figure it out. Maybe you guys can help :) I am currently using placeholer %pinger_isonline_MYIP:MYPORT%
I tried to see if it could even tell if its online so its on that right now, but still says offline

#

im not very intelligent so I don't know

tardy pivot
#

isnt there a setting in papi's config to enable that?

#

also if ur using the TAB that I think of, there is a built in server pinger in that I think

hollow tusk
#

checked papi config, only settings are update intervals. Changing doesn't help. I don't know if TAB does, because I want to ping a different server with different ip and ports.

#

tested to see if it was tab or papi with chat format and there doesn't appear to be any changes. Still says offline after waiting a few mins

valid python
#

hello

#

i tried %server_online_worldname% to show the players count in each world

#

but it still shows "0"

hollow tusk
#

pinger may not be working in 1.14.4 ig, same issue.

hollow tusk
#

after some testing, it appears that the pinger api doesn't function in paper 1.14.4 under any of my test servers

bronze bison
#

@austere hawk i fell asleep, it looks good

brisk coral
#

@valid python You using the correct world? (caps matter)

glad crown
#

This is not the original daegonner righ?

#

this is so crazy

brisk coral
#

You're crazy 😉

glad crown
#

i feel so helpless

#

O this is not off topic

brisk coral
#

:leldog:

lean hare
#

Efe

austere hawk
#

Hello

#

Can I place PlaceholderAPi inside bungeecord?

vivid sparrow
#

Nope

austere hawk
#

😦

brisk coral
#

which placeholder

median kindle
#

Can someone tell me how to use a player head as item in DeluxeMenus

vivid sparrow
bold wasp
#

hi guys one question did the strings to get town name and money changed?
cause like %towny_town% its not working

hollow tusk
#

rip pinger placeholder

tidal geode
vivid sparrow
#

update papi

tidal geode
#

Okay

#

Still same error

#

papi version 2.10.3

#

what i using

bronze bison
#

Papijsp is broken, dont use it

#

Use /papi reload instead

austere hawk
#

my PlaceholderAPI isnt working with DeluxeMenu's please could someone help me?

#

@sharp jay please could you help me?

tender vaporBOT
#

@austere hawk

Hey,

Please be patient and don't ping helpful or staff members!

sharp jay
#

First dont ping

#

second wym it doesnt work

austere hawk
#

i cant use anyone %% inside deluxemenus

sharp jay
#

You install the expansions?

austere hawk
#

how do i do that?

#

when i do /papi ecloud download deluxemenu it says thers no expansion found

sharp jay
#

;p

#

What placeholders

#

are you trying to use

austere hawk
#

%vault_eco_balance%

#

%player_name%

sharp jay
#

type those commands at the bottom

austere hawk
#

Thank you 😃

#

do you have any expiernce with deluxe menus?

sharp jay
#

Ye

austere hawk
#

Any chance you could check my config see if everything is set up okay?

austere hawk
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

full kettle
#

ayeee

#

just tried deleting and reinstalling the most recent version of papi, and i still get this message upon any interaction with ecloud

#

oops

#

No cloud expansions are available at this time.

#

sos 😦

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://api.extendedclip.com/home/ and place them in your /plugins/PlaceholderAPI/expansions/ folder.

placid smelt
#

Hello, If I'm using EzPrestige and I am planning on resetting my server and resetting all player prestige, How I do it ?

austere hawk
#

Delete your player permissions data? as it's stored in permissions

dense trail
#

I just updated my placeholderapi things to the last version now i'm getting this error

[13:51:41 WARN]: [PlaceholderAPI] Task #14 for PlaceholderAPI v2.10.3 generated an exception
java.lang.NoClassDefFoundError: com/sk89q/worldguard/WorldGuard
#

Anyone know how to fix this ?

#

Using minecraft server version 1.12.2

cedar gust
#

Are there no placeholders for askyblock that display island value #1 for example? to create a custom island top menu?

dense trail
#

What papi version is ment for 1.12.2

brisk coral
#

latest

dense trail
#

well I have that and it's giving me errors....

brisk coral
#

It's WorldGuards fault

dense trail
#

How

#

It's working fine

#

but papi says worldguard is doing shit ?

brisk coral
#

ye the plugin works, but the hook doesn't

dense trail
#

what can I do about it

brisk coral
#

Cry and go to sleep (idk :p)

dense trail
#

Does this mean i'm basically able to do nothing ?

#

because that's heavily fucked up

#

I didn't ahve it before I updated the papi plugins

#

so it's a fault from papi

cedar gust
#

so no askyblock placeholder to show the number 1 island level player?

#

rip me

cedar gust
#

ooo nice thanks

austere hawk
#

If i want to get the bungeecord placeholders (%bungee_servername%) do i have to install PAPI on the bungeecord server?

bronze bison
#

no, just download the bungee expansion

/papi ecloud download bungee
/papi relaod
austere hawk
#

And

#

Do i install it on the spigot servers?

#

all of them

#

or only the one that has the papi

bronze bison
#

hmm just download papi and download the expansion in ur spigot server

austere hawk
#

Ok well that doesn't work

#

i just did that

bronze bison
#

i actually dont know, 1m checking the expansion

austere hawk
#

ok

#

any updates?

brisk coral
#

patience is key

bronze bison
#

^^ and doesnt seem that u need papi in ur bungee server

#

make sure that servername is the same as the name u set in ur bungee config

austere hawk
#

yes

#

i did that

#

Still doesn't work...

bronze bison
#

its also case sensitive

austere hawk
#

um lemme double check

#

yep i did it exactly as it is in the config

#

still not

bronze bison
#

/papi list bungee is there ?

austere hawk
#

yes

bronze bison
#

what does the placeholder returns ? /papi parse me %bungee_NAME%

austere hawk
#

0

#

The plugin im trying to use papi on is Holograms

#

if that helps

bronze bison
#

use the command for now, the default update interval is 30 second

#

u can change it in the config

#

for now, run the command i sent, wait 30 seconds and then run it again

austere hawk
#

ok

bronze bison
#

see if the value has changed

austere hawk
#

still 0

brisk coral
#

I'm confused as tho what you're trying to accomplish

austere hawk
#

Same

#

even tho im the one

#

Actually if it's this complicated i'll just not use it3

#

it's fine

bronze bison
#

is bungee enabled in ur spigot server

#

iirc spigot.yml

austere hawk
#

Yes

bronze bison
#

if so and its not working, u can try placing papi in ur bungee server

austere hawk
#

i did that also, it doesn't load the plugin when i put in bungee server

#

I won't use it

#

It's fine

bronze bison
#

ok lol

dense trail
#

I just installed the PrisonRanksX placeholder and they're not working

#

https://api.extendedclip.com/expansions/prisonranksx/ it's a manual install because it's not verified yet (dev's words)

#

in console they're being inserted but in game I don't see em

#

[16:44:43 INFO]: [PlaceholderAPI] Successfully registered expansion: prx(PrisonRanksX)

glad lion
#

try /papi parse me %some_placeholder_here%

dense trail
#

I did

#

shows the %placeholder% without actually converting

#

And I just changed something in the config "allow unverified expansions"

#

but still no success

#

/papi parse me %prx_rankup_cost%will say %prx_rankup_cost%

#
[16:59:37 INFO]: ConfigFile issued server command: /papi ecloud download PrisonRanksX
[16:59:37 INFO]: [PlaceholderAPI] Attempting download of expansion: PrisonRanksX by user: ConfigFile from url: http://api.extendedclip.com/media/PrisonRanksX-Expansion_w7k11az.jar
[16:59:37 INFO]: [PlaceholderAPI] Fetching available expansion information...
[16:59:37 INFO]: [PlaceholderAPI] Download of expansion: PrisonRanksX complete!
[16:59:39 INFO]: [PlaceholderAPI] 154 placeholder expansions are available on the cloud.
[16:59:39 INFO]: ConfigFile issued server command: /papi reload
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: checkitem
[16:59:39 INFO]: [PlaceholderAPI] [Expansion-Config] Loading...
[16:59:39 INFO]: [PlaceholderAPI] [Expansion-Config] 2 config paths cached.
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: config
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: essentials
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: prx
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: tokenenchant
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
#

This makes no sense

#

I install the palceholderapi of prisonranksX

#

it says sucess

#

then it doesn't work

#

Can someone actualyl help ?

mint fable
#

Did you configure it in the config?

#

It's looking for PlaceholderAPI.rankup-cost-lastrank it seems

#

in the PRX config

dense trail
#

Wait what ?

mint fable
#

Look in your config and see if that is there

#

that's for the last rank

dense trail
#

FREE is my last rank

mint fable
#

are you OP/have all perms

dense trail
#

Yes I'm opped

#
  FREE:
    display: '&8[&c&lF&6&lR&e&lE&a&lE&8]'
    cost: 5000000000
    nextrank: LASTRANK
    executecmds:
    - pex user %player% add essentials.warps.FREE
    broadcast:
    - '&6%player% ranked up to %rankupdisplay%'
#

free rank btw^

mint fable
#

but if your next rank isn't a thing, it will search the config for that part I believe

#

deop yourself and see what it says

dense trail
#

How can I parse if I'm deopped....

mint fable
#

and set yourself to a rank before free

#

I believe you can parse from console

#

How can you correctly configure a server if you test it only as OP? 😉

dense trail
#

Facts.

#

I'll try from console rn

#
>papi parse ConfigFile %prx_currentrank_displayname%
[17:17:49 INFO]: %prx_currentrank_displayname%
#

doesn't work

mint fable
#

what rank are you set to

dense trail
#

A

mint fable
#

🤷 ask the dev

#

he just made the expansion recently so

dense trail
#

I can't stand it when dev's publish stuff that doesn't work.

#

It's like making a server that's not functional then saying to the players enjoy.

mint fable
#

what about prx_money

dense trail
#

none work

#

if I do /papi ecloud list all

#

I see PrisonRanksX in gray

mint fable
#

/papi list

dense trail
#

then I install it

#

Then It says "installed

#

then I check

#

Papi ecloud list installed

#

not there

#

while it does say 9 placeholderapi's installed

#

but only shows 8

mint fable
#

what does /papi list say

dense trail
#

checkitem, config, essentials, player, prx, server, statistic, tokenchant, vault

mint fable
#

yep, idk then

dense trail
#

soo annoying

mint fable
#

you keep listing the ecloud expansions

#

instead of the ones you have installed

#

it's greyed out because it's not verified probably

dense trail
#

I already have the manual one in the files

mint fable
#

configfile...

#

you have 2 expansions for prisonranks

#

maybe try removing one of them

dense trail
#

Didn't change a thing

mint fable
#

Also, before dev, did you try restarting?

dense trail
#

I restarted my server I think about 20 times while messing wit this

mint fable
#

dev time

dense trail
#

I hope he doesn't have a reaction time of most dev's

#

2-100 weeks

mint fable
#

the real question is: why does he include placeholders in his plugin and outside of his plugin?

#

@dense trail try using prisonranksx for your placeholder identifiers

dense trail
#

wdym with that ?

mint fable
#

instead of prx

#

prisonranksx will refer to the one that he included in the plugin

dense trail
#

ahh

mint fable
#

prx will refer to the expansion

dense trail
#

LOL

#

Guess what...

#

it's working

mint fable
#

I would say contact the dev still

dense trail
#

/papi parse ConfigFile %prisonranksx_money% shows my money

dense trail
#

/papi parse ConfigFile %prx_money% shows the %prx_money% placeholder

mint fable
#

So that will break if you reload I guess? not sure.

dense trail
#

if I do /papi reload u mean ?

mint fable
#

not sure, I took that screenshot from his plugin page

dense trail
#

or/reload ?

#

Oh let me check

#

Oh yeh

#

when u do /papi reload it breaks yeah

#

;.

#

:/

#

This is some broken shit lol

#

He answered pretty quickly on the first message @mint fable

#

He said The expansion placeholders starts with %prx instead of %prisonranksx

#

now waiting on another answer because he misread my question

mint fable
#

What was your question?

dense trail
#

I'm creating a prison server (Obviously) and I'm tying to use the placeholders of PrisonRanksX for my tab plugin, however the placeholderApi doesn't seem to work, I see it in the /papi list and when I install it says sucessfull install but doesn't show in /papi ecloud list installed & I have also tried the manual install from the page u mentioned at the resource page of PrisonRanksX, didn't work either. Can you help me by any chance ?

#

then I mentioned I used both ways

mint fable
#

🤷

#

tell him the prx placeholders don't work at all

#

ez pz

dense trail
#

Doesn't seem the smartest guy :_:

#

I legit told him that nothing is working basically

#

then he says that i have to use prx instead of prisonminex

#

🤔

mint fable
#

wasn't worded the best tbh, but eh

dense trail
#

I understand, but I've send 4 messages now and still no fix :_:

#

How can I word this better "No single placeholder is working"

#

lol

mint fable
#

I've tried both the placeholders included in your plugin (prefix prisonranksx), and the placeholders included in your expansion (identifier prx). None of the prx placeholders work at all, while the prisonranksx ones work until I run /papi reload

dense trail
#

You don't have to /papi reload can't you just keep it?

#

What a dedication and professionality for a developer.

#

This dev....

heavy jay
#

[19:18:57 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.3 generated an exception while executing task 380
java.lang.NoClassDefFoundError: me/realized/tm/api/TMAPI
at com.extendedclip.papi.expansion.tokenmanager.TokenManagerExpansion$1.run(TokenManagerExpansion.java:91) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-146]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-146]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-146]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

bronze bison
#

@heavy jay delete the expansion and use %tm_<placeholder>%

#

it has the expansion built into the plugin now

neon wedge
#

Hey, I want to provide Placeholders from BungeePerms. We do not want a seperate jar, but I don't really undertand what the differnce between "Without an external plugin" and "With an external plugin -> Inner class" is

bronze bison
neon wedge
bronze bison
#

without a plugin, so like Player expansion

#

u dont need a plugin to make it work

#

or to hook into it

#

thats the difference between with and without external plugin

neon wedge
#

I have no idea what you're talking about. Sorry, i've never used PAPI, I'm just trying to read into it a bit before implementing it into BungeePerms

bronze bison
#

Just check With external plugin

light vortex
#

It says 110

elder stump
#

Why is %fabledskyblock_island_leaderboard_level_rank% returning as -1, if the player is not the owner of the island only a member? How can I fix this? Can javascript fix it?

bronze bison
#

What do u want it to return?

elder stump
#

as the same it would for the owner of the island

bronze bison
#

Well guess that wouldn't be possible

elder stump
#

:/

bronze bison
#

contact the plugin author to fix that

#

We cant do anything

paper flower
#

I'm using TitleManager

#

And none of the placeholders are working

brisk coral
#

do you have the expansion, and does TM support papi?

paper flower
#

I think it does

#

And only 1 expansion isnt showing up

brisk coral
#

Which placeholder are you trying to use?

paper flower
#

Multiple

#

@brisk coral

brisk coral
#

Show me which

hollow tusk
#

does anyone have a fix to the pinger placeholder. Its been broken for a while

paper flower
#

@brisk coral GangsPlus, Vault, Rankup,

brisk coral
#

You don't need to ping me all the time..

paper flower
#

Sorry

brisk coral
#

Have you reloaded papi after downloading each of the expansions?

paper flower
#

Yeah

#

But gangplus and rankup still aren't working

brisk coral
#

which placeholders are you trying to use from them?

paper flower
#

Oh wait

#

Is that the latest?

#

Fixed the gangplus one

#

Still need Rankup

wet basinBOT
#

@brisk coral Unknown expansion.

paper flower
brisk coral
#

What plugin is the rankup one from?

paper flower
#

It's called Rankup

brisk coral
#

doesn't have an expansion meaning the placeholders are built into the plugin

paper flower
#

It says it uses Papi

brisk coral
#

Can you get me the link to it

paper flower
fathom salmon
#

can someone send me the link for the BountyHunters Placeholders, I can't find them

paper flower
#

@brisk coral Any idea?

tender vaporBOT
#

@paper flower

Hey,

Please be patient and don't ping helpful or staff members!

paper flower
#

Sorry 😦

brisk coral
#

Ask in Rankup's discord, since the issue is on their side

paper flower
#

Ok

cedar gust
fathom salmon
#

That's the one

cedar gust
#

The placeholders are on the spigot page lol

fathom salmon
#

Ik but how do I download them

#

Bounty hunters has a GUI where it lists stuff and it just shows %bounty_xxxx%

wet basinBOT
#

@brisk coral Unknown expansion.

cedar gust
#

Mmmh not listed on the github, have you tried /papi download ecloud bountyhunters or bounty_hunters?

brisk coral
#

checking the ecloud ^

#

The placeholders are built in

#

meaning a restart should probably fix it

fathom salmon
#

Aight I'll restart the server and get back to you

#

I restarted the server and it still shows the placeholder names but not that actual information

brisk coral
#

@fathom salmon Why the fock do you keep ghost tagging me?

fathom salmon
#

i replied to you

brisk coral
#

Contact the author

fathom salmon
#

okay

little sinew
#

Is this where I would get support for DeluxeMenus?

#

I have some questions about migrating from another GUI plugin we use.

vivid sparrow
#

Ask your questions

little sinew
#

I currently use ChestCommands GUI for my GUI plugin. I just barely discovered DeluxeMenus (IDK how so late) and I think I'll take the plunge. One issue I have however is how would you launch a GUI from a sign?

vivid sparrow
#

You need a plugin for that, dm it's made to support only commands

little sinew
#

Alright. Do you have any suggestions?

vivid sparrow
#

Nope

little sinew
#

Hmmm...

elder stump
#

Can I get the ChatReaction top1 somehow with a placeholder?

#

I want to give out prizes

vivid sparrow
#

Not with papi, at least not rn

elder stump
#

oh 😦

#

i found a mysql expansion

#

maybe with that?

vivid sparrow
#

Idk, try

elder stump
#

yea one sec

little sinew
#

Does DeluxeMenus support launching a GUI from a GUI?

vivid sparrow
#

yes

little sinew
#

Noice.

#

Can you launch a DM GUI from a DM GUI, so you can have nested DM GUI menus? (Might sound too similar, but the last one was for plugins with a built-in GUI.)

vivid sparrow
#

Yes [openguimenu] menuNameHere

little sinew
#

Alright. Thanks!

vivid sparrow
little sinew
#

Alright.

hollow tusk
#

does no one care about the pinger placeholder... its been broken for like a few weeks

balmy marten
#

Is the issue on github?

#

Things tend to get lost in here if its not kept note of

hollow tusk
#

no. I guess I will open one

balmy marten
#

Yeah, just create a new one on placeholderapi/placeholderapi

hollow tusk
#

done

frosty oak
#

does placeholderapi exist for bungeecord?

brisk coral
#

Nope

frosty oak
#

rip

#

ok

brisk coral
#

Bank balance as in the players money (vault economy)?

#

If so do -papi vault

brisk coral
#

Have you enabled it in the config

#

And where are you trying to use them

#

{bank_money}

glad lion
#

Tried /paper parse me %bank_money% ?

brisk coral
#

Paper parse me? You on some koosh electric

glad lion
#

I mean, /papi

#

For some reason, as soon as I type pap, my brain goes er

carmine veldt
#

for future reference, the commands can be grabbed via the papi bot. -papi bank

glad lion
#

Too used to no-brain running the paper scripts I guess 😄

wet basinBOT
#

@carmine veldt Unknown expansion.

carmine veldt
#

or not

glad lion
#

It's not an expansion

#

It's provided by the plugin, hence why I said to test papi, if that didn't work, only option is to go speak to the dev

carmine veldt
#

ic

brisk coral
#

It's built in, meaning you should try {placeholderapi_bank_money}

#

Doubt it'll work but you can give it a go

#

Contact the author then

#

You could use MultiEconomy

austere hawk
#

Wait. Is there such thing as getting the .jar file from javascript? ._.

#

Also, wrong place to ask 👀

cedar gust
#

oh god, meant to ask it in development

vivid sparrow
#

wdym?

austere hawk
vivid sparrow
#

is it %server_name%?

#

also, what server version?

austere hawk
#

%player_server%, 1.14.4, Spigot just compiled.

#

(Yes, the player expansion is also downloaded)

vivid sparrow
#

use %server_name%

#

player_server used an old method that was removed on 1.14

austere hawk
#

Is %server_name% relative or does it show what server the chat view is on?

#

Also %server_name% shows the server MOTD, not the name

vivid sparrow
#

oh well, idk then

#

guess it was made for bungeecord servers

austere hawk
#

No not even the MOTD, it shows "A Minecraft server", whitch is not stated in any server config files

vivid sparrow
glad lion
#

save_name no longer exists in bukkit

#

server name*

vivid sparrow
#

ik

austere hawk
#

NVM I figured it out, server name is stated in PAPI/config

#

I had to ZIP my server and use RAR to find it lol

tribal robin
#

is there no placeholder for %server_motd%?

#

because %server_name% is deprecated

mint fable
#

-pinger

#

pinger ^ (I did hear there were some problems with pinger recently though)

#

So be weary of that

#

@tribal robin

tribal robin
#

wouldn't Pinger require the server to run on public ports?

mint fable
#

I don't believe so

#

you should be able to use localhost:25565 or something

#

Can't guarantee that though

tribal robin
#

hmmm

#

I'll try it

#

the issue though, is that I want to check the motd of the server the player is currently on

mint fable
#

ah

#

what for?

bronze bison
#

%server_name% isnt "deprecated"

#

U just set the value of it in papi config

magic wolf
#

how to add placeholders for kits?

bronze bison
#

?

limber ice
#

@bronze bison I thought you set that in server.properties

brisk coral
#

nope

#

it's papi config

bronze bison
#

@limber ice the method to get that has been removed in 1.14 iirc, so clip changed made it in papi config

limber ice
#

well papi 2.10.3 don't have that in the config, but 2.10.1 does

glad lion
#

Yea, it's "not a standard property", so md removed it -.-

bronze bison
#

it kinda doesnt make sense but people wanted it

#

clip wanted to remove it anyways, it was in player expansion

#

Ironic make sure u have latest server expansion

glad lion
#

It does make sense, tbh

#

You call your lobby server the lobby, you call your survival server survival; It's just a clean way to give a name to a server, when we had server.properties we had a nice central place for that, and now md went git rekt I guess

bronze bison
#

u cant use that piece of data in another server.. afaik

#

it does make sense if ure too lazy to change the server name in one placeholder and that changes everywhere (iirc thats the only reason why clip kept it)

glad lion
#

I mean, that lets you recycle configs where needed

limber ice
#

on the servers that was not working I needed to updated the expansion, a plus if the server.properties is set it auto filled the config in papi to correct name. was looking at backup not new config

cedar gust
#

Is there an askyblock placeholder to display island size? Doesn't display one on the site, but I thought I'd check here to be sure.

brisk coral
#

if there's not you can make a js one using the permissions

vivid sparrow
#

that will work only for the island owner frosty

brisk coral
#

idk then

cedar gust
#

seems strange that there is no placeholder for that

brisk coral
#

I mean askyblock isn't really good now is it, perhaps suggest it to the author if the plugin is even being updated anymore

cedar gust
#

it is not

austere hawk
#

Well I don't know if ASkyblock has the size method, but I do know that I just mess with the method recently

cedar gust
#

but still the most supported skyblock plugin as far as I know

brisk coral
#

waiting for Gian to finish his skyblock plugin cough @sudden slate cough

austere hawk
#

The dumb thing is Island and ASkyBlock classes are not present in their Javadoc

cedar gust
#

mmh

austere hawk
#

Only ASkyBlockAPI and their events are presented

sudden slate
austere hawk
#

Let me open my IDE for a bit

cedar gust
#

they do have a permission askyblock.range something, but no placeholder :/

#

?customheads

tender vaporBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head;extended_clip
b) The player's head material: head;%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

austere hawk
#

Hm?

cedar gust
#

I always forget the material 😄

austere hawk
#

@brisk coral says u :P. I still keep getting support from people who use ASkyblock lel

mortal ermine
#

The extension itself works fine, so I don't know why it does this.

vivid sparrow
mortal ermine
#

It's not premium versioon

#

it's a different plugin also named VoteParty

vivid sparrow
#

in this case, the voteparty expansion it's made for clip's VoteParty

mortal ermine
#

Somehow the placeholders are still working for some reason

vivid sparrow
#

voteparty placeholders? kinda impossible tho

brisk coral
#

can I get a link to the plugin you're using

vivid sparrow
#

as it collect the data from VoteParty

#

^

mortal ermine
#

Need to use MVdWPlaceholderAPI instead apparently

vivid sparrow
brisk coral
#

bit confused as to how the expansion can hook into it, unless it was copied from VP and just changed a bit

vivid sparrow
#

the code isnt OS so we cant know

mortal ermine
vivid sparrow
#

I talking about the actual code

mortal ermine
#

oh

cedar gust
#

=yaml

tender vaporBOT
#
Config Parser

Link me to a config and I'll check to see if it's valid.
=yaml <paste link>

cedar gust
tender vaporBOT
#
<:Approved:520488328072658944> Valid Config!

I checked your config and, it's valid!

+ Correctly Formatted```
cedar gust
#

and it still doesn't load... lol

tender vaporBOT
#
FAQ Answer:

You can check the syntax of your configs using the online parser here, https://yaml.helpch.at/

cedar gust
#

and then =yaml link?

vivid sparrow
#

no, that cmd isnt the best

cedar gust
#

gosh forgot my 'items:'

vivid sparrow
#
          type: javascript
          expression: '%vault_eco_balance_fixed% >= 51200000'
          output: '51200000' # Used http://www.pernsteiner.org/minecraft/levelcalc.html for calculation```
that's not a thing
#

the output part at least.

cedar gust
#

well the output is not needed right

vivid sparrow
cedar gust
#

okay

queen gorge
#

can somebody help with chatcolor+ placeholder

brisk coral
#

explain your issue

queen gorge
#

the placeholder is not working for me

#

in chat

#

there is no expansion for the plugin

brisk coral
#

Show me which placeholder, and what chat plugin are you using

queen gorge
#

i am using deleuxechat

brisk coral
#

=faq spigot

tender vaporBOT
#
FAQ Answer:

Spigot Account Linking
To get support for a premium plugin owned by Clip you will need to verify your spigot account using =spigot in the bot-commands channel. After you have successfully linked your spigot account you should ask your question in the coresponding channel for that plugin. If you have already linked your account and want to update your roles, run this command =spigot check

brisk coral
#

do this first

queen gorge
#

ok

deep mesa
#

@brisk coral hello!

#

So I am using Deluxe Hubs and I need to use placeholderAPI for that, i got bungeecord server up and runing

#

1 bungeecord and 3 spigot

#

the network is set up and ready to run but I want to link so when u use Deluxe Hubs you go to another server.

#

but it says I need placeholderAPI

brisk coral
#

not familiar with the plugin so no clue

deep mesa
#

oh ok, do u have any other example on plugins that is similar?

brisk coral
#

that doesn't say you need placeholderapi.. that just says that the lore in the item supports papi's placeholders

deep mesa
#

oh ok, thank you. mb then I guess.

fathom salmon
#

when I do /papi ecloud downlaod it says. No cloud expansions are available at this time

mint fable
tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://api.extendedclip.com/home/ and place them in your /plugins/PlaceholderAPI/expansions/ folder.

fathom salmon
#

okay

#

thanks bro

radiant jewel
#
  //SCOREBOARD
        Scoreboard scoreboard = new TeamsScoreboard();

        final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
        main.getConfig().set("Scoreboard.Title", scoreboard_title);
        scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));

        final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
        lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);```
#

How can I support the placeholderapi

#
event.setJoinMessage(withPlaceholdersSet);```
#

^ I have no clue what that means and does.

#
// We parse the placeholders using "setPlaceholders"
        joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);

Can I get a better explanation?

#

@trim mist, do you mind helping? 😛

tender vaporBOT
#

@radiant jewel

Hey,

Please be patient and don't ping helpful or staff members!

austere hawk
#

@radiant jewel What are you trying to accomplish?

#

Adding support to PlaceholderAPI?

radiant jewel
#

Yea

#

To the scoreboard.

#
 Scoreboard scoreboard = new TeamsScoreboard();

        final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
        String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
        main.getConfig().set("Scoreboard.Title", scoreboard_title);
        scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));

        final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
        lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);```
austere hawk
#

and the join message?

radiant jewel
#

Would something like this work?

#

Uh, just the scoreboard.

#

My plugins pretty much finished, but then I was like, why not add PlaceHolderAPI support.

austere hawk
#

Alrighty give me a moment.

#

Was writing up a example with the join message, but will do it for the scoreboard in a moment.

radiant jewel
#

Alright.

#

@austere hawk, yo, you still here? :p

austere hawk
#

ye?

radiant jewel
#

was just making sure xD

austere hawk
#
Alright here's my explaination of the API (notice I may be wrong in a part for how it functions fully)

// In this line below, it is going to go through the PlaceholderAPI's api, and go through all expansions and replace any 
// placeholders that are potentially in the text area.
String text = PlaceholderAPI.setPlaceholders(e.getPlayer(), "&a%player_name%&f's board");

// Now when you print your text it should be for example:
System.out.println(text);

[00:31:37 INFO]: Baddog6's board
#

There's a small example if that is what you were looking for.

#

setPlaceholders is basically PlaceholderAPI's method to go through all the expansions and replace any placeholders that may be in the String.

#

For more detail you could read the GitHub docs @radiant jewel in that class.

radiant jewel
#

Why do we do e.getPlayer();

austere hawk
#

If it's a specific text:

radiant jewel
#

Thats really confusing me

austere hawk
#
  /**
   * set placeholders in the text specified placeholders are matched with the pattern
   * %<(identifier)_(params)>% when set with this method
   *
   * @param player Player to parse the placeholders for
   * @param text text to parse the placeholder values to
   * @return text with all placeholders set to the corresponding values
   */
  public static String setPlaceholders(OfflinePlayer player, String text) {
    return setPlaceholders(player, text, PLACEHOLDER_PATTERN);
  }
#

Well the placeholder will be different for each players

radiant jewel
#

What I am trying to do, is support any type of placeholder in the scoreboard not just the players name

austere hawk
#

Yeah that's what it does.

#

But all expansions require to support the player.

#

to get any player related placeholders.

#

as that'll be for a player.

#

Well you can pretend if the e.getPlayer() is not in the method, all players will get the static value , not each-a-value

radiant jewel
#

Hmm, okay.

#
 final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
        String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
        main.getConfig().set("Scoreboard.Title", scoreboard_title);
        scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));```
#

So something like this would work?

austere hawk
#

What's with the config set?

#

as your not grabbing any of the placeholders if your trying to do that.

#

and you aren't actually putting the placeholders on the scoreboard

#
 scoreboard.title(ChatColor.translateAlternateColorCodes('&', withPlaceholdersSet));
#

Should be that.

final shadow
#

You don’t even need to call the chatcolor method if using papi

radiant jewel
#

Ohhh, now I am starting to get it

final shadow
#

It translates

radiant jewel
#

So itll use the placeholders and the title.

#

It does?

austere hawk
#

I think the chat color is for the other text in the scoreboard Clip.

final shadow
#

Papi returns the string with chatcolor translated

radiant jewel
#
main.getConfig().set("Scoreboard.Title", scoreboard_title);

I remove this piece of line right?

#

I am used to setting it.

#

and getting it

austere hawk
#

Well are you setting anything that you need to do that?

#

If that's how it works that's how it works, but you must be doing a lot of setting if your grabbing the text originally already.

#

and nothing is changing.

radiant jewel
#

Ill try removing the setting part

austere hawk
#

and that'll mess up after it replaces a %player%

#

as now your scoreboard is set to the one player, if it saves.

radiant jewel
#

Alright, done

#
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
        lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);```
#

What about this lol

#

Same thing?

austere hawk
#

Same thing? your not using the papi api in the stuff you put above.

radiant jewel
#
 final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
        String placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines)
        lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);```
#

Also I don't need the %player% anymore right? :p

#

Oh wait, it doesn't support an arraylist?

austere hawk
#

Well if your supporting PlaceholderAPI people can just use %player_name% with the Player expansion.

radiant jewel
#

Just a string.

#

List**

#

Alright

austere hawk
#

It should from what the class says.

#

but your converting to a string after you convert a List.

radiant jewel
#
List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines);```
#

That should work? ^

austere hawk
#
 final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
        List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines)
        placeholders.forEach(line -> scoreboard.line(line)));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);
#

Should work, but may not work, my scoreboard just does it per line and sets it for that line.

radiant jewel
#

Alright, time to test it out.

#
Scoreboard scoreboard = new TeamsScoreboard();

        final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
        String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
        scoreboard.title(withPlaceholdersSet);

        final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
         List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines);
        placeholders.forEach(line -> scoreboard.line(line));
        p.setScoreboard(scoreboard.getScoreboard());
        userBoards.put(playerUuid, scoreboard);
#

It aint working

#

Its not even spawning in the scoreboard

austere hawk
#

Did it work previously?

radiant jewel
#

yea

austere hawk
#

You don't have PlaceholderAPI installed?

radiant jewel
#

Oh shit your right

austere hawk
#

As that would explain why this would fire:

#
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.PlaceholderAPI
radiant jewel
#

Please don't be mad ^ clip xD

#

give me an expansion to use rn

austere hawk
#

Player?

radiant jewel
#

player_balance?

#

is that a thing ^?

austere hawk
#

That would require Vault most likely

radiant jewel
#

true true

austere hawk
#

Try like: ```JAVA
%player_x%
%player_y%
%player_z%

radiant jewel
#

alright

#

It's working!

austere hawk
#

Congratulations you now hooked into PlaceholderAPI, if you have another other PlaceholderAPI related questions put them below else if it's a development issue use #development.

radiant jewel
#

Alright, thank you.

#

I am going to release my plugin tonight I believe :p

#

@austere hawk

austere hawk
#

As it's a development issue would've been better in #development, and that's a issue it seems to the fact your using bungee's api for chat color.

#

should switch to Bukkit's

radiant jewel
#

@austere hawk do you know by any chance if there is some type of placeholder to check how long the server has been on

austere hawk
#

ye.

#

1 moment

radiant jewel
#

Found this:

#

%server_countdown_<SimpleDateFormat>_<time>%

#

by date format

#

%server_countdown_dd.MM.yyyy_01.01.2020%

austere hawk
#

%server_uptime%

#

Server expansion

radiant jewel
#

%server_countdown_dd.MM.yyyy_01.01.2020% how do I use this

#

like for example I want to end it on the 31st of august

austere hawk
#

Well it says it below in the documentation.

radiant jewel
#

%server_countdown_31.08.2019%

#

Would this work?

austere hawk
#

Not that I am aware of, as you aren't

#

using it right

#

you forgot the whole simpledataformat

radiant jewel
#

%server_countdown_1M%

#

?

#

%server_countdown_31/08/2019_1M%

#

@austere hawk

austere hawk
#

<time> is the date and time

#

1 moment.

#

%server_countdown_<DDMMM>_2019.08.31%

#

if it's on the beginning of the day.

#

some _ got removed due to discord

#

Well maybe stack it into ```

radiant jewel
#
%server_countdown_<DDMMM>_2019.08.31%
#

got it

austere hawk
#

Alrighty, thought I did part of it, except that might not do the of part

#

you might want to do two placeholders

#

one for the day

#

one for the month

#

to do like

#

"31 of August"

#
"%server_countdown_<DD>_2019.08.31% of %server_countdown_<MMM>_2019.08.31% 
#

@radiant jewel

radiant jewel
#

Wait what xD

#
General:
  join-message: '&8[&a+&8] &e%player% &aConnected!'
  leave-message: '&8[&c-&8] &e%player% &cdisconnected!'
  discord-link: 
  store-link: 
  lock-chat: true
no-permission: '&cNo Permission.'
Scoreboard:
  Title: '&cWelcome %player_name%'
  Lines:
  - '%player_x%'
  - '%player_y%'
  - '%player_z%'
Selector:
  Name: '&cServer selector'
  Lore: This is a lore
  Gui:
    Title: Select A Server
    Size: 9
  Items:
    '1':
      Name: "&aHub"
      Material: creeper_spawn_egg
      Command: /hub
      Slot: 4
      Lore:
      - '&7Click to join the &2&lJungle &7realm!'
      - ''
      - ''
      - ''
      - '&2&lInformation'
      - ''
      - ''
      - '  &7Online Players: &2%server_online%'
      - '  &7Payout: &2$875 &7(weekly)'
      - '  &7Season: &21'
      - '  &7Countdown: &2%server_countdown_<DDMMM>_2019.08.31%'
#

What do I put in the config?

austere hawk
#

If you want it to be the exact date

#

that I showed

#

you need to do two pulls but I may be wrong

#

one for the day

#

one for the month

#
- '  &7Countdown: &2%server_countdown_<DD>_2019.08.31% of %server_countdown_<MMM>_2019.08.31%'
radiant jewel
austere hawk
#
at me.pluginstuff.hubplus.utils.ItemBuilder.name(ItemBuilder.java:46) ~[?:?]
radiant jewel
#

I am 100% sure its a problem in the config

#

Found the error.

#

Everythings working, thank you @austere hawk for your help man!

rigid fiber
#

hey uh

#

for some reason

#

placeholderapi isn't registering vault as an extension

brisk coral
#

have you realoaded papi after downloading the expansion?

rigid fiber
#

yes

brisk coral
#

you have vault right?

rigid fiber
#

yes

brisk coral
#

you getting any console errors?

prisma echo
#

ummmm idk how to have this done but id like api for superiorskyblock2, Mostly Top Island

balmy marten
#

Contact the dev of the plugin to add placeholders for it 😉

hollow tusk
#

um..

brisk coral
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

hollow tusk
#

yeah im special ok

#

oof

#

no even more special

#

just a bungee error

#

nvm

radiant jewel
#

Server expansion

#

=server expansion

#

=help

tender vaporBOT
#
Help Menu:

Various Commands for Barry.

󠀠󠀠󠀠=Help General

• General Bot/Guild Commands

=Help Misc

• Miscellaneous Commands

=Help Level

• XP and Level Commands

=Reaction Help

• ChatReaction Help

radiant jewel
#

=help general

tender vaporBOT
#
Help Menu:

Commands for Barry.

General Commands:

=ping - Pong, hopefully...
=members - Total count of all members
=uptime - How long I've been alive for
=info - Get some guild wide stats
=github <username> - Link GitHub Account
=spigot <username> - Link Spigot Account
=whois <@user> - General User Information

mint fable
#

Please use #bot-commands

prisma echo
#

Who is the dev?

azure hedge
#

Trying to make a placeholder for bungeecord for one of my plugins and I wanted to know, do I need to put PAPI onto my bungee server? (Im thinking not but idk)

mint fable
#

By "make a placeholder" do you mean use the bungee expansion?

azure hedge
#

no

#

Im making a spoofer plugin so I need to be able to grab the spoofed bungee count

#

I got the individual server to work just need help transferring the bungee placeholder to th bukkit server

mint fable
#

Hmm, I'm not sure then

#

I will say this though:

#

If you have a plugin on your bungee server that accesses PAPI's code, you'll need it on the bungeecord server

azure hedge
#

Yes

#

I have a bukkit jar and bungee jar

mint fable
#

ye

azure hedge
#

Just cant get the bungee jar to display the placeholder to the bukkit server

mint fable
#

Wym display it to the bukkit server?

azure hedge
#

tbh Im just here asking support for the dev who is doing it

#

xD

#

Let me see if I can ge the actual dev to join

mint fable
#

oh you're not the dev

azure hedge
#

Nah I just own the rights to the plugin

mint fable
#

I've never used bungee really, so I'm not sure how much help I can provide

azure hedge
#

this is what he said tho

mint fable
#

but if your dev joins, it would make it easier

azure hedge
#

Yeah

#

I invited him

mint fable
#

👍

#

I believe you want to access bungee from bukkit, not the other way around

#

Also... are you really using bukkit or are you using spigot? O.o

azure hedge
#

Im actually using spigot

mint fable
#

ok lol

azure hedge
#

xD

#

imagine if I was actually using CraftBukkit

mint fable
#

MonkaS

azure hedge
#

🙉

austere hawk
#

Hello 😄

#

@trim mist waddup? 😄

tender vaporBOT
#

@austere hawk

Hey,

Please be patient and don't ping helpful or staff members!

azure hedge
#

@mint fable ah here he is xD

mint fable
#

You can get help with development over in #development @austere hawk

austere hawk
#

Ty 😄

azure hedge
#

is this not the place to ask?
🤔

mint fable
#

It is, but for specifically development, the other channel is a lot better

#

This is for more generalized things about PAPI

prisma echo
#

Who's is the dev?

mint fable
#

Of PAPI?

brisk coral
#

ya boi clip the paperclip

prisma echo
#

Yes

#

I have a api request

mint fable
#

It's clip, as said above. What's up?

prisma echo
#

I want superiorskyblocks as an api

brisk coral
#

best to contact the author of superiorskyblock

mint fable
#

Aha

#

?asktoask

tender vaporBOT
#
FAQ Answer:
mint fable
#

Follow that advice for next time please and thank you ^ 😄 @prisma echo

#

(Basically give as much detail as you can in your first question)

radiant jewel
#

Help

#

@austere hawk :p

#

I have to sleep, so DM me the solution cause I can't just keep scrolling till I find the answer ^^

austere hawk
#

Either you don't have the dependency ASkyblock or the expansion is outdated.

mint fable
#

or the plugin is outdated

austere hawk
#

Well, it's having a issue on a java util.

#

which is in a regular Spigot

mint fable
#

UUID ye

austere hawk
#
Caused by: java.lang.NoSuchMethodError: com.wasteofplastic.askyblock.PlayerCache.getIslandLevel(Ljava/util/UUID;)J
at com.extendedclip.papi.expansion.askyblock.ASkyBlockExpansion.onPlaceholderRequest(ASkyBlockExpansion.java:133) ~[?:?]

Import Error: java.util.UUID;
mint fable
#

it's 1.8.8 paper

#

O.o

#

maybe redownload paper?

austere hawk
#

Isn't mine.

#

Well Clip created the expansion so brb.

vague yacht
#

my placeholder api doesn't load on my bungee

#

31.07 21:57:23 [Server] WARNING Error enabling plugin PlaceholderAPI

mint fable
#

What's the error?

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

vague yacht
#

thats all it says

#

just that

#

thats it

mint fable
#

🤷

#

In the log too?

vague yacht
mint fable
#

there's so much more

#

I don't think PlaceholderAPI goes on bungee

vague yacht
#

well

#

how am i suppose to get deluxechat to work ;/

#

ok nvm

#

thanks for the help

austere hawk
#

The placeholder for buycraft is not working on leaderheads version 3.1.8.3

balmy marten
#

Contact the leaderheads dev

vague yacht
#

how do i see all the placeholders

mint fable
vague yacht
#

thx

#

Also how do i like install the thing

#

to papi

#

nvm

#

got it

granite matrix
#

is there a placeholder for deaths, kills and blocks broken?

brisk coral
#

do -papi statistic

granite matrix
#

in where?

austere hawk
#

Here

granite matrix
#

thx

ruby yoke
#

%statistic_mine_block_SUGAR_CANE%

#

is not working

#

help 😛

rapid sundial
#

If I make a server selector with dm, is it possible to make a blinking arrow in the lore? Like ">> Click me to connect" and the arrow is blinking?