#placeholder-api
1 messages · Page 75 of 1
@placid rune -papi statistic
@limber ice Unknown expansion.
im trying to do something like this: %objective_score_tAccept_%player_name%% in my javascript in papi. how do i do this so the player for the objective is always the player that executes it (%player_name%) this just throws errors
/papi parse me %vault_eco_top_player_1% prints "Economy username cannot be null" followed by a stack trace in my console. Have the latest Vault and Essentials, with DeluxeMenus 1.10.5. Latest vault expansion has been installed for papi. Any ideas?
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
what does this mean Plugin DeluxeMenus v1.10.5 generated an exception while executing task 16812813
#general-plugins and send the whole error please
Is it possible to generate a random number with the papi math expansion?
Brody, do you have latest essentials ?
Thanks brody
I'm on 2.17.0.0
1.8.8
1.12.2
1.13.2
1.14.2
v2.10.3 - Latest
v2.10.3 - Latest
v2.10.3 - Latest
v2.10.3 - Latest
oh
So I got my javascript expansion working but I have a question
command: eco give %player_name% %javascript_randomintbetween_1,10000000%
command: msg %player_name% %javascript_randomintbetween_1,10000000%
Only the message will go through with a random int
how do I make it were the first command has a random generated int which is the same as the message ofc.
Latest version of EssentialsX same error
If anyone knows my javascript issue ping me
whats wrong ?
Read a few msg up
if ur plugin supports papi, it should work fine
[01:26:09 INFO]: CONSOLE issued server command: /msg ConfigFile 8233126.0
[01:26:09 INFO]: [me -> [|Lord|] ConfigFile] 8233126.0
[01:26:09 INFO]: CONSOLE issued server command: /msg ConfigFile 9245306.0
[01:26:09 INFO]: [me -> [|Lord|] ConfigFile] 9245306.0
alos, are u sure its fine with 2 commands: in the same level?
it worked before yes
in a different syntax but yes
first line was eco give %player_name% 50
second line was msg %player_name% you got 50 bucks
i still didnt get it? the placeholder is working fine in the first command but not in the second ?
effects:
CONSOLE_COMMAND:
# The trigger that will fire this effect.
trigger: BLOCK_BREAK
# command
command: eco give %player_name% %javascript_randomintbetween_1,10000000%
command: msg %player_name% %javascript_randomintbetween_1,10000000%
# chance
chance: "4 * {level}"
So when breaking blocks there's a chance to get an x amount of money which should be displayed afterwards.
However while mining and checking console I only see that the message is being send and the entire first command isn't even executed.
[01:26:09 INFO]: CONSOLE issued server command: /msg ConfigFile 8233126.0
[01:26:09 INFO]: [me -> [|Lord|] ConfigFile] 8233126.0
well then, thats not papi's issue?
i dont think its fine to have 2 command: there
@cunning wave sorry, not essentials issue. ill fix it now
Okay thank you. No rush 😃
Can u try this please ? http://aboodyy.net/PAPI-Expansion-Vault.jar
Replace the old vault expansion with this im assuming?
Yes
That fixed it. Thank you for the quick fix
Hello, anyone know how to set up top 5 holograms or sth? It need placeholderapi tho?
@brisk coral I am using version 2.10.3 on my 1.8 spigot server
@pine shard
Please be patient and don't ping helpful or staff members!
Is there a placeholder variable that can give me the number of players in a multiverse?
Like “[number placeholder] players in the end”
Yeah I want number
%server_online_<world>%
Do I need to install any lib for that
server expansion
obviously
without brackets
Kk
Hello what is this placeholder where it shows how much people are online in server?
@placid rune
Yea?
-papi server
for the ontime expansion for placeholderapi, anyone know how to change this format? https://gyazo.com/ac1a1fec1c0f720478d963a1c198413e im using this placeholder %ontime_time_played_total%
wich /papi ecloud i need for %player_name% for deluxemenus
Hello, I want to know which is variable for showing rank in chat (EzRanksPro) in essentials, %rank% doesnt work
Ping or dm me !
Hello!
How can i put my factions power?
In placeholder?
Like player power.
And max power?
depends if theirs a placeholder for it, What factions plugin are you using?
haveing a small problem when downloading with PlaceholderAPI 2.10.3 i do a download but dus not update the config.yml and when i do /papi ecloud list installed dus not show up what i just installed
I couldn't find anything for: *
@elfin imp have you reloaded papi after you've installed the expansions?
@brisk coral yes but I get a alot of errors.
@elfin imp
Please be patient and don't ping helpful or staff members!
@azure holly /Papi ecloud download player
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
I Tryed the reload but pops out alot if error I will have to get the errors when I get home in heading to work at the moment.
Okay
This factionUUID won't work.
Some of those work.
And some of them not.
Anyone know more player_power placeholder?
What factions plugin you using FactuinsUUID? @placid rune
https://www.spigotmc.org/wiki/placeholderapi-plugin-placeholders-page-1/#factionsuuid-1-6-9-5 is the list of all the placeholders if so
If you want to display the power on scoreboard you'd do %factionsuuid_faction_power% / %factionsuuid_faction_powermax%
If u want to display the players power youd do
%factionsuuid_player_power% / %factionsuuid_player_maxpower%
^ and that wiki page isnt supported anymore, use this instead
https://helpch.at/placeholders
Hi, can someone help me find the placeholder for how much money you have with essentials?
Thankyou abooo ❤
Idk, it's weird.
Everything works.
But only this power doesen't work.
I will take screenshot.
Huh i can't put screenshot in here.
But it won't just work.
=imgur
@brisk coral Unknown expansion.
You can check here https://helpch.at/placeholders
Check the plugin page
Guess askyblock placeholders work for bskyblock
I tryed, it wouldn't.
u downloaded the expansion right?
/papi ecloud download askyblock
/papi reload
^^
I cant seem to get placeholder api to work none of the vault placeholders are working
Yea.
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Whats the error?
show the error
ill grab it
try parsing the placeholder Cross
wdym?
the error says null
Frosty, what do you mean?
/papi parse me <placeholder>
U have BentoBox plugin @placid rune
ye
In this BentoBox isn't island level thing @bronze bison
bskyblock is a bentobox addon
There's bentobox placeholders in the wiki
They are in the wiki, and if u dont understand the [gamemode] just check this https://github.com/BentoBoxWorld/BSkyBlock/wiki/Placeholders
Use the one u want?
It didn't work.
I tryed this one: Level_bskyblock-island-level
Huh, thanks.
It worked.
👍
so Frosty looks like now all the errors are gon no idea what happend just did
lol it happens sometime
So does %player% no longer work or am I doing something wrong?
hey frosty when i add a new expansion its ment to edit and add it to the config correct?
@lusty mortar its %player_name%
Thanks Default config set it to %player%
im runing into a problem wen i fist setup my placeholderapis they work fine but when i restart they do not load back in corectly
What placeholders?
networkmanager and pinger
What version is your server and what version of placeholderapi are you running
PlaceholderAPI 2.10.3 MC 1.14.4
now and then pinger will start like nothing wrong but sum time dus not and then for networkmanager i keep geting
https://i.gyazo.com/28f81c93dc18bd02eb0c255a144c81ba.png
Have you got any console errors?
let me clear the log and then then start the server so i can see fresh
nope no errors says that it successfully registerd both the expansions
weird
well i have alot of errors from Networkmanager so i just sent them the error to see if they can help fix that to see if thats the problem i hope so
Getting [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder
Using Openj9
PlaceholderAPI version 2.10.3
PlaceholderAPI javascript 1.4.1
My placeholders for gadgetsmenu aren't working.
@fleet crest did u get that after reloading with /papijsp reload ?
no, when just starting the server @bronze bison
@fleet crest
Please be patient and don't ping helpful or staff members!
Anyone know how to fix a error for "error: PermissionPlayer not found"?
Edit: NM talked to the Dev that made the Permission plugin and found out it was a Dum error i made with the Group Parents
@fleet crest what java version u on
Anyone knows what is the most stable old version of papi? I need one with the ezplaceholderhook but without having the bug that the placeholders have a delay before registering
Depends what for?
Why don't you just use updating things? (as in get the authors of the plugins that still use that to update)
abandoned plugins
i tried modifying the source codes of the plugins
but they are obfuscated
and there are no other plugins that does the same thing
You can compile papi yourself and remove the ezplaceholder check
Just delete that method and the call to the method
The call to that method is the last line onEnable
@vestal shell
I'm on openj9
Yeah openj9 doesn’t support nashorn
Been looking for a suitable replacement for JavaScript interpreter but haven’t found one that I can just shade in
yow doods need help
soo basically i'm creating an upgrade shop which let players upgrade their pickaxe using "$" but little did i know they can keep upgrading it. Does anyone know how i set a limit to a certain enchantment? in Deluxemenus
Im too bad compiling stuff, i mean, i got told many times how to use github and maven, i still cant figure out how to do it correctly, i always get the source with errors and stuff.
Found the solution for Openj9 for others:
Don't use alpine-slim; use alpine (normal) containers
javascript placeholders work for me now, using openj9
Awesome
https://paste.helpch.at/ajepimumod.txt still having trouble with placeholders. apparently with the objectives expansion i guess?
can someone help? this was working fine before but then it just broke
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
put the error in there
pros of using 1.8 🤷
what version of placeholder api should I get for it to work on 1.8
1.8 or 1.8.8
what version is that in the version history on spigot?
I meant what mc version are you on.
my spigot or my client?
spigot
https://paste.helpch.at/ajepimumod.txt can someone help with this
Can you go into more detail?
Why the placeholder for SuperMobCoins doesnt work?
whats the ecloud I should install?
contact the author.
Author already has added the placeholders on the site
not what I mean
@vivid sparrow Unknown expansion.
as you can see, the placeholders are most likely build into the plugin
yes and?
ask the author lol
By the way I know I can fix it with MvDW but I install the latest version drop it into my plugin foldier but nothing happens it doesnt create a file.
Any way I can make papi add linebreaks to lore? https://i.imgur.com/E5bc0o2.png
I've re-checked all your roles!
=spigot check
I've re-checked all your roles!
Raven use your spigot checks in #bot-commands, not in other channels
Hello EveryOne ! First i'm happy to join this Discord Server ! Thanks 😄 !
Second :
I use the quests expansion, I created a small js
"""
function getCurrentQuest() {
var current_quest = "%quests_player_current_quest_names%".split('\n')[0];
return current_quest;
}
getCurrentQuest();
''''
but now i'd like to
%quests_player_current_objectives_<quest>%
with <quest> being that first current quest.
Do you know any solution ?
@final shadow ❤ sorry for ping but any way you can add support for linebreaks from papi placeholders to deluxemenus?
So just support new line
@final shadow I might use your too; can I somehow use a placeholder as another placeholder parameter ?
I'm trying to use Java
You could use bracket placeholders for the wildcards
And call setBracketPlaceholders on the string first
Then use the normal method
Yes clip, made a placeholder and that's how dm displays it https://i.imgur.com/E5bc0o2.png
I can add new line support when using \n
Thanks ! I'm trying rn 😄 !
Hey, how would you add multiple placeholders together using the JavaScript placeholder system?
I need to add 3 redisbungee playercount placeholders together to show one total playercount, if that makes sense.
E.g. %javascript_skyblocktotal% would get the total playercount from the %redisbungee_mummy%, %redisbungee_yeti% and %redisbungee_green% placeholders.
I mean you could use the math expansion for that
I wouldn't know how to do that, hence why I'm asking haha.
%math_{redisbungee_mummy}+{redisbungee_yeti}+{redisbungee_green}[precision:0]%
make sure you do /papi ecloud download math, and then reload papi
You're using it in fb (I'm asuming) right?
DeluxeMenus
for our server selector
Oh, I'm guessing { } needs to be replaced with % %?
nope
Ah, alright.
placeholders inside the math expansion are defined with {}, it'll work since it's DM
Alright
@brisk coral Doesn't seem to be working: "The provided value was invalid! Reason: Unknown unary operator '{' at position 1".
@flint sable
Please be patient and don't ping helpful or staff members!
/papi parse me %math_{redisbungee_mummy}+{redisbungee_yeti}+{redisbungee_green}[precision:0]%
try that
and let me know what it returns
"me 0"
Also 0, there's 8 online though
RedisBungee, it bugs sometimes
Er, I can't exactly do that
We've got players online. That expansion does seem to bug out every so often though. Sometimes it'll work, sometimes it won't.
once you're able to restart do it, and let me know if it's buggy
No other alternatives?
if it bugs out, your best bet is a restart since it may not have hooked properly
and you're sure I've gotta restart all servers, or is just restarting that one server fine?
the one I'm doing this on, not the mummy server
you could try
I'm assuming Redis is having problems tbh, now the placeholders are stuck at an older playercount or 0. The same is happening with mvdw placeholders
https://paste.helpch.at/ajepimumod.txt i would go into more detail, but i dont think i did anything. the objective expansion kinda just broke
is anything really wrong about this function, because this is the one it says is causing a problem
function treasureEnabled() {
return true;
if ("%objective_score_treasure_Enabled%" != 1) {return "|hide|";}
return "";
}
i dont remember how..
return true;
if ("%objective_score_treasure_Enabled%" != 1) {return "|hide|";}
return "";
}```
you're immediatly returning it meaning it won't do anything
and all other functions dont really work either. and yers it is
var placeholder = "%objective_score_treasure_Enabled%";
function treasureEnabled() {
if (placeholder != '1') {
return "hide";
} return "";
}
parse this for me %objective_score_treasure_Enabled%
it gives 0 which is correct
nope. is giving java.lang.NullPointerException
it could be any other function idk. the whole thing is just very broken
guessing it's because of those lines
well it didnt work
not sure then
this function worked fine b4
i was adding other functions when it broke thats why im confused
the thing is technically the errors are coming because of featherboard, since im using the placeholder in that
but it refrences things in papi idk
Hello, I'm just starting in this plugin and I need help please., I have 2 plugins (one is TAB Reborn and the other ELITEMOBS) I would like to know how I can show the elitecoins coins in the tab and they told me that I had to use this plugin but I don't know how to do it: C
@marble eagle, looks like Tab Reborn supports PAPI, though I don't think Elite Mobs has any placeholders for PAPI.
Maybe you could request the feature?
Anyone use TAB REBORN and know how to put a factions relations placeholder in?
@austere hawk Unknown expansion.
@rocky remnant ^
What
@rocky remnant, does the plugin have PAPI placeholders?
put the one you want in
%rel_factions_relation%
%rel_factions_relation_color%
make sure you have the expansion @rocky remnant
Hey! Is it possible to do so you can permission like a thing in a menu, if you like make a grant menu. and you dont want someone to do that rank is it possible to add a permission to things and do that if you dont permission it stands in the lord, "You dont have permission to give (player) owner" ???
first of all, wrong channel, second of all I did not understand a word you said
He wants a rank GUI if I understood correctly...
11.08 19:22:20 [Server] ERROR [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.factions.MCoreFactionsExpansion
11.08 19:22:20 [Server] ERROR [PlaceholderAPI] com/massivecraft/factions/RelationParticipator```
Cant figure out why its doing this
And when Im not in a faction its saying this
I'm using tab and this is my config
Groups:
Owner:
tabprefix: "&4Owner&f "
tagprefix: "&f"
tabsuffix: " &8[%rel_factionsuuid_relation_color%%factionsuuid_player_role%%factionsuuid_faction_name%&8]"```
What factions plugin are you using?
Since that error is for massivecore & those placeholders are for factionsUUID
@rocky remnant ^
SaberFactions
whats the original fork?
FactionsUUID
It works, however when someone is not in a faction it places this in
Not sure sorry recommend asking the dev
I'm not good with math , can someone please tell me if this is the right format for finding out what percent y is of x :
%math_({skywars_projectiles_hit}/{skywars_projectiles_launched})*100[prc]%
WHy it do that
lmao
Usually when check I always do this math: (current * 100) / (total) @tropic vault
Head over to #spigot-linking first @austere hawk
@austere hawk ok thanks
Hi, I want to use EnjinPoints placeholder to allow my players to buy items with it,
the only placeholder is %enjinminecraftplugin_points%, and he do not works
I've done the download of the extension, but when I parse it he returns the %% placeholder and not a number
can someone help me ? tag me if you can
thanks 😃
Does anyone know if there's a placeholder for ASkyblock leaderboard/top?
@mild radish
@cunning charm ?
Someone deleted it @mild radish
I can create a placeholder same as that, I'm just lazy ._.
Who do i have to ask to get my plugin verified?
guessing you mean the expansion for your plugin
@brisk coral Yeah right
mainly harmfull code I pressume
of course 😉
My custom expansion isnt loaded by papi. I also just tried to use the example expansion provided by the GitHub page (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion) without any success
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Share your expansion class
I really didnt change anything. This class was just for testing purpose. But it didnt get loaded https://paste.helpch.at/yizacapuzo.java
added it to the expansions folder. The jar only contains this class
did you use %testidentifier_placeholder1%
Is there a placeholder which checks how many members of a permision group are online?
@final shadow the extension wasnt registered (wasnt listed) and i could not register it via the /papi register <fileName> command
@fresh escarp, I don't believe so, but check Vault placeholders and placeholders for your permissions plugin.
OKay, and is there a placeholder which shows the minecraft-time?
where does placeholder api store data
it randomly just decided to wipe all my players data
Player data from what?
its gone
it had deathcounts
killcounts
all gone
i dont know where the fuck it went
i tried to look up and it didnt say anywhere that placeholderapi stores data
Wouldn't even make sense if you don't tell what you are talking about
Running 1.8 server, Statistic downloads but doesnt hook
Download 1.7.0
K
@austere hawk papi doesnt store any data by itself (except javascript) and wont delete it either.
It takes the data from plugins.
Statistic are the minecraft statistics which are located inside maps
Or another word: inside playerdata folder in world 🤷
Working again! thanks!
Yw
#bot-commands -papi (expansion) or https://helpch.at/papi
i was looking at this but idk how it would be built
You mean you want to create your own Placeholder discord bot like @wet basin ?
You can use that one or make your own.
You basically take the placeholders from the ecloud and then list them.
Is there a full list of all Placeholders in all plugins?
@tepid schooner You probably ran into an UnsupportedClassVersionError. Make sure to compile your classes with Java 1.8. Also make sure to make your class public (package private by default on the Wiki page). Otherwise PAPI is going to throw an IllegalAccessException
Hey! Iam using deluxe menus but I cant use placeholder. I can use all placeholder in my featherboard
What placeholder are you trying to use?
Tokenmanger
%tm_tokens%
%tm_tokens_formatted%
%tm_tokens_raw%
/papi parse me %tm_tokens%
what does that return?
Oh I fixed it I was using a old version but it was still working with featherboard . I updated it and now is working thanks!
@sharp roost Thank you so much
I'm trying to use deluxemenus, is there anything I need to do (other than installing the plugin) I have to do to get it working?
Any errors and lets use #general-plugins
ok
Hello guys! Using JS to get multi-prefix stacking working, and well, something is off.
function survivalPrefix() {
prefix = '';
if ('%luckperms_has_groups_on_track_survival%' === 'yes') {
prefix = prefix + '%luckperms_prefix_element_highest_on_track_survival%';
prefix = prefix + '&r';
}
return prefix;
}
This SEEMS to work but after a specific rank, the prefix doesn't change. every rank above still has that rank prefix, even though they're a different rank. It's like it just doesn't update. Any ideas?
Hi, could someone help me?
I'm getting this error https://pastebin.com/kNGMexw9
?asktoask
Is there a way to get MythicMobs kill count ?
You know what is the paper to display the game time in play since the first connection to the server?
why isnt placeholderapi working when i do /papi ecloud download factions and then /papi reload but its not showing up
can anyone help me?
Factions is for FactionsMCORE
yea ik
i need the factions placeholders
thats what ive done
but when i do /papi reload
then /papi list installed
ecloud
/papi ecloud list installed
it doesnt show up only server and vault do
any console errors
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
?paste
click the usage
you have the plugin installed right?
yep
try installing the expansion manually
its in the folder tho when i look at expansions
and where do i install the expansion manually?
restart the server and see if you're still getting the error
i am
what papi version you on?
i tried the newest and some of the older ones too
is there a way to get the player count of multiple servers using %bungee_<servername>%
How would you do that like %math_%bungee_<servername>% + %bungee_<servername>%%
%math_{bungee_<servername>}+{bungee_<servername>}[precision:0]%
the last part makes it so it doesn't return decimals
@quaint trench:
13.08.2019 - 20:24:10 - java.lang.NullPointerException: null
13.08.2019 - 20:24:10 - at me.arkasher.playerLevel.api.PlaceHolderExp.onPlaceholderRequest(PlaceHolderExp.java:57)```
hey can someone call and help me
{placeholderapi_PLACEHOLDER}
{placeholderapi_factionsuuid_player_kills}
{placeholderapi_factionsuuid_faction_name}
Hi I'm trying to download the ecloud extension for WorldGuard and it is not working, I have WorldGuard installed, it works, but worldedit does not
I have worldedit too
but it does not work eventhough I have the correct version
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
@vivid sparrow then make it so I can upload files 😃
Read above duh..
Uhmm anyone in here can give me placeholder same this image https://m.imgur.com/a/cEYfh6Q
Is there a placeholder for total experience formatted?
Cooldown
@coral dew, it's likely a custom placeholder.
you can make it for me?
No
why?
Hey, is there a way to make this (http://prntscr.com/oszcpl) with papi?
Age just means, how old the server is and how long age the first release was
tag me
Thanks! ❤
Is Statistic supported on 1.14?
yes
I tried running the following commands in order, but I'm getting 'there is no expansion loaded with the identifier'
'/papi ecloud download Statistic'
'/papi reload'
'/papi info %statistic_deaths%'
/papi info statistic
Ok, one minute
=imgur
The server is on 1.14
Any idea what could be the matter?
Apparently it started working now
Hi guys! Not sure if this is the right place to ask, but how do I get JobsReborn support?
Is it for placeholderapi's?
I'm using DeluxeChat, trying to get %jobsr_user_displayhonorific% to show up as expected in the Prefix Hover
Have you installed the extension
I'm not sure how, is the question. I can't find it in /papi ecloud list all
Please also head to #spigot-linking and link your spigot
so you get the DeluxeChat role
Right
You'll get support their
Or I can try and help once verified
Ok download /papi ecloud download Jobs
then /papi reload
@mental night
Please be patient and don't ping helpful or staff members!
Their is no Job's Reborn placeholder
JobsReborn itself says it has built in placeholders
Yeah its on the github aswell
Hey, either i found a bug, or I'm typing this placeholder incorrectly
./jobs placeholders parse %jobsr_user_displayhonorific% shows exactly what I want
Carson whats your issue
I'm gonna head to DeluxeChat
alr
%checkitem_inhand% is only checking for main hand slot, and the wiki says it also checks offhand
So are you just trying to check if they are holding a off hand item
yeah, more specifically im running %checkitem_lorecontains:Ice Damage,inhand%
Don't think there can be a space?
i mean, it says yes when its in main hand
hm
and if i remove inhand, it detects it in my inventory
but it treats the offhand like its part of the inventory
on paper 1.14.4
everything is 100% up to date
so, either im missing some type of modifier, the wiki is no longer valid, or theres a bug. I think. who knows, maybe it is 100% my fault, but i can't figure it out for the life of me
patiently waits for Gaby to tell me if im crazy
wait a second.... @versed warren ? didnt know you were here lolll
@cloud shard
Please be patient and don't ping helpful or staff members!
Okay, so new question, is there anyway to reference another player with placeholders? Like, command blocks can do @p to reference the nearest player. Can I do like %player_name%(@p) to reference the nearest player?
Nope
Hm
@cloud shard
❤
confused on issue
%checkitem_inhand% is only checking for main hand slot, and the wiki says it also checks offhand
@mint fable rewrote this
the checkhand? or the wiki? lol
welp, i guess I'll hang tite for him. CJ, if you read this, feel free to ping me so we can see whats up.
ask your question dude
Can I use Statistics expansion to get total stats from the entire server? Like, cumulative blocks walked, and whatnot
Nope
Dang, thanks!
one of the place holders is not working. it is the one of the ones with no downloads
Which one?
clan system
What're you trying to do and what is it doing wrong? Is it just showing the placeholder in game?
yes it is and it is with tile manager but other placeholders are not working
So what exactly are you trying to do here? Get the clan name in the tab menu?
yes and rank and level i have a picture but i dont know where to post it
Mind linking the plugin
%clan%
@brisk coral Unknown expansion.
You might want to contact the plugin author, since there is no expansion for it and the built in placeholder apparently don't work
ok i will do that
Is there a placeholder to add the todays date
%server_time_<SimpleDateFormat>%
what do I put for simple date format
mm.dd.yyyy
Sorry for the dumb question, but how do I get the players X Y and Z?
%player_x%
%player_y%
%player_z%
%player_x% %player_y% %player_z%
Thank you thank you
Soo.... Does CJ kinda just hop on randomly?
Interesting

I'm using player placeholders now, but they don't detect lore, and I'm being overly complicated with mythicmobs
Sorry, there is a placeholder to get the motd of the server, other than server.properties ?
He lives!
Nvr mind gone again

@cloud shard what version
of mc and checkitem I guess
I realize that it's hours later
xD
I was at work, then had stuff to do, and now I finally got some time to hop on
:L
this is my code if anybody wants to check and see if it works: https://paste.helpch.at/orejeziqok.coffeescript
I'm pretty sure I tested it and it worked for me, but who knows
works for me on 1.12.2
Are you only using %checkitem_inhand% because that's not checking for any specific item
so I think it will always just return no
How the heck do you select a npc
=plugin citizens cmd
oh do you guys not offer support?
the plugin page states all the commands
yeah i tried doing the command but it says invalid usage
/npcmd remove <nameofnpc>
says invalid usage
Nvm, solved i'm dumb
Thanks
No worries it happens :p
i just have one final question which is kind of unrelated
how do i make it so that players can break a spawner with a tool with silk touch
so that they keep it
or is that some sort of plugin
What does it do exactly do you know?
wdym by that?
it allows picking up spawners with a silk touch tool, and with a permission
idk what silk touch does or what a spawner is tbh
some players are requesting
so i just wanted to know the pros and cons for it
hello
can anyone please tell me how do i use a placeholder to cast a player for example for the command /effect give <playerwhoclicked> invisibility
?
%player_name%
thank you man!
make sure you have the expansion
how do i get the expansion?
i just got the plugin itself
nvm thanks! i figured it out!
also make sure you reload papi after downloading the expansion
okey thanks!
also, i have a problem with betonquest hooking into placeholderapi
[ERROR] [PlaceholderAPI] BetonQuest is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Co0sh] and urge them to update it ASAP.
Contact the author of BetonQuest
okey thanks
hello i need help
when i type /papi ecloud download <expansion name>
it says no cloud expansions are available at this time
what expansion are you trying to download?
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.
@hushed forge ^
i just download and place them?
Yeah then just do /papi reload
Working here?
it worked when i used vpn
my region is egypt
maybe my region is blocked or something?
thats another url
still doesnt work
anyway i downloaded it by vpn
thank you!
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: player
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: bungee
16.08 13:22:45 [Server] INFO [13:22:45 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
16.08 13:22:45 [Server] INFO [13:22:45 ERROR]: [PlaceholderAPI] org.bukkit.Material.isItem()Z
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: server
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: killstats
16.08 13:22:45 [Server] INFO [13:22:45 INFO]: [PlaceholderAPI] Successfully registered expansion: otherplayer
statistics doesnt load
what's your server version
spigot 1.8.8
you need the 1.7.0 statistics expansion
download it from the same site?
ya
@mint fable RIP our schedules right? Lol
I'm on 1.14.4, and fresh copy of CheckItem from ecloud. I'm actually using it to check lore, and it works fine for main hand and for entire inventory, but its counting the off hand as part of the inventory, not it's own slot. So, it's almost always saying yes is the issue
@cloud shard
Please be patient and don't ping helpful or staff members!
Barry, I will fight you
I have a problem with the math expansion
%math_(({jobs_level_bányász})+({jobs_level_bányász}*{jobs_level_bányász}*700)-{jobs_exp_bányász})*0.1% I done this, but sometimes it returns with a decimal and it doesn't want to work with the command, how do I remove the decimal after it done the calculation?
add [precision:0] after your math values
so like this?: %math_(({jobs_level_bányász})+({jobs_level_bányász}*{jobs_level_bányász}*700)-{jobs_exp_bányász})*0.1%+[precision:0]
yea but after the calculation it sometimes returns as a decimal
oh okay, thank you
do I forgot to add something?
the purple text what is important atm
yea
it calculates basically how much exp needed for the next level
after that it gives a 10% boost
send me the one you used just now
%math_(({jobs_level_bányász})+({jobs_level_bányász}*{jobs_level_bányász}*700)-{jobs_exp_bányász})*0.1% [precision:0]
Oh i wrote it outside
get it
okay it is working now, thank you!:O
Hey guys id like to know where i can ask somebody if my placeholders can get put into the github page from papi ? 😉
open an issue
obv
you can help me i need Add on TAB placeholder on FACTION
@cloud shard what placeholder are you using?
@mint fable hey, im at desk again. what placeholder as in PAPI version? or the exact placeholder?
@cloud shard
Please be patient and don't ping helpful or staff members!
do you have the expansion, and have you reloaded papi?
I downloaded it with ecloud
and I do /papi ecloud list installed
and it says no extensions available
/papi reload
^^
I did that
restart server then
restart the server and download again
ive found an issue with player_total_exp not being updated when using Advanced Enchantments.
What’s the exact placeholder @cloud shard
I'm making a custom rankups GUI using DeluxeMenus
Is there anyway to make it so I can do like %ezrankspro_cost_<rank>%
So that when I change the prices
I don't have to ALSO edit the GUI?
%checkitem_inhand% is only checking for main hand slot, and the wiki says it also checks offhand @mint fable
I can add modifiers no issue, like check lore and name and type and so on
But it doesn't check the off hand at all
what modifiers have you tested it with?
can you try a simple mat: modifier?
@cloud shard
works fine for me on 1.14.4
I still don't know the exact modifier you're using though
for example, if i use%checkitem_inhand,lorecontains:Ice Damage% it only checks just my hand
@mint fable it always treats my off hand like its part of the inventory
hmm
gimme a second to load up a test
I probably only have a little bit of time tho ||depends on when these edibles take over||
for sure
good thing I have essentials, otherwise spawning an item with lore would be hell
im holding an item with Ice Ability in its name. when hold it in main hand, /papi parse CarsonJF %checkitem_inhand,lorecontains:Ice Skill% replies yes
when i hold it in offhand, it replies no
it works when its in main hand, but not when its in off hand though?
still an issue with the item?
works with mat and amt
testing others
no idea why it's not working with those
okay
try the latest version on github
i'll link
I haven't pushed this to the ecloud yet because it has a bug
ah
Hey I have a problems with deluxemenu
nice
😄
How i can send my config.yml?
juste like that but its bad
so i want to do a NPC with a GUI and when the player have 30 XP i can buy the item
=paste
but when i dont have 30xp nothing appen
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
So how i can do that?
I know its possible but i dont find how to do
@brisk coral i know you are my prince 😄
@covert socket
Please be patient and don't ping helpful or staff members!
Not home, and please don't ping
Okay
Nobody know? :/
?help
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
I'm having this weird issue with FactionsUUID placeholders that when you're not in a faction it says "[4-]" instead of nothing. Any idea why?
gr8
https://hastebin.com/unaponuhov.bash Hello is this solvable?
or the wiki https://helpch.at/placeholders
https://paste.helpch.at/eduqetebep.bash so i want to do a NPC with a GUI and when the player have 30 XP i can buy the item
but when i dont have 30xp nothing appen
incorrect spacing, also that should be in #general-plugins or #general-plugins-2
But i dont have a model with the correct spacing and the clic requirement :/
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
What server version
1.12.2
/papi ecloud download statistic 1.7.0
done thx
it seems my problem is about the vault hook
I mean, you're missing half of the trace there
Something did something dumb async, however
Basically, gameessentials is doing placeholder requests async, and the placeholder doesn't support being called async
oh thanks
ill do it sync then
im basically screwed xD
i need the thing to be async and sync without making the runnable stuff
do I submit a ticket for help here or.. ?
Just ask the question
?asktoask
So there’s an issue with AdvancedEnchantments where total exp isn’t updated when AE takes experience. I don’t know if it’s an issue with AE or PAPI
Depends what’s handling the placeholder and if it’s being updated instantly or on some interval etc
not being updated at all. even after restarting the server
The enchantment plugin will take exp, the placeholder won't update, but if I add exp with /xp give ... it will update immediately
%player_name% and install the player expansion
And papi reload, yea
@glad lion im trying setting the placeholders sync but this breaks everything and the placeholders doesnt set
What placeholders do Leaderheads have?
And how to use them with the new version of LeaderHeads?
The new version let's you use any placeholder from https://helpch.at/placeholders
https://panoply.tech/leaderheads Tells you how to set it up
Hi all,
I have an issue with the essentials kit placeholder (%essentials_kit_time_until_available_<kitname>%
If the cooldown is 1 month (30 days, 2592000 seconds), the value returns 0
I have a weekly kit which returns the correct value, I have also tried to claim the "monthly" kit and essentials message shows the correct time until available value (29d 23h etc.)
So I thought it might be an issue with PlaceholderAPI, is there something I'm missing?
Thanks
Extension LeaderHeads doesnt work https://i.imgur.com/Th6aU1q.png
download it manually
Not help
are you getting any console errors?
No
you downloaded it, put it inside the expansions folder and reloaded papi right?
Yes
and you aren't getting any errors on reload
There are no errors
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Do you know how I can solve this problem?
assume u dont have the plugin 😄
I have it. As I understand it, the extension does not work with the new version of LeaderHeads. When will the update be?
Hey. What would be an simple use case for papi? I'm new to spigot and don't understand what makes this plugin great.
@vocal folio well, the expansion author is Gian
maybe ask LH author to make his own, and possibly make it inside the plugin?
or just ask gian to update it ||i doubt he would||
@robust arch it provides more than 2.5k placeholders form various plugins.
these placeholders can be use in any plugin that supports PAPI.
in any plugin u want, just make sure that the plugin support PAPI
World Guard do support PAPI. I just can't imagine how an placeholder would look like.
Yea but im talking about the plugin that ull use the placeholder in
these are WG placeholders.
%worldguard_region_name%
An use case for this could be a sign that shows the region owner?
it will return the region name, and by default, signs doesn't support PAPI
unless ure using a sign plugin that supports PAPI
Yeah. Missclicked. So if I type this in Chat it will show the name of the region I standing on?
Ok. That's all I wanted to know. Thanks. (:
Just a simple example how I could use ist. ^^
👍
=spigot imageine#3527
Can't find a spigot account with that name?
Please check the spelling, if it's still not working try using =spigot <numeric id>
#bot-commands
=spigot teckseb@hotmail.com
Can't find a spigot account with that name?
Please check the spelling, if it's still not working try using =spigot <numeric id>
#bot-commands please! also it asks for ur ID or spigot name
?ecloudblock
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.
Is there a way to make placeholderapi work with bungeechat?
I want to make luckperms prefixes visible using bungeechat
[02:52:32 WARN]: [DeluxeMenus] Plugin DeluxeMenus v1.10.5 generated an exception while executing task 4419
java.lang.NullPointerException: Nodes must be provided.
at org.yaml.snakeyaml.nodes.NodeTuple.<init>(NodeTuple.java:28) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:163) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:314) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:64) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:306) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.yaml.snakeyaml.Yaml.dump(Yaml.java:245) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68) ~[spigot-1.12.2.jar:git-Spigot-2cf50f0-2b93d83]
at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.saveData(JavascriptPlaceholder.java:191) ~[?:?]
@final shadow
Looks like an issue with your config
Funnycube, what's the placeholder for deluxechat to get the server name?
I cannot find it anywhere
I want the placeholder that will return whatever is given in servername
@balmy marten it only happened when I updated PAPU, the menus were originally working, though the Papi timers were being reset once a counter was activated in another menu.
Why doesn't it work in deluxmenus ? head;%Level_bskyblock-island-level-top-name-1%
It returns a player name.
dm version and spigot version ?
Dm 1.12.0, Paper 1.13.2
iirc, that didnt work for v1.11.0 in 1.13.x, does something like %player_name% works?
When i was testing it ^
%player_name% works.
hmmm, well then, guess its an issue with the placeholder ?
iirc you aren't able to do that
I'm already doing that with another placeholder on 1.8.8 and it works well.
1.8.8 isnt 1.13.2
can u send the error pls?
