#placeholder-api
1 messages · Page 111 of 1
yeah i know but i dont know js
and i have no idea how to call variables from one plugin to other
Hmm yeah I don't know how you would call /papi parse from the Javascript either
But I'm sure some people in here know how to
like lets say i made a code like this;
check quest name
replace <quest> with quest name
i dont know how will i do the check quest name part
there is another placeholder for quest name
%quests_player_current_quest_names%
Based on what I see here you can just put the placeholder as a string in your Javascript file and it will parse it
oh really
so let currentQuest = '%quests_player_current_quest_names%'
But unsure how that would work with concatenation
%quests_player_currentobjectives_{quests_player_current_quest_names}%idk for sure this will work but you can try
yeah
or you could give it a variable
and put the variable in
wait
let me go learn js first
brb, getting computer science degree
😄
can someone make me understand what exactly %player_time% is returning? First I thought its just the timestamp from the player's area
but doesn't seem to be that at all
when does %player_time% start counting from and also how much is a second
?
Would, but using a broken version where some commands don't work :p
is there special syntaxes for javascript extension or can i straight up call variables in my .js files
if there is a wiki for javascript extension it would be perfect
wdym by straight up call variables? you can declare and use your own variables indeed if thats what you mean
there actually is 1
ah thx
Hex expansion when
Well it depends
I can easily integrate it but it depends how the plugins actually calling the placeholder handle it
Unless I use that legacy format that (should) hopefully work everywhere
&x&F&F&F&F&F&F
Lol
Could someone please re review this when they get the chance? https://github.com/PlaceholderAPI/Vault-Expansion/pull/13
How to start a scoreboard plugin with papi?
Do i create the board first
Or i add placeholderapi support first
?
I get this error while server starting: https://paste.helpch.at/adukuxadaj.rb after that, if I use /papi ecloud status , it says "No cloud expansions are available at this time."
@hard dock,
Looks like your server can't connect to our API,
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
I'm selfhosting it and idk what connection I might've blocked
I reset the config and for some reason that seemed to fix it 
Hi , I have an issue with the expension PLAYER with VoteParty when i want to add an vote to a player ( me ) i have an error with the placeholder %player_name%
>vp addvote 1 DefiDegue [04:34:25 ERROR]: [ACF] Found unregistered replacement: %player_name%! [04:34:25 INFO]: [FightMC] > Vous avez donné 1 votes à %player_name%!
But on another plugins , exemple my scoreboard , the placeholder work , i have already deleted and redownload the expension and placeholder ( he are in the latest version ) and i m in 1.12.2 spigot version
(I've okayed him to ask this here because I couldn't figure it out) ^
When it tries to parse %player_name% ACF throws that because for some reason the player expansion isn't parsing it.
what is ACF
I had that a lot and downloading the expansion seems to fix it just fine.
The command handler inside VP
It's weird cause I see it loading the player expansion.
I just tested it on the same environment (minus OS) and it worked fine.
other plugins?
I'm rather new to PAPI development, but after some quick Google-fu I wasn't able to find an exact answer to an issue I'm having.
I'm trying to make a placeholder for a secondary prefix as well as a secondary group weight (this goes in-hand with vault_primary_group_weight and vault_prefix, so I can't just use those). I'm seeking to organize our tab list in a specific way, so adding an extra dimension to group weight and prefixes would be the easiest way to do so.
Now, I've gotten it all working on a single server instance, however our system is running on a Bungee network, and Papi doesn't seem to be making onPlaceholderRequest() calls for players not on the same server that the placeholder is running on.
i.e.
Testing server with Custom Plugin with PAPI hook, PAPI, LuckPerms, and a few other assorted plugins.
Other servers connected through Bungee and the same LuckPerms DB (MySQL), each with PAPI on them as well.
Bungee with BungeeTabListPlus that grabs
custom_prefixandcustom_group_weightPlaceholders.
Once again it works for any users connected to the test server directly, but it just sits at %custom_prefix% in the tab list for OTHER users across the network and I'm wondering if this is a PAPI issue or a BTLP issue that I need to fix.
EDIT I'm a dummy and figured it out after one last test. I need to have the custom plugin running on every server too otherwise BTLP won't grab the PAPI placeholders properly. Interesting interaction. Leaving this here in case others have similar issue.
@lean fossil papi isn't a bungee plugin as of right now, you could look into using the bungee addon
I'm using PAPI with my bungeeserver and it doesn't show up each server total players ;-;
PAPI does not support bungee. You need to install PAPI on all your server except your bungee and download the bungee expansion on each of them as well /papi ecloud download Bungee /papi reload then use %bungee_total%
Thank for the suggestion
There is no time to wait! Ask your question @austere hawk!
There is no time to wait! Ask your question @austere hawk!
i need help
There is no time to wait! Ask your question @austere hawk!
You gotta be shitting me right?
i need help
There is no time to wait! Ask your question @austere hawk!
aham
player username
my laptop was shouting at me and i now realize why
are you being serious
can you please talk like a normal person (in one sentence)
ok
use this
k
if you'd like to use it in commands i'd recommnd you using %player_name% as player displayname might alter from the username
@austere hawk
Reason: Spamming
what i was not spamming ?
yeah
admins must be abusive i guess
I always knew it
Hey i need help, it is not showing my whole name
whats it showing then
my name
1 sec
is not showing my whole name
whats it showing then
my name
🤔
I dont see anything wrong in there
yes there is.
[admin] whoaboutyt
[admin] whoabout
how do i fix
put it in another row
ew 1.8
Update to 1.16
or just name it User: instead of Username:
I mean it'll still break for users with longer names 🤷♂️
yeah username: is way too specific
or just name
Correct
also the luckperms_highest_group_by_weight
does not work
it says default
and the weights r set up
Depends on the scoreboard plugin
PapiScoreboard
should probably seperate the name from the rank too btw
plugin
There's a PapiScoreboard plugin?
and use a chat plugin and edit the format to show the prefix
rather than adding the prefix to the player's displayname
Command: /reloadscoreboard - reloads scoreboard
ok
thanks for the help!
why this not work?
- '&b| &7Online: &f%server_online%&8/&f%server_max_players%'
it shows
/papi reload```
?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders placeholders can be found here if thats what u mean
var exp = parseInt("50912");
function formatNum(num){
var suffixes = ['', 'k', 'm', 'b', 't', 'qd', 'qn'];
var decimals = 2;
for(i=0;i<suffixes.length;i++){
if(num>=1000){
num = (num/1000);
} else {
return num.toFixed(decimals)+suffixes[i];
}
}
return (num*1000).toFixed(decimals)+suffixes[suffixes.length-1];
}
formatNum(exp);
@keen crown ^
that can help you with your prestiges formatting
you can specify the decimals, just change the 50912 part
for more info about jsp check this
An expansion that allows you to use javascript for processing
• Wiki
• Community Scripts
• GitHub
• eCloud
I installed PAPI in every server but it still won't show up the bungee papi
/papi ecloud download Bungee
/papi reload
wdym by the bungee papi? as I said before you don't have to download it on your bungee server
just the other ones
and now if you sue %bungee_total% or %bungee_<servername>% on any of your servers it will return the players online
Hello where i can download papi for 1.16?
pinned message
Thank you ❤️
np
Hello when I use papi ecloud download luckperms then papi reload and restart the server then I have to again use papi ecloud download luckperms then papi reload.. I'm using the newest build and newest Spigot.
This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.
If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.
my guess is that u have this problem ^
!Help
?help
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
I am using PlaceholderAPI on my Spigot 1.8.8 server
but for some reasons placeholderapi isn't registering some
of my plugins, i've tried getting help from (the plugin owner) or the Iridium Staff Team
But they couldn't help me so i was told to visit helpchat.
Kaliber btw the problem when I reloaded papi: [19:13:29] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.63 which is not a depend, softdepend or loadbefore of this plugin.
hi, any time i'm using PAPI, when reloading it to get more expansions, it just crashes the whole plugin with an internal error
for instance, i'm using default configuration of PAPI and only installed Player and Server..
when you get an internal error in chat you get an error that explains more in console. Please paste it
?paste
Kaliber btw the problem when I reloaded papi:
[19:13:29] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.63 which is not a depend, softdepend or loadbefore of this plugin.
@honest pulsar That's not a problem
that's just you being warned that there is a class that was loaded and its not a depend
I actually don't know whats the problem then. I'm using the newest version of the LuckPerms, Papi and Spigot but the problem is still the same.
I get quite a few of these ever since my console panel is pterodactyl
I have a question. Does it work when you download it and reload?
or it doesn't work at all
@hidden nebula wdym by it doesn't register some of your plugins?
the placeholderapi plugin isn't registering iridium placeholders
Yeah, when I join the server (it's broken, my prefix is something like %luckperms_prefix%). So I use /papi ecloud download LuckPerms & /papi reload and it's fixed. When I restart the server the problem is the same I have to use these commands again. I would say.. It's an infinitive cyclus. 😄
that's weird. So idk if this will 100% fix it but you could go to plugins/PlaceholderAPI/expansions delete the LuckPerms one from there then go to https://api.extendedclip.com/expansions/luckperms/ and download Latest expansion and add it to the expansion folder then do /papi reload
is there a way with the javascript expansion to change the string returned by a placeholder? for example change the value of %server% to say something else.
you can make it return anything you want based on what it returns
I just want to change one character of it. Right now, it return lobby-1 but I want it to return lobby #1
this is where you'll learn how to use the expansion
and you need some basic javascript knowledge
which you can get from the vast and wide internet or just go to w3schools.com
Hey i used %javascript_lore%
https://imgur.com/a/PuZ1J1N
it worked for like 2 seconds.
then it brakes.
no the lore one
that didn't just appear in your folder from nowhere
plugins/PlaceholderAPI/javascripts
and there will be a lore.js file
can you paste it?
?paste
https://hastebin.com/unuqahovoq.js is what I've got, but it aint working
so you said it returns lobby-1 lobby-2 etc?
Yes
give me 2 minutes and I can possibly make something. I'm not great at js so it will probably be messy
With that I just tried to remove the lobby- part of it
@turbid tide what about me?
I've taken a look at that Harvey but idk what is happening there xD
you'll have to ask someone who has more knowledge about js or the creator of that
whoever he/she is
Did not clip make it?
can you try to make one for me?
javascript expansion is made for you to make those files
well I told you I have no experience so i don't even know how the other one was made
Blitz still nothing helped, couldn't it be caused by some problem because PlaceholderAPI is just DEV version? Or it could be problem in LuckPerms...?
https://hastebin.com/abululubul.js @past lily
I think this one should work
Blitz still nothing helped, couldn't it be caused by some problem because it's just DEV version? Or it could be problem in LuckPerms...?
@honest pulsar I mean you could always try and download the release version and see if that works but I have no idea
also maybe send a startup log
?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
also if you want to change the colours shadowchild I guess you know how?
Yea
Blitz -> https://hastebin.com/ujasisodof.md
Hey @mint fable may I have the JavaScript pls
@keen crown,
Please respect the rules, be patient and don't ping staff members!
did you read what i sent
just change 50... to %placeholder% I guess
and customize it if you need
Thanks!
idk @honest pulsar maybe move back to 2.10.6
it literally says the expansion luckperms was successfully loaded
[20:06:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
also you might want to check this
Blitz I got the problem, for the fu... sake. It was problem in LuckPerms because there was some weird problem with - You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
xD
properties:
useUnicode: true
characterEncoding: utf8
useSSL: false
go there and add or change useSSL from true to false
in LuckPerms config.yml
Yeah. I did it and now it is working fine.. Finally.. I was trying to fix this problem all day long.. 😄
Yeah. As I said it was caused by LuckPerms error.
Well.. 😄 Me too. Yeah, all fine with PAPI, good to know.
Is it normal to get warnings about loading classes not being a depend, softdepend or loadbefore of PlaceholderAPI?
Ok.
its not an error or anything bad just lets you know
Thank you for the info. 🙂
no problem
Ok, I have a message that one of my expansions needs to be updated, but I don't see with one. /papi ecloud list installed only shows 6 expansions, but it says I have 11 registered.
some probably are built into the plugins
also to update it just /papi ecloud download Name
/papi reload
I think that will automatically update them
So what do I do if none of the ones on my list need updated, but it says I have an update?
doesn't it say which one?
Nope.
1 installed expansions have updates available.
That is the only message in console on startup.
go to plugins/PlaceholderAPI/expansions and see if you don't actually have 11 there
maybe they just don't show in list
I have no idea
Yeah, if it causes any issues, I'll come back, but I'm not going to worry about it otherwise. 🙂
https://gyazo.com/a44d90f59d440d025326d3f564c96568 My placeholders arent working anyone know why its not working
what if you do /papi parse me %placeholder% do they work there?
do you have the latest version of the plugin?
Thank you Blitz. I appreciate the help. 🙂
no problem
NOTE: Requires latest build of these plugins above! and the plugin got updated today
so maybe you didn't update?
No bit i tried lateset version and it dident work aswell
and the island placeholders is blank but papi parse does work
what version of PAPI are you using?
2.9.2
oh that's probably the problem then
it requires latest of PAPI
2.10.6 is latest release
=pl PlaceholderAPI
also use latest version of the mobcoins plugin
well it says its required
so update both plugins
and if that doesn't work
send the startup log
uhm have fun reading 1k lines xD
don't wory about me xD I'm trying to help as much as I can
but when I added latest my chat color placeholder broke
and what placerholder is the other one?
%superior_island_level_format%
yeah we'll deal with that after
ok
is that placeholder from this: https://www.spigotmc.org/resources/⚡️-superiorskyblock2-⚡️-the-best-core-on-market-⚡️-a-new-era-for-skyblock.63905/
?
so the problem with the superior island level format placeholder might be the fact that the scoreboard has a limit of characters
so try moving the placeholder on another line
like under
or something
its formatted so only like 4char
because you said it does return something (empty line means it still returns something) so its probably that
see what I mean
does the other one work tho?
wdym other one?
ye it does work
ok so that's good.
the problem for both those that do not work in scoreboard
is the limit
so split it in 2 lines
in one its the text
and in the other one its the placeholder
its the only way I can think rn
chat?
yeah
maybe i have to enable this https://gyazo.com/c5a988cabf74168396f85e1fb8a03325
xD
have to enable that I guess
so you said that /papi parse me %placeholder% works for both that don't work in scoreboard right?
yes
the scoreboard config?
yep
its TAB plugin 1sec
sorting-type: GROUPS
sorting-placeholder: '%some_level_maybe?%'
case-sentitive-sorting: true
unlimited-nametag-mode-dynamic-lines:
- abovename
- nametag
- belowname
- another
unlimited-nametag-mode-static-lines:
myCustomLine: 0.66
scoreboard:
enabled: true
toggle-command: /sb
remember-toggle-choice: false
use-numbers: false
disable-in-worlds:
- disabledworld
default-scoreboard: noisland
scoreboards:
noisland:
title: '&d&lGalaxies&5&lMC'
lines:
- '&7%server_time_EEE, MMM d, yyyy%.'
- '&r'
- '&e&lYOU'
- '&6&l* &fRank: &7%vault-prefix%'
- '&6&l* &fMoney: &e$%vault_eco_balance_formatted%'
- '&6&l* &fIsland: &d%superior_island_level_format%'
- '&6&l* &fMobcoins: &c%supermobcoins_mobcoins%'
- '&r'
- '&a&lSERVER'
- '&2&l* &fPlayers: &e%online%'
- '&r'
- '&7&nplay.galaxiesmc.net'
scoreboard-on: '&5&l[!] &dYou have &f&nenabled&d your scoreboard.'
scoreboard-off: '&5&l[!] &dYou have &f&ndisabled&d your scoreboard.'
placeholder-output-replacements:
'%tps%':
'20': '&a20.0'
allign-tabsuffix-on-the-right: false
extra-character-widths:
65330: 6
65365: 5```
so weird. Idk why it wouldn't work. Maybe contact the TAB developer?
they wont help me bc I cant verify
its so stupid
i work for an owner and he bought so i can never verify
well ask him to verify
also maybe send that startup log. just in case that it says anything in there
?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.
just use https://paste.helpch.at
try updating. You are 1 version behind
but idk any other reason since you said it only returns like 3 characters and it works in /papi parse me %placeholder%
well it got an update
you are using 2.8.0
latest is 2.8.1
you'll need to message the owner to download the latest and update while you're sleeping
and if then it doesn't work ask him to connect for support
did placeholder get an update?
it has a dev build
for 1.16
but its not recommended
for a live server
you can see it in the pinned messages
send me link to 2.8.1 pls
its not this one
ill look
blitz
%math_<mathexpression>%
how did this work? I do not remember
yes
%math_[precision:0]{bungee_skywars1}+{bungee_skywars2}%
just change skywars1 and skywars2 to the name of your servers that you've set in bungee
no problem
you can use papi placeholders in MVDW plugins
you'll still need MVDWPlaceholderAPI
tho
and just use
i have it
ok thx
Is it possible to make an item so when you click it, it will open a website? please ping when respond
- how can I use custom head models in menus where I make the models just need to add them as display items
Hello, could someone help me? https://paste.helpch.at/heroluhotu
@near scroll Nope not possible
helps a lot bc there are 2 questions there
clicking something in a gui to open a website isent possible
It's not no, you can only send a link in chat
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/
@near scroll
i dont wanna upload them to any websites or anything
You can upload it to your own account but then you have to get the skin signatura somehow
Try mineskin.org
Heyo! This error keeps occuring! What should I do D: https://hasteb.in/isagahom.shell
Heyo?
I have no idea what causes that error but I'll tell you what I understand. It's something to do with vault and essentials economy.
do you have Vault and Essentials? if you do then try downloading the Vault expansion
ah i remember this error. i cant remember how i fixed it. i believe u have to go back a version of vault expansion
or do this if what I've said doesn't work ^
How do I put placeholders into bungeecord plugins? Like for example a tab plugin that I put into the bungeecord plugins folder
PAPI doesn't support Bungee so idk if you can. I might be wrong tho
TAB does that
Does PAPI have javadocs?
Or could someone explain to me how PlaceholderAPI#setRelationalPlaceholders() works?
you could get better support in #development
ty
no problem
Was that directed at me or the other person?
the other person. but you could ask in there as well
Hi! :D
%luckperms_group_expiry_time_vip% returns something like this: 1d 5h 36s, but for lp user %player_name% parent addtemp vip_plus %luckperms_group_expiry_time_vip% I need this: 1d,5h,36s.
What I can do with it?
you could use javascript
formatter expansion maybe? or javascript
and just replace the spaces with commans
I'm completely don't know JS and it usage in PAPI/DM :c
@warm topaz, sorry for ping, how I can use formatter in this case? Does it has "replace" option?
I am pretty sure you can't
im not sure tbh, i just said it as maybe it does
it only formats intigers
ah
I tried it before and just spits an error
Js, meh :c
let me finish the thing I'm working on and I'll make the js. should be like 5-6 rows
Okay
TAB does that
@brisk coral really? I'm using it and it just says %essentials-nick% or something
@vapid rune,
Please respect the rules, be patient and don't ping staff members!
oh sry
%essentialsnick% is a placeholder built-in TAB
And it's only on the Spigot version of TAB
but it has support for PlaceholderAPI via a bridge
so you can use the placeholder %essentials_nickname% form the Essentials expansion for PlaceholderAPI
oh
and to use that you need the Essentials expansion on your servers
https://github.com/NEZNAMY/TAB/wiki/How-to-set-up-PlaceholderAPI-support-on-bungeecord if you want to install the bridge
note that this will only work for TAB as it was designed for it, other plugins won't be able to use PlaceholderAPI placeholders except if they make a bridge like TAB did
Where I can read about JS usage in PAPI?
❤️
btw
made this
you will need to use it like this: %javascript_FILENAME_{placeholder}%
@lyric lion
I edited "example" in scripts folder. It might be looks like this? %javascript_example_{luckperms_group_expiry_time_vip}%
yeah
oh well just tested it seems to not work. Only changes 1 space
I'll change it a bit
here you go
this one works
I'm followed this guide: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Your-First-Script
...and it doesn't work. Strange
/jsexpansion list says that I has zero scripts loaded
shouldn't you replace the {} by %% in the script?
what?
this is the script
doesn't have %%
you call the placeholder in arguments using {}
he's using that placeholder
%javascript_example_{luckperms_group_expiry_time_vip}%
the placeholder isn't translated in {}
wdym?
ok idk
https://paste.helpch.at/rukuxurugi.md
Hm./jsexpansion liststill says that i has zero scripts
I'm do all that you say in guide
just follow the guide and don't use /jsexpansion reload becuase I didn't say to use it in my guide
/papi parse me %javascript_example_{luckperms_group_expiry_time_vip}% result is %javascript_example_{luckperms_group_expiry_time_vip}%
Still same error.
Only thing, that I do not by guide - replacing this
file: replacespacesjs```
with this:
``` replacespaces:
file: replacespaces.js```
I literally told you how to use the placeholder in the guide
change example to replacespaces .....
I did everything that was said in the guide several times already
yeah
but when you parsed the placeholder
you still parsed it as the example omne
one*
you didn't change it
%javascript_**example**_{luckperms_group_expiry_time_vip}%
you see what I mean?
%javascript_replacespaces_{luckperms_group_expiry_time_vip}% use this instead
Yes, I see, and I already tried this
and?
Still some problem
what problem?
https://discordapp.com/channels/164280494874165248/573429521554866178/726475090199314482 wdym by this message?
what did you change in it?
Seems like this extension incompatible with mohist or any other things
what did you change in it?
just added a dot beforejs
@junior musk, I know that you using mohist, does you has same errors?
oh yeah that was my mistake
I don't really use it atm x) only sole testing
Hm
and I didn't follow the conversation
tl;dr version: JS extension doesn't work 😄
so I have this placeholder: https://paste.helpch.at/nepoxuqive.js. Gave him this guide: https://paste.helpch.at/zakixobuxi.md but for some reason it doesn't work for him
This guide doesn't working too
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Your-First-Script
[19:44:12 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: hello_world
oh wait
I think I know what the problem is
add: engine: 'nashorn'
under file: etc.
It automatically turns to engine: nashorn
...and still doesn't work
[19:52:40 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: hello_world
same error
can you send a screenshot of : javascript_placeholders.yml, javascripts folder and the replacespaces.js file?
paste ur js file
because I rly don't know what you've done wrong
^
kalber its literally this: https://discordapp.com/channels/164280494874165248/573429521554866178/726479541723201639
I gave him everything something must have gone wrong
while setting it up
actually, now that I think of it, I remember that the js expansion didn't work for me on Mohist
because it works just fine for me
script: https://prnt.sc/t7js1t
javascript_placeholders.yml: https://prnt.sc/t7jsad
folder: https://prnt.sc/t7jsei
i have no idea what Mohist is xD
what is mohist
Forge+Paper+Spigot
link?
wtf is that?
probably won't work tbh
I am so confused
wtf
why didn't you follow my guide tho? All this time I thought you were following my guide
...
^^^
I followed your guide earlier, it gave the same effect, so I tried another guide
spigot and forge for 1.12.2?
idk either that thing you are using doesn't accept js placeholders or you did something wrong but I have no idea
it's possible mohist is messing with it
on my Mohist server, expansions were working fine except the js one
but I'd say follow the guide blitz sent
cj btw edit the wiki for javascript
because /jsexpansion reload breaks if you do /papi reload
change it back to /papi reload until that is fixed
wot
yeah it's broken
/jsexpansion reload works until I do /papi reload
after it just loads 0 scripts
until I restart the server
you don't have access?
it's in placeholderapi
Oof.. I will restart server and try again.
I only have access to help-chat cj
i see
they are afraid to give me access to anything else xD
well never asked actually
but yeah :)))
yeah better
- /papi ecloud download JavaScript
- /papi reload
- add to javascript_placeholders.yml
file: replacespaces.js```
https://prnt.sc/t7jxq1
4. /papi reload
5. put to replacespaces.js
```var placeholder = args[0];
function replaceSpaces(){
return placeholder.replace(/ /g, ",");
}
replaceSpaces();```
6. /papi reload
7. /papi parse me %javascript_replacespaces_{luckperms_group_expiry_time_vip}%
Result: https://prnt.sc/t7jzad
yeah probably its because of Mohist then
theres one in the pinned messages
cheers
read carefully the message
it says it is not recommended to be used on a live server
you're gonna have to wait a bit until most plugins fully support 1.16 and have less bugs xD
Hello ecloud for PlayTime don't work on 1.16.1 server can be this fixed please ?
@heady dove contact the PlayTime plugin developer
Mhmm i use only PaPi i don't use plugin i think so this is on developer of PaPi
what playtime placeholder then?
can you give the placeholder that you are trying to use?
Sure
"%playtime_player%
%playtime_time%
%playtime_timesjoined%
%playtime_serveruptime%"
well those are placeholders from the PlayTime plugin
so you need the PlayTime plugin as well for them to work and also that plugin only supports versions up to 1.13
use %statistic_time_played% for the playtime
Okey thanks and do you know what i can use for economy ? Because Vault don't work too 😅
have you downloaded the expansions?
Sure
and you are trying to use %vault_Eco_balance% ?
I using %vault_eco_balance_fixed%
and what is it returning?
It don't work 😦
Can it make ScoreBoard so it don'T work ?
If ScoreBoard son'T maked to 1.16 ?
do /papi parse me %vault_eco_balance_fixed% and see what it returns
Nothing 😦
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
It write to chat %vault_eco_balance_fixed%
I have Vault
Okey i now tryied but nothing
So any idea ?
?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.
send that over
why arent these placeholders working
did /papi ecloud download Statistic
it downloaded
then /papi reload + server restarted
what mc version you on
try downloading 1.7.0 and use _ instead of : I believe
1.0.7*?
papi ecloud download statistic 1.7.0
ye, it's 1.7.0
not 1.0.7 that doesn't exist
worked thanks
👍
all other ones without : are working
try COW too
bruh
might be case sensitive
just did
and?
Yeah neither of those suggestions worked
can you show what you tried again?
wtf?
%statistic_kill_entity_MOB%
LOL
not use : instead of _
worked
😄
ty lmfao
b r u h
reckon theres a way to get collective mobs killed?
?paste
add em all up
boi
Yea
Here you have log https://hastebin.com/cipebuwope.md
nah
but just saw it in the barry message
have fun ```javascript
var zombieKills = parseInt("%statistic_kill_entity:zombie%");
var creeperKills = parseInt("%statistic_kill_entity:creeper%");
var endermanKills = parseInt("%statistic_kill_entity:enderman%");
function mobKills() {
return (zombieKills + creeperKills).toFixed();
}
mobKills();
gotta add them all yourself
not what i wanted
@turbid tide Here you have log https://hastebin.com/cipebuwope.md
eh, it works
well I didn't ask for it xD ...
I have >:|
it literally yells at you like 50 times for not having vault
I install them
and by 50 i mean like 6
[20:12:22] [Server thread/WARN]: [Essentials] Detected supported permissions plugin LuckPerms without Vault installed.
[20:12:22] [Server thread/WARN]: [Essentials] Features such as chat prefixes/suffixes and group-related functionality will not work until you install Vault.```
you don't have vault xD
Mhmm i can send there image >:|
tofonek
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
I don't care if you have the vault jar in your folder
it is not loading on the server
https://ctrlv.cz/QnDa i have
oh they put it on spigot too now?
been on spigot for a while
idk I always used thatr one from spigot
Oh i'm idiot 😄 I'm sorry, i forgot download Vault
Hey i used %javascript_lore%
https://imgur.com/a/PuZ1J1N
it worked for like 2 seconds.
then it brakes.
what's your server version?
k I'll test it later
To stop things from braking all you gotta do is cut the brake lines 😉
what?
then it brakes.
@peak summit found your problem
Yep!
Yes?
the %javascript_lore%
are you using it in the display_name ?
because if you are than that's the problem
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
sure I guess
@turbid tide I do not know what the issue is....
maybe because i am using tokenenchant?
I have no idea either
now if I use your menu it does break
but before it did not
so it is the menu's fault
but don't know why tho
oh
?
@peak summit it's update: true
you need to remove it otherwise
it will break
every time
but if you remove it it won't
or set it to false
- you have no need for it
Pico:
material: placeholder-%player_item_in_hand%
data: placeholder-%player_item_in_hand_data%
hide_attributes: true
update: false
hide_enchantments: true
enchantments:
- DURABILITY;1
slot: 4
display_name: '%player_item_in_hand_name%'
lore:
- '%javascript_lore%'```
this works
hello how can i create an account
what account?
Placeholder 1.16? Support
there is a beta version in pinned messages but as it says there its not recommended for live server. use at your own risk
Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us.
yes
oh you'll have to wait for an admin to get online.
currently they are all offline
yo @vivid sparrow can trusted make accounts and verify them or something? (On ecloud) ^
ye
you don't need an account to do that
no like if i made my own expansion
oh
could i do like /papi ecloud download https://github.com/blahblahblah
I am not sure actually
I know you can either put it on ecloud or make it inside the plugin
answered in #off-topic
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
there is a pin button n the corner
is it possible to fit placeholders within placeholders? Ex. %cmi_random_[%placeholder2%]_[%placeholder3%]%
I'm using %essentials_worth% and i noticed it gets the worth of the player's hand, is there any way i can get the worth of a specific item. I'm using skript (ersatz to be specific) Here's my code if u want it :
Command /shop <item> <number = 1>:
aliases: /market, /buy
trigger:
give arg-2 of arg-1 to the player
send "%placeholder ""essentials_worth""%"
We don't do that here.
ik, but technically it's stiill placeholder api
you can't do that currently but can be added
Can I use placeholder api plugin in 1.16?
check the pinned messages
Thanks uwu
hey, i m trying to make a placeholder (with my c# knowlege) that returns the actual job, but it says script error :/ https://hastebin.com/vusogitadu.js
you gave your function the same name as your variable
oh bruh
yeah but i want to use $
also remove break;
why?
I'm not sure you can use $
it wouldnt work without it
it will stop when it returns something
the function will stop
also I am not 100% sure but I think there is a placeholder that returns the job name already
don't know where I've seen it tho
the problem is, that by default you can have multiple jobs
because of this i think there is no placeholder thtat returns the job#
but how i can stop the foreach statement?
i think i will do it with if statements
what does this placeholder %jobsr_user_archived_jobs% return?
that's weird.
yeah i have done it already
@stone parcel %jobsr_user_job_1% returns the first job a player is in
%jobsr_user_job_2% second job
etc.
and if the player doesn't have a job on that slot it returns none
oh, thank you
I need help. There's an internal error when I try to download the papi's.
#spigot-linking
@sour flower please follow the instructions in #spigot-linking first
not sure why that makes a difference with anything.
its an issue with DChat
well now we can confirm you have bought deluxe chat
a lot of people who cracked the plugin come here for support even tho they didn't buy it so a system was made to make sure they get detected and banned
I'm too dumb to do cracked plugins.
plus i'm scared that it'll crash my server xD
;-;
yeah or download your entire server. People that give cracked plugins do a lot of weird things with them
Yikes
u can use #deluxechat now
so when does this error show?
I think you can use the version of PAPI that is in pinned messages
but as it says there PAPI doesn't fully support 1.16. There might be a lot of bugs
or it could break your server so its not recommended
to use it on a live server
well not on a live server
1.16 just came out, theres going to be bugs everywhere
helpchat has a lot of plugins that need to get updated and 1.16 got launched just a few days ago
I'm aware.
people are working on a lot of updates rn but they are not getting launched until they know there won't be problems
From what I'm aware just DChat got a 1.16 release. The rest are a work in progress
Oh. I just noticed that my DC is 1.15 should i pout the 1.16 and see if it works ;-;
yes lol
i'm so dumb
Okay, it's working. But I have a silly question. Did they remove shift from gliding down while flying?
same xd