#placeholder-api
1 messages ยท Page 70 of 1
Hm.. i really need help on this
I wanna call EntityShootBowEvent to get the getForce() method, but how do i return that value to placeholder?
Why are you using such outdated versions of plugins lol
Update all your plugins
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
and use this, (dark theme, makes it easier to read :p)
Doesn't help me, I need his full startup log
Ik ik
Oh wait I can just extends PlaceholderExpansion class ._. Sorry for my question lol
All good i wouldn't of had a clue ๐
@austere hawk Update all your plugins, most should work on latest version since you're using 1.12
can i change how the placeholder look like if i have %something% output = something but can i change it to [something]
but if do like this when placeholder have no value it still visble like this
[]
it does work but when placeholder does not have any value it just []
so i would like to put that in the placeholder
if i have [%something%] it works great but when does %something% output nothing its like this [] so all i want to put [] in the same placeholder
You'd have to use javascript
to change the [] to "" if the value of the placeholder is 0
^
var placeholder = '%placeholder%';
function javascript() {
if ('%placeholder%' !== "") {
return "[" + placeholder + "]";
}
return "";
}
javascript();
should be correct I think ๐คท
Frosty can u check dm's please โค
=== and !==
And use this "" or '' not '""'
And remove the curly braces for the last return
Should be right now :p
where i should put that code?
oh, u also need one equal for the variable var name = value and not 3
isnt there an alternative for %statistic_time_played%?
I thought you meant === insteaf of = :p
instead*
Gagel
Have you updated all your plugins?
yeah
this return '[ + placeholder + ]'; will return [ + placeholder + ]
it should be return "[ "+ placeholder + "]";
I didn't know which one :p
i did
k
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki check the wiki if u dont know how to setup a js placeholder @round dome
I made a dank js explanation in my menu :p
๐
thanks ๐
[13:59:53 INFO]: JanTheLama issued server command: /papi ecloud download statistic 1.7.0
[13:59:53 INFO]: [PlaceholderAPI] Attempting download of expansion: Statistic by user: JanTheLama from url: http://api.extendedclip.com/media/Expansion-Statistics_OG4l0EA_ZJZrUWL.jar
[13:59:53 INFO]: [PlaceholderAPI] Fetching available expansion information...
[13:59:53 INFO]: [PlaceholderAPI] Download of expansion: Statistic complete!
[13:59:54 INFO]: [PlaceholderAPI] 148 placeholder expansions are available on the cloud.
[13:59:54 INFO]: [PlaceholderAPI] 5 installed expansions have updates available.
[14:00:03 INFO]: JanTheLama issued server command: /papi reload
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: askyblock
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: deluxetags
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: essentials
[14:00:03 INFO]: [PlaceholderAPI] %javascript_cooldown% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] %javascript_ores% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] %javascript_homes-upgrade% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] %javascript_team-upgrade% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] %javascript_generators-upgrade% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] %javascript_size-upgrade% has been loaded!
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: javascript
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: lemonmobcoins
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: otherplayer
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: voteroulette
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
[14:00:03 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
0s
thats the problem
it keeps saying 0s
placeholder api statistic expansion only showing 0s
new question
how do i fix that
Can i make it so when i reach 100% rankup percentage theres a view requirement to rankup?
use string equals https://github.com/help-chat/DeluxeMenus/wiki/Requirements#string-equals
Online Maker - https://placeholderapi.github.io/DeluxeMenuMaker/ - help-chat/DeluxeMenus
is there a placeholder to get the date of today
There is, but I can't remember which expansion it is
the regular one
https://helpch.at/placeholders#server @austere hawk
Ull find an example there
Well
i know how it works
but
it looks like the expansion is broken
i have server installed.
@mental night just set update interval for the menu options, and update true for the item u want to update
ok ty
time * @austere hawk
np ๐
Still doesn't live update
okay i have something else...
When i do ecloud download <expansion> restart the server
the expansions are gone
they just disapear after restart
What papi version?
Hey guys, can you add to PAPI leaderboards? Mean that possible to show top 5 player e.g diamonds mined
^ doubtful
๐ซ
Okey, there are a few lines from which you can make some statistics e.g Vault PAPI you cant do it with %vault_eco_top_player_#% you change this # to number than you cant do leaderboard
deluxemenus + placeholderapi dont work
warps minec %player_name%
warps minec %player%
both dont work
@dim flume you install the expansion?
Nope, I didn't. I fixed.
@compact canopy vault has a method to get players balances (offline and online players) so thats why its possible for it
Hey with the expansion checkitem how do we make it so it doesnt matter the dura on the armor?
Terfs, does it even check for that rn?
DeluxeMenus not opening because of whatever this is, not sure if I should be posting it there or here
@brisk coral its not detecting it so ya it is
What placeholder u using?
@brisk coral CheckItem
ye I know the expansion, what placeholder to be exact
remove the data 0
thanks fixed
np ๐
I think there is something weird going on with player-exp and exp-to-level placeholders
using %player_exp% and %player_exp_to_level%
using essentials /xp command i get the 2nd line you see in the picture
and using %player_total_exp% i get 219
i have 0 idea wtf is happening
help me with my server please? i cant pvp even if multiverse and worldguard is on pvp 'allow'. we cant still pvp please help
server properties is on true either
For some reason my Voteparty placeholder is no working. Im currently using version 1.13.0
I have also tried downloading the expansion for it
Im using TitleManager for scoreboards also
My other placeholders work but not the Voteparty
Nvm
@austere hawk That's because you don't have the expansions installed
/papi ecloud download player
/papi ecloud download vault
/papi reload
run thos 3 commands
also I suggest using %vault_rank_capital%
will make the first letter of the group capital
which looks nicer
um
I have a new problem
@brisk coral when I add %deluxetags_tag% as a placeholder it actually shows the placeholder not the tag
and I have done /papi ecloud install deluxetags
it just broke when I tried to edit a tag
have you reloaded papi?
restart the server, and run the commands again
so the placeholders work, but tags don't show
now
so idk
like they were working a bit ago
now working
thanks
hi what placeholders i have to put in dchat to show essentials nick?
i forgot it xD
Hello, someone would tell me where I can get expansions for placeholderpai?
I need: "Expansion-Bungeecord.jar", "Expansion-Essentials.jar", "Expansion-Player.jar", "Expansion-Server.jar" and "Expansion-Vault.jar"
/papi ecloud download bungee
/papi ecloud download essentials
/papi ecloud download player
/papi ecloud download server
/papi ecloud download vault
/papi reload
run those commands
Is there anyway i can use symbols in chat example for player level (โ %playerlevels_level%) <<
it just removes it in game when i type
@brisk coral Thank โค
it would just say ('space' 10)
is there a placeholder that shows how many players are on a server (other server on the network) without showing vanished players
I'm trying to display user's ranks on the scoreboard, though no vault placeholders are working. I'm using PermissionsEx and I have downloaded the vault expansion via ecloud
featherboard?
Hellothere, how to make one placeholder counting players on 2 servers?
In one of the auto messages I have put a link (for the server's website) and clicking on the chat does not work
On the other hand, a normal link in the bone chat without it being an advertisement if it works
help
@storm crown Use the math expansion %math_{bungee_<server>}+{bungee_<servername>}%
apologies if this question has already been answered. Couldn't find the answer myself.
But how do you use placeholders in a different persons pov? (eg - %money_<player>%)
%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
1 quick question, what are you planning with it?
where are you trying to use it
Well I wasn't exactly looking to make a store. That command was just an example. - But My idea is a /punish gui that lets the mods see the other users Rank, play time on server, pervious Usernames.
Check out #showcase I've got a punishment menu on there, just tell me if that's what you want
Thanks. I'll check it out but I'm trying to make a very detailed menu. Only thing is I just can't figure out how to show other players information. I can pass in their usernames using args in deluxemenu but I get stuck at placeholders such as " %luckperms_primary_group_name%", "Balance: &a$%vault_eco_balance%", "%statistic_time_played%". As I can't figure out how to pass that username from my args to the placeholder so that I willl show the other users information instead of mine
Let me send you my menu to show you how I use them
OK, cheers Frosty
07
Ah okay thank you.
I want a countdown for July 14th, 2019 12 AM
%servercountdown<14d07M2019y>_<0H0m0s>% is not working
<> :whatthe:
lolol
%server_countdown_FORMAT_14d07M2019y%
And that above is not the format
you need the yy:MMM or whatever it is
@brisk coral so like this? %server_countdown_d:M:y_14d07M2019y%
@narrow estuary
Please be patient and don't ping helpful or staff members!
@brisk coral worked thank you, is there any way to make it update real-time on the GUI?
@narrow estuary
Please be patient and don't ping helpful or staff members!
Whats the placeholder for how many it is inside your island? Plugin: aSkyblock
@brisk coral Not working?
@narrow estuary
Please be patient and don't ping helpful or staff members!
yes
lemme know if it works
Not working
might need refresh then
Wdym
it might only refresh if you click the item and it has ```yaml
- '[refresh]'
Gaby might know
Is blockchallenge a public plugin?
no custom
Oh nice
Gaby gon be sad now
for ping placeholder I know it refreshes perfectly
One would think count down would too x)
Probably does I'm just not setting it up right
One would think :p
Try a normal inventory type
Same thing
Odd
Hmmm
Plugin: aSkyblock
I told you above, but you weren't watching chat
Ye it removed, so better hurry now
Yes after 5m or so
ok ty
Yeah so it seems to be updating but every 15-30 seconds.
No way to make it faster I guess....lol
ok ty anyway
It should update on each second (or tick?) but idk why it doesnt
Lizards, perhaps check papi config, there might be an update interval for the placeholders
Do you guys know which placeholder is to see: how many members it is inside your island?
becuase idk which is
There's like 10 placeholders and 3 contain the word "team" ;)
ok
%askyblock_team_size%
We have a winner!
huh
Only works with an actual team btw
but %askyblock_team_size% shows how many you can have in you island
Ye that's what you were asking lmao
how many that is online
%askyblock_members_online%
ty ty ty:D
How can I have this placeholder {GROUP} show the group the player is in in caps
currently it is in lowercase
Where you trying to use that? and from what plugin
uhh personally I have no clue, might be from vault would like to grab it from luckperms
just use the vault group placeholder?
what is it for vault?
what if you are apart of multiple groups?
I believe it shows the one with highest priority
I think so, if that doesn't work, add placeholderapi_placeholder
(placeholder being the actual placeholder ofc)
tried using luckperms and vault but it still dosent show the group name in uppercase
still only lowercase
ill see if I can find a anwser in luckperms discord
ahh thanks
ow i cna have playercount of a world
like skyblock: players
creative : players
%bungee_<servername>%
%server_online_(world)% Shows the player count of the world.
Thanks
ty
Wait are you using multiple worlds for multiple gamemodes? cuz if you are, I strongly advise against that
Start with 1 gamemode if you can't afford multiple servers
it works fine here
ive set everything up
for per world
is there a votingplugin placeholder for dm that displays the amount of votes that the number 1 voter has?
%VotingPlugin_topmonth#_votes% thought this was it
but it also displays the players name
Don't ask in 2 channels
yea I'm sorry, I saw that there was a placeholder channel after I posted it
@bronze bison I havent really tried, but is it possible to make progress work with countdown based pholders?
@sacred bronze
Please be patient and don't ping helpful or staff members!
progress expansion*
hmm?
Just asking for count-down based pholder. We have a gamemode pholder that returns time remaining in seconds
ahhhhhhhhhhh
but the pholder goes from 100 -> 0
hmmm
u can probably made it with progress expansion ...
yea.. u can make it with progress expansion
whats the problem ?
i havent tried. Just a thought i had at work lol
ill give it a shot and let u know
ok ๐
first thing that comes to mind is since the pholder will keep getting smaller, the progress bar will go in reverse
i dont think we can set l: or m: to 1 or 0 and have it turn out properly
maybe the thing i want is too specific case :p
u want the progress to go backward or forward ?
forward ๐
yap
Do you know why i cant register an expansion?
Euhh
I /papi ecloud download OnTime and when i /papi list is not on the list,
/papi reload
same
What papi u using? (version)
PlaceholderAPI-2.10.3.jar
do u have the plugin ?
Yes
whoooo
I have restart the server
and it is show now
You know if an API existe for Real Hours on minecraft? for TAB button
as in time played?
%statistic_time_played%
that will display the exact time played
you can use %statistic_hours_played% to display the hours
=imgur
Please use imgur to share screenshots and other images.
โข Imgur
oh server time you mean
noo ๐
At left its server: survival1 and in the middle its Hours: Hours in the Real world
like 8pm at paris
/papi ecloud download server
/papi reload
the first word is usually the expansion name
Not work :/
does it register the expansion?
Yes it is
What tab plugin are you using?
and does it support placeholderapi?
Yes it support
%server_time% on white on the chat
use %player_time%
Not work ๐
its %server_time_<simpleDateFormat>%
why it not in -papi server :sad:
https://helpch.at/placeholders#server for more info
ok ill add it
the whole placeholder isnt in -papi server :p
I have put the %server_time_<simpleDateFormat>% but ๐
Why does this %player_first_played% return 31/12/2069 if the player hasn't joined before
this is what getFirstPlayed() method return..
:WhatThe:
bukkit's method ^
to be exact this is what it returns 12/31/69 19:00:00
if (placeholder === "12/31/69 19:00:00") return "Null";
return placeholder;
69 its i guess 1969
@covert socket u can change that, check the link i sent for more INFO!!!!
i dont find how to put connection time of the player on TAB
ping?
not ping exemple you are connected since 10min i want to say it on TAB
Oh
I have try %ontime_time_played_today%
but when i deco and i reco time not at 00:00
the placeholders says it..
you want last_login right?
Yes for last_login
you want the session
I think he want's time played in that session
I read last_login as something different at first
yes
Bc when i put %ontime_last_login% its the date of login
ya that was my bad for suggesting it
If another plugin do this i take it
statistic doesn't have a current session does it
I know its possible to put play time by session
prob won't be able to do it unless you get somebody to make it
I want to find something to made it ๐
it happens
Does anyone know how can I display the name of the server the players playing on ?
@swift bobcat ^
Then change the name
Where?
prob the motd
it's the value in the papi config
Magic ^
Uhh?
Frosty just said it's the value in the papi config
Okay what does that mean xD
server_name: A Minecraft Server
Ohh I see
How do I change it so it display the server name from bungee?
no idea
Just set the name as the same thing?
link your spigot account in #bot-commands and then use #deluxechat to get support for that plugin
=spigot
@mint fable
To link your Spigot profile please do the following:
- On Spigot, set your Discord to
cj89898#7801under contact details. - Run the
=Spigot <Spigot Username>command.
Note:
If you have changed your username in the past or haven't made many posts you may need to use =spigot <numeric id>
he already has :p
๐คท
=spigot Olzie-12
Seems you already have the Spigot account Olzie-12 linked.
o
i keep getting an error for deluxe menus when using the PlayTime placeholder %playtime_time%
probably not updated
just that one placeholder? the other 3 for it work
how do i find out who made it
oh ok yeah he made it. the one u posted
So try and contact him
Are you on 1.14? because playtime doesn't support that yet it seems
yeah. i dunno the commands work its just the placeholder :x
๐คท
well he made the plugin
yeah i just realized that lol.
@trim mist
@placid smelt
Please be patient and don't ping helpful or staff members!
@mint fable
To link your Spigot profile please do the following:
- On Spigot, set your Discord to
cj89898#7801under contact details. - Run the
=Spigot <Spigot Username>command.
Note:
If you have changed your username in the past or haven't made many posts you may need to use =spigot <numeric id>
Stop pinging for no reason
sry
@placid smelt Doesn't seem like you bought it?
I only did =spigot Yoav1235513
=spigot check #bot-commands
I'm in VoteParty chat now
Plz look #voteparty
hey guys
i think the papi for worldguard needs to be updated for 1.14.3?
cant seem to get it working even after installing worldguard ecloud
doesnt mvdw have WG placeholders as well?
didnt work either
welp
figure you guys are more responsive than the mvdw guy though
doesnt even have a discord
he's here as well
I believe Glare said he was updating some of the wg placeholders
Some were already tested on 1.14, not sure where he put the tho/if they're on the ecloud already
is there an ecloud download for it
or
how do i install this
drag it into plugins?
no
no
found it
remove the installed one, download this https://ci.extendedclip.com/job/WorldGuard-Expansion/lastSuccessfulBuild/artifact/target/WorldGuard-Expansion-1.4.0.jar and place it on PlaceholderAPI/expansions then reload papi
still not working
odd
removed the first one, unregistered it, then put 2nd one into expansions
no error but just comes up blank
Is there any way how to make leaderboard like with TOP DIAMONDS MINED and TOP PLAYED TIME ?
not with papi only
Like top 10
the most common plugin it's leaderheads
I already did it with vault
Ok but you are asking about statistics.
If you get leaderheads you can use it papi placeholders on creating a top.
Papi displays info, it doesn't store all of them
where as leaderheads actually stores stuff
I believe you can yes
Hi guys, my ecloud doesn't download any expansions, it says download complete but none of the placeholders work
u have to reload papi /papi reload after downloading any expansion
and some expansions requires a plugin to work
Papi reload just breaks the plugin
i mean it says reload, but it breaks all placeholders
As in the ones registered by other plugins
well this is the plugin's issue for not adding that in their plugins.
I'm trying to use %statistic_hours_played%
contact them to make is so reloading papi doesnt break their placeholder, and current solution for u, is restarting the server and not reloading papi
spigot version ?
paper 1.14.3
It's my plugin, i'll have to fix it later, but that's not my issue right now
What version is your papi?
2.10.3
Downloaded about 2 hours ago
@bronze bison How would I go about my plugins placeholders not breaking on papi reload?
check persist() method
and for statistic, does it send any error on reloading papi in console ?
why ure using v1.7.0?
^
It does ๐
Great!
Haha, thanks ๐
np
I'll go try and get persistence working
๐
Oh actually there was one more thing, I can't seem to find the correct maven dependency so i'm currently adding it to system path, do you know the latest <version> tag to use?
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
``` working fine for me
np ๐
What is NSFWPAPI?
huh?
I get a mistake and I seem to be missing that element.
what does that mean?
I don't know xD I get an error
what's the error?
I got a strong feeling that ain't real
I just don't understand much, I'm sorry. I'll keep looking and ask when I'm sure.
Neither do I lol
Guys i am new to the sever and i need help from you guys.
The console shows a error like this
Execption vault permission, bla bla..
Can someone help me
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
put the error in that
whenโข
o didnt know that thers NSFW papi :p
I will send u the screenshot of plugins used
Can someone helped me
where can i send the screenshots
=imgur
Please use imgur to share screenshots and other images.
โข Imgur
=imgur
click the link....
And?
By updating your hook
Well how lol
EzPlaceholderHook is deprecated
It's named something else now, but I can't remember what
k ty
np ๐
@brisk coral thats for a core we use.
@rich vigil
Please be patient and don't ping helpful or staff members!
How would I use a placeholder like this %statistic_time_played% for another player
So it shows the other player instead of yourself
I would like to help you by testing first but..
After I installed the new Statistic ecloud
Is 1.9.2 corrupted?
No, you're just using outdated software.
For mc 1.12.2 or older you need to use 1.7.0
is there a requirement to allow part of it if its a placeholder for a countdown like if it outputs as "Boost: #" can i have a view requirement for only "Boost:" and forget the numbers?
what?
can i make a view requirement be partial of the output?
if the placeholder output is "Boost: 30m 34s" can i make a view requirement to only read the "Boost:" part and still work?
what plugin are we talking about here, cuz I'm a bit confused
DeluxeMenu
What does this do? %crazycrates_<crate>%
I'd presume it tells the amount of keys you have
oh okay
Is there any placeholder so it shows top ranked player, who got the most money? Because I found one, but that returns the current money amount of the player and I need a placeholder that returns how much money he got so far
Don't think any store the gained money
Oh :/
Can someone make placeholders for JetsPrisonMines? Would be awesome ๐ https://www.spigotmc.org/resources/jetsprisonmines-gui-setup-effects-reset-types-holograms-conversion-1-8-1-14-support.63783/
Did u ask the dev himself to make some?
oh will do ๐
hi, is there a way to make placeholders work in item name/lore?
yes
ye
it just works lol
o
make sur you have the placeholders downloaded /papi download etc...
they work elsewhere though like holograms, so it cant be that the placeholder itself isn't downloaded I don't think?
can't load the image, what placeholder are you trying to use?
why are images blocked here anyway, isn't that kind of vital for requesting help
I just used some test ones like %player_name% and %server_countdown_...
did already, and /papi reload
mmmh
they work just fine in CMI holograms
well I use them too and they work for me
how can i make a command u use and it sends the player some messages with placeholders, from papi
Can you rephrase that plz?
just get a custom commands plugin that support papi, like mycommand
you can send messages with papi only
ok lemme look that up
or deluxecommands ๐
that looks perfect
Hello, i have problem with PlaceHolderAPI, papi cant hook Vault to Papi and dont worked placeholders, i have on server Vault and intalled ecloud ( /papi ecloud download Vault )
Have you reloaded papi (/papi reload)?
Try using papi parse command /papi parse me %placeholderHere%
u have an economy plugin right? Like essentials
Hmmm are u using latest vault?
is vault working? /pl
yea
hmmm
btw for deluxecommands how on earth do i put colors
and LuckPerms hook Vault plugin
any permission placeholder
is it not & iWaroz?
%vault_group% worked
its json data
and example has no color example
ok then its because of missing economy plugin probably
i go try essentials wait
from cmi plugin page ^
@austere hawk i suggest u use json coloring cuz & in json wont work for new lines
Oh
https://minecraftjson.com/ suggest u use this
now hook Jobs Vault
im trying to get json colors
well then guess its CMI
Great! ๐
Does clearlag has any placeholders?
doubtful
@brisk coral Unknown expansion.
Hi
How can I manually parse placeholders?
I want to see what their value is so I can setup a condition
[22:48:23 INFO]: ItsHoney issued server command: /papi parse me %playtime_time%
[22:48:23 ERROR]: null
-snip-
Caused by: java.lang.NoSuchFieldError: PLAY_ONE_TICK
This is the error I get when I try to parse it
What could cause it?
Relog
Hi how i can fix this ?
https://pastebin.com/eV0SCPtc
@royal parcel the error tells you what to do DeluxePlayerOptions is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [PedroJM96] and urge them to update it ASAP.
thanks you
is there a placeholder that shows if player is online in bungee network?
prolly need some extra plugin
no should be defualt
under what placeholder category would that be? otherplayer?
bungee.
ye, like my goal is to have holographic display show wether a specific player is online rn
for ex. if owner is online somewhere in bungee network etc
well would like to have a section dedicated to staff in hub, and there it would have staff npc and over them holographic displays showing if they are online and some more info
๐
look under spigot for plugins that might help u
did u try this? %checkitem_mat:STONE,strict%
/papi info checkitem whats the version of it?
1.2.0
Ok, it should work?
the item have colored name and lore
Try /papi parse me %checkitem_mat:STONE,strict%
what it returns when u have a named stone?
oh with latest version, u add strict if u want it to check for name/lore
remove strict and it will work
just tested it
@sage magnet
@sage magnet
Please be patient and don't ping helpful or staff members!
ops
Its what i tried last and still doesnt working
start making sense and someone might help you
@sage magnet %checkitem_mat:STONE% without the strict part
doesnt work i tested that first
well it works for me
/papi parse me %checkitem_mat:STONE%
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
put your menu in there
and had a stone named tsdjhncb
had a stone named &kkkkkkkkkkkkkkkkkkkkkkkkkkk
o
one sec
wait its with the clear command
essentials doesnt clear the named glowstone....
any idea to fix that?
๐คฆ
well i dont think u can do that with essentials, check minecraft clear command
than what command can take an item?
if that didnt work too, then idk
This Minecraft tutorial explains how to use a game command to clear your inventory with screenshots and step-by-step instructions. You can clear items from a player's inventory using the /clear command in Minecraft.
use it in dm like this minecraft:clear IF u got it working
this doesn't work
clear doesn't clear named items tho
it says no items to remove... >_>
ye ikr
know any other commands to remove an item from the inv?
would like to double confirm if there is a placeholder for the clearlagg plugin. Thanks~
it doesnt have an expansion, anything mentioned about placeholder in the plugin page ?
if no, then it doesnt have placeholders.
^ that would be a negative
clear @a glowstone_dust 0 1 {display:{Name:"Regulator"}}
I tried many forms of these that i found on forums
none of them work
maybe dont you guys know any plugin for taking items?
Expansion-Statistic.v1.9.2
%e๏ผ
statistic_mine_block_DIAMOND_BLOCK% display:invalid stat
%statistic_mine_block
%statistic_mine_block&:Mining One block% display:2
%statistic_mine_block&:Mining two block% display:4...
minecraft:1.14.2
PlaceholderAPI 2.10.3
@pure forum Can you start making sense and atleast explain what your issue is
@brisk coral Statistic Error
Can you explain a bit more?
%statistic_mine_block%:Mining two block% Numerical value:2.
Mining 1 block =2 block
๏ผ
statistic_mine_block_DIAMOND_BLOCK%
Mining 1 DIAMOND_BLOCK =invalid stat ....
QwQ
@brisk coral Thank you
I'll test that ^
minecraft:1.14.2
Plugins:DeluxeMenus
@brisk coral Thank you. ๐
does the player quit event get called if a player disconnects without hitting the leave button. like when they close the game window or if they lose internet and what not?
Yes
so waht expansion would I get for tab-reborn
For example, if you want to show your name on tab, you will use %player_name% which is a placeholder for the expansion called player (the first word is always the identifier). To get the player expansion you will need to run these two commands:
/papi reload```
here you can find the full list of placeholders https://helpch.at/papi
Keep in mine that some require external plugins.
You are welcome. ๐
wait
I did /papi ecloud download deluxetags
and
/papi ecloud download essentials
I want to add the placeholder %deluxetags_tag% to my essentialschat, how would I do that?
How to get DeluxeTags working using essentials chat:
- Turn off the DeluxeChat option in the DeluxeTags config.
- Turn off the format_chat option in the DeluxeTags config.
- Replace all the %placeholders% with {placeholders}
- Restart the server
What does it mean on step 4
Simply restart the server for the changes to apply.
On deluxetags setting there's certain placeholders, eg %deluxetags_tag% which need to be replaced with {deluxetags_tag} (not only this one)
so everywhere it says % %, i replace with { }?
Yup
Okay thanks
Np
hello!
var i;
for (i = 0; i < 150; i++) {
if (%leaderheads_player_ai-level_i% == %player_name%) {
return i;
}
}
Ok post in #development with
does have anyway to check player's top ?
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
do what i said please.
but this channel for placeholderapi ๐ข
but its development i believe
and i ask about "javascript placeholderapi"
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
thanks โค
Using % without apostrophes will make js try to parse the function as a math operation.
Oh, thanks โค
does it work?
but it's seem does not work
do a console.log(leaderheads placeholder) to see if your for function works
it's does not return anything
i guess i in %leaderheads_player_ai-level_i% is not a top, so it return ""
i tried remove for and replace %leaderheads_player_ai-level_7% instead, and it work
try '%leaderheads_player_ai-level_' + i + '%'
that'll work ^
It should, but the way papi handle this type of function is weird
it works dw
:P
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
@bronze bison havent you fixed this somehow?
guess you will have to check them one by one
wdym ?
My PR hasn't been merged yet
merge it boy
i want someone to review it boi
ask someone to
new: https://paste.helpch.at/noxejixezo.js
it return: https://imgur.com/a/58ZxulJ
meaning it returns the correct "value"
๐ข