#placeholder-api
150650 messages · Page 45 of 151
im already fighting with this for 3 days xd
it will act as the other item
with NBT
why do you have 2 different items with the same name?
Well to test which one he will pick with the minecraft:clear command
because i ahve to remove stuff from the player threw the console
and they give them another item in return
its the currency of our server
I still don't see the reason to have 2 different items for your currency
Why do you have 2
just have 1
keepit on testing purpose
the 1 we used before (without custom NTB) didn't wanna be removed
so for testing purposes, we are going to try using 1 item without custom nbt
it would remove all the gold ingots the player would have
yes, you can do that with checkitem
%checkitem_remove_mat:gold_ingot,namecontains...%
but
you can't do it if we don't get the placeholder working
Yea but can deluxe menu force this as a command?
Ah that part wasn't clear for me
but having 2 items wouldn't solve your issue
We are now using the one with custom nbt
okay but we need to remove it to test
remove the nbt and test the placeholder
I did this
/papi parse me %checkitem_give_mat:gold_ingot,nameequals:&e&lEOTM Money,loreequals:&9Miscellaneous|&9&lServer Currency%
to give myself the item
and then obv /papi parse me %checkitem_namecontains:EOTM,lorecontains:Server% to check it
[console] %checkitem_remove_mat:gold_ingot,namecontains:EOTM Money,lorecontains:Server Currency%
so it should be like that then?
that should work, yes
BUT
be careful
that will remove ALL of the moneys
put it amt:# if you want a specific amount
%checkitem_remove_mat:gold_ingot,amt:5,name...%
but that will only work if %checkitem_mat:gold_ingot,namecontains:EOTM Money,lorecontains:Server Currency% works
it works lemme try the check command
nice
i only checked for name+lore
just add it in
Okay thanks for all the help mate!
Also, if you add the NBT again, does the placeholder not work anymore? Just curious
because that's real weird 
but yes, checkitem expansion was kind of made for custom currencies/shops/etc.
so I like what you're doin here!
just curious what plugin are you using to make the item?
nothing
?
We use CMI {other source for essentials}
oh is that in CMI?
Just a kit
yea ":)
smart
but players these times dont like the item for item economy >_<
yea, well only og's will join then 😄
dope it'll be a nice addition to the examples
this was something somebody was making: custom crafting recipes https://paste.helpch.at/evufokicog.bash
pretty dope
still thinking of away to give the spawners
atm thinking about making kits and force them to players
i mean, if you can make custom items through kits
it sounds like a good idea to me
sounds genius
cant find another way, because CMI is also protective againts the give command
wel
/give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"skeleton"}}} 1
If i do this, i get pig spawner
/minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"skeleton"}}} 1
Still pig spawner xD
yea
and most sites are saying to use the /setblock command
and that is not very effective because then they first need a location and if its miss places blablabla....
ya...
na gonna go with kits
if you can think of something else lemme know 🙂
i will try it if it works
ahh
wait
The SpawnPotentials is required or else it reverts to a pig spawner after the first skeleton pops up.
so maybe you just needed to add that
see if it works
can't believe how hard that was to find
Still pig spawner
it was 4 years ago
rip
what did you try
just to see
/minecraft:give @p minecraft:spawner{{BlockEntityTag:{SpawnData:{id:Skeleton}, SpawnPotentials:[]}} 1
?
This is the only one working
yea xd
/minecraft:give @p minecraft:acacia_boat 1
that is the new minecraft give command
i got it @lone elm
using the mc give cmd /minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"minecraft:skeleton"}, SpawnPotentials:[]}} 1
need the specific id i guess
Will try tomorrow now in bed 😅
"minecraft:skeleton"
Spawns pigs
iirc you need the id of the mob in the SpawnPotentials aswell
/minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"minecraft:skeleton"}, SpawnPotentials:[{Entity:{id:"minecraft:skeleton"}}]}} 1
try that
it filled in spawn potentials to skeletons for me when placed, but idk about for danneke
I purchased this plugin and it's a really great solid plugin. It says it supports PAPI and it lists the placeholders, but it doesn't list the command to grab the extension. The plugin has a new dev and he is a great and super helpful, but he is still learning how it is setup so he is not familiar with the placeholder system. So how do I find the command for it. What it is called isn't listed on the wiki.
the plugin may have the expansion built directly inside of it
which means it will load when PlaceholderAPI is found, so no need for any download command
you can check with /papi list for expansions installed
Ah, when I do list I see it is there, but I do not see an expansion jar file for it or when I do papi reload it isn't listed. As naturally those are actual jar files. So I am guessing if it is built in there won't be a physically expansion file correct?
Hello, I am using a plugin called "chestcommands" but I don't know how to put the number of users that are connected in a modality. to put those who are connected in that mode.
Will try in the evening 😋
yes, the expansion is within the plugin, no external jar
you can use the Bungee expansion for PlaceholderAPI which provides a placeholder to show the amount of players connected to a server
%bungee_<servername>%
Hello guys, may I ask does progress_bar expansion support RGB color as well as gradient?
It does not support RGB at all afaik
Alright
Does the %server_online% %server_online_<world>% not work anymore? I use %server_name% which is from the same server expansion pack and it works, but the online statuses do not.
The online part shows the number of online players
in that server
and the world one shows the online players in that world
That makes sense, either of them are not working though
I have deleted the server expansion a couple times and reloaded it and still nothing.
What's your server version?
and also PlaceholderAPI version
also try parsing the placeholder /papi parse me %server_online% and check the console after to see if there are any errors
Papi is 2.10.9 and server is 1.16.5
Good trick to know, will try that now.
They work in console.
But like you said, that returns numbers of players in a world which I did not know. That is useful to know for other things I have to do, but is there a placeholder that returns the online/offline status?
Oh well why do you want to know the status of the same server you're inj?
Because this placeholder doesn't work across servers
It is for my Hub selector to put in the lore
if you want something that works across servers is the Pinger expansion
That is actually what I was just looking at. 😂
The only draw back to using that is if you're sitting behind a BC network you will need to open up the ports to the direct hubs in order to ping them and that could pose a security threat. Not a huge deal for me since I work in networking so I have a solution for that.
yeah probably. I personally don't use it anymore. Not to good at networking so I just didn't bother xD
by "not to good" I mean I have no clue what I'm doing
lmao
Not sure what is going on, I have two separate plugins that will not parse placeholders, yet I can parse them in console just fine. Any suggestions?
Well not all plugins support PlaceholderAPI infortunatelly
the developer of each plugin needs to add support for it
They claim they have PAPI support and DeluxeMenus should support it since it is the same Dev. 😂
Featherboard is the other one which it is suppose to work with. It's even demo'd on his test server.
you have to use {placeholderapi_PLACEHOLDER} in featherboard
so for example for %player_name% its going to be {placeholderapi_player_name}
No, I was looking for that prefix for that now, so thanks
That works! Thanks! I knew there was a prefix MVdWPlaceholderAPI but didn't know if there was one vice versa. Learned some things today
👍
Another one of lifes mystery's The %online% works, but the pinger does not. Both are PAPI placeholders. I replaced my IP with IP for privacy
- '&7Players: %online%/150'
- '&7Status: %pinger_online_IP:25561%'
%online% ain't no PAPI placeholder
also have you tried parsing it with /papi parse ?
Yeah, online doesn't parse, but the pinger does. Once I use it in the plugin it doesn't parse. Not sure why some of these plugins advertise PAPI compatible if there are not.
I think it may have something to do with AutoRestart
anyone know if it's possible to parse a placeholder according to the person who is watching it? 
it can if the plugin where you're using the placeholder does that
Except that I just restarted the server manually so I don't understand why it comes from that?
I don't know either 🤷
oh so it is possible, well that's pretty much what I wanted to know
do you happen to know any chat plugins that can do that just in case
if not I can search for myself
mine can 😅 but it has the plugin TAB as dependency
i go test deleted my auto restart plugin
I'm using Featherboard, trying to use player_x, player_y, player_z and player_ping placeholders and after downloading Player via ecloud and reloading (even restarting), it still doesn't seem to want to work. Any ideas?
FeatherBoard uses MVdWPlaceholderAPI, you might want to check its placeholders
but you can use PAPI placeholders if you use {placeholderapi_<placeholder>}
o_O
Thank you
is that new tanguy?
wtf I didn't know that
ohh I use TAB lol, what's the name of it
oh nice
Well, it's not on Spigot atm, but you can download it from Github's releases tab here https://github.com/Tanguygab/TAB-Additions/releases
there's not that much documentation ||it's shit, I know ;-;||
but you can ask me and I'll help 🙃
oke, thanks!
For %server_online_<world>% where does that pull the data from? Also is the <world> like it's listed in BC correct?
Correct, that is what I am trying to get.
then you can use that placeholder and replace <world> by the name of the world you want the amount of player from
Understand that part, is it case-sensitive, does it read it how it shows in BC? Reason I ask is I am in Hub01 but when I parse this in the console %server_online_hub01% it shows 0 is in there.
In the PAPI config it is listed as HUB01 but when I parse it with %server_online_HUB01% it returns 0 also even though I am in there.
Does anyone know why in chat deluxe chat shows the place holder as %player% etc
?player
what do you mean by BC ? BungeeCord?
it doesn't have anything to do here
idk about case sensitive tho
Yes, BC=BungeeCord, I was wondering where it checking the name from so I knew how to spell it in case it was case-sensitive. In either case though they are in caps in BC and the PAPI config
Now this is the issue
The player part now works
Just the prefix no longer
Whats the best placeholder to use to output ranks
why would it use BungeeCord (which uses Servers) while you're using a placeholder for Worlds?
%vault_prefix% or %vault_rank% I guess
Because each server has a name value in there. One server in BC = One world. I.E. /server survival, /server creative... etc and so on. Yes it is a "server", but it is also a world and you're wanting to get the total number of players online on that certain world/server. In my case the total in each Lobby hub.
What about lucky perms?
you can't get the number of players in a specific world from a specific server, either the amount of players on a server, or the number of server in a world on your current server
works as well
you can either use Vault's placeholders, or use LuckPerms' placeholders
❤️
if you want the amount of players in a server, use %bungee_<serverName>%
if you want the amount of players in a world on the server you are currently in, use %server_world_<worldName>%
So where is that world name pulled from? Server properties or config for PAPI.
But no one who uses BC has multiple 'worlds" on a single BC server. So if you're pinging that server for players, you're essentially pinging the world. %server_world_<worldName>% is what I have tried, but where does the "world name" come from. Where does it read this data, server.prop or config for PAPI?
So where is that world name pulled from? Server properties or config for PAPI.
from the name of the folder of the world?
But no one who uses BC has multiple 'worlds" on a single BC server
you can have multiple worlds on a server?
Which is HUB01 like it is in the other two places. That is why I am asking so I can check and see if I am using the correct world name.
Both
use %bungee_hub01%
In my server I am using placeholder api to display placeholders on holograms, it was working a few days ago now it is not and it just shows the entire placeholder to people instead of the value, it is not an issue with build battle or superb vote as they are BOTH not working, I figure it is a problem with this or holographic displays. It shows this to people on the holographic display: WINS: {medium}%buildbattle_wins% instead of showing their wins
Also with SuperbVote, it shows %ajleaderboards_board_superbvote_votes_1_name% - %ajleaderboards_board_superbvote_votes_1_value% instead of their votes
Does anyone know why this is happening or any possible things I can check to fix it?
Do you have holographic extension too?
LOL, right back to bungee though. I get what you're saying now. I think I was confusing both of us since my naming convention was the same for my server and world since it is the hub. %bungee_hub01% works and when I do %server_online_<world>% it works too now that I know how it is working. It is case_sensitive though for both solutions. Sorry for the confusion.
how do you setup a baltop on holograms
What is holographic extension
ooo thats that plugin I deleted because it looked useless
@errant iron Thank you
XD
Is there anyone using the pinger placeholders and it accurately display online/offline? Reason I ask is it shows all mine severs are online even if they are not. I am not sure if it is pinging the port and it sees its open, or I don't have something configured right.
i believe u can change the update time of the pinger expansion in the PAPI config - unless thats a different expansion im talking about
so see if that helps with getting more accurate info being displayed
It's not the update time. They all start offline of course when it first loads. I have them set to 10 seconds. Problem I am seeing is servers that are offline and not even spun up show up as online when that isn't accurate. I think it is pinging to see if the port is open rather than if the server is online. That's my theory right now at least. I go to mcsrvstat.us and put the IP and port in of the offline servers and it comes back with a ping and MOTD. So I think it is pinging the Bungee and not the actual server.
Correct
what about the rest of the placeholders? do they return the wrong information too?
also, the expansion does actually check for the server itself, instead of just checking for an open port by the looks of it, unless something is wrong within the code
nvm, the expansion is actually completely broke 🌚
😂 Right!
I put in the IP:PORT but I think it is pinging the BungeeCord server since those servers are sitting behind a proxy. It is returning a false online status based on if the port is open or not instead of if it can query. I.E IP:25575 has a server sitting there, but it is offline and not spun up. It shows it as online because that port is open. I am going to play around with it some more. It had to work at one time and I remember it working like 5 yrs ago.
yeah ill do some digging too, i think im wrong saying its completely broke. ive just read all upon the server list packets lmao
what server version btw @cursive ermine ?
👍
ok the expansion is working for me just fine
Are you behind a bungee network?
yes
i ping the spigot instances using 0.0.0.0:25565 and it works fine
all of the instances are connected to the bungee
Yes, but that’s the proxy. You’re not actually pinging the servers. Turn some off and see if they show offline.
How are you able to tell?
Showing online isn’t my problem. It’s offline servers showing online when they aren’t.
are u giving it time to update the placeholder?
I don’t think you’re understanding what I’m saying.
turn on server -> online, -> ur turning off the server -> still showing online, yes?
OFFLINE servers are showing ONLINE. So it’s not an update issues.
It would be an update issue if online servers were showing offline.
i mean, maybe
I know they are offline because the servers don’t even exist. Only the port reservations. So that tells me it’s pinging the port and not an actual paper instance.
When you first open it they all show offline. Then the update hits and it shows online. They should be staying offline because they don’t exist. So it’s not an update problem. If it was then online severs would show offline because they never update.
I pushed the actual code behind the expansion if you wanted to take a look. It looks to be written back around 2017 so it could probably use some TLC.
I need help with the CheckItem placeholder expansion
I have a custom player head and I want to check if in my hand (its itemname is Unemployed Villager's Head), but when I use:
/papi parse me %checkitem_mat:player_head,namecontains:Villager's Head%
... and I have that item in my inventory, it parses "no".
Any help?
might not be able to have a space?
hello a question why when I download the expansion (player) for the plugin (TRMENU) the plugin (PAPI) stops working I say I put reload and it does not reload it marks error
I hope I can help me please I would appreciate it
Is placeholder text counted to scoreboard line length?
For example this https://imgur.com/4sq9NhA
Anyone help? I already wrote on this support twice and nobody answered me.
actually somebody did answer you last time. They asked if you can try re download the plugin
Send the error that you get in console. Use a pastebin to send it
Yeah spaces break it from what I've seen. You'll have to check without spaces so either check just namecontains:Villager's or make the item's name different
That really depends on the scoreboard plugin
some count it before they parse it some after
We using this https://github.com/MrMicky-FR/FastBoard in our Core plugin.
huh that's just an api. does your core parse the placeholders in the string before they set it as the scoreboard line?
als I'm not sure how scoreboards fully work so I can't help you with that. Have you tried parsing the placeholders using /papi parse me <placeholder> to see if they work at all?
Hello
I want know which one ecloud can let me use sush as "%statistic_player_kills%".
Statistic
How to download in the game?
/papi ecloud download Statistic, /papi reload
it's download, you used downlaod
yeah, he made a small mistake 😅
dk what you're talking about
mine clearly says download
lol
smh
what's funny is that I specifically looked to see if there's a mistake and didn't notice it xD
shhh
/papi reload?
it works when you parse it like that?
YES
What about the screenshot? Where is that placeholder used?
My Core does this:
public static void updateBoard(FridayBoard board) {
List<String> lines = Lists.newArrayList();
lines.addAll(MCore.getPlugin().getMainConfig().getStringList("scoreboard"));
board.updateTitle(PlaceholderAPI.setPlaceholders(board.getPlayer(), (String) MCore.getPlugin().getMainConfig().get("scoreboard-title")));
board.updateLines(PlaceholderAPI.setPlaceholders(board.getPlayer(), lines));
}```
What?
Placeholder works perfectly on version 1.16, but if player is connected with 1.8, he can see only half of scoreboard line.
probably because of the character limit
it's 16 when you're using a client below 1.13
Yes, but i mean, if it can be caused by long placeholder text
anyways, it's not a PlaceholderAPI issue
🤷
if the plugin is done correctly, it would parse the placeholder first and then cut
.
then it shouldn't be the placeholders
Maybe i can try check player's version and set shorter scoreboard.
also, be aware that color codes are also counted as characters
yeah
hello im looking for javascript engine supported by this plugin
it only supports nashorn and if you're on java 15 you can install GraalVM so you can use graal then
bcz nashorn was removed in java 15
nashroon
i do 🙂
I suck at coding, but I am a networking wizard so I could help with advice in those regards.
I try those two methods but it still parses "no"
it's graal.js iirc
if you use GraalVM and use engine: graal.js for all your scripts it'll work
can someone please help me with this
Tanguygab gave you a class from another plugin that does the exact same thing. The link seems to not work anymore but found it again: https://github.com/NEZNAMY/TAB/blob/master/bukkit/src/main/java/me/neznamy/tab/platforms/bukkit/features/ExpansionDownloader.java
Guess i will be releasing 1.7 javascript expansion soon, with an exception
Which is, at least, tomorrow
took you a while xD
soon™️ yes
🌚
Is it possible to get the top player for a specific statistic with placeholder api? Or is it limited to only the viewer?
Only viewer. It takes the statistics from minecraft. You can use a plugin like LeaderHeads or AJLeaderBoards if you want
gracias.
How can I add the bungee expansion? Because I have the placeholderapi in all my spigots but it doesn't work on my bungee, is it an expansion that I have to install on the bungeecord?
They help me? How do I get the bungeecord expansion of placeholderapi? to put in the menu of my server the number of people connected to a modality
/papi ecloud download Bungee
/papi reload
I already did that on all my spigot servers but it still doesn't work, do I have to add something to the bungeecord?
I mean look, I'm putting the placeholder in my modalities menu that the active users appear in each modality, but it doesn't work, I have installed the bungee expansion on each spigot server but it doesn't work, I have to install something in the bungeecord?
have you tried /papi parse me %bungee_survival% ?
I put that in and a number appeared
then whatever you use it in doesn't support PlaceholderAPI
So how do these people put the number of people connected to a modality?
put them where?
When you open the menu to choose the modalities, people put online in each modality there, how do they do that?
Well what plugin do you use for that?
ChestCommands
Well contact the ChestCommands developer and ask them if it supports PlaceholderAPI
oh ok
Hello, i tried to download heroes expansion but i got this error ```>.... [20:57:13 WARN]: [PlaceholderAPI] heroes is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
the expansion is outdated. Contact the developer of the expansion and ask them to update it
ohh okay thanks. Is there a factionsuuid available on 1.16?
how can i wipe the data for statistics addon for papi?
its stored in the main world folder
its a folder called stats or statistics
its just the default minecraft stats
ok thanks
24.04 04:33:53 [Server] WARN [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder test isn't initialized! Defaulting to global
does anyone know where I need to go or look to resolve this issue?
set engine in the javascript_placeholder.yml to nashron
EXP:
isl:
file: colored_island_level.js
engine: nashorn
if u use jave 15 or above javascript engine will be graal since nashorn was removed
thanks for the insight! i will downgrade to java 11 instead
ok
btw start ur server with sth like this :
*"C:\Program Files\AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin\java.exe" -Xms2048M -*Xmx3072M -jar server.jar -nogui
PAUSE
so u dont have to change default version of java
plus u can keep multiple java version
so it will remain 15 but run as 11 when starting the server?
yup
ur gobal will be 15 but for the cmd that run ur sv it will be 11
"the driver where java usually install:\place where ur java put in\some other sub folder to ur java(u may not have this)\java11 file here\bin\java.exe"
the path to ur java.exe file in genaral
gotcha, thanks for your help ❤️
k
@turbid tide you here?
No. I'm somewhere else
Kek peace
I use scoreboard reloaded and I dont think place holder api is working with it correctly I tried lowercase in my config too rows: 1: lines: - '&7&m------------------------' 2: lines: - '&5&lOnline' 3: lines: - '&d&l▎ &f%ONLINE% / %ONLINE_MAX%' 4: lines: - '' 5: lines: - '&5&lProfile' 6: lines: - '&d&l▎ &fName: &e%PLAYER_NAME%' 7: lines: - '&d&l▎ &fFirst Joined: &e%PLAYER_FIRST_JOIN_DATE%' 9: lines: - '' 10: lines: - '&ddepressed.rip' 11: lines: - '&7&m------------------------'
and it displays none of the papi stuff
have you tried /papi parse me %PLAYER_NAME% also why upper case? I think it must all be lowercase. Or at least for most expansions
so %player_name%, %player_first_join_date% etc.
http://prntscr.com/11z2moq
this is what you want right?
- "&d&l▎ &f%server_online% / %server_max_players%"
- "&5&lProfile"
- "&d&l▎ &fName: &e%player_name%"
- "&d&l▎ &fFirst Joined: &e%player_first_join_date%"
Use indeed lowercase and if you didn't have it use:
/papi ecloud download Server
I have done parse me it works in that it does need to be lowecase but I tried uppcase cause it wasnt working and atleast online players is working now but my config looks like this
lines:
- '&7&m------------------------'
2:
lines:
- '&5&lOnline'
3:
lines:
- '&d&l▎ &f%server_online% / %server_max_players%'
4:
lines:
- ''
5:
lines:
- '&5&lProfile'
6:
lines:
- '&d&l▎ &fName: &e%player_name%'
7:
lines:
- '&d&l▎ &fFirst Joined: &e%player_first_join_date%'
9:
lines:
- ''
10:
lines:
- '&ddepressed.rip'
11:
lines:
- '&7&m------------------------'``` and It only displays this https://prnt.sc/11z4qsa
also in the join date in your screenshot Dannke how do I get rid of the time I only want the date
That looks to me like the scoreboard has a limit of characters
idk if there's anything you can do about it
and about the join date either. Maybe there's a foramt in plugins/PlaceholderAPI/config.yml but not sure
Hey, I'm looking for a way to calculate with placeholder to get the time in seconds between the precise moment of the command executed and midnight (0h).
This is to make a daily system.
If someone has the solution ? 🤷♂️
You can probably use the %server_countdown placeholder
This does not advance me too much 😕
have you tried reading the wiki about it? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#server
@turbid tide im using scoreboard revision it shouldnt be exceeding the character limit
Yes but I can't get the hours and minutes to work, there aren't many examples for my use
What's the time rn (the server time)
server time = time where the server is located
I have found a solution
%math_0:_24-{server_time_H}%h%math_0:_60-{server_time_mm}%m%math_0:_60-{server_time_ss}%s
ps blitz do you wanted the code for the shop also?
Ugh what shop?
The item for item shop
Well I mean if the placeholder works when you use /papi parse then the problem is somewhere with the scoreboard or the char limit
You'll have to link me a message bcz either I forgot or idk what you're talking about xD
This part
Didn't CJ help you with that already?
yea he has the code already
but was wondering or you wanted it to 😊
because you also tried to help 🙂
ah nah I'm fine. I just use ShopGui+ for shops. Much easier
that is a option to xD
does this work for command blocks im trying to make it so when u press a command block it teleports that player to (cords)
Does what work? Placeholders?
No. Command Blocks don't support PlaceholderAPI
./tppos x x x @p
its not that hard to google xD
Probably wants to use placeholder for coords
so he can change the coords without chaning the command block command every time
hmm good point, or use warp system >_<
ikr
Is there anyone experienced with the checkitem placeholder available?
I am trying to setup a shop where a user needs two required items to purchase an upgraded item, however if the user misclicks and only has one of the required items, it removes that item from their inventory and doesn't give them anything in return, is there any fix to this?
IE:
HasTicketTierIII: type: '>=' input: '%checkitem_amount_remove_mat:PAPER,amt:1,nameequals:&cArturo''s Ticket%' output: 1 HasLockerTierIII: type: '>=' input: '%checkitem_amount_remove_mat:ENDER_CHEST,amt:3,nameequals:&bKey Locker%' output: 3
If the user doesn't have the required Ender Chests, and they accidentally clicked it and have an Arturo's Ticket in their inventory, the ticket gets removed.
Hi, is there any way to add more formats to the money in the vault in the papi without being the following?
vault:
baltop:
check_delay: 30
cache_size: 100
enabled: true
formatting:
thousands: k
trillions: T
quadrillions: Q
billions: B
millions: M
u cant no
check if they have this item first in the requirement, but then in the commands, thats when u can parse the checkitem remove plcaeholder
someone help me optimize this, since currently when there is activity in life the TPS low,
that java script basically makes the value pass it to texture.
im doing <shine start=&d&l middle=&5&l end=&d&l normal=&f&l>DEPRESSED</shine> and type writer in my config and it aint working
oh ok
#spigot-linking . Link your spigot account and you'll get access to the channel #voteparty
Well then you'll have to either ask them to come and link so we can confirm they bought it or check the wiki bcz that's all I can do
=wiki voteparty
@warm topaz Unknown expansion.
what is eazynick, is it a plugin?
do u have the plugin installed? and can u link me the plugin page please
yes
u need another _ between is and nicked according to the plugin page
%eazynick_is_nicked%
try update expansion
how to update
it might be a bug that also happen with vault
so i must update vault ?
is the placeholder hardcode or come as an expansion
no need if u already update it
i donwload today
ok so u only need to update the expansion that the plugin need
the expansion is not registered hm
its not
its not
ok
?paste
oh wait what is that @austere hawk
are u tying this into a javascript placeholder too?
yes
but this work
var answer;
if('%supervanish_isvanished%' == "No") {
answer = ""
} else {
answer = "&7&l[VANISHED]"
}
have you tried testing it using /papi parse me %eazynick_is_nicked% ?
it return the placeholder
oh nvm
yeah
wait why you say that?
the registered ones are just the ones from the folder Kaliber
papi dump blitz
yeah
does it yell any error like not exsiting hook method
@austere hawk yeah do this command: /papi parse me %eazynick_is_nicked% and also send over the startup log
in that case, /papi list and see if its in the list then
?startuplog
already have blitz
ah. u sure that's chat tho? XD
i had updated papi
ok
send the startup log please
u make a good point blitz
?startuplog
?paste
hastebin is broken
and slap it there
ooorrrr helpchat paste?
we should probably remove it from there
thanks
[16:54:16] [Server thread/WARN]: [EazyNick] Task #28 for EazyNick v3.0 generated an exception
java.lang.NoSuchFieldError: unlimited_nametag_mode_not_enabled
at net.dev.eazynick.EazyNick.initiatePlugin(EazyNick.java:204) ~[?:?]
at net.dev.eazynick.EazyNick.lambda$0(EazyNick.java:87) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.base/java.lang.Thread.run(Thread.java:829) [?:?]```
here we go
expansion you mean? Then you can probably use the math placeholder + the statistic ones
hmmm why there is also multiverse error
'''
[16:54:09] [Server thread/ERROR]: Error occurred while enabling Multiverse-Core v4.2.2-b812 (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/entity/Phantom
'''
yeah we're not here for that rn xD
but probably bcz he uses the wrong version
of MultiVerse
since he's on 1.8.8
Baole that's not helping xD. If you wanna help then start figuring out what the problem is 1 by 1 otherwise we'll just confuse him and then ourselves
when since the old hooking method got remove ?
https://stackoverflow.com/questions/6686753/nosuchfielderror-java this might be plugin class problem it it work the same
so it config error
the joys of open source 😌
@austere hawk download and use TAB 2.8.10. If I'm not mistaken it looks like either TAB changed or removed the option that EazyNicks is looking for
also yeah you'll probably have to restore the config for TAB completely I think
back up the old one first
blitz btw the expansion listplayers got outdated , is there any1 still work on it ?
[PlaceholderAPI] listplayers is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
playerlist expansion instead
ok
updated, more features too
i already have it
then remove listplayers lol
so it ok to remove listplayer ?
well it doesnt work, so why would u keep it?
why we remove support for the old hook method ?
hmmmm
i had tab TAB-2.8.11-pre14.jar
yeah I know
download the official spigot release
it will probably work with that one. but I can't confirm for sure
otherwise you'll have to contact the developer of EazyNicks and show him the eerror
error*
they also have discord support, try it too
it works great
bruh
=wiki deluxemenus update interval
ok i already found it
#deluxechat . Download the pinned version of DeluxeChat
Ok
The placeholder does not work with false but outputs No for / papi parse me, where is my mistake? http://prntscr.com/121sfit
well then if its outputs No then u need to change the output in your requirement from false to No
Thank you, the translation came from / papi parse and it works, thank you: D
How do I find the max players for bungee cause %bungee_<servername>_max% doesnt work
did u download all needed expansion ? and have papi install into bunggecord ?
%bungee_<servername>_max% um there's no placeholder like that on the github page
thats what im saying so whats the placeholder for showing max amount of players ?
no
u can make a javascript for it maybe
Hi, I have a problem with PlaceholderAPI .. When I write /papi ecloud download I don't see the plugin offer and when I write for example /papi ecloud download Statz it writes "Failed to find an expansion named: Statz" and when I give /papi reload so I have this error in the console: https://paste.helpch.at/namoketazi.md Thanks
And I have the latest version
Yesterday I still had no problem, but today after using /papi ecloud download VotingPlugin I can't
pls make sure that the expansion name is correct and the last shutdown was done good or it may cause issue with plugin, 1 example of badly shutdown is eternal error with essential. i recommend u download the papi again and the needed expansion incase of error
Ok I'll try
And the name of the plugin for which I want to download papi is good. I checked it
also make sure to check out avaliable expansion ,if there no expansion on the ecloud ur plugin may have it hooked in the code by itself or it not support at all
May I ask can which plugin / expansion can parse Top Death of the server?
u can use the death count of the player expansion and make a javascript to rank it
Alright, is there any related example as well?
Um ... Every time I give / papi ecloud download Server it writes an error to my console and it doesn't work anymore :))))
😅
send the full log in paste
Ok
Thanks..
btw can u tell me the reason of tunity
I have been using tunity for a long time and I have no problem with it
I'll probably put PaperSpigot in there
change to paper ( highly recommended ) some problem and compatible should be fix......
Ok, I'll try
also
i found that papi trying to download sth
is the engine u use have some source of auto download expansion ?
I don't know anything .. I can send a list of plugins****
is ur server machine have some source of 3rd antivirus or strict firewall
that also may cause by blocking by firewar
which make papi cant download what it should do
I don't have anything like that
ok
can u type /papi list
and compare it with ur expansion file
there should be some that not enable
yes
do you have Holographic Extension and ProtocolLib ?
ok what plugin that hold that placeholder
ill see if i have protocollib
yep i have protocollib
and Holographic Extension?
no
you need it as well
use holo extension which have placeholder support for the display
this is a common problem
don
no you don't need to?
realy ?
yeah, it works instantly
the only thing he could need is adding {medium} in his holograms' lines so it refreshes and doesn't stay static until you relog
btw i cant share my sv
same issue
oh
nvm
im at the workshop rn so i dont have open port
but do i need to type the [Name] and [IP] format ?
placeholders still show %placeholder% and don't show the values?
This is not possible at all. I don't even understand why you need a placeholder for this because you know what the number is since its "Hardcoded" aka set by you.
no
i mean yes
can u help me
if u can join
I'm in class right now
?imgur
@restive obsidian ^^^
sent it here sir
Have you tried the placeholders using /papi parse ?
try /papi parse me %placeholder% (change %placeholder% with one of those placeholders) and see if it works or not
What hologram plugin do you use then?
holographic display
and you have HolographicExtension and ProtocolLib installed?
what placeholder and why
wait can i send you a screen?
?imgur
use imgur ^^^
Are you using HolographicDisplay?
yea
Then make sure you have HolographicExtension and ProtocolLib as well. Because HD doesn't support PlaceholderAPI by default
i think Holographic display should add this to the upper part of the plugin so this wont be the issue
there's probably a reason why they don't. idk
yes
/papi dump And send the link here
i have protocollib but im gonna instal the other one
👍
https://paste.helpch.at/lamovusajo wut this for
ok
they dont event update it anymore
they do 🤔
it the same version since i download it long ago
realy
yeah
same version since 8/8/2020
both 1.10.9
i think it not detect as outdate bc of same version in plugin.yml i guess
I don't understand what you're saying
my extension plugin was download since 8/8/2020 and it have same version as the 1 on spigot
and the update is 28/4/2020
well yeah bcz that was a snapsoht
wait what no !?
the version in the plugin.yml might be broken but they do update it
when they need to
i mean on the spigot page
they don't have a spigot page tho
??????????
im saying about the extension
wait but what's wrong with the extension/
k
yeah I saw JNANESH. will look in a second
HolographicDisplays [Version: 2.4.6]
HolographicExtension [Version: 1.10.9]
oh wait @restive obsidian you don't have ProtocolLIB tho... you said you have it
@restive obsidian also update ur world gaurd if u on newer minecraft version
since 1.1.8 so no need update
I thought you were talking about HolographicDisplay here since you replied to a message talking about HolographicDisplay
um
um you talking about not putting the extension on upper page of the plugin
yeah you can use WorldGuard 6.2 on 1.8 https://dev.bukkit.org/projects/worldguard/files/956770/download
i have a working world guard
Ohh. I thought you meant like add this dirrectly into their plugin. I see now
ok
yeah we're just saying you can update but anyways. Install ProtocolLib
doing that
yep
k
according to the spigot page
blitz why we still watching clip :V
I just have it opened in a corner. Doing other stuff
I'm here for the music mostly xD
hah
how to get motivation when making item in deluxemenu ?
cause it a pain but essential step
bruh
yeah........ atleast i dont have to manually make each filler like the old school chestcommand
and the position mechanic bad to
Shout out to clip for using the slot mechanic
it works btw ty 😄
oh whoops
👍
👀
@errant iron it works if I i return a number
It looks like like value isnt returning a number
are you using that to index an array or something?
cause it seems to be out of bounds
hmmmm
hmmmmmmm
?codeblocks
can someone help me to make scoreboard with how many time you have played? like days, hours, minutes, seconds
there is a placeholder for that in player extension
u can always visit the wiki
i dont know how to structure it
i cant send screenshots right?
here u go
u dont need the scoreboard
just get https://www.spigotmc.org/resources/mvdwplaceholderapi.11182/
and then this 1 https://www.spigotmc.org/resources/mvdwplaceholderapi-playtime-placeholders.49147/
i mean, i want on my scoreboard to display kills, deaths, money and how many time they have played, thats why i have scoreboard
the have it show in the spigot front page
im said that u dont need mvdwp's scoreboard to use these placeholder
u mean like this :
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%
u can make a javascript to return formated time
i mean this " playing from: 1day, 8hours, 10minutes, 5seconds "
i know
these r raw placeholder
use math to calculate the time
if u want i can help u make a javascript placeholder for it
it will take some time to do
can u wait im making it rn
sure this 1 project seem interesting
no im not im currently building my sv, these could be usefull for me later
@novel fossil u need this extension first : /papi ecloud download Statistic
i did this
ok
how can I add a dot after 3 digits in the SHOW to make it 100.000 instead of 100000? ```var team = "%bskyblock_island_members_count%";
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
return "" + team * 50000
}
function ecoMain() {
if (args.length >= 1) {
var args0 = args[0];
}
if (args0 == "take") {
return ecotake()
}
else if (args0 == "show") {
return ecoshow()
}
else {
return "Specify 'take' or 'show'"
}
}
ecoMain()
but if the time and day not reach it will show 0d