#placeholder-api
1 messages ยท Page 72 of 1
vanilla stone, so change data: 1 to 0?
you can do that, or you can use the strict modifier for the checkitem expansion
%checkitem_mat:stone,strict%
the checkitem expansion is jar, is that right?
i have ran them and the issue is there still
Did you update your config with the line I sent?
so where do i put the %checkitem_mat:stone,strict%
cheers, ill try now
working, thanks heaps ๐
ofc
the bought stone is still bugged out
oh you have to edit the commands as well
change stone:1 just to stone
in the left and right click commands
can we create a shift click to buy/sell stacks?
Online Maker - https://placeholderapi.github.io/DeluxeMenuMaker/ - help-chat/DeluxeMenus
More help with deluxemenus in #general-plugins if need be
Theres not time to wait! Ask your question @junior rune!
I have problem
i have a problem
So like what happens is
I have my shopgui+
but it doesn't see %player%
I have placeholder-api
Does anyone know what's wrong
%player_name%
and make sure you have the expansion downloaded
/papi ecloud download player
/papi reload
You can always test placeholders in /papi parse me %player_name%
SG+ doesnt use papi iirc
Correct
but my shop still does not work
12:
type: command
item:
material: SPAWNER
quantity: 1
damage: 0
name: '&7&lSilverFish Spawner &a&lEmerald Blocks &6&lx1'
commands:
- es give %player_name% silverfish 1
runAsBuyer: false
buyPrice: 15000000
slot: 23
Then it doesn't support papi
ask the dev to support it
okay
@balmy marten it should support it, but the shopgui+ says [INFO] [EpicSpawners] That username does not exist, or the user is not online!
okay
Yeah cause its probs trying to use %player_name% as the actual player name
instead of parsing it
how do i fix that parsing part
the plugin needs to support papi
okay
is shopgui+ preium?
Yes
So I found the bug
ohh
It was not shopgui+
you paied for it ye?
but it was wildstacker
yes
But it was not the shop's problme
Ye placeholders in commands are parsed, just not in lores/names
Does anyone happen to have any idea why my placeholders aren't replacing?
I have vault and pex and %vault_rank% isn't working
run these commands @sweet terrace
oh awesome, thanks ๐
yw
@bronze bison Could I get some guidance with the relcon expansion
%rel_relcon_player_group.helper_&r _[&8ยป &bFlying&8: &7%player_allow_flight%]%
This correct or?
??
Gaby ur smart
use {} for placeholders
anything else or will it work?
player means the player who send the message have the permission
oh okay got it
o ty
smh
:3
wdymmm
just like always boo
iirc that's impossible
ye I'm dumb dw
Is there any placeholders for total entities loaded or chunks?
Doutful
Like loaded in a world?
There are plugins like https://www.spigotmc.org/resources/dynamicsigns.3566/ or https://www.spigotmc.org/resources/placeholderapisign.62705/ or https://www.spigotmc.org/resources/papisignlite.62697/
@mellow pecan
hwlp
what is the command for deluxe tags because the one i used didnt work
'
someone please help me
?help
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
Read the last line of the ?help cmd you just did
And I am not familiar with DeluxeTag so I can't help
?help
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
Hey I have a problem
Im using deluxechat and ezrankup
placeholders not working
staffop:
priority: 1
channel: ''
prefix: '{prestige}%vault_suffix%%vault_prefix% '
name_color: '&7'
name: '%player_name%'
suffix: '&8&l > '
chat_color: '&f'
What do i do?
{prestige} shows up default text in game
@austere hawk Verify your spigot account using =spigot in #bot-commands
Sure
@buoyant zealot /tags ?
I have a problem
Im using DeluxeChat and UltraPermissions
When i type in, in-game chat it shows
[%vault_group%] %playername% >
@fathom salmon link ur =spigot in #bot-commands to get access to #deluxechat
Type =spigot in #bot-commands
okay
Which is the placeholder for the current player world?
%player_world% https://helpch.at/placeholders for all papi placeholders ๐
is there a pre-integrate object in the javascript engine that can parse new placeholders created via string combination ('%' + arg + '%') or do I need to create an object for papi like you would something like org.bukkit.Bukkit
there is a method that has been added to js expansion to accomplish that but its not live yet
for more info and download link check this https://github.com/PlaceholderAPI/Javascript-Expansion/pull/8
@bronze bison so make sure to reload with /papi reloadjsp and the method is setPAPIPlaceholder(Player, string)
@mystic zodiac
Please be patient and don't ping helpful or staff members!
both /papijsp relaod and /papi reload works, and yes the method is setPAPIPlaceholder(Player, String)
To use/access it
Placeholder.setPAPIPlaceholder(BukkitPlayer, "%papi placeholder%");
๐
Papijsp fixed o.O
smh
Anyone know how to use math placeholders?
%math_1+1% returns 2 ๐
Right so what if I have %player_health% and want to round that to 1dp
%math_{player_health}[precision:1]% this should work
Legend ty
np ๐
Can you actually do if statements and stuff?
yes
since the progress expansion doesnt support using more then a single placeholder in its arguments, made my own with js
https://gyazo.com/991ebdaa80fdfecdef20169c978e7e13
wdym more than a single placeholder ?
I'm confused ^
in the progressbar expansion, it only allows you to use a placeholder in the base, not the max
no?
ive attempted it before, didnt work
u can use a placeholder anywhere ๐
aBoo, didn't know relcon can be used with dchats click commands :p
u actually can, {player_health_rounded} and not {player-health-rounded}
interesting, so yours wont just jump the decimal
it parse the placeholder before splitting, if thats what u mean
the reason i made my variant was because i guess yours doesnt understand what a decimal is
lol
@vivid sparrow Unknown expansion.
link to the plugin page?
it does, does ur scoreboard plugin support papi?
/papi parse me %pvpstats_elo% what does this return ?
are u using the latest version of the plugin ?
of pvp stats
it should works fine
try reloading papi /papi reload
then parse the placeholder using the command i sent earlier
also check if theres any errors in console
Contact the plugin's author.
Having some trouble getting papi placeholders working with titlemanager
I'm doing %{placeholder}, and tried %placeholder% and %{placeholder}%
nothing mentioned about specific format for papi placeholders, make use it as it is (%placeholder%) and make sure u have the expansion
Would a %deluxetags_tag_<identifier>% (display's the tag with the identifiers name) be posible to make? ktnxbye
obv
aBoo if you aren't busy, that would make my life easier, ktnx โค
I'd need a deluxetags placeholders that displays a specific tag
dtags expansion isnt os ๐
as in "identifier" is the tags name and it displays that tag (the prefix of the tag)
force clip to make it os
go knock on his door
u go :p
should make glare go
So I'm trying to make a custom placeholder that will get the player's team color and make it to where it will display their name in the team's color.
Why? Because a tab plugin doesn't really do that and the dev said to make a prefix. :/
I tried looking into javascripts but can't figure it out
I'm trying to get it to where I can still use the tab plugin's name tag change but allow it to get the player's team color
I need help
Theres not time to wait! Ask your question @buoyant zealot!
can you give me the deluxetags command for the %% tags to work because the one I use which is /papi ecloud download DeluxeTags does not work and they still display the %% after doing /papi reload
please help
?
you aren't using the correct placeholder..
yea i am
Which one are you using?
placeholder
yea
which one are you using
deluxe_tags
that's not a placeholder lol
Sometimes the download command doesn't load the updated file (I had this issue)
%deluxetags_tag% that's the placeholder
ok
you can just get it from the ecloud's site if that's the isue
i mean the command in chat
oh
/papi ecloud download deluxetags
/papi reload
i did
and the placeholders are these
nothing happened
When you use the tag, where is it being used? Tab, scoreboard, etc
Because you were using the wrong placeholder..
Midnight he's trying to parse the placeholder
oh
which placeholder am i suppose to use?
Placeholders:
%deluxetags_amount%
%deluxetags_description%
%deluxetags_identifier%
%deluxetags_tag%
I am
paste the command you're using
not that...
You said you were trying to parse it, and it kept returning the placeholder instead of the value
what does parse mean
it means to load the value
imgur
/papi parse me %placeholder%
%placeholder% showed up
Where you trying to use it?
deluxe tags
if you're just saying that in chat it won't work
noooooo the menu wont work
(what I ment about plugins is I have one called Tittle Manager where I would do /tm broadcast %placeholder%)
1miin
All placeholders can be used by plugins that support placeholder api I think
like I can use essentials' place holders, marriage master, and even factions in a tab plugin
Which plugin is that btw?
ok 1min
Midnight can you stop lel since you're clearly confused :p
I am confused Frosty the snowman
โค
tbh I didn't even know what deluxe tags even was
It's a plugin..
yeah I know now
@neat wadi Do you know how to make a custom placeholder that gets a user's team color so I could get it to show like &6User? (a plugin requires it to let glowing work lol)
me
it works with the parse
Talking to @buoyant zealot
yes
what does expantion mean
Does sending a link remove or warns? Gunna send the link for the ecloud to where they can download the latest file (becuase sometimes that command doesn't want to work)
can someone fix it for me
@buoyant zealot ..
yea
whatever this is too much ill just get another plugin
Yeah I had a plugin that didn't want to load essential placeholders so I had to go to the link to get the lastest
@soft girder can u please stop acting like you are a staff member when u never used this plugin before and you clearly dont know what your talking about so please leave it to the professionals who work here.
Placeholders are placeholders >_>
@buoyant zealot How about you stop being rude hes just trying to help you
Midnight depends what plugin you're using for it
To be honest I'm here to figure out a placeholder and I'm just trying to help you while I wait
What placeholder?
Tropical, just because someone isn't helpful or anything like that, doesn't mean they aren't allowed to help, everyone here is allowed to help others
Custom, I don't know how to get a player's team color to show it with the username. A tab plugin dev said to make the glow work it needs one
"player's team color" can you elaborate that?
Team as in using scoreboard teams?
Midnight9746Today at 3:22 PM
So how would I get glow to work without disabling nametags
NEZNAMYToday at 3:23 PM
you need a placeholder which you would put into prefix
the prefix is above the player's head
Yes but placeholderapi isnt suppose to make a way to make your teams
No Terfs
You would need a teams plugin with that you would be able to make a placeholder displaying there teams?
if there's a way to get the team color then yes
@sharp jay @brisk coral does the custom placeholders made by java script allow you to do it? I know it can get the MOTD and other items
@soft girder
Please be patient and don't ping helpful or staff members!
fun bots
xD
Let me check
If you want to make your own placeholders you need to know javascript any other public ones are posted on the wiki
What's next? Gary gunna tell me I yee my last haw?
%pinger_motd_testplugins.com:25565%
for MOTD
@soft girder
replace testplugins & port with your domain & port
Gary is a ho
so idk where to put this so ima put it here
is it possable to make deluxe tags plugin work with pex groups ?
Hmm?
okay so like , i wanna use deluxe chat ad prefixes on my server , im trying to set thme up rn
i was wondering if the plugin could , like be added to groups ? like permission groups (permissions ex)
so like lemme expain ;;
so first they satart out in the member group ,and lets say i put them in the builder group , the tag gets auto changed to that group , the builder group , then i set them to the admin group , they get the admin tag
I need help
Theres not time to wait! Ask your question @buoyant zealot!
in gui plus I put %player_name% and when I run the command form the gui I created it says %player_name% is not a player and not me
and i opened the gui
so can u please help me
it supports placeholdersapi
Does it?
yea
I can't find anything about shopguiplus supporting papi
You need expansions to use placeholders
i have the correct one
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
does deluxemenus support this and can I click a button and it will come from a user
like if i click /clear %player_name% It would do since I clicked it /clear tropicalqaz?
yes
ok thanks
@silver tendon Yes just give that group the tag permission, (the forcetag permission so they can't switch it)
He left ๐
?customheads
How to use custom heads in DeluxeMenus:
a) A player name material: head;extended_clip
b) The player's head material: head;%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/
[ERROR] [PlaceholderAPI] Failed to load placeholder expansion from class: com.extendedclip.papi.expansion.player.PlayerExpansion
why? update
is that old 1sec
it is, but not sure if that will fix ur problem but still update to latest
2.8 papi jesus
That fixed it
๐
lit just used the one in my downloads omg hahaha sorry xdd
Does placeholder need code to change something from locked to unlocked like buying a island upgrade on skyblock
or does it do it automatically
Can you elaborate what you mean by that?
this server im on wants to make a upgrade system for skyblock and we cant get the upgrade to go from locked to unlocked when purchased
I mean ye if a placeholder doesn't exist already you're gonna have to make one
using java ofc
explain what you mean by placeholder cause the people working on it has different has different idea of placeholders
ok
placeholder = variable
whats ur skyblock plugin?
Check if your skyblock plugin has placeholders in papi plugin
fabledskyblock
@brisk coral Unknown expansion.
Build-in
o a Songoda's plugin
Ikr
it has placeholders.
ok the skyblock plugin works but the main person on the project wants to use deluxe menus as the island upgrade system
Contact songoda then if you need more placeholders
ok
yes thank you
np ๐
the %statistic_kill_entity:zombie% placeholder doesn't work? or am I doing something wrong?
Why do some of my placeholders keep unregistering upon restarts
and probably outdated papi
If it's SimpleClans then you gotta add papi as dependency on plugin.yml because the plugin it's loading after papi
after
"the %statistic_kill_entity:zombie% placeholder doesn't work? or am I doing something wrong?" "server version?" 1.12.2 and I have the /papi ecloud download Statistic 1.7.0
oh okay ๐ thanks
@vivid sparrow
@worn wedge
Please be patient and don't ping helpful or staff members!
its player expansion
Player expansion works fine after restarting, where are u using the placeholders ?
placeholders inside math should be like this right? %math_{placeholder}/{placeholder}%
yes
%math_{bw1058_stats_kills}/{bw1058_stats_deaths}%
"Unknown unary operator '{' at position 1"
odd
apparently /papi reload broke all the placeholders (latest version) not sure how
server restart fixed it
Could be the plugin, if it's not a expansion itself.
As I saw on the GitHub if it's not a expansion and it's reloaded you'll lose all the placeholders.
As it's likely only creating the placeholder expansion on the start of the plugin.
Hi guys.
Id like to report a bug/issue:
Currently trying to setup a stats GUI. I'm making a PVE category and need to display kills of a mob type.
I'm attempting to use the Statistics extension (1.7 as i'm running spigot 1.12.1) but some placeholder seem to not be working.
%statistic_animals_bred%, %statistic_beacon_interacted%, %statistic_fish_caught% works fine but when trying to use the placeholders with arguments something seems to go wrong.
How i currently have them laid out:
%statistic_mine_block:stone%
%statistic_use_item:wooden_pickaxe%
%statistic_break_item:wooden_pickaxe%
%statistic_craft_item:chest%
%statistic_kill_entity:pig%
%statistic_entity_killed_by:zombie%
I've tried many different combinations of arguments from text to numbers etc.
Anyone have any ideas?
Thank you so much man thats been pickling my head for almost an hour haha.
@brisk coral @bronze bison told you to not update the wiki / ecloud - or if you do show them all with a version tag
I mean idc about people using outdated shiet so :p
..
Now realised that it isnt actually logging anything just displays 0 for each;
- 'Kills: %statistic_kill_entity_pig%'
- 'Kills: %statistic_kill_entity_zombie%'
- 'Kills: %statistic_kill_entity_cow%'
Ah, Thank you very much clip.
Try before saying thanks
๐
@final shadow
%deluxetags_tag_<indentifier% please, returns the tag set by the identifier
identifier = example, return = &8[&bExample&8]
I did it worked haha. Also could you please advise me the correct entity type for Mushroom Cow?
Or a list to all of them so i dont have to ask again ;P
Make sure you have the required expansion(s)
Run those commands to get the vault epxansion ^
question: Do i remember correctly there used to be placeholders for Buycraft? and do they exist still (i assume they dont since i dont see them on the list)
Thanks for the ID list clip. Is the chicken jockey still in mc? cant find it on the entities list.
@tulip stream It's still in the game, but doesn't have it's own EntityType, since it's just a chicken riding a baby zombie; not a unique entity. I'm not sure what the application here is, but programatically you'd just spawn CHICKEN and ZOMBIE, setBaby(true) on the latter, and then make it ride the chicken.
You could just set the passenger's entity @patent merlin, instead of having to do all that (still need to set the zombie to a baby)
@vivid sparrow i updated the wiki, guess frosty cant.
Ill somehow mention that later today
anybody know if holographic displays auto refresh papi placeholders?
it should
interesting, doesn't seem like its doing it automatically or its just a really long delay
I believe it's updating as fast as placeholders update which you set in the config file
(of papi)
it turns out i needed a plugin called holographic extensions that adds refresh intervals ๐
thanks for the help
Have you setup your js properly?
Ahh okay thank you @austere hawk.
Another issue im having.. IRON_GOLEM and SNOWMAN entities when used for statistics extension show error;
'WARN]: java.lang.IllegalArgumentException: The supplied EntityType does not have a corresponding statistic'
Any ideas anyone?
@brisk coral yes
@austere hawk
Please be patient and don't ping helpful or staff members!
sorry
you using featherboard?
no titlemanager
idk
it does frosty
Blink, /papi parse me %placeholder%
You didn't remind him to check if he has all 2 expansions: Vault and Javascript installed ๐ค
Guessing he's a smart person
and if you don't have them
/papi ecloud download javascript
/papi ecloud download vault
/papi reload
Dangit you typed before me @brisk coral ._.
i have Vault and Javascript installed
Frosty what do you by /papi parse me %placeholder%
do this
/papi parse me %javascript_is_staff%
and
/papi parse me %vault_eco_balance_fixed%
meaning you don't have the expansion..
have you reloaded papi after installing the expansions?
yes
yes
You won't receive any DeluxeChat help until you prove you actually bought it, by linking your spigot account @dusk basin
restart the server blink, then parse it again
How can I prove that we're getting your plugin but I can't benefit from it great
๐
you got vault installed right?
also you getting any console errors? Also what's your papi version
i am getting this
[ERROR] [PlaceholderAPI] GuiRedeemMCMMO is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP.
[ERROR] [PlaceholderAPI] MoreFish is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [elsiff] and urge them to update it ASAP.
and i got vault installed
You need to contact the authors of those plugins.
Didn't I tell you that earlier already ,-,
1.13.2
I admire you, until you link your spigot account you will not be receiving any deluxechat support
The / deluxe command works in the game, but there is no file in the plugins section
Yup
so frosty what is that problem
The placeholders are outdated
i installed the new version of them and they are not working
So after setting up my GUI Stats menu it seems;
Entities = IRON_GOLEM, SNOWMAN, WITHER & ENDER_DRAGON
Show an error when using statistics extension (placeholder %statistic_kill_entity_ or %statistic_entity_killed_by)
Error = '[WARN]: java.lang.IllegalArgumentException: The supplied EntityType does not have a corresponding statistic'
Any ideas anyone? Anything would be much appreciated.
server version?
1.12.2.
and iirc wither doesnt have a statistic at all.
^^
https://helpch.at/docs/1.12.2/org/bukkit/entity/EntityType.html nor iron golems and others I guess
So your saying the statistics extension ignores IRON_GOLEM, SNOWMAN, WITHER & ENDER_DRAGON and doesnt even store data for them?
@vivid sparrow
Yes that's what he's saying
Frosty
Thats odd. Theyre still naturally spawned mobs why ignore them
papi uses spigot statistics, it cant add it own
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
dont do it again.
frosty can you help me know i am getting this error know
Did you mess the placeholder in one of the plotsquared plugin? ๐ค
@dusk basin i think you've been told multiple times to state your problem instead of saying "help, help" for eternity? ._.
@austere hawk Waiting for the person to verify their account
Oh lol
thienbao860 nope why
know getting this https://paste.helpch.at/aqisixifiw.css
i dont need help i fix it
I have a 1.14 server, I'm trying to get placeholders to work using the command /papi ecloud download <placeholder> I see them in my papi expansions folder but they do not show up as installed in-game, are they out of date?
Have you reloaded your papi after downloading them?
No, I forgot to, after doing that one of the expansions I downloaded works. statistic appears to work but the numbers are a little off . The other ones reloading has no effect.
kill stats, andOnTIme are not working
do you have the plugins ?
0:39] [Craft Scheduler Thread - 15/INFO]: [PlaceholderAPI] Download of expansion: killStats complete!
[10:00:40] [Craft Scheduler Thread - 16/INFO]: [PlaceholderAPI] 151 placeholder expansions are available on the cloud.
[10:00:43] [Server thread/INFO]: JADESPY issued server command: /papi reload
[10:00:43] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[10:00:43] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[10:00:43] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: skript
[10:00:43] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
you can see me download kills stats, but when I reload it is not registered
So frosty, you mean that killstats and onTime need plugins installed to work?
I though that they were just vanilla or whatever.
they're plugin expansions, meaning you need a plugin for them to work
Do y'all think a matcontains would be a good addition to the checkitem expansion?
people could do this:
requirements:
pickaxe:
type: stringequalsignorecase
input: '%checkitem_mat:diamond_pickaxe,inhand%'
output: 'yes'
deny_commands:
- '[message] You''re not holding a diamond pickaxe'
except with matcontains:pickaxe and it would work for any pickaxe instead of just diamond
would be good yea
Hey so what does the %javascript_permissionscore% do?
its all over my deluxemenu config file, and if I take it away, it won;t load correctly?
Hi guys, im having a big problem with papi, well when i insert %pinger_max_ip:port%
The result is 0
And this happens with all PINGER extension placeholders
For example on %pinger_isonline_ip:port% the result is always โofflineโ but the server is online
@everyone someone knows how to fix?
@simple current you're gonna get a ban if you ping everyone successfully, okay?
@simple current try %pinger_online_127.0.0.1:25256%
Ok let me check
Nothing
my port is 25567*
nothing still
All pinger placeholder wont work
If someone knows how to fix please tell me
Hello
anyone can help me ?
Vault expansion is error
%vault_eco_balance% is work but %vault_eco_top_balance_#% not
What server version
**?
all player
That won't work
Try with a single player first and tell me if it works
wdym ?
Use your username instead of **
it work
Btw the default when selecting all should be *, not **
ok
Could someone link me the placeholders to the plugin MMOItems
There are placeholders for this plugin but there isn't a list :/
@primal osprey you cann find all the placeholders on the ecloud (placeholderapi ecloud)
I already have them like they work I just want to see the whole list
And ecloud doesn't have if
It
Hi guys, im having a big problem with papi, well when i insert %pinger_max_ip:port%
The result is 0
And this happens with all PINGER extension placeholders
For example on %pinger_isonline_ip:port% the result is always โofflineโ but the server is online
How do we use this placeholder? %statistic_mine_block:<material>%
say I wanted cobblestone
do i do? %statistic_mine_block:<cobblestone>% or %statistic_mine_block:cobblestone% or %statistic_mine_block:COBBLESTONE%
Am confusion
@ me
(If you're on 1.12 or lower use _material)
im 1.8.8 right now
Without the <>
so i use the ids
/papi ecloud download statistic 1.7.0
i did ๐
Instead of the : you need to use _
Something to update on the wiki in the future ๐คท
Thien
๐ thanks
You said i needed to check the args thing, ik
It was updated to show the latest because Idc about outdated versions
Well frosty hmm
Ya yeet
I mined the cobblestone, and my stat didn't update?
It doesn't ipdate instantly
Oh!
update*
I believe it's every 30s (you can change in the papi config iirc)
Ooh
Frosty. I have the one you told me to download for statistics, but i don't see an option for it int he config of papi?
And it still hasn't updated
server:
tps_color:
high: '&a'
low: '&c'
medium: '&e'
server_name: A Minecraft Server
player:
ping_color:
medium: '&e'
high: '&a'
low: '&c'
vault:
formatting:
thousands: k
trillions: T
quadrillions: Q
billions: B
millions: M
tokenmanager:
check_interval: 2
pinger:
offline: '&cOffline'
check_interval: 2
online: '&aOnline'
javascript:
engine: javascript```
&7Cobblestone: &d%statistic_mine_block_cobblestone% and to be sure, this is how i'm suppose to do it, correct?
Hm.. where did you put the placeholder in
What do you mean?
oh
Into a deluxe menus thing, don't ask why haha im bored right now
seeing what i could do
Can you test this then
I did test it
it didn't update
BUT
- '&7Total Blocks Mined: &d%statistic_mine_block%'
this updated
Guys the pinger extensionโs placeholders dont work, someone can help me please?
Use /papi parse me %that_stat_thing%, break a cobble and reuse that cmd @steep kernel
Sure ill try
thie
It stays 0'
Is this affected by world guard regions?
nope didn't work outside of a region
Ill just scratch the idea and move on xD, it was a dumb idea any how
someone can help me now?
@simple currentstop asking and wait for someone to help you,be patient
ok
._.
Someone can help me out fix problem with pinger extension?
?asktoask
I have a problem with papi, in particular about the pinger extension and its placeholder. The issue is that everytime i use the placeholders it looks like the server is offline and that the max n of players in the server is always 0. For example when i use %pinger_online(or isonline)_ip:port% the result is always โOfflineโ even if server is on. If you know how to fix this problem please hit me up with a possible solution.
~Seor
Theres a 30 seconds delay till it updates the value
30 seconds is the default value in papi config, u can change that to whatever u want
Guess this is ur issue, if it didn't work after changing, please let us know
How can I get the count of a permissionsex group?
Like x player(s) in red group
No need to send the same question in another channel, keep it in #general-plugins please
It wasn't meant for #general-plugins
Do I use %player_name% when sending a console command through DeluxeManu or is there a player placeholder separately?
use %player_name%
Ok
User "%player_name%/%player_name%" removed from group "Green"!
Its not changing when executing the command
Hey i got an issue with my colors for online and offline mode for the pinger version
it says &coffline
instead of using the color
Where are you using it?
what version or ?
it's 1.8 + it's working with the plugin called animatedmenu for a server selector
Send your config
=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
ugh
that's the config for the offline and online part
the pinger works fine, just not those colors
parse the placeholder
Frosty would you know why this command executes to the player %player_name% instead of my username
- '[console] pex user %player_name% group set Green'
do you have the expansion?
/papi reload
Works now!
@bronze bison this didn't fix the issue, im using paper spigot 1.8.8-1.12.x
@simple current
Please be patient and don't ping helpful or staff members!
sorry for pinging i just saw another guy pinging after answer and i thought i was allowed to do that
All good, are u using ur domain or the IP number?
and did u decrease the update interval?
I use my ip i tried with 127.0.0.1 and the public ip
And well i decreased the check delay into papi config for pinger
But nothing happened
Can someone help me update my placeholders. I dont understand the documentation at all
https://paste.helpch.at/azuqiyikaf.java
Hey,
I keep getting this error when reloading PlaceholderAPI
https://paste.helpch.at/xixutiwuqo.css
Player won't activate
@austere hawk in your onEnable(), you have to have this line: new Placeholder(this).hook()
.hook() wont work
Line goes red
What does it say
istr ed
Its red
new Placeholder(this).getIdentifier(); works though
"It's red" doesn't help anything
How about you look at the screenshot
.hook() isnt a thing
maybe
because Im using PlaceholderExpansion
but .hook() still isnt a thing
If you use PlaceholderExpansion, then the method will be .register()
Im using PlaceholderHook
I found do documentation on PlaceholderHook though
Maybe this will help a little: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion
I read that
Thats not a document for PlaceholderHook
[PlaceholderAPI] Placeholders is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Landon] and urge them to update it ASAP.
I don't know why you dont want to use PlaceholderExpansion instead of EzPlaceholderHook
ugh
if (Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
new Placeholder(this).canRegister();
}```
Fine, here's the thing
I give up
I told clip not to change it
Did you have this yet
public boolean canRegister() {
return true;
}```
In the Placeholder class
yes.
Thats why im calling
new Placeholder(this).canRegister();
Can you use .register() then
yeah
[PlaceholderAPI] Placeholders is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Landon] and urge them to update it ASAP.
nope
Y u using a deprecated method?
@austere hawk, your issues are that the class doesn't have the correct methods.
A example of one of my many custom expansions:
It's likely for not having a register() method and the correct canRegister() method.
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Could someone give me an example of JS permission list returning the number of the permissions of the list the player has
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
@simple current what does /papi parse me %pinger_online_testplugins.com:25565% returns? Try running the command twice
@brisk coral so u want to get how many permissions a player has? Explain please
ye grabbed from a list of permissions set in the js
Ah
it'll return the number of permissions they have
exmp: they got 2 perms on that list, returns 2
Yea got it, just put the permission in an array and loop through them an check if the player has the permission, increase the counter
can I get an example, or a page that would explain that a bit more
ill write it for u later today
tnx โค
If u want to learn, Google for each loop javascript
he want to get how many permission a player has from a list he set
p.hasPermission() should be good in a for loop
O
His own list right?
mhm
I mean he doesn't want that
Gets a set containing all of the permissions
currently in effect by this object
I just need the number of the amount of permissions the player has from that list, I don't need to know which ones he has
Yea yea
var player = BukkitPlayer;
var permissions = ["permission.1", "permission.2"];
var pCount = 0;
function permissionsCount() {
for (var index = 0; index < permissions.length; index++) {
if (player.hasPermission(permissions[index])) pCount++;
}
return pCount.toFixed();
}
permissionsCount();```
@brisk coral
โค
โค
Exactly, but i wouldve used for each loop instead
ยฏ_(ใ)_/ยฏ
aBooDyy, The result is โofflineโ.
Whats the delay u have?
I tried with 30, 10 and 1
Nothing changed
Its a problem only with pinger placeholders
With bungre place... the counter works perfectly and tells me how many players are in with no problems (%bungee_server%)
for bungee its completely different, use 1 (1 second) for the update interval and parse the placeholder using the command i sent then wait 1 second then parse it again and tell me what u get
Ok
Hello, do you know how to avoid the loading time when using head; in deluxemenus ? I have to wait like 2s for the player head to appear, i got a non skin head before it does.
you cant, also, it does that only the first time when you open the menu, then they are cached
Yeah, someone alrady told me that, the fact is, it does not cache ...
I got the loading time each time i open the menu.
I got this issue for years.
%math_{mvdw_mysql_temps_de_jeu_1}/60% Isn't that supposed to divide the placeholder per 60 ?
It does, where did i forget that ?
I didn't edit that lol.
then I'm blind
Np
It's returning the same thing as the original placeholder instead of dividing it.
It's returning 7074.000 when the original placeholders returns 7074
Okay but it still does not divide xd.
Ah wtf, adding that makes the placeholder working !
,-,
Thanks rofl.
didn't think it would lel
It shouldn't xD.
works like a charm Gaby ๐
๐
I'm having problems with The Essentials expansion, https://pastebin.com/KZXahWFL, this plugin is trying to hook into the expansion, and when I do /papi ecloud download Essentials and relog everything works fine,but then again after that it stop working again, so I have to do /papi ecloud download Essentials for it to work again
have you reloaded papi after downloading the expansion?
yes
That error is from PictureLogin plugin
Oh ok, thought it was placeholderapi cause it mentioned the expansion
Is is kinda, what does /papi parse me %essentials_nickname% returns?
Cuz that error is coming from this placeholder
Essentials userMap not initialized
is the user not logged in or something?
picturelogin
Probably trying to use the placeholder before the player has fully joined the game
200GB issued server command: /papi parse me %essentials_nickname%
Dont think so electronic
Is there a file for that user in users folder in essentials folder?
Not sure if its called users tho
It should be something like userdata or something
Yh
Does someone know if i can use 27x8 placeholders using mysql expansion ? Is data cached ?
have no idea, sorry
Np, tried to use mvdw mysql but too much mysql connection.
@cerulean ore how about deleting the folder for that user and then make it generates new one?
Im not so sure if that would resolve the problem but u can try
No point, cause the server is very new so the files are already newly generated and there hasn't been any updates lately for essentials, but dw I already solved the issue by using another placeholder
๐
Thanks anyway tho ๐
@karmic granite Do you think that i can use your mysql expansion with 27x8 placeholders ?
what's 27x8?
216 mysql placeholders.
still idk xD
27x8 = 216
Aboody if i parse the result is online
But deluxemenus and other plugins tell me that its offline
That make a difference.. so the placeholder is working fine, just the update is the issue
Hello, my JavaScript placeholder dont work, can someone help me why?
var bp = "%battlepass_tier%";
var bpt = "%battlepass_tier% Tier";
function getBpt() {
if (bp === "N/A" || bp === "") {
return "&cโ";
}
return bpt;
}
getBpt();
can u explain doesnt work?
Console says
[PlaceholderAPI] File: battlepass.js for javascript placeholder: battlepass is empty
can u tell me the location of the file ure editing?
I using similiar js on another placeholder:
var level = "%superior_island_level%";
function getLevel() {
if (level === "0" || level === "") {
return "None";
}
return level;
}
getLevel();
Yeah
I restarted server too
Hmm, but when i parse that placeholder %battlepass_tier% in chat, it show me data
%battlepass_tier% isnt a js placeholder
I know but it is placeholder inside of js
as i told u, its not an issue with the content of the file
Ah, sorry
the expansion couldnt find anything inside the folder
What is problem?
[PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
[PlaceholderAPI] org/bukkit/Material.isItem()Z (loaded from file:/home/container/cache/patched.jar by java.net.URLClassLoader@7d3dd4d3) called from class
com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion (loaded from file:/home/container/plugins/PlaceholderAPI/expansions/Expansion-Statistic.jar by java.net.URLClassLoader@3d912c7f).
I using 1.8.8 paperspigot
Aboodyy i fixed that issue and now its all fine, i have one question still, with deluxemenus: is it possible to open a menu with an item inside a already opened menu?
ye
just add either - [openguimenu] <name> (auto closes the first menu) or use the - [player] <command> with a - [close]
Did anyone already use more than 200 mysql placeholders ?
Probably not that many at once. Seems dangerous.
I'd like to know if the mysql expansion uses cache or ask data each time you open a menu.
Yeah it uses caching.
It's a local database, could it explode the database lol ?
I don't think so
Okay ty, gonna try then.
where should I go about finding functions for javascript placeholders
function getLuckPermsSuffix() {
if (suffix === "") {
return "";
} else {
return "&f[" + suffix + "&f]&r";
}
}
getLuckPermsSuffix();```
am looking for a function for finding the luckperms suffix
That would work if you had the latest js expansion, don't think it's on the ecloud yet tho
var suffix = "%luckperms_suffix%";
function getLuckPermsSuffix() {
if (suffix !== "") {
return "&f[" + suffix + "&f]&r";
}
return "";
}
getLuckPermsSuffix();
looks nicer ๐
i mean you just rewrote the if statement to do the same thing in a different way for no reason haha
I told you, it looks nicer
to you
anyways, it would work if you had the latest js expansion which isn't available just yet (I believe), lemme see if I have it
make a file, name.js
did that
the name can be whatever, and put it in the javascript expansions folder
then open up the javascript_expansion.yml file and register the placeholder with
name:
file: name.js
ahhh
and to use the placeholder it's %javascript_<name>%
working, thank you very much
no problem ๐ (didn't think that was added already)
the js expansion has been on the ecloud for a few months now?
there's an updated version which allows you to do more stuff, didn't know that was in the original one already
i've been using similar chat javascript placeholders for a few months now
Hey everyone. I have just installed PAPI as I wanted to pass %player_name% onto an alias in commands.yml. Basically I want to have an alias for a command that requires the name of the player executing the alias. Is this something that's possible with PAPI or do I need to set something else up? Currently I just get back "Can't find the player %player_name%"
Do you have the expansion?
Didn't know I needed one, can you tell me the name?
/papi ecloud download player
/papi reload