#placeholder-api

1 messages ยท Page 88 of 1

brisk coral
#

Sec

shut nova
#

@brisk coral So, use dependency and repository ?

brisk coral
#
function pingerPlaceholder() {
  return "%pinger_online%" == "Online" ? "ONLINE" : "OFFLINE";
}
pingerPlaceholder();
uncut pilot
#

ty

brisk coral
#

Yes Wiruson

#

You using eclipse or IJ?

shut nova
#

@brisk coral thank you, i actually tried that before manually importing them, im using intelliJ

#

but it said the dependency not found. <dependency> <groupId>me.clip</groupId> <artifactId>placeholderapi</artifactId> <version>2.10.4</version> <scope>provided</scope> </dependency>

uncut pilot
#

%pinger_online% keeps returning Offline even tho when im on the server and do it it returns online?

brisk coral
#

Change the check interval

shut nova
#

yes Frosty, i copied the dependency and repository there.

brisk coral
#

Reimport it

shut nova
#

@brisk coral Thank you thank you very much

#

it works now

#

thank you

brisk coral
#

Neat

vivid sparrow
#

@brisk coral return "pinger placeholder".toUpperCase()

brisk coral
#

or that

vivid sparrow
#

Also, you can edit it on config iirc

buoyant hedge
tender vaporBOT
#

@buoyant hedge

Possible Solution Found:

This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.

buoyant hedge
#

Woah

thorny lichen
#

Is there any way to get the placeholder data of a player?

hybrid stratus
#

i would want a hand ,-,

thorny lichen
#

?

trim mist
#

Can you elaborate, max?

thorny lichen
#

yeah I was about to

#

Lets say you want to get %essentials_nickname% of another player

#

Is there any way to do that?

trim mist
#

I think we have a parseother expansion.

mental night
#

/papi parse <player> %essentials_nickname% no?

brisk coral
#

/papi parse me %parseother_<target>_{essentials_nickname}%

mental night
#

Oky ๐Ÿ˜‚

junior musk
#

is there a way to show the MOTD of a server managed by a plugin with PAPI ? Pinger can show the MOTD of a server, but it only shows the one in server.properties, and not the actual one by a plugin we are using

balmy marten
#

Not unless it hooks into the plugin itself most likely

#

Maybe ask the author to hook into papi to add the placeholder?

junior musk
#

Ok thanks

brisk coral
#

Isn't there a method to get the actual motd?

junior musk
#

idk, but if that exist I would like that someone create a placeholder with this method ๐Ÿ™‚

#

not very urgent anyways

brisk coral
#

I'll see if it exists

austere hawk
#

The "now available in the server expansion" when it should return the players server?

vivid sparrow
#

change that placeholder with %server_name% or smth

austere hawk
#

ty

austere hawk
#

How can I use actionbar messages in deluxecommands?

grim stump
#

Hi help please when i instaill luckperms expansion everything just stops working
and the plugin is just not working properly

severe valley
#

Hello, I need some help. How do I add commas and decimals to a balance displayed in the footer as %money% in TAB? I have tried all %vault_eco_balance%
%vault_eco_balance_commas%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
And none have worked. If you can please help me, it would be great!

trim mist
#

Define "not worked"

severe valley
#

Like it either displays no commas or only commas and no decimals. But I want both

trim mist
#

I don't know if we have both.

severe valley
#

Is there a way to add one?

trim mist
#

I mean down the road yeah, today? Probabaly not.

#

Unless one of the other staff do it. Or someone PRs it

severe valley
#

Ah ok, thanks

ionic lodge
#

@heady falcon have you updated your animation thingy?

hoary blaze
#

Hey I have a plugin that supposedly provides the placeholder %player_displayname% How do I go about using that placeholder? When I do /papi parse me %player_displayname% it just returns %player_displayname%. The plugin is mutichat btw

warm oriole
#

did you install the expansion>?

#
/papi ecloud download Player
/papi reload
hoary blaze
#

That worked Thanks ๐Ÿ™‚

real vortex
brisk coral
#

Divide it by 2, I think that may be a bug, or another plugin that would cause that

real vortex
#

Am I able to do that within a DeluxeMenus GUI?

brisk coral
#

Yea use the math expansion

real vortex
#

Ah, awesome. Cheers mate ๐Ÿ™‚

real vortex
#

Is it possible to remove the decimal in the result?
%math_{statistic_mine_block}/2% returns 68195.000

#

I'm checking out the EvalEx wiki but I'm very :what:

brisk coral
#

[percentage:0] Can't remember if it's percentage or something else,
Put it after the 2 inside the placeholder

real vortex
#

Yep, got it. Cheers!

real vortex
brisk coral
#

Contact the author of the expansion

real vortex
brisk coral
#

Use this one

real vortex
#

Yeah, that's what errors
%mcmmo_rank_<skillname>%

#

Okay, I parsed every other Placeholder fine - I'll just disable that one for the time being.

brisk coral
#

Reading through the updates, 2.0 is supposed to fix that placeholder

#

remove the expansion and redownload it and see if it works @real vortex

real vortex
#

I'll give it a shot ๐Ÿ™‚

austere hawk
#

Is the factionsUUID placeholder expansion open source?

brisk coral
#

What you trynna add?

austere hawk
#

%factionsuuid_faction_land_value%

brisk coral
#

Probs isn't, @balmy marten u got source? :p

austere hawk
#

I don't think so

#

It isn't on eCloud either

#

So I guess the plugin author has already made it

pallid stone
#

hi guys, im trying to crate a custom placeholder for my plugin (%ultimatevirus_is_infected%), i have created a class extended to PlaceholderExpansion. In the main class i wrote: if(Ultimatevirus.getInstance().getServer().getPluginManager().isPluginEnabled("PlaceholderAPI")){ new CustomPlaceholder().register(); }
But now i cant understand how can i use the placeholder i made (for example inside a message)

pallid stone
#

guys can someone help me?

brisk coral
#

Make sure the message is parsed using setPlaceholders, and then just use the %% placeholder inside it

pallid stone
#

So, after i have registered my custom placeholder, using the setPlaceholders method it should replace my custom placeholder?

brisk coral
#

Yea

#

Double check it's registered using /papi parse me %placeholder%

pallid stone
#

it writes again the placeholder

brisk coral
#

Double check the values, and check you did everything properly

pallid stone
#

i did everything well, im pretty sure

#

but it doesnt work

#

is the latest version of papi compatible with minecraft 1.8?

tender vaporBOT
#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15

Version:

v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest

brisk coral
#

=paste

tender vaporBOT
#
HelpChat Paste

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

brisk coral
#

Show your placeholder class

warm oriole
#

I'd show your code or whatever you are using.

#

Likely a issue you've made on your end.

pallid stone
#

i finally did it

#

omg

tender vaporBOT
#

@quaint pewter

Hey!

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

sharp jay
#

?

quaint pewter
#

Alguien me podria ayudar con un error que se presento con el placeholderapi?

sharp jay
#

Sorry I speak only english

quaint pewter
#

Oh, ok espera

#

I have a problem with the PlaceHolderAPI, especially putting the command /papi ecloud donwload LuckPerms, once I put the command I put /papi reload and I get an error and I do not load the expansion of the LuckPerms

