#placeholder-api
1 messages · Page 68 of 1
huh?
For me %statistic_mine_block% is completely broken.
A) Some users don't have it update whenever they break a block
B) Some users receive double the amount of blocks they've broken added to the statistic
Anyone else having a similar issue?
using latest papi and expansion?
Fairly sure
double check
and papi?
A) It doesn't update as soon as they break a block (it updates on an interval if I'm not mistaken)
B) Not sure how they would be getting double blocks counted
It's every single block = 2
No matter how long you leave between it
Restarted, still doing it
And some people still don't get anything counted that they break
It seems to have started after the new PAPI release
try downgrading and see if it still does that
Still happening
might be an issue with the statistics expansion
Anyone have a similar situation?
It’s most likely a bug with statistics because those values are directly from the Minecraft statistic system
I can’t control what the value is by returning it
Yo anyone know how to use js placeholders?
I have no idea how to enable them or use them or anything
@timid steppe Unknown expansion.
lol
@timid steppe Unknown expansion.
yo
can someone help me to create a javascript placeholder for a factionsuuid placeholder
var faction = "%factionsuuid_faction_name% ";
function getFaction() {
if (Faction !== "" || Faction !== " ") {
return "" + faction + "&r ";
}
return "";
}
getFaction();
idk what im doin wrong
He's making placeholders.
feelsBadMan
I already told you how in the other channel
Just warning you not to randomly PM us like that. It's quiet annoying.
Same goes for tagging. Thanks.
I cant even pm you?
I'm aware, I denied your FR because you were randomly PMing others
who snitched lmao
hey clip can I get the source code for the DeluxeTags expansion?
@flint pine It's on github
is it on the placeholder github? @brisk coral
Under expansions ye
@brisk coral Do you think you could link it I can't seem to find it
On phone rn
:/ Yeah I don't see it. I saw some of the other ones but not the tags one
I'll find it later or if someone else can link it ^
Does skript have a way to support ezrankpro api?
No..
Everytime I download the plotsquared for papi and I reload the plugin I get an error occurred while attempting to perform this task
Is there anything that can be done to use that expansion?
@narrow orchid
I'd like it baked and well seasoned
so its nothing I did
nope
alright thanks 😄
try using an older version of the expansion
Use the one on the plotsquared repo
https://github.com/IntellectualSites/PlotSquared-Expansion
@narrow orchid
you should update it clippo
Thank you very much 😄
What is the placeholder for the server name?
u set the name in papi config
And the bungeecord name?
%server_name%
I have a cloud
hmmm
isnt a thing any more, it has transferred to server expansion
use pinger motd Placrholder
I want to get the server name not the motd
I have LuckPerms in my server and have the expansion but when I try and use %luckperms_group_name% all it does it show that not the actual group. Have reloaded the plugin.
@foggy seal make sure that the plugin ure using the placeholder in, supports papi
if the Placeholder return wrong value, then u should contact the expansion author
I would definitely think it would work with PAPI when it's DeluxeMenus.
ah yea, then read the last message i sent
It's fine now anyway using vault.
ok great! 😁
I'll check the expansion later aBoo
is it os?
And what is with my problem? What can this plugin and how i can get the server name from the current server?
nah, if the placeholders aren't returning correct values I'll report it
check the plugin i sent
Expansions should be made os imo
if it is, I'll take a look
@foggy seal just want to let u know that the placeholder doesn't exist, its %luckperms_primary_group_name%
What is the new %player_server% placeholder?
how can i set that's the name for bungeecord?
set that in each server and then use the plugin i sent earlier
i can't do it on a cloud server
Wdym cloud server?
I use CloudNet
On this system the template will copy and paste it on each service
and the template is for all lobby servers the same
i need this placeholder
What can I use now?
?
What
The new %player_server% placeholder
What's it supposed to do?
Yeah ^ so you’d just our server name to each server
Eg in .prop for Survival you can be Survival
i sent u a plugin earlier
Hello! I am using DeluxeMenus and PlaceHolderAPI and I have the Essentials Expansion. All good. I made a system with cooldown at kits in a menu. That's working in real time. Now, it's not working anymore. It is showing me 23d cooldown and the cooldown it's going down like it's normal to be like that. This cooldown it's shown at all the kits.
In latest "Server" expansion variable %server_name% is showing me "A Minecraft server" but in server.properties server-name and motd are set to "Hub".
Can someone help me?
@trim mist
@lost token
Please be patient and don't ping helpful or staff members!
have you restarted the server when you made the change?
lemme test it
did you test it
Yea the placeholder is wrong
Known issue. Planning to look into it
I'm having an issue with player's name tagged animals disappearing. Coulld it be placeholder API?
nope
when @bronze bison
Do you think it could be an issue with React? I understand you're not react but, I got a message telling React to update their software for Placeholder API. I went ahead and told them.
"[PlaceholderAPI] React is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [cyberpwn, Puretie, PsychopathNextdoor] and urge them to update it ASAP." -- React has an option to cull entities.
That just means that React's PlaceholderAPI integration no longer works.
As to what that affects, I'm not sure. It could be many things depending on what all they used it for.
Thank you
I'm just trying to figure out why name tagged animals are disappearing randomly
What placeholder should i use for server name then if that don't work?
Are you trying to display the name of the server a player is on via the scoreboard or something?
Just do it manually, scoreboards are per server meaning you should be fine if you're trying to display what server they're on
Wasn't there a fix for DeluxeChat and FactionsUUID placeholders? The placeholders aren't working for me..
What plugin is this expansion for? https://api.extendedclip.com/expansions/statistic/
There is currently at least 50 plugins named statistics
It’s for the vanilla statistics
> [19:44:54 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
> [19:44:54 ERROR]: [PlaceholderAPI] org.bukkit.Material.isItem()Z```
getting this error when trying to get the placeholder for it, assumed it was because I didn't have a plugin for it.
any idea what's wrong?
@bronze bison Really sorry for pinging you but thanks for that response will say I got the placeholder from the Wiki and it still there.
@foggy seal
Please be patient and don't ping helpful or staff members!
How would I go about creating my own PAPI implementation to put on the ecloud?
👍
Then to upload just create an account and upload it to https://api.extendedclip.com/home/
👌
have you got the playtime plugin installed
He doesn't.
@trim mist & @balmy marten I do...
Ill try again
thats my life in a bomb shell
Does skript have a way to support ezrankpro api?
Also, it was adressed not so long, it does not
i use %ezrankspro_rank% But it will go wrong
wut?
[18:14:19 ERROR]: Can't understand this expression: ezrankspro_rank (cord.sk, line 4: set action bar of player to "&6RANKS:&F%ezrankspro_rank%MONEY:&f&l%player's balance%"')
%player's balance% isn't a placeholder tho
But my problem is out Can't understand this expression: ezrankspro_rank
does it parse the placeholder correctly?
I think it should be, it is what I am looking for from the Internet.
It works, but what if I want to show my class?
class ?
Can you show me what you're trying to display
Cause I don't quite understand what you mean by class
@foggy seal Oh, sorry about that
Ill remove it from the wiki asap
thanks for telling me
hi, when I set featherboard and when I try to put a placeholder of ezrankspro, it puts it but it doesn't
Use {} instead of %%
you got the plugin right?
I suggest using %statistic_time_played% placeholder
Can't install Statistic expansion for some reason, that's why I have to use Playtime
Keep getting this error
> [19:44:54 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
> [19:44:54 ERROR]: [PlaceholderAPI] org.bukkit.Material.isItem()Z```
try removing it from the expansions folder and redownloading it
Alright
nah I'm on 2.10.2 and it works perfectly
No, you should update to .3
should u tho
Got the same error, I guess I'll update to .3
Yeah cause we did bug fixes
@trim mist, didn't fix the issue, same error.
> [13:52:53 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
> [13:52:53 ERROR]: [PlaceholderAPI] org.bukkit.Material.isItem()Z```
My apologies, thought you were helping me solving my problem.
Ahh, no, I said that it had some bug fixes in general. Wasn't sure what your issue was. Sorry for the confusion. What MC version are you on?
1.8.8
You need 1.7.0 of the statstics expansion
/papi ecloud download statistic 1.7.0
Thanks, that fixed it!
@west socket Just updated Essentials expansion, %essentials_kit_time_until_available_KIT% should work fine now 😃
%voteparty_votes%
%voteparty_total_votes_needed%
%voteparty_is_ignoring%``` wich of these will show the amount of times a player has voted?
which is sad
Maybe if there is a plugin that tracks votes
my voting plugin has it's own placeholders which track per player, daily, weekly and month votes
@bronze bison I didn't report essentials kit, I reported that %server_name% isn't working like it should, it says "A Minecraft Server"
Oh sorry its Catalinertt, for this placeholder, u set the value of it in papi config
yes @coarse wedge
Hey guys
I know there is a placeholder for %askyblock_owner%
is there one for members?
Only two placeholders for member %askyblock_members_online% %askyblock_members_max%
try this if you're using Featherboard or any prenium plugins using Mvdwplaceholder
%mvdw_askyblock_team_members#*%
ASkyblock team members (example: %mvdw_askyblock_team_members#1% )
ty guys
👍
I don't know why ASkyBlock placeholders won't be registered on my server.
I already downloaded and reloaded it.
u have ASkyblock plugin right ?
:p
damn how
xD
alright thank you guys xd
np, gl 😃
Could someone make a kit cooldown placeholder (shows the cooldown of a kit)
like the cooldown set in config?
ye
interesting
@brisk coral ess has that built in
trynna display it in dm
%essentials_kit_time_until_available_tools% will have a count down if you update the menu
He want to display the cooldown not when it's available @limber ice
delay *
it displays how much time left, just not the total
@limber ice Unknown expansion.
it doesnt exist ironic
just had to make sure
@brisk coral would be good if u suggested that in ess's repo
they might have that placeholder it's just not in expansion
Effort tho
in essentials expansion repo *
I mean it makes my life like 5sec faster
I know in game you can get the delay info
can't someone here just quickly make it
@bronze bison when will %server_name% be fixed?
@lost token
Please be patient and don't ping helpful or staff members!
So I need to add server name on every server?
How many do you have? 100?
this is how it was ?
Why it can’t be used from bungeecord config or server.properties
Frosty I have 9 servers
the old placeholder just take the value from server.properties
that's like 3min of effort
now u set that in papi config instead
Yes I have old placeholder
That happened cuz old placeholder %player_server% isnt a thing in 1.14
so it got transferred to server expansion with new way to set it's value
Frosty it’s easier for me when I need to change something in config for one server I need to change it the for every server and I can’t just transfer one file to every server
Sorry about that, but this is how it works now
ye but it isn't taking that value now is it
it takes the value u set in papi config
np 😄
nvm
Bo
Progress expansion doesn’t work?
It says the progress one time then empty messages
fixed in latest version
/papi ecloud download progress
/papi reload

Wow scam u got perms and I don't
Great! 😁
aBooDyy please go to #general-plugins
log error https://pastebin.com/L0BEWGiJ
java.lang.NoClassDefFoundError: com/intellectualcrafters/plot/PS In simple terms, PlaceholderAPI can't find this class so probably an unsupported version of PlotSquared.
Use the official plotsquared expansion
@final shadow what is official?
Delete the current one from your expansions folder
You should update it clip
They maintain it now but won’t upload to the ecloud
Why don't you add it to the cloud
Because they won’t
Clip, want me to disable it from the cloud then so people don't get confused?
It's currently in there.
Done.
U didn’t delete the old one
Again... delete the old expansion for plotsquared from the expansions folder
@final shadow ok done
Is the new one in there
I know PS just released an update. If their expansion doesn't work, you'll have to contact them to have them update it.
UltraPermission
other question [19:54:14 ERROR]: [PlaceholderAPI] BattleLevels is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [RobiRami] and urge them to update it ASAP.
plugin battlelevels
problem by battlelevels plugin?
yes
:/
I have an error when I add placeholderapi on maven dependencies.
The version isn't found.
"me.clip:placeholderapi:2.10.3 isn't found"
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.3</version>
<scope>provided</scope>
</dependency>```
@final shadow I had that too, I honestly think you messed up on something.
Hmm
Because I had to manually upload the jar.
Gimme a sec
np ty 
Really idk but I have this: http://prntscr.com/o6l651
Intellij can't access the file.
Strange x)
Error here is solved: http://prntscr.com/o6l70y
But I don't have the source file in my maven config
Will do some searchs and tell u ^^
did u update your maven dependencies
try running that
right click the pom
I always auto import but idk if u have that set to do so
Okay will try
The error is gone
Will see if it works ^^
Seems solved ty for taking some time for me 😃
Oh and just, there is anyway to use setPlaceholders() without a bukkit player? (I want to use on discord placeholder that doesn't required player)
hi,all
i have this plugin: https://www.spigotmc.org/resources/clans-clan-system-1-7-1-14.22304/
this plugin is not work %clan_tag% & %colored_clan_tag%
any body explain this problem ?
The plugin has no expansion meaning the placeholders are built in, may I ask where you're trying to use them?
Not the right plugin expansion
this a expansion for clans plugin.
what is clans plugin ?
there is not here : http://prntscr.com/o6mhtr
how can explain this problem ? Frosty, i need fix.
i need to work %colored_clan_tag% placeholderapi.
I suggest contacting the author and asking him to make an expansion if the placeholders aren't built in
In Player placeholder "%player_colored_ping%" below 50 is green, above and same as 50 is yellow, but when is red? More than 100ms ?
100 or 150 or 200 I'm not sure
How can I see that? haha
ping > 100 returns red (low value)
ping >= 50 returns yellow (medium value)
ping < 50 returns green (high value) @lost token
u can change the colors in papi config
nope
So I just imported luckperms into our server's MySQL and now I'm getting this for names? I'm thinking PAPI isn't working? https://imgur.com/a/UDWiOUF
Did you type command /papi ecloud download Vault and /papi reload yet @I_Dont_need_help#6033?
He left..
Cause he doesn't need help (Ha. Classic Username Joke)
Lol
Hello ! I just bought DeluxeMenus, and when i open the example menu the %playername% placeholder seems to dont work
/papi ecloud download player
i tried to list the loaded hooks, but there's no Placeholder hooks registered
Thanks !!!
/papi reload
i knew it was simple
lmao
another question, how can i test if a placeholder (like %mmoitems_durability%) is working and properly loaded ?
Load up the expansion if it requires one , (https://helpch.at/placeholders will tell you) then you can test drive a placeholder with /papi parse me %placeholder here%
thanks 😃
My question is "bought DeluxeMenus nani
I wondered that
i was talking about this plugin
their "discord" link bringed me here
oh i understand, i didn't bought it lmao
it was another pluginj
my bad
Hello! Can someone help me with deluxe menus?
#general-plugins and ask your question
Okay sorry
https://gyazo.com/576ef10869b38d065c2b8d7e481256a7 I have Statistics installed but it
is not wokring
If you're on an older mc version I think you need statistic v1.7.0
/papi ecloud download statistic 1.7.0
ahh thank you very much @mint fable
👍
Hi ! Is there a way to list all the placeholders loaded ?
[PlaceholderAPI] 148 placeholder expansions are available on the cloud.
You can use /papi ecloud placeholders (expansion)
thanks clip !
There is not a command to list for all installed but it’s a good idea
How should I update the placeholderAPI plugin ? deleting the jar, uploading the new one, done ?
@jaunty laurel Delete the old one and put in the new one
Thanks Frosty 👌
Is there a placeholder for items dropped?
Statistics @turbid garnet
@limber ice Unknown expansion.
%statistic_drop%
did you run
/papi ecloud download statistic
/papi reload
was not implying that, just things get over looked
All other stats work
let me check to see if that placeholder is working on my server
it returns invalid stat
Yep
what version of MC are you on?
1.13.2
looks like a bug that clip needs to fix
might work on 1.12 but I know it is broke for 1.14.3 and 1.13.2, broke on 1.12.2 also
Aight
%player_item_in_offhand_level_<enchantment>% i have replace by %player_item_in_offhand_level_unbreaking% and i received error
/papi ecloud download player
'/papi bcparse me %player_item_in_offhand_level_unbreaking%'
/papi reload
yes
it's /papi parse me %player_item_in_offhand_level_unbreaking%
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
put the error you get in that
it's done
save it and copy the link and paste it here
What version is your server?
offhand is secondary hand ?
ye, it's for 1.9+
Doesn't seem like it
np
my papi (2.10.3) will not update an extension (NetworkManager)
is network manager blocking papi?
any console errors
27.06 18:24:51 [Server] INFO [ACT Chat] [Owner] %networkmanager_nickname% %networkmanager_tag% : f```
Sometimes when I reload PAPI it unloads all expansions. It says "0 expansions loaded successfully" or something, and then all placeholders will suddenly break. No console logs.
Placeholders would work great until I reload PAPI
I am confused a little cause cause it's saying it updated the extension in console but it's not actually updating it @austere hawk
@thin knot do /papi reload true
to stay persistant
@shut sundial try shut down your server, ensure PAPI is updated to its newest version and so is networkmanager
the start your server again
I think it's PAPI breaking going to try 2.10.2
the odd thing is it's the only server of my 4 having the issues
oh odd
same plugin vers?
it says it need updated but I just fresh installed it -_- (╯°□°)╯︵ ┻━┻
Oh, and its fixed now?
no
it says it need the same thing
I deleted the jar off the server restarted it.
then installed it again
but NOPE it hates me 😭
i'd turn off the server, copy NetworkManager.jar, PlaceholderAPI.jar and the jar inside of expansions
from the other server it worked on
to the one that doesn't
and that should fix
I did that but still no
then if its still happening, a conflict on your plugins
if it works on one but not the other
Quick question actually, is the %player_time% measured in minutes?
Really?
hmm
eh I don't know
It says 1000 for my thing but it comes out to be 16mins lol
I know I played more than 16mins
xD
merh lol
I even asked over at ItemJoin but they didn't know either
lmfao
nah minutes seems right
Came out to be 16 hours
Just wish I could show hours instead
I wonder if there is a placeholder that you could put a dif placeholder inside it for example I could make it like %other_play_time% into like deluxemenus and I can make a simple arg to make it work with /stats <Name>
maybe
@scenic sand its in milliseconds
idk
merh
is there a way to work on placeholder that holds formated number (some dont have unformated placeholder)
my deluxemenus wasnt able to detect formated number like 1,000,000 so ">=", etc not work
is it possible to create placeholders in a bungeecord plugin?
As long as if it supports PlaceholderAPI, you can create them, i think
You'd need to use a javascript placeholder to parse the int Matthew
eg, replace , with '' then return parseInt(string);
most likely don't even need to parse it to an int
@austere hawk I’m trying to create placeholders for my own bungee cord plugin but ‘onPlaceholderRequest’ only takes a player object so I’ve resorted to using the bungee message channel and handling placeholders on a plugin that runs on each server
Not totally sure if you'll be able to hook to papi from bungee, proper bungee support is coming for PAPI3
Yeah that’s what i figured
If someone knows of a way please @ me, I’ve googled but couldn’t find anything
Thanks funnycube
Anyone having issues with luckperms? doesnt seem to work with 1.14.3 at all
Hey, I'm trying to use the /papi parse command to debug a placeholder I made but when i Type /papi parse Mezy %placeholder% I get the message "Failed to find player: Mezy" But I'm online?....
rejoin
np 😄
Does it not store your player data until you leave or something?
i have no idea, it rarely happens
oh stange
some reason %luckperms_prefix% isnt working 😛
/papi ecloud download luckperms
/papi reload
(I suggest using %vault_prefix% instead)
Do you have the expansion?
try restarting
just restarted running into same issue
/papi parse me %luckperms_prefix%
nope want to join server and check it out
run that in-game and tell me what it returns
was a blank space text
im wondering if its just the version on luckperms causing this issue
ok the placeholder is working, u don't have a prefix
default rank has prefix.100.&7[&8Guest&7] for node
do you have that rank tho?
yes that is my only rank in the server
"Prefix: None"
fixed it, hate being dumb some reason the node itself wasnt working
thanks for your help
np 😁
haha looking at my web editor my issue was the server setting was set true not global
Hello is this where I can get help with the deluxe menu
Ok
Is there a way to debug PAPI?
https://cdn.discordapp.com/attachments/471121467795308544/594194903815290918/unknown.png @final shadow can I get some help this is driving me nuts
manually installed it and it still says it needs updated (╯°□°)╯︵ ┻━┻
no need to ping clip, parse the placeholder with the parse command /papi parse me %placeholder%
If ur a bot I’ll have to ban you
lol
clip I'm human...
Confused as to why it's spitting out a null 
Tell network manager author to pay attention and make sure the version uploaded to ecloud matched the version he specified in his expansion
Also tell him to fix his shit
Best help we can give here
it's the only server having the bug of the 4 though 🤔
It’s network manager dev who is causing issues so plz bug him
Not saying don’t bug us
But he needs to fix
Thanks
It's natural.
No
1.14 works perfectly
Go fix yourself
Let them find out themselves
surprise feature
.-.
/papi reload
We need to add /papi helpme
Worldguard-Expansion won't work.
We're aware.
I have latest version of PlaceholderAPI and WorldGuard 6.1
What you need is autocompletion for placeholders
That will be in v3
@final shadow I have a simple solution for now.
ah, I see
how do i close the players current open inventory through code?
Just merge it
Would the region specific placeholders for worldguard be possible?
Sooner or later
Hey. Can anyone find a placeholder for top 10 player kills?
leaderheads
Not working for 1.13.2.....
I will create a top 10 deluxemenu with most kills
And is it possible to show amount of 1 like this:
hmm not working with dynamic_amount: 1
Hmm. So it is NOT possibly to do with 1? 😦
that's how minecraft works
why is it still creating the space when im not in a faction
var faction = "%rel_factionsuuid_relation_color%%factionsuuid_faction_name%";
var ezranks = "%ezrankspro_rankprefix%";
var vault = "%vault_prefix%";
function chatFormat() {
if (faction !== " ") {
return faction + " " + ezranks + " " + vault;
}
return ezranks + " " + vault;
}
chatFormat();
You don't need the color.
I'm aware, but that's going to give you that extra space if you are in a faction.
I created some placeholders for PlaceholdersAPI but I noticed some plugins parse placeholders in the main bukkit thread.... Is that how the API is intended to be used?
the extra space is only when im not in a faction
Yes Pieter, they typically do that as the normal. I think you can do your own Async checks if you wish.
how can I make it show color and relation
without having the space glare?
But how would i make a placeholder that has to look something up in a SQL database?
could you send me a example
I didnt write it frost and terfs did and they are offline
Hmmm I guess.... But cashing all the data and than frequently checking if the data changed :/
What kind of data are you calling from the SQL?
var faction = "%factionsuuid_faction_name%";
var color = "%rel_factionsuuid_relation_color%";
var ezranks = "%ezrankspro_rankprefix%";
var vault = "%vault_prefix%";
function chatFormat() {
if (faction !== "") {
return color + faction + " " + ezranks + " " + vault;
}
return ezranks + " " + vault;
}
chatFormat();
like this glare?
Player stats
Looks better GDS.
testing it now
Yeah Pieter still, the best bet is grabbing it, caching for something like 60 seconds and then grab again
Or else it'll be grabbing every few ticks, which will kill a server.
glare do you see anything wrong with it?
Yee alright will do, thanks!
I don't do JS, so, idk.
Nice.
ty for the idea
https://hasteb.in/yicemiju.apache
The ecloud expansion for worldguard is not compatible with WG v6.2.2. not sure if my WG version is too new or too old for the expansion
i think it's too new, cause the wg expansion last update was 245d ago
We're aware of the issues with the WorldGuard expansion. When we get time, we are working on fixing it.
kk
I have a new one working but all it shows is the region the player is currently in.
If you want to use that single palceholder, I can give you a copy.
would it be possible to put a lil readme somewhere for that for other server owners?
i deleted all my expansions 1 by 1 until i got to WG
and it was at the bottom of the list lmao
I suppose. The error typically would be a NoDefClassFound
yea
29.06 01:41:53 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.WorldGuard
Should be more there that talks about the expansion
yee, all in the paste i sent above
29.06 01:41:53 [Server] INFO at com.extendedclip.papi.expansion.worldguard.WorldGuardExpansion.canRegister(WorldGuardExpansion.java:47) ~[?:?]
2nd line
This is all I have so far in the new one.
It's cause I'm writing a single expansion to work for all MC versions.
I can give you a copy of it if you want.
@trim mist keep thinks clean
@austere hawk
Please be patient and don't ping helpful or staff members!
@sacred bronze Test this for me. Should have most the placeholders in it
Hi, In my config.yml i am trying to use %player_name% but it doesnt work how to i make placeholders to work in my config.yml?
@trim mist Unknown expansion.
Run those commands ^
yes i did it but it doesnt work in my config.yml
Not sure then, it's about 3 simple steps and it should work.
it doesnt work in my config.yml
when create message without a adding it to config.yml i works
but in config.yml doesnt
help plz
@sacred bronze
Please be patient and don't ping helpful or staff members!
it does not grab the region_owner and region_members reliably.
i am standing in multiple regions, with the region in the screenshot having the highest priority
Nice
Here i just spammed the comamnd below multiple times without moving or anything.
command:
/papi parse me wg_region_owner: &a%worldguard_region_owner%
Result: http://prntscr.com/o85efw
I love programming
lol
I'll try again another time
The same behaviour goes for region_members btw
and changing priority doesnt seem to have any effect
hope this helps lol
Gives me more reasons to find other things to do
Can u send ue plugin code @wispy dew
When I ran /papi ecloud placeholders Player
this happens any ideas?
https://paste.helpch.at/lefuzedosa.bash
Papi version: 2.10.2
MC version: 1.12.2
A resource that allows information from your favorite plugins be shown practically anywhere!
• Spigot
• Wiki
• Placeholder-List
• GitHub
• eCloud
You can get the placeholders from there
super duper quick question: Using the coordinate placeholders return me with like "400.4999999999999999 64 400.4999999999999" Is it possible to get coordinates displayed with only 1 decimal, or even none? ( eg, 400.5 64.0 400.5) or (400 64 400) ? 😮
hmm, you can try javascript or the math ezpansion
ill give it a try, but im out of my zone on that, so i might return with even more questions :S 😃 Thanks so far
%math_{player_x}+0[precision:0]%
thanks! thats gonna prove helpful
worked perfect. 11/10
and the "precision:0" is what controls the amount of decimals?
Yes
If u didn't set it in the placeholder, it will use the default value in papi config
okay, its very useful but im not super used to working with papi.. Normally its just find the ones i need, download what i need, and use the placeholders x'D this math one add so many new possibilities! 😄
11/10 😛
Would someone help me with a javascript error?
?asktoask
use imgur
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
I am using the phone...
upload that to the site, then send the link form ur phone
u forgot the ; for all the variables and ur return needed some things
but why ure making a js placeholder for such a thing ?
semi colons aren't a necessity in javascript
^
well guess thats for new js, dont think that will work in js expansion
They haven't been required for the 3+ years I've been using the language, but they may be required in the nashorn engine that placeholderapi uses, although I doubt it.
it told him script error and i dont see any syntax error in the scrip other than the semi colon
and iirc it sends an error for than.. from my experience with it
¯_(ツ)_/¯
anyways :p
did u use what i sent ?
Yes
And it doesn’t say Javascript error now
But placeholders doesn’t work
With {progress}
U got the expansions right?
And more
Yes
Should I write the placeholders in the return message instead of {progress} and more?
I didn’t write $
write it
Why
ure just seding {progress} text and not using the progress variable
use what i sent
Just copy what he sent above
Now it says script error
can u send the error u get in console ?
Can someone help?
oh sorry @median kindle if forgot u 😅
just tested it and js expasnion (nashorn engine) doesnt support the `` thingo
use this https://paste.helpch.at/zilufubexu.js
That's why I kept getting errors -.-
No, you have to enable "placeholderapi" at the "hooks" section
Says by a clans plugin developer.
I'm trying to load the placeholder in deluxechat.
Which placeholder you trying?
Clan
%placeholderapi_clans_clan_tag%
%clan_tag% %placeholderapi_clans_clan_tag% %clan%
Tried all of the ones I could find
none works
it is listed in /papi list
but just doesn't load up
try parsing it
he says
you need the placeholders for @clip 's PlaceholderAPI, the correct Placeholder is: %clan_tag% or %colored_clan_tag%
{clan_tag} and {colored_clan_tag} is for @Maximvdw 's PlaceholderAPI.
sorry what?
So where are you trying to put these placeholders
DeluxeChat
Then use %% without the placeholderapi bot
%clan_tag% try parsing it
^
default:
priority: 2147483647
channel: ''
prefix: '&7%vault_prefix%'
name_color: '&7'
name: '%clan_tag% %placeholderapi_clans_clan_tag% %clan% %player_displayname% %deluxetags_tag%'
suffix: ' &8» '
chat_color: '&f'
channel_tooltip:
shows %clan_tag% in chat
white colour.
This one %clan_tag% is correct, /papi parse me %clan_tag%
name: '%clan_tag% %clans_clan_tag% %clan% %player_displayname% %deluxetags_tag%'```
/papi parse SamGamerYT %placeholderapi_clans_clan_tag%
no
u dont need the papi bit
/papi parse SamGamerYT %clans_clan_tag%
-- got beaten to it --
oke
Hey so I'm getting an error when trying to use placeholderapi placeholders with deluxechat
Please head to #bot-commands and run =spigot to get access to #deluxechat
Thank you
im receiving an error on papi
I couldn't find anything for: pastebin
=pastebin
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
@upper violet
@upper violet send ur FULLL console log
ok i fixed the error but my placeholders on featherboard dont work
nevermind the placeholderapi issue came back @austere hawk
https://paste.helpch.at/uyetikudis.cs how do I fix this? I don't think papi is able to get the placeholder or smth
ok now its fine i have no idea
Guys, I got a question. If I register placeholders using an internal class in my plugin, will PlaceholderAPI#setPlaceholders work with those placeholders as well, or will I have to handle them myself?
PlaceholderAPI#setPlaceholders will work for ur placeholders.
Alright thanks a lot 😃
😄
for?
It was an example
whats the error
Yo, my plugin's built-in expansion doesn't seem to be reloading with /papi reload
known issue, they will fix it in v3.0 afaik
I might've found my solution
oh good, idk much about it thats all i know ^^
oh
well i'm testing it
fixed it
it's not an issue
* you must override this method to let PlaceholderAPI know to not unregister your expansion class when
* PlaceholderAPI is reloaded```
True that
oolol
@vivid sparrow I purchased the resource.
@radiant jewel
Please be patient and don't ping helpful or staff members!
??
its not showing download for me
what plugin dude
AutoSell
Can I PM you the sale thing