#placeholder-api
1 messages · Page 154 of 1
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?
Please respect the rules, be patient and don't ping staff members!
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
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
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
Please respect the rules, be patient and don't ping staff members!
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
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
#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
VoteParty - HelpChat Wiki
Description. VoteParty was designed to allow you to reward all online players
with customizable rewards when your servers gets to a certain number of votes
using ...
@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
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
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
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
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
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
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
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
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
For 1.12.2 and below:
- Replace item IDs with the Material Names for your version.
For 1.13+: - Replace item IDs with Material Names for your version
- Remove
datatags
bruh
=wiki deluxemenus update interval
GUI - HelpChat Wiki
You can use color and formatting codes here. Requires Arguments to be defined.
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
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
@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
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
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]
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
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
Online Editor
Thanks to a great community member (@dapper wagon) there is an online editor you can use for deluxemenus. Its not fully-featured yet but it can help a lot if you're looking for one.
Editor: Click Here
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 😄
Please respect the rules, be patient and don't ping staff members!
oh whoops
👍
If you use DeluxeChat with TownyChat, make sure to follow these instructions:
https://github.com/help-chat/DeluxeChat#townychat
👀
@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
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- “hi”
- “there”
```
Produces:
test:
- “hi”
- “there”```
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?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
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()
ye
so do u want me to fomat the output ?
then i will make a js placeholder do modify it
ok
It won't.
it will show 3m then 1h 3m then 2d 1h 3m
well at least that's what it should be doing
just u the %statistic_time_played% then
can i ask for general problems here or is this only for PAPI?
if we know we can help
#general-plugins if its plugins #minecraft if its minecraft
ok, thanks. Do you know how to remove <tab> in minecraft chat? all members can see all commands even those they dont have permission
sorry
it shouldn't show
I don't think there's a way to block it for specific users (with the existing plugins I mean) but you can block it for everyone using PluginHiderPlus
mine dont show at all if they dont have perm
they can see commands like //brush //ae /action
maybe give them specific perm for a command will work?
well i already did permission
they dont have permission for most of them
but they can still see those commands with tab
in the chat
idk about that but i use luck perm and it work well
pressing tab will only bring back usable command for the player that have perm (in my sv)
well sadly on me is not like this
they can see every command in the server
they dont have permission, but they can see it
does it flag red or normal gray
wait
Locale locale = getLocale("en-US");
NumberFormat numberFormat = NumberFormat.getNumberInstance(locale);
DecimalFormat decimalFormat = (DecimalFormat)numberFormat;
decimalFormat.applyPattern("#,###,###.##");
decimalFormat.format(number);
normal gray
maybe ur permission plugin dont have that feature ?
wut r u using
PowerRanks
dont know about it sorry
its ok
wow ty I'm looking at how to use this 🙂
its basically all there just change number to your number
well i guess i will have to switch
LuckPerms has a convertor for most plugins so it might have one for PowerRanks as well
luckperm also have a nice editor that save u bunch of time
I will definitely switch to luckperms
do you guys know good plugin for clans?
i use Clans - clan system, do you know if i can use placeholder for this? something like " Clan: (clan name) "
and i can add this to scoreboard?
%clans_clan_tag% & %clans_colored_clan_tag%
these are the placeholders
you can use
should i download something?
oh boy @austere hawk I just realised I gave you JAVA code and you need JavaScript. I'll look at how to do it in JS and update it xD
Nope should work
right away
when you got PAPI and Clans
cool
ty 😄
So it seems like the only way to add dots is to use REGEX. Which idk if will work with javascript.
but here you go
function currencyFormat(num) {
return (
num
.toFixed(2)
.replace('.', ',')
.replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.')
)
}
return currencyFormat(1234567.89))```
oh ty i will try 🙂
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
toto= "" + team * 50000;
return toto.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
}
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 the return is 50**..**000 >_<
ok i found
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
toto= "" + team * 50000;
return toto.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1.");
}
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()```
do you know how i can add the online players amount at the bottom
%server_online%
so i need any special downloads?
This work work since args0 is defined inside that if (args.length >= 1) and the code below dont have access to it
Server expansion
^^ /papi ecloud download Server /papi reload
how can i add smething for the thign where you ghold Tab
so itll show the time ping and online staff?
use a plugin like TAB
multiple arguments where?
link for it ?
1 sec
is there a way on the Tab Plugin for it to do time via Location
so if someone is in america it shows their time on the TAB plugin and say from the uk it shows uk time
not really
you probably can with the LocalTime expansion for PlaceholderAPI
Please respect the rules, be patient and don't ping staff members!
What script?
use the Formater expansion instead
/papi ecloud download Formatter /papi reload
then use %formatter_number_format_{supermobcoins_mobcoins}%
what does it return instead?
Hello, I need help! I install NametagEdit on my server, and I previously have installed PlaceholderAPI plugin. And when I restart my server, have an error ([NametagEdit] As the error above suggests, you do NOT have any placeholder plugins installed. The placeholder API is merely an interface, it requires other plugins to function. This is NOT an issue with NametagEdit.). I don't know what I can do to solve that error. I used newest versions of PlaceholderAPI and NametagEdit.
On older versions, that works. Now on 1.16.5 version, have that error.
Thanks!
send the log file first
have you tried /papi parse me %formatter_number_format_{supermobcoins_mobcoins}%?
I deleted unimportunt stuffs, and left only thing that are connected to NTE and PlaceholderAPI https://paste.helpch.at/nofoxiroxa.md
That's not really a problem. Its just a stupid error NameTag gives for some reason
I've seen this before but I've got no idea how to disable it
Its spaming console a lot, and that annoying me a lot
Try contacting the developer of the plugin. see if there is a way to disable it
Oke, thanks! 😄
Ohhh think I found it. I think the problem is that you need one of Maxim's plugin
do you have just MVdWPlaceholderAPI installed
and no other MVdW plugin?
Ouuu
I have MVdW, but I havent install FeatherBoard.. I will try that now
It works
!!
Nicee
That makes issue, thanks a lot
👍
@warm topaz idk, placeholder outputs a decimal when trying to make it a wholenumber
which placeholder
var current = Number("%sack_slots%");
var one = 1;
var result = current + one;
function sacksize(){
return result.toFixed();
}
sacksize();```
toFixed(0)
Thanks @vivid sparrow , you should reply to our dm though
damn I saw them but forgot to reply smh
Is it possible to pause a placeholder timer in a certain WorldGuard region?
For example, i am currently using this place holder %statistic_time_since_death%. Is it possible to make it stop counting when a player enters Spawn region? Because then they could just AFK in spawn and rack up time to be on the top of the leader board. I hope that makes sense. Or is there another way i can go about doing this?
that is not possible. the statistic expansion just takes its data from minecraft so you'd have to pause minecraft's counter somehow
Ahh man i was hoping there was some way to counter people afking in spawn for longer survival time 😂
Is there a way i could do it with a separate plugin that tracks time since last death itself instead of using minecraft data?
you could but there is no plugin that I know of that does this
so you'll probably need something custom
Can someone help me please with math problem 😄
When I use it like that it work normally
%math_2/5*100%
but when I try to use placeholder like this its spamming my console and it do not work at all..
%math_{placeholder_1}/{placeholder_2}*100%
Error:
[PlaceholderAPI] [Math] Invalid Placeholder. '2/5*100' is not a valid math expression.
What Im doing wrong? Because I need it to work with these placeholders 😕
https://prnt.sc/12605e0 It says so, what can I do about it
hello
what does %player_exp% returns exactly in 1.16.5?
for some reason it is returning 0.0 when i've 2 levels of exp
Maybe the placeholder contains a color code?
Hello, I want to ask for support about the CheckItem expansion.
The modifier namecontains, namestartswith and nameequals does not work. (I think)
I try to use the command /papi parse me %checkitem_namecontains:Panda% when I have in my inventory a Panda Spawn Egg and a Custom Player Head name "Panda's Head", and it parses "no".
Any help?
I would love to help but sadly I've got to head to bed
if you're still around tomorrow I can help ya out
only thing I can suggest now is making sure you're on the latest version of papi and checkitem
No problem for me
I just download the expansion and yes, I'm on the last version.
Also I'm using the last version of Purpur 1.16.5
I check this too but its without color code
I have an issue registering my plugin's placeholderAPI's placeholders.
try change to paper cause it better
is it ur own plugin, check the wiki back they have quite very detail guide
how do i check all placeholders i have
When can I register the placeholder Of my plugin?
when I try to register it on the "onLoad" it gives me a null pointer exception "PlaceholderExpansion:132"
Load it onEnable. Also what's the full error
yeah you probably want to register it onEnable
I try it on a Paper local server and it still didn't work
i think u need to redownload the expansion to update and fix some problem ( just incase )
I try that like 2 times, also I create that server from 0 to check with only PAPI if that expansion works, and it doesn't
do u have a screenshot ?
yup
Ye
1.16.5 you said?
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
in console
ok
in the meantime, try a dev build of papi
seems to be working fine for me on 1.16.5 with 2.10.10-DEV-118 checkitem 2.0.6
obviously i recommend the latest dev build though, i'm updating rn
Ok, I'm updating to the last dev
wait a minute
I think I see the issue
you're trying to check if the local name of an item contains Panda, not a custom display name for the item
that won't work sadly
let me see if I can add that real easily
ye, but it's not a "custom name"
so it's treated completely different in regards to how it's coded
nah, let me see if I can add support for it
ty
I got no idea
the only way I see that I could do it now is if the server has a specified lang file
how can I get Panda's Head @sturdy raft
so
oh wait
I did that on my spawn eggs
you're using a custom datapack for names of items, right?
ye, the More Mob Heads from https://vanillatweaks.net/picker/datapacks/
for the egg, no
the egg is from Vanilla Minecraft
if you use /itemname for the head, but I don't think you do, it would work
the custom head is the issue
yep, being from a datapack it doesn't actually modify the displayname of the item in spigot I don't think
if it did, %papi_checkitem_namecontains:Panda% would work
is mmoitem work with checkitem ?
meaning?
it should bcz its just an item with custom names and lores
recommendations?
you can't check nbt tags tho

no idea how to do this @sturdy raft
if I did I'd just add it to checkitem
:L
sadly
I guess the best way would be to just use a plugin instead of a datapack
like EpicHeads or something
could you create the items with custommodeldata @sturdy raft maybe?
I don't know how to use custommodeldata
I can't think of anything else that is "hidden" to the player
custom model data would require a resource pack tho wouldn't it? I think best is just to use a plugin instead of a datapack
https://www.spigotmc.org/resources/moremobheads.73997/
I'm gonna try this one
It's the same but instead of a datapack is a plugin
that would make it a lot better
but all the old heads will not be affected by the CheckItem expansion?
correct
yisus
not sure how you could retroactively fix that one...
but for that case, how can I do that?
well... I'm not too sure either
using item createor
there's many free out there
I think the plugin might be the best solution though
because either way, you can't fix what the player's already have...
an example pls?
ummmmmm
ye, that's not what I want to, but it's the best option rn
how about this one?
https://www.spigotmc.org/resources/itemedit-1-8-x-1-16-x.40993/
yeah that will work too
croabeast when you get a blaze head on drop, is it named Blaze or blaze's head?
this is its tag: "tag": "{SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Name:\"Blaze\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0=\"}]}}}"
Ay, aynone know why this doesen't work?
%math_{ultraprison_next_rank_cost}/100*{rng_25,50}[precision:0]%
wait a sec, I need to test that
Sorry for distrubing.
you see how it says the name is supposed to be Blaze?
precision changed I believe @austere hawk https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#math
it says Blaze's Head
and the texture is right and all, ye?
yup
so
{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}}
ah alright
That is the correct tag that I've tested
works with checkitem
/minecraft:give @p player_head{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}} 1
I had to fix the name
and it works
but it would have to be done for every mob
mmm
from {SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Name:\"Blaze\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0=\"}]}}}
to
{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}}
The [precision:0] was changed. U should use %math_0:_{ultraprison_next_rank_cost}/100*{rng_25,50}%
but it doesn't work if I check namecontains: Blaze?
after I fixed it, it works with checkitem yes
that's if you want to stick with the datapack, you just have to modify it
ok... maybe change all the mob heads from the datapack is not a good idea xd
or you can switch to a plugin you were looking at
but in both cases the old heads will not work
correct
now...
you could have a commandblock
that constantly runs
and replaced all old heads with new ones
ye
but I have no idea how to set that up
wat
might be easier than you think
I dont have any idea how to use command blocks
I tried, but still doesen't work.
maybe use a repeat cmd without condition ad redstoneless that ran an update command till it done
:,)
however thanks you for trying.
Next rank price - https://prnt.sc/127jefr
ah
Is there way to remove commas?
or should I ask developer to add without commas?
it a number format
have you checked if there is any placeholder like that
maybe make a javascript placeholder to de-format it ?
uhm maybe
basically it just need to slipt and remove the commas, and convert string to mumber, maybe float should work
1 line
where I should place that hahaha
An expansion that allows you to use javascript for processing
• Wiki
• Community Scripts
• GitHub
• eCloud
leave undefined
ok
is the essentials.invsee only allow normal player to see other inventory or can modify it too?
how to test it?
/papi parse me %javascript_<whateveryounamedit>%
it fine
that should be fine
demical ok
it's math
any 1 ?
ok
tysm cj!
phew
👍
yeah but last update sep 25
🤷♂️ no bugs
alright, anyway thanks again!
if it still good then no update needed
exact
display it where?
so instead of displaying the player's rank it would display another's player rank?
yeah
well you can use the ParseOther expansion
%parseother_{OTHER-USER-NAME}_{vault_rank}%
👍
huh have you downloaded the parseother expansion?
what placeholder have you used? the exact one you've put in the scoreboard I mean
%parseother_mrdla333pe_{vault_prefix}%
^^^
Same
so %parseother_{mrdla333pe}_{vault_prefix}% still not working?
%parseother_{mrdla333pe}_{vault_prefix}%
can you try /papi parse me %parseother_{mrdla333pe}_{vault_prefix}%
see what it says
and mrdla333pe is online?
no
well that will be a problem
Do he have to be?
ya..
Thanks
👍
yes
So i put{{}}
Or 1 will work
1 should work
Ok
2 will also work I think tho
Thanks
most likely not @turbid tide
So no%
no %
Ok
yes no % because it adds them
more brackets would probably break it tbh @turbid tide
somehow
hmm I remembered it did but maybe I'm just missremembering or just thinking about the deluxemenu's arguments stuff where you do need 2 of them but anyways 1 should work
ah ye