sharp jay
#

@quaint pewter show me the error

#

=paste

tender vaporBOT
#
HelpChat Paste

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

quaint pewter
#

I tried to manually download the LuckPerms expansion, but it still doesn't work and I get the following error An internal error occurred while attempting to perform this command

sharp jay
#

show me the error from console

quaint pewter
#

I get that on the console

warm topaz
#

?luckperms

tender vaporBOT
#
FAQ Answer:

This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

pallid stone
#

guys i cant solve this problem: papi by default has 2 methods that request a placeholder: one with Player (onRequest) and the other one with OfflinePlayer (onPlaceholderRequest). I created a placeholder that works well when the player is online (returns true/false) but when the player is offline it returns null. My plugin has an SQLite database in which he stores player names and a boolean values.
So, assuming that i stored the player name im checking in the database before, when the player im checking is offline, im 100% sure that that player is store in the database (with his boolean values), and so i would be able to return true/false.
The problem is that when try to get the player name from an OfflinePlayer it returns null, and i cant start the query that looks for the player name inside my database.

#

i spent 5 minutes writing this

#

i hope someone will help me

brisk coral
#

@pallid stone
Use offlineplayer, and check if the player has joined before. If you're doing it within a single placeholder just use offlineplayer instead of player

austere hawk
#

what is the papi expansion I need to use for "%player% to work? I tried "player" but %player% doesn't work on deluxechat's hover feature.

brisk coral
#

%player_name%

#

Make sure you have the expansion as well as reloaded papi
@austere hawk

austere hawk
#

Doesn't %player_name% display the players name?

#

Like say Clip joins my server.. "clip joined"

#

wouldnt I see

#

"Mr_lonely132 joined"

sharp jay
#

@austere hawk install the extension

uncut pilot
#

/papi parse me %placeholder% is returning Failed to find player?

#

xD

mint fable
#

umm

#

are you vanished?

#

๐Ÿคทโ€โ™‚๏ธ

brisk coral
#

@uncut pilot relog

uncut pilot
#

I did

opaque kindle
austere hawk
#

The Quest expansion has an error

civic rock
#

it's possible to change output placeholderapi?

e.g. i need to make yes change to &aChecked! and change no to &cUnchecked :(

#

//without coding

austere hawk
#

No you can't

#

The easier would've been using Javascript expansion

civic rock
#

:sad:

austere hawk
#

I can setup 1 for you

civic rock
#

show me dah way pls

vivid sparrow
#

Config.yml?

civic rock
#

Config.yml?
@vivid sparrow already see, but i need to make text per placeholder

pallid stone
#

@brisk coral when i try to getName from a OfflinePlayer it returns null

tender vaporBOT
#

@pallid stone

Hey!

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

pallid stone
#

but i MUST get the player name in order to start a query

#

                if(params.equalsIgnoreCase("isInfected")){
                    return plugin.getRDatabase().isInfected(p.getName()) ? plugin.getConfig().getString("ReturnMsgWhenTrue").replace("&", "ยง") : plugin.getConfig().getString("ReturnMsgWhenFalse").replace("&", "ยง");

                }
                return null;
            }``` This is my code right now, it returns null beacuse i cant getName from an OfflinePlayer
brisk coral
#

works just fine for me

pallid stone
#

did u test it or is your opinion?

brisk coral
#

Are you using the placeholder on offline players or? Cause you can just firstly check if he's online, and secondly if the player joined before.
Also tested it yea

pallid stone
#

every player is registered in the database, so i already have all the infos in need to send

#

the problem is that is required an OfflinePlayer

#

if it was a String i would have already solved the problem

#

because i just need a string to look for in the database

#

can you understand what i mean?

#

maybe try send me the peace of code that u think work

trim mist
#

You can get an offline player from a string.

tight surge
#

anybody know what this means?

#

[16:53:44 WARN]: [PlaceholderAPI] Loaded class net.ess3.api.IEssentials from Essentials v2.17.1.53 which is not a depend, softdepend or loadbefore of this plugin.

junior musk
#

it's just a debug thing that spigot added in 1.15

tight surge
#

Ohh so I can just ignore it?

junior musk
#

it shouldn't affect anything

#

yes

tight surge
#

Okay thanks

vapid haven
#

Hi, I need the "towny" expansion.

brisk coral
#

Run those two commands @vapid haven

ebon marten
#

if i have team what placeholder i have to use?

bronze bison
pallid stone
#

guys sorry if im still here, but when i try to get the player name from OfflinePlayer i get a return null. How can i solve?

#
            public String onRequest(OfflinePlayer p, String params) {

                if(params.equalsIgnoreCase("isInfected")){
                    return plugin.getRDatabase().isInfected(p.getName()) ? plugin.getConfig().getString("ReturnMsgWhenTrue").replace("&", "ยง") : plugin.getConfig().getString("ReturnMsgWhenFalse").replace("&", "ยง");
                }
                return null;
            }``` This is the code, what should i change?
coarse crypt
#

all my PAPI placeholders just broke after a restart and i literally dont know why, no changes were made

warm oriole
#

what version?

#

and =paste

#

the error?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

hearty flame
#

is there not a papi placeholder for the bungee server name?

#

(no i dont want to use mvdwpapi)

warm oriole
#

No.

#

@hearty flame. You can only get the player count total or from a specific server.

#

Not the name of the server.

hearty flame
#

Thats a shame

austere hawk
#

know what*

tender vaporBOT
#
โœจ Channel Cleaned!

โ€ข Removed 99 messages.

safe echo
#

Hi

#

I set return %towny_town% in my file js

#

bit it's error ๐Ÿ˜ข

#
[14:37:29 WARN]: javax.script.ScriptException: ReferenceError: "IloveU" is not defined in <eval> at
 line number 1
#

full

tender vaporBOT
#
HelpChat Paste

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

vivid sparrow
#

Add "" around placeholders

uncut pilot
carmine veldt
#

try relog

uncut pilot
#

I have

#

I've reinstalled and everything

carmine veldt
#

what command are you using?

uncut pilot
#

/papi parse me %javascript_permissionscore%

carmine veldt
#

No clue sorry, relogging usually works for me. You'll have to wait for another member to assist you, I'm not acquainted with the plugins these days

uncut pilot
#

Its okay.

safe echo
#

Add "" around placeholders
ok thanks

brisk coral
#

@uncut pilot reloging usually fixes the issue (encountered it myself yesterday) try using your name instead if that didn't work

uncut pilot
#

I got it to work. I just reset everything

brisk coral
#

@safe echo

var town = %towny_town_size%; 

function check() { 
  return town == '' ? "&cโœ—" : town;
} 
check();

Use this (just nicer nothing different tho)

safe echo
#

ty โค๏ธ

vivid sparrow
#

@brisk coral ..

#

That wont fix anything LOL

#

it say that the value returned by the placeholder isnt defined because you dont cast it as a string

austere hawk
#

Anyone suggest me a good way to start the task timer only once upon /papi reload (non-plugin expansion)?

bronze bison
#

/papi reload also reloads the expansions, so u can start it on the register method in ur expansion?

austere hawk
#

I want to register a new task timer...

#

Which stop the current timer on reload

austere hawk
#

%player_server% will not work either

junior musk
#

it's %server_name%

#

and idk for the error

austere hawk
#

Hi. Repeating my question from the Spigot thread. Is it possible to read a string of characters from a file as a placeholder?

#

There's a plugin that I use that produces highscore lists as text files and does not support PAPI. I would love being able to parse the file to get the high scores usable in holograms.

trim mist
#

You would need to design it to load in the file as the data and then configure it from there. Programming knowledge would be required.

austere hawk
#

Ok, so no way to do it directly. Cool, thanks for the answer. I thought someone might've already come up with the idea and produced something workable. :)

trim mist
#

Can't really do something like that since it's very slight chance plugins store data the same way.

#

What plugin are you referring to?

austere hawk
#

Pocketgames

#

I have asked the dev if they could implement placeholder support, and it is in their backlog, but who knows when and if it gets there. :)

#

I guess my next step is to try and bribe them :D

trim mist
#

I think I asked him about that over a year ago

austere hawk
#

Ah, right.

#

Well. Sometimes donations get you where polite talk doesn't.

trim mist
#

Sucks that you have to bribe devs to get extra features ๐Ÿ˜‚

#

Does the plugin have an API?

austere hawk
#

I don't really know. I suppose not.

trim mist
#

That actually sucks.

#

It would make the plugin so much better and I'd be able to hook into it via PAPI.

austere hawk
#

At least the plugin page doesn't say anything about an api.

#

Yeah, it's too bad.

#

It's a pretty simple text file, lists scores and UUIDs in predictable places, so that's why I thought I'd ask about the possibility to parse stuff from there.

#

But anyway, thanks a lot for providing support. Your plugin is awesome. :)

trim mist
#

Yeah! Hopefully that guy can add in PAPI support.

austere hawk
#

Let's see. And I decided to donate 10 bucks to you since I keep using your stuff a lot. Have a beer (or a latter or whatever is your poison) on me. :)

junior musk
#

isn't it a yml file ?

trim mist
#

I'll let clip have the money, he has like 10 kids, he needs it more than me.

austere hawk
#

@junior musk yup. Format is like this:

DiamondCollect:
minimum_score: 1
'1':
player: 95ca0a9d-89a1-4379-a61e-d0b341569fa5
score: 10

#

Cool. :)

vivid sparrow
#

10 kids
lmao

junior musk
#

yeah I saw on the plugin page

#

10 ? wow

#

that's a lot

austere hawk
#

In my elementary school class ... 30 years ago ... there was a guy with 12 siblings.

vivid sparrow
#

nah he has 2 beautiful kids

junior musk
#

10 or 2 ? x)

vivid sparrow
#

smh Glare, only 2 mini clips

junior musk
#

mini clips
lel

brisk coral
#

Glare lol

trim mist
#

They are sweet kids but they are rowdy as heck

brisk coral
#

And yes, the official term for clips children is mini clips

vivid sparrow
#

that's how some of us call them

austere hawk
#

Clip-ons?

trim mist
vivid sparrow
#

addons

sharp jay
junior musk
#

does anybody know that /papijsp (the command of the Javascript Expansion) isn't working ?

brisk coral
#

Hasn't for a very long time, use /papi reload instead

junior musk
#

Yeah that's what I'm doing

#

but I just discovered this command x)

brisk coral
#

Not sure what options js offers when it comes to dbs since you'd need a way to handle connections

junior musk
#

aaand is it possible to use a file other than the ones in
javascript_data ?

junior musk
bronze bison
#

%parseother_{player}_{placeholder}%

junior musk
#

that's what I did

#

oh wait

#

do I need the {} around the placeholder ?

mint fable
#

yes

junior musk
#

ok ;-;

#

well....

#

/papi parse me %parseother_Tanguygab_{player_health}%

mint fable
#

you need {} around both

#

why remove the {}

junior musk
#

...

#

around both what ?

mint fable
#

the player

junior musk
#

really ?

mint fable
#

and the placeholder

#

exactly how it is

junior musk
#

ah

#

ok thanks ๐Ÿคฆ

mint fable
#

๐Ÿ‘

junior musk
#

I thought it was just to indicate that it has to be here for the player and here for the placeholder... but now that I think of it, on the wiki when the placeholder indicate it, it uses <> and not {}...

#

thanks anyways x)

tender vaporBOT
junior musk
#

/papi ecloud download LuckPerms

#

or update LuckPerms

bitter pike
#

Already done

#

both done

junior musk
#

what's your LP version ?

bitter pike
#

nvm sorry for bothering, i forgot I removed luckperms

sharp yacht
#

Howdy, how do I update a package when i see this message in console?

[PlaceholderAPI] 1 installed expansions have updates available.

copper grail
#

Is it possible to get the UTC time from the placeholders if the server is located in another time zone?

balmy marten
#

@sharp yacht
/papi list should show you the one(s) that need updating.
Then just use /papi ecloud download (expansion name)
/papi reload

Sometimes it might be a bit fiddley and you'll need to delete the expansion from the /plugins/placeholderapi/expansions folder first before downloading it.

gilded coral
junior musk
#

by using the right placeholder

#

where are you using this placeholder, and what is the plugin that let you show it ?

gilded coral
#

im using PlaceholderAPI version 2.10.4
and featherboard

junior musk
#

FeatherBoard doesn't support PlaceholderAPI

#

it uses MVDWPlaceholderAPI

gilded coral
#

yes i have it too ๐Ÿ˜„

junior musk
#

and VoteParty doesn't provide direct support to MVDWPAPI

gilded coral
#

no you can see it ๐Ÿ˜„

junior musk
#

what

#

I can see what ?

gilded coral
#

that doesnt work..

#

i cant see my placeholder with value

junior musk
#

that's because

VoteParty doesn't provide direct support to MVDWPAPI

#

so you have to use the placeholder {placeholderapi_<yourplaceholder>}

gilded coral
junior musk
#

do you even understand my message x)

#

VoteParty doesn't provide direct support to MVDWPAPI
that means that VoteParty doesn't add placeholders to MvdwPlaceholderAPI so it won't work

#

the only way you have to use it is by using the {placeholderapi_<yourplaceholder>} placeholder

#

so you have to use {placeholderapi_voteparty_player_votes}

#

and then it will work

gilded coral
#

ohh thanks โค๏ธ

trim mist
austere hawk
#

Is fabled skyblock added to papi?

tranquil sapphire
#

Yeah

#

Wait

austere hawk
#

Whats the command?

tranquil sapphire
#

maybe not

junior musk
#

FabledSkyBlock has its placeholders inside the plugin

tranquil sapphire
#

^

junior musk
#

no need to download any expansion

tranquil sapphire
#

Any of them placeholders should work

junior musk
#

โซ

tranquil sapphire
#

Like @junior musk with no expansion

junior musk
#

and you can change the output of each in the language file

#

(I think there's some that you can't iirc)

austere hawk
#

Amazing thanks.. the gui's are ๐Ÿ’ฉ so i need to make em myself

tranquil sapphire
#

I agree haha

junior musk
#

same

full kettle
#

yo is there an expansion that checks achievements?

trim mist
#

No afaik

junior musk
#

there's one for 1.12 advancements, but I don't think there is for achievements

full kettle
#

advancements*

#

i'm looking to make a deluxemenu that's only available to players who have reached the nether

junior musk
#

then /papi ecloud download advancements

full kettle
#

that works for 1.12+?

junior musk
#

yep

full kettle
#

meaning it'll work for 1.15

full kettle
#

ballleeerrr

#

cheers doggy

#

is there a list of advancements somewhere?

junior musk
full kettle
#

i thought that too, but it doesn't seem to work

#

is there a bukkit advancement list?

#

i lied, i'm an idiot

#

you're right

#

nether/root

junior musk
#

lel

full kettle
#

many loves brรถther

brisk coral
#

Is there no placeholders which return the amount of items the player is holding in his hand?

junior musk
#

there is

#

I think

#

with the CheckItem expansion

brisk coral
#

Doesn't seem like it

junior musk
#

and the amt: modifier

brisk coral
#

I just need the amount, I'll make a js placeholder

junior musk
#

%checkitem_amount_inhand%

#

I think this should work

brisk coral
#

Doesn't work for in hand, just the entire inv

junior musk
#

it does with the inhand modifier no ?

brisk coral
#

Nope, returns the amount from the entire inv

junior musk
#

then or the wiki is outdated, or it doesn't work ๐Ÿคท

vivid sparrow
#

We can ask cj nicely to add it

junior musk
#

I think I know

brisk coral
#

Doesn't matter, I'll make js.
On another note, what all can I use within js kek

junior musk
#

ok no I don't ;-;

brisk coral
#

Assuming this probably would not be supported would it
player.getInventory().getItemInMainHand().getAmount();

#

and the player being BukkitPlayer

vivid sparrow
#

Add a null check in there

brisk coral
#

Yea I will, just lemme see if it works first

#

dang works

vivid sparrow
#

Ofc lol

brisk coral
#

Didn't think it would kek

vivid sparrow
#

Why

brisk coral
#

idk

#

had issues with BukkitPlayer in the past

vivid sparrow
#

Can you test a lambda function?

brisk coral
#

Sure, which one u want me to test

#

I suck at lambda so suggest me one

vivid sparrow
#

just lambda

brisk coral
#

We'll only lambda I know uses a framework :p

vivid sparrow
#

Huh

brisk coral
#

for the method

vivid sparrow
#

Nvm I will do it

brisk coral
#

I mean I got it open, just gimme the function smh

vivid sparrow
#

( function () { return "test"; })()

#

Not sure if thats lambda but give it a shot

brisk coral
#

actionManager.addAction("clear", (player, data) -> plugin.getColorManager().clearChatColor(player.getUniqueId()));

warm topaz
#

anyone know if theres a placeholder to show how many times a player has joined the server?

brisk coral
#

surprisingly no

warm topaz
#

:(

vivid sparrow
#

Statistics?

junior musk
#

I think there was one in server

#

h

vivid sparrow
#

Thats unique joins

junior musk
#

I saw %player_join_game%

warm topaz
#

ill test that one then, ty

brisk coral
#

@balmy marten Why in the hecc can I not send pics here smh

vivid sparrow
warm topaz
#

๐Ÿ˜‚

brisk coral
#

scam

vivid sparrow
#

I swear you need a master degree to know how to print smth lmao

#

Thats literally how all our handouts looks like

warm topaz
#

yeah mine too

#

when i did history

vivid sparrow
#

Event important paper lmao

#

Did it worked kalibear? @warm topaz

warm topaz
#

nope

#

its not even a placeholder

vivid sparrow
#

F

brisk coral
#

What's the option for the return values

vivid sparrow
#

Huh

brisk coral
#

[something:0]

vivid sparrow
#

Precision

warm topaz
brisk coral
#

=paste

tender vaporBOT
#
HelpChat Paste

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

warm topaz
#

whats the difference ๐Ÿ˜‘

vivid sparrow
#

How dare you @warm topaz

brisk coral
#

I'm a bit confused rn

#

Am I dumb or? %math_{javascript_itemAmount}*0.12[precision:2]%

vivid sparrow
#

Yes

brisk coral
#

gives me a unknown operation at 1

vivid sparrow
#

Do that on the js placeholder

#

.toFixed(2)

brisk coral
#

It returns a already fixed amount so not the issue

#

Would color mess with it?

vivid sparrow
#

Ig

brisk coral
#

yea color fucked it

vivid sparrow
#

can I somehow use the Java.type() thing to access bukkit classes on the js expansion?

quick leaf
#

Hi!

brisk coral
#

Gaby, I'd say no rather than yes :p

quick leaf
vivid sparrow
#

well rip frosty

quick leaf
#

How use it?
%animations_<type>?option1=value1,option2=value2_YourTextHere%

#

it's not work!
"%animations_wave?\"colors=&e,&a\"_YourTextHere%"

brisk coral
#

Yea remove the \

quick leaf
#

Syntax error, come on

#

I can't remove \

#

this work
"%animations_wave?colors=&c_YourTextHere%"

#

but how add some more color code?)

brisk coral
#

Try colors=&e,colors=&3

#

Probs won't work, but try anyways

quick leaf
#

doesn't work(

#

colors=&c&a - doesn't works

brisk coral
#

No clue then, haven't used that expansion yet, I believe that's @heady falcon's expansion so he might know a bit more

quick leaf
#

And WIKI doesn't have example ยฏ_(ใƒ„)_/ยฏ

junior musk
#

colors="&c,&a"

#

actually there's an example

quick leaf
#

And i have this in word Text
"&cT"&ce"&cx"&ct

bronze bison
#

Try colors=&4/&5

#

@quick leaf ^

warm topaz
bronze bison
#

Latest version of the expansion?

#

And spigot version?

austere hawk
#

i cant really find a way to import papi into title manager

#

installed the askyblock expansion

bronze bison
#

Afaik TM supports PAPI, so downloading the expansion then reloading PAPI and then adding the placeholders to tm should work?

warm topaz
#

latest expansion (1.9.2), server ver 1.14.4

bronze bison
#

join game isn't a statistic on spigot api, so use leave game and math %math_{statistic_leave_game}+1%

warm topaz
#

wierd. should it be in the placeholders list because of this?

#

and yeah ill use that solution, thanks

bronze bison
#

Well as I remember that is how it was on previous versions too, cuz join game statistic has never been a thing.
I'll remove it from the list, thanks for pointing that out.

austere hawk
#

๐Ÿฅบ

warm plover
#

Hey

#

is there any extension for Per World placeholders

#

or like stats in a world

#

(like %hub_player_kills%)

sharp jay
#

@warm ploveryou need a plugin for it

warm plover
#

And that is?

sharp jay
#

dont think there is a public plugin for it

warm plover
#

Wat..?

#

ok xD

sharp jay
#

sec let me do some research

warm plover
#

I tried looking too

#

well not for the right thing

#

i looked for a expansion

sharp jay
#

ya cant find anything

warm plover
#

Oof

#

Well that isnt good for me :/

sharp jay
#

it might be possible with javascript holder

warm plover
#

:///

#

Eh..

#

Ill just try another way

sharp jay
#

sorry

warm plover
#

Np

austere hawk
#

Uhm

#

When i do the download command for luckperms

#

It says "there was a problem downloading expantion: LuckPerms"

sharp jay
#

show console errors

austere hawk
#

All my console says is "failed to download expantion"

sharp jay
#

=paste

tender vaporBOT
#
HelpChat Paste

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

austere hawk
sharp jay
#

@austere hawk what version of luckperms do you have

#

and also placeholderapi

austere hawk
#

latest on both

#

and 1.14.4 for mc

sharp jay
#

check your extensions folder seeing if its there

#

In the papi folder

austere hawk
#

no

sharp jay
#

Okay install it manually

austere hawk
#

done

austere hawk
#

im getting a erro

junior musk
#

redownload the LuckPerms expansion

#

and update LuckPerms

austere hawk
#

how do i remove it

junior musk
#

just redownload it

austere hawk
#

nm i see

#

no im not using lucky perms

junior musk
#

ah

#

then it's in your Expansions folder in your PlaceholderAPI folder

mental night
#

Remove luckperms expansion

junior musk
#

that's what he's doing x)

mental night
#

๐Ÿ‘

#

๐Ÿ˜‚

real vortex
#

With the Javascript extension for PAPI, can I check if a certain plugin's placeholder is returning true or not, and then do stuff?

junior musk
#

yep

real vortex
#

Do I need to "get" the placeholder/plugin?

#

Or not because this JS is within Papi?

vivid sparrow
#

if you put them in the js code they will be parsed

real vortex
#

Hm okay

#

Cheers

meager vault
#

I restarted my server and now I got this error :
https://pastebin.com/SiLHrp74
I don't know what can be the error as I didn't changed anything in the placeholder and now it can't parse it anymore

warm oriole
#

whatever placeholder you are doing

#

with jobs.

#

is causing the issue

#

nothing with deluxemenus.

#

probably not a supported jobs version.

#

@meager vault

ebon marten
#

i have installed extension teamcolors and this isn;t work

scenic sand
#

[VoteParty] [ACF] Found unregistered replacement: %player% and [VoteParty] [ACF] Found unregistered replacement: %player_name% are the errors with the placeholders. Unsure why it wouldn't detect them.

vivid sparrow
scenic sand
#

Done

ebon marten
#

can i create team balance: red balance and green balance

#

?

atomic cradle
#

i dont have any error logs when enabling PAPI but it cant register any expansion I downloaded from eCloud

junior musk
#

What does it says when you try to download them?

atomic cradle
#

download is successful

#

but it cant register any of them

junior musk
#

Aaaand did you do /papi reload as the message suggest?

atomic cradle
#

reloaded and registered 3 hooks

#

but the 3 hooks aren't the ones i downloaded

junior musk
#

And does it works now?

#

Ah

#

What did you download?

atomic cradle
#

Essentials Multiverse PlotSquared Player PlayerPoints

junior musk
#

And do you have the necessary plugins for them?

atomic cradle
#

Yep

junior musk
#

Wait even Player isn't working?

#

They doesn't show in /papi list?

atomic cradle
#

nope

junior musk
#

Then try to go on the ecloud to download them manually and place them in yourserver/plugins/PlaceholderAPI/Expansions

#

=ecloud

#

-ecloud

#

Isn't there a command for this? x)

atomic cradle
#

i re-downloaded Player and PAPI still doesnt register it

junior musk
#

Even manually?

atomic cradle
#

like it doesnt exist in the folder=-=

junior musk
#

What's your PAPI version?

atomic cradle
#

2.10.4

junior musk
#

What's your server version?

atomic cradle
#

1.12.2 bukkit+forge

junior musk
#

Aah I had issues with bukkit+forge and the ecloud too but when downloading them manually it worked

#

Did you try manually or just with commands?

atomic cradle
#

manually downloaded it and use command to reload

#

no use=-=

junior musk
#

Is it still in the folder after /papi reload?

atomic cradle
#

yes

junior musk
#

No errors?

#

What's your software?

atomic cradle
#

no errors

#

software?

junior musk
#

Idk if we can call that a software x) but what's your server type? Catserver?

atomic cradle
#

Mohist for sure

junior musk
#

Ah then I have no idea

#

Using latest build?

atomic cradle
#

yep

#

ohh

#

it is available before my update

#

and the error occurred after Mohist is updated

junior musk
#

Mmmh

#

Try to report this on its github I guess

wraith berry
#

Any idea why I can't do /papi parse me %placeholder%?
It says Failed to find player: me, same with my username
server version 1.14.4

trim mist
#

Try rebooting

sacred olive
#

how do i create a placeholder that accepts any variable e.g %test_test_200%?

sacred olive
#

figured it out dw

bold nacelle
#

[13:11:09 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.4 generated an exception while executing task 10 java.lang.NullPointerException: null at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:172) ~[?:?] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[Spigot.jar:git-Spigot-1a3504a-84f3da3] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [Spigot.jar:git-Spigot-1a3504a-84f3da3] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_201] at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]

tender vaporBOT
#

@bold nacelle

Possible Solution Found:

Looks like your server can't connect to our API,
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

bold nacelle
#

ooo

#

rip

short flicker
#

Any ideas why does /papi ecloud download <valid expansion> say No cloud expansions are available at this time. ?

tender vaporBOT
#
FAQ Answer:

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

balmy marten
#

Most likely that ^

short flicker
#

literally running 4 commands with a 2s delay results in 1 working and 3 being rejected

balmy marten
short flicker
#

testing on localhost

balmy marten
#

could be hitting the firewall then

short flicker
#

the order is random too

#

1 rejected, 1 accepted, 2 rejected

balmy marten
#

You might be able to whitelist our api

#

but probs not much point if its only a couple of expansions

short flicker
#

is there some debug mode to find the exact cause ?

#

exact exception and message

#

another thing is that first attempt usually doesn't work even after long time

#

another try gave me a no/yes/no/yes

balmy marten
#

Not sure if we have a public debug mode, checking now

short flicker
#

i'm trying a new feature into my plugin which is automatic installation of expansions for used placeholders which are not installed. This will save time both you and me when providing support as this step can be skipped. Also saves headaches to users.

balmy marten
#

Does /papi ecloud status return anything?

short flicker
#

yeah

#

167 exp available

balmy marten
#

what happens if you run it a couple of times in a row

#

the same with /papi ecloud refresh

short flicker
#

3 out of 4 worked

#

and downloaded as well

#

but don't appear in /papi list

balmy marten
#

Is it in the /placeholderapi/expansions/ folder?

short flicker
#

yes downloaded as well

balmy marten
#

try giving it another papi reload

short flicker
#

still nothing

mental night
#

What version

short flicker
#

2.10.4

balmy marten
#

Delete it and download it again via cmd

#

might not be a full jar

short flicker
#

after deleting the expansions folder and running download commands it did not reappear

balmy marten
#

delete the contents of the folder, not the actual folder

short flicker
#

sounds good

balmy marten
#

may get confused if it cant see /expansions/

short flicker
#

i thought i has a check for this

balmy marten
#

Possibly, not 100%

short flicker
#

alright now the ones that downloaded are registered

#

but 2 failed download again

balmy marten
#

Seems odd, cause usually it throws out an actual error

short flicker
#

any way i can help with debugging ?

balmy marten
#

is there any space between those firing?

short flicker
#

2s sleep

#

if that's the answer

balmy marten
#

extend it a little longer to see if it makes any difference

short flicker
#

that worked !

#

thanks

balmy marten
#

Either something on your end or our end is blocking it for too many requests too quickly then

#

We're working on papi3 at the moment to make some features a lot better, auto downloading might possibly already in it

#

im not 100% sure

#

But i'm sure we can try to add a better debug feature

short flicker
#

i saw the bukkit bridge plan for v3, but my users couldn't wait so i made my own xD

balmy marten
#

Yeah they're a few fancy things planned

short flicker
#

404 at https://github.com/PiggyPiglet/PlaceholderAPI3/issues/18
Is it private ?

balmy marten
#

Yeah papi3 is private at the moment whilst we get all the core work done

#

but will go open source once that's all done

short flicker
#

how would you make auto downloading ? how do you know which ones should be downloaded ?

#

would you just put into setPlaceholders method ?

brisk coral
#

My guess would be get the first word of the placeholder
ie. %vault_rank% since that usually indicates the expansion, and then just download it on whatever event you want

short flicker
#

yes, but when and where do you get the %vault_rank% from ?

brisk coral
#

Might also want to add a check if it already exists as some expansions are version dependant

short flicker
#

also, is there a reliable way to find out if an identifier is a valid downloadable expansion ?

brisk coral
#

Don't think so, unless you'd somehow get a list of all the ecloud expansions.
Also wdym by where can you get the placeholder from?

short flicker
#

Don't think so, unless you'd somehow get a list of all the ecloud expansions. That's what i'm asking for

wdym by where can you get the placeholder from?
For placeholderapi to auto-download in v3, how would it know which expansions should it download ?

brisk coral
#

No clue, and no clue. You'd have to ask Piggy or Clip

brisk coral
#

How would one clear someones items in hand with js inside dm?

vivid sparrow
#

that would be fun, maybe try to set the item in hand to null?

brisk coral
#

Don't actually know how to execute it through DM

#

Also I'm guessing I could just use the .clear function

vivid sparrow
#

what js

#

BukkitPlayer.getInventory().setItemInHand(null);

brisk coral
#

I mean yea how would I execute a js placeholder which isn't a command through DM

vivid sparrow
#

parse the placeholder?

brisk coral
#

Using papi parse?

vivid sparrow
#

[console] papi parse %player_name% %placeholder%

brisk coral
#

Ah ok

quick leaf
#

Try colors=&4/&5
@bronze bison
It's work! Thanks!

tender vaporBOT
#

@quick leaf

Hey!

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

zealous vale
sharp jay
#

@zealous vale server version

#

?

zealous vale
#

im using 1.14.4

brisk coral
#

Use the correct luckperms expansion version

zealous vale
#

i did. i tried the papi eclound download also the manual

tender vaporBOT
#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15

Version:

v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest

sharp jay
#

hmm

zealous vale
#

the placeholder is not working on scoreboard

#

what does this mean?

[WARNING] .... Plugin Scoreboard-revision vR3 1.4.2 RELEASE does not specify an api-version.

quasi breach
warm topaz
#
/papi reload```
?
quasi breach
#

it got even more broken

junior musk
#

What's your server version?

quasi breach
#

1.12.2

junior musk
#

/papi ecloud download statistic 1.7.0

#

Ok versions don't work Ith this command =/

#

Anyways, below 1.13,you have to download the 1.7.0 version of the Statistic expansion

quasi breach
#

I see it still doesn't work, but thank you for your help

junior musk
#

Tgen I guess the placeholder was addzd in newer versions of the expansion

#

So you can't use it

quasi breach
#

okey I'll search

junior musk
#

Mmmh

#

It's weird

#

Because the expansion page say that all statistics from SpigotAPI should work (%Statistic_<statsname>%)

#

But if we check on the SpigotAPO page for 1. 12.2 we can see that MOB_KILLS exists

quasi breach
#

yea, i know

#

I was looking for just on SpigotAPI

austere hawk
#

hellp

#

hello is possibility to get this version

#

for formatted askyblock

junior musk
#

You know you can download the compiled version of this link and put it in your expansions folder in your PlaceholderAPI folder?

tranquil sapphire
#

^

winter idol
#

Can someone explain to me why this doesn't work?

          requirements:
            money:
              type: has money
              amount: 100000
            island-level:
              type: '>='
              input: '%superior_island_level%'
              output: 1000
          deny_commands:
          - '[console] titlemanager:tm message %player_name% &c&ldeny message here
          - '[sound] WITHER_DEATH'
          - '[close]'```

The ``has money`` requirement works but superior skyblock placeholder isn't working for some reason. I've made sure to have over 1,000 levels + the money as well.
brisk coral
#

Have you checked the placeholder returns the correct thing?

vivid sparrow
#

If the output of that placeholder have any formatting it wont work

brisk coral
#

@junior musk Just a quick suggestion, always ask where people are using the placeholder, since in like 80% of the cases that's the issue

limber narwhal
#

Can someone explain to me why the command /eco give %player% isnt working

brisk coral
#

Because %player% isn't a placeholder,
%player_name% is and it requires the player expansion

limber narwhal
#

Tried that didnt work

#

Kept on returning the same.error

#

%player_name% is not a valid player

brisk coral
#

Where are you using that command?

#

Also, do you have the expansion installed?

limber narwhal
#

The player expansion , yes . I use it in my scoreboard. And I am using the command in conjunction with the EpicBosses plugin. When a boss dies it runs that command

brisk coral
#

Then the epicbosses plugin doesn't support papi, I'd suggest asking in Songoda discord what the correct player placeholder is that it uses

limber narwhal
#

I have , even their support staff were unable to help

brisk coral
#

Reeeee

limber narwhal
#

Despite their own pre installed commands being eco give %player%

brisk coral
#

One sec

limber narwhal
#

Wouldn't the issue be with vault as the command is eco give?

vivid sparrow
#

Thats an essentials command, not vault.

limber narwhal
#

Then wouldn't it be a essentials issue

junior musk
#

@junior musk Just a quick suggestion, always ask where people are using the placeholder, since in like 80% of the cases that's the issue
I did ask

#

it was KiteBoard and itbsuppirts papi so I though he/she would have used %% instead of {}

#

that's why I asked for a screen x)

limber narwhal
#

@brisk coral as you can see their support team are quick as ever

tender vaporBOT
#

@limber narwhal

Hey!

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

mint fable
#

it says {player} is the placeholder for EpicBosses on the documentation site @limber narwhal

#

you shouldn't be trying to use PAPI placeholders in a plugin that doesn't use PAPI, but if the default eco give %player% then it's probably %player%

limber narwhal
#

That's the thing the default is eco give %player% but it doesn't work , so unless they're own devs dont know what works in their plugin

brisk coral
#

cj you'd assume it would reee

mint fable
#

so try {player}

brisk coral
#

^

limber narwhal
#

Tried thst

mint fable
#

They might've switched it and not updated the config

limber narwhal
#

Unless I need mvdwplaceholder

mint fable
#

{player} doesn't work 200% sure?

limber narwhal
#

Yep

#

100000000% sure

mint fable
#

Okay, maybe try asking the question phrased this way if you haven't:
How do I use the player's username in EpicBosses? I've tried %player% (pre-configured) and {player} (listed on the documentation site) and both don't work

limber narwhal
#

Just sent it, I guarantee they're gonna tell me to make a ticket. Annoying thing is a friend of mine has had a ticket open for a month with songoda

mint fable
#

ah

#

rip

#

I heard songoda can sometimes be that way

#

no experience myself tho

limber narwhal
#

This is the first time I'm using them not exactly impressed

#

Considering their own documentation is incorrect

#

I now see why they dont accept refunds

mint fable
#

well most people won't

#

just depends on who gives good service

brisk coral
#

Tbf they do state that the questions channels may not be correct, their support channel should however be the correct place

mint fable
#

hopefully

limber narwhal
#

I mean me and frosty have both asked, surely they gotta respond to 1 of us right

austere hawk
#

My SpeedPerSec expansion still hasn't available on public PAPI github?

mint fable
#

?

brisk coral
#

It won't be immediately, someone has to review it first

austere hawk
#

It's already verified

mint fable
#

what do you mean by on the github?

austere hawk
#

The public placeholder list I mean

mint fable
#

okay, that's manually done

mint fable
#

๐Ÿ˜ฎ

#

i just made a thing

balmy marten
#

define thing

mint fable
#
%speedpersec_blockPlace% - Blocks placed per second
%speedpersec_speed% - Blocks moved per second
%speedpersec_expCollected% - EXP collected per second
%speedpersec_damaging% - Damage per second
%speedpersec_hurting% - Damage taken per second```
#

@austere hawk

austere hawk
#

Ok ._.

#

There we go

#

I was about to add CPS

#

But for some reason which I was not looking into, when hold right-click, the Interact Event is still called every 10 ticks

brisk coral
#

And why didn't you

austere hawk
#

And I want it not to happen

mint fable
#

wym?

#

if you spam right click it goes faster

brisk coral
#

^

austere hawk
#

No

#

When holding

mint fable
#

ya

brisk coral
#

I mean yea

mint fable
#

2/sec

#

I guess

vivid sparrow
#

that's not how cps works smh guys

mint fable
#

?

brisk coral
#

Anyhow nobody cares about cps since 1.8 pvp is ๐Ÿ‡ ๐Ÿ’ฉ

vivid sparrow
#

you gotta click not keep the button pressed

#

cps - clicks per second

brisk coral
#

No shit sherlock..

mint fable
#

^

vivid sparrow
#

??

mint fable
#

What I'm saying is, if you're holding right click

#

to the game, that's how fast you ARE clicking

#

think about it, InteractEvent isn't right clicking

#

I can bind it to whatever I want

vivid sparrow
#

you can check the action type though

mint fable
#

How?

austere hawk
#

There's another weird reason

mint fable
#

How does spigot know it's a right click gaby? they don't iirc

vivid sparrow
#

Action.RIGHT_CLICK_BLOCK or AIR

mint fable
#

I think inventory

#

does spigot link to the client's mouse?

vivid sparrow
#

cj

mint fable
#

nope

austere hawk
#

When breaking block with LEFT_CLICK, especially on grass, the CPS still counts

#

In this case, holding

mint fable
#

Gaby

austere hawk
#

Ok let's take a small look on my latest #showcase

mint fable
#

Does that signify a right click or a place block press?

#

because I can bind the action to any key

austere hawk
#

You will notice that CPS-L raised up to 14

mint fable
#

spigot can't see client's mouse like that iirc

vivid sparrow
#

doesnt matter what key you press

brisk coral
#

We'll then don't make that placeholder, everyone who wants to know that usually already has something client sided ๐Ÿคท

vivid sparrow
#

as long as it triggers a right click

mint fable
#

It's not a "right click" then ๐Ÿ˜‰

vivid sparrow
#

smh cj

austere hawk
#

Here

#

I thought it was lag at first

#

See that CPS-L?

mint fable
#

is CPS-L and R backwards?

austere hawk
#

Maybe

mint fable
#

it looked like CPS-L went up when placing blocks

brisk coral
#

What is that shitty update rate, also they're backwars ye

#

Backwards*

austere hawk
#

Update rate?

#

It only counts 1s per time

brisk coral
#

We'll ye it update quite slowly

#

Updates*

austere hawk
#

That's how most things go out ._.

brisk coral
#

Kinda pointless if it ain't accurate don't you think?

austere hawk
#

Ok so here's my actual system

mint fable
austere hawk
#

Every clicks add 1 to cache, and 1s later takes all of the cache to the real cps, then reset the cache

#

I didn't say anything about code yet bruh

#

1 here by i mean 1 click

mint fable
#

Might be easier to show code and get assistance, that's all

austere hawk
#

I did not mention anything about supporting my problem yet...

brisk coral
#

Thien, that's delayed af tho

austere hawk
#

Let me see the showcase

#

Ok how about you try it direct in the server? Just to make sure

#

Btw don't misunderstand that the 2s delay is actually same clicking per sec

#

It showed fine for me: Update every 1s

brisk coral
#

@vivid sparrow I'm executing the js placeholder using

- '[console] papi parse %player_name% %javascript_clearItemInHand%'

However I keep getting

>.... [11:40:06 INFO]: Unknown command. Type "/help" for help.
>.... [11:40:06 INFO]: Incorrect usage! /papi help

In console

#

(It clears the item properly)

#

The first unknown command is due to not having ess installed, the second however is from papi (only line I'm using is the parse one)

vivid sparrow
#

code?

brisk coral
#

player.getInventory().setItemInHand(null);

vivid sparrow
#

hm

#

do you get the same message if you parse it in game?

brisk coral
#

sec

#

nope

vivid sparrow
#

welp

errant lark
#

Hello

#

I have a question regarding the papi bungee extension. For some reasons it doesn't properly show the online players when using either %bungee_total% or %bungee_servername%

#

It shows that there are 0 players online even tho there are players on the server

errant lark
#

When using %server_online% it displays the correct amount of players online

exotic elbow
#

Hello, I'm trying to put together a javascript that spits out a string based on a single yes/no placeholder, but whenever I parse it I get javax.script.ScriptException: ReferenceError: "no" is not defined in <eval> at line number 1 in the console. What am I doing wrong?

#

This is the code btw:

var alt = %luckperms_in_group_alt%;
function altDisplay(){
  if(alt === "yes"){
    return "&7[&3Alt&7]&3 ";
  }else{
    return "";
  }
}
altDisplay();

Basically from one of the community scripts

vivid sparrow
#

Add "" around luckperms placeholder

exotic elbow
#

Ahh can't believe I missed that ๐Ÿ˜… thank you

brisk coral
#

Also please use this @exotic elbow

var alt = "%luckperms_in_group_alt%";

function altDisplay()
{
  return alt == "yes" ? "&7[&3Alt&7]&3 " : "";
}
altDisplay();
exotic elbow
#

Got it, that does look a lot more elegant. I actually don't really have experience in javascript, so I just modified the community script to my needs

brisk coral
#

Also, if you have a return inside a single if statement there's no need for the else part

exotic elbow
#

So in JS the else is sort of just implicit?

vivid sparrow
#

Theres no reason to suggest that format to everyone, frosty o.o

exotic elbow
#

ahh now I'm getting conflicting advice haha

#

I only have basic experience in python, so I'm just using that understanding

vivid sparrow
#

No, but you may not understand what ? and : means

#

And blind use it

brisk coral
#

I mean we'll from the structure you kinda can see Gaby smh

vivid sparrow
#

return condition ? true return : false return;

brisk coral
#

return*

#

nerd boi

vivid sparrow
#

Shut up.

brisk coral
#

never.

warm topaz
#

;o

exotic elbow
#

lmao thanks for the help tho guys. Learned a little bit of js today

final shadow
#

Who summoned me

errant lark
#

Clip, could you help me out with my issue? %bungee_total% doesn't display the right count of the players, it displays only 0

#

What could be the issue ?

brisk coral
#

@errant lark parse the placeholder twice with 30sec delay between them and tell me if it still shows the incorrect value

errant lark
#

@brisk coral did that but nothing still 0

tender vaporBOT
#

@errant lark

Hey!

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

errant lark
#

It's wierd that on other sections it works but on lobby it doesnt

wise void
#

can i reset player kills some how?

brisk coral
#

@bold mesa use %player_name%

#

Make sure to also do
/papi ecloud download player

#

/papi reload

compact dagger
#
https://hastebin.com/maviravema.apache

any solve ?

brisk coral
#

Have you considered normally pasting the link so people can actually click it instead of copy pasting?

#

You're using an incompatible Multiverse
Core expansion version

compact dagger
#

so where can i find the compitable one?

brisk coral
#

ecloud

tranquil sapphire
#

Lemme guess Litebans don't have papi support? xd

#

=pl Litebans

tender vaporBOT
#
Plugin Search:

Please select a plugin,
1๏ธโƒฃ - LiteBans [7631 Downloads]
2๏ธโƒฃ - โ–ถ PunishmentGUI - LiteBansGUI, AdvancedBan & More โ—€ (1.8-1.15) | Fully Customizable [12852 Downloads]
3๏ธโƒฃ - Litebans Material UI [4535 Downloads]
4๏ธโƒฃ - Litebans Messages ES [639 Downloads]
5๏ธโƒฃ - CUSTOMIZED LITEBANS MESSAGES CONFIG! *More coming soon* [521 Downloads]

tranquil sapphire
#

Lemme guess Litebans don't have papi support? xd

junior musk
#

nah

#

that's sad, ik

steel tundra
#

=pl deluxe

tender vaporBOT
#
Plugin Search:

Please select a plugin,
1๏ธโƒฃ - DeluxeChat [4452 Downloads]
2๏ธโƒฃ - AntiBotDeluxe โ€บ The most advanced AntiBot | Spigot & Bungee| 1500+ Purchases| 1.7-1.15 [1558 Downloads]
3๏ธโƒฃ - โœช DeluxePlayerOptions | [1.8.8 - 1.15.x] โœช [213 Downloads]
4๏ธโƒฃ - [NEW YEAR SALE] โœฆ DeluxeCombat โœฆ | Ultimate powerful combat resource for every server [188 Downloads]
5๏ธโƒฃ - Deluxe ServerSelector <BungeeCord> | <Spigot/Bukkit> 65% OFF SALE! [79 Downloads]

steel tundra
#

=pl deluxemenu

tender vaporBOT
#
Plugin Search:

Please select a plugin,
1๏ธโƒฃ - DeluxeMenus [67489 Downloads]
2๏ธโƒฃ - DeluxeMenusItems [68 Downloads]
3๏ธโƒฃ - DeluxeMenus Kit GUI Config [10 Downloads]
4๏ธโƒฃ - MultiLanguagePlugin Add-on for DeluxeMenus [93 Downloads]

junior musk
#

ask your problem and someone will answer

#

=paste

tender vaporBOT
#
HelpChat Paste

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

junior musk
#

and FULL error

steel tundra
#

Oh oki, hello i have an error with DeluxeMenus or papi i think and i'm not able to fix it could someone who knows it better help me please :/

junior musk
#

full error please

#

or send your entire logs if you don't know what to send

steel tundra
#

Its the full error what do you mean

junior musk
#

Nope it isn't

#

Send full logs it'll be easier

steel tundra
#

Well, that's all i got as an error in my console when i launch my server

tender vaporBOT
#
๐Ÿ“‹ Your paste, 2TD
https://paste.helpch.at/enetucisub

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

austere hawk
#

Reborn tab

#

=pl

tender vaporBOT
#

@austere hawk

Invalid Args!

=plugin <name/id>

austere hawk
#

=pl 57806

tender vaporBOT
austere hawk
#

=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

austere hawk
#

=help general

tender vaporBOT
#
Help Menu:

Commands for Barry.

General Commands:

=about - About Me!
=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

steel tundra
gleaming dome
#

Hi

#

I'm using the SuperiorSkyBlock2 plugin and I want to put his level in the chat, but it looks like this

#

[%superior_island_level_format%] Efipee:

#

The chat plugin is the DeluxeChat

tropic cosmos
#

Can someone Help? This error always happen when I try to expand the placeholders for any plugin. Only worked for vault and "player".

tender vaporBOT
tropic cosmos
#

I did right?

#

Can you guys see the error with this link?

#

tag me plz

junior musk
visual shuttle
#

how can I download a older api of luckperms

#

because I get error and I want to use the old version

brisk coral
#

/papi ecloud download luckperms 4.1

#

That'll get the version you need

visual shuttle
#

ty

tropic cosmos
#

Thanks Tanguygab

dreamy hawk
#

Im getting this errorhttps://pastebin.com/TuygWm9T. What it can be?

brisk coral
#

@dreamy hawk install the player expansion

loud mortar
#

HELP:
I'm using the 'scoreboard-revision' plugin. In it's config i typed the Placeholder %autorank_current_rank% but it does not work and in the scoreboard shows "%autorank_current_rank%" instead of players rank. %autorank_current_rank% in config should = (Players rank) in game, but doesn't.

On the website: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#autorank
I'm told to do the command /papi ecloud download AutoRank
I did this successfully and it told me it worked but it hasn't. (i also restarted server after)

I know PlaceholderAPI works because the placeholder %vault_eco_balance% works and shows players money in game but %autorank_current_rank% stays the same.

Please help me find a way.
Thankyou < 3

  • Billy.
    @mint fable @idle coral
tender vaporBOT
#

@loud mortar

Hey!

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

brisk coral
#

Why randomly ping?

loud mortar
#

not random

#

i didn't know it was not allowed. I just needed support so i let the support team know @brisk coral

#

could you help me?

warm topaz
#

did u /papi reload after downloading the expansion?

loud mortar
#

yes

#

and i did a restart after that and still stayed as %autorank_current_rank%

warm topaz
#

is autorank plugin successfully installed without errors in console?

loud mortar
#

think so

#

@warm topaz autorank is running fine

warm topaz
#

is autorank showing up in /papi list?