#placeholder-api
1 messages · Page 107 of 1
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
this doesn't return 5
%math_1+{javascript_dameCristal_woodcutter,1}%
it probably returns 5.00
so use %math_[precision:0]1+{javascript_dameCristal_woodcutter,1}%
still the cristal dont change
cristal?
glass pane
what version is your server minecraft?
1.12
and your DeluxeMenus?
latest dev build
what does /papi parse me %math_[precision:0]1+{javascript_dameCristal_woodcutter,1}% return?
5
try without the ''
in dm?
yeah
so data: placeholder-%math_[precision:0]1+{javascript_dameCristal_woodcutter,1}%
can you try data: placeholder-%math_[precision:0]1+1% for me just to see if that works?
not working
weird. Maybe it's broken with palceholders
what if you just use 1 or something
does it work then?
yes
seems like a bug or something
what if you use it like this :placeholder-%player_item_in_hand_data%
and you hold a colored glass in hand?
but i put that in data or material?
dont work
yeah then probably broken. I'll check to see if a report has been made if not I'll ask for a issue ticket to be opened.
until then I'm afraid there is nothing else we could do
or at least what I can think of
actually maybe try using it without placeholder-
just put the placeholders after data:
[00:38:09 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:703)
data: %player_item_in_hand_data%
^
yeah then it probably is broken
ok, well ty so much and if you can tag me when is solvet it would be great
try with ' ' without placeholder-
@delicate hill ^
dont work
any errors?
no error
also what does /papi parse me %player_item_in_hand_data% return?
when you have a glass pane in hand?
a colored one
14
yeah then probably broken. Did you open the menu with a colored glass pane in hand tho?
yeah seems to be broken even on 1.15.2
when I use placeholder- it doesn't work but when I just put a random data it works
wait what version you said your server is? 1.12?
it dont accept a head for example
try using DMenus 1.10.5
yes
but you won't have a lot of features
dont work :S
nah he wants data: 'placeholder-%placeholder% but seems to be broken
on latest dev build at least
don't know about the others
oh didn't see that part my bad cj
@delicate hill what head doesn't work?
?customheads
How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/
wdym? can you give an example?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
that is just a part from my js func
and still dont work
But in change if i put there
BEACON
it works with material
but numbers for data and heads for material dont work
...
Is there a player specific placeholders for %vault_eco_balance% %vault_eco_balance_commas% %vault_eco_balance_fixed% %vault_eco_balance_formatted%
Factions relationship placeholders will not work in chat. I have the relation_placeholders_enabled setting in DeluxeChat as true. The placeholder doesnt show up in chat for example it isnt %rel_factions_relation_color%TestFac Name. It is just a no color TestFac... Hopefully that made sense. I would post a pic but bot doesnt let it happen. I'm also using the correct placeholders. I do not use FactionsUUID.
@karmic marsh you can use the parseother expansion
Oh I just got a solution which is basically the same, thank you.
@azure hedge please go to #spigot-linking
there is a way to import modules in the js files? like functions and vars ?
Why would I spigot link for papi placeholder support
deluxechat is premium
It's pertaining to using inside of DeluxeChat.
Ok so let me change the plugin its being used in... placeholder doesnt work inside papi parse.
Why
Mind hopping to #spigot-linking, and you'll be assisted
go to plugins/PlaceholderAPI/javascript_placveholders.yml
and add the name of the file in there
there is already an example on how to do it
thanks
can someone explain why
papi parse me %vault_eco_balance%
Is giving an internal error ?
do u have vault with an economy plugin installed?
can you try and restart the server and see if it still happens ?
can u download this version of the expansion please? https://api.extendedclip.com/expansions/vault/versions/vault-152/
i believe theres some bugs in the latest version
place the jar in /plugins/PlaceholderAPI/expansions
ok still not working
also whats the latest version of placeholderAPI (that could be the issue)
Has nothing to do with placeholderapi, its the vault to Economy_Craftconomy3 hook
wait i forgot i have craftconomy
i m stupid and thx funnycube
can some one send me the link for statz expanision manuel download
is there an way except manual download to download older expansion version ?
ok thats alot helpfull cause i use aternos (can't use java script coding software or import files)
Does it have support for Group Manager?
Im trying to get the players rank to display
Using deluxeMenus
%vault_prefix% worked thanks!
np
https://spark.lucko.me/#Z3bHqwfoaN
I am worried about the very load that comes from getting the date
what should I do?
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
Hey, I need help with placeholders, when adding %tokenenchant_explosive_cost% it saying k like it doesnt show the numbers etc just k any ideas?
Why PAPI sometimes not register the placeholders of other plugins?
Depends on how i start the server?
Hi i'm having a problem about the placeholder the essentials
"%essentials_kit_time_until_available_kitname" that when the time written in the kit is more than 30 days it breaks and shows the number 0
+img
when it is less than 30 days it tells me 0 but if it is 7 15 24 days it tells me well
@fervent jackal what plugin exactly?
Hello !
Not sure if my question belong to this channel or development one.
I'm creating a javascript placeholder to count some perms:
var testPerm = "%luckperms_meta_my_meta_perm_name%";
which works fine and return the meta value.
My question is: Is there a way to use a variable in this string and parse the placeholder on the fly ?
Like
var metaPermName = "my_meta_perm_name";
var testPerm = "%luckperms_meta_" + metaPermName + "%";
I tried too but didn't seem to work =/
Is there a placeholder which shows online players but doesn’t count those in vanish?
what's your vanish plugin?
Essentials @junior musk
%essentials_safe_online% I think
and do /papi ecloud download Essentials
and /papi reload
@turbid tide
Any plugin that registers placeholders.
- TokenManager
- JetsMinions
- MyCommand
..etc..
@fervent jackal,
Please respect the rules, be patient and don't ping staff members!
do you have any errors when you do /papi reload ?
maybe there's an expansion that broke the rest
Any plugin that registers placeholders.
- TokenManager
- JetsMinions
- MyCommand
..etc..
@fervent jackal Did you install the expansions?
Those plugins have no expansions, they hook to PAPI
But sometimes their placeholders are not registered.
And in case if they are registered, when i use /papi reload they stop working.
it's probably the plugin which doesn't make the expansion persist on /papi reload
True! I forgotten that!
Hello! I would like to know where I can download the crazy crates extension for placeholder api
@brisk coral Unknown expansion.
It's internal
It happens that I have to put the necessary expansion in trmenu but I don't know what it's called to be able to place it
https://github.com/badbones69/Crazy-Crates/wiki/Placeholders#placeholderapi placeholders can be found here
Trmenu asks me to put the name of the expansion in the menu to be able to use the placeholders
And sorry for my bad english
I need the expansion name for use that
try to redownload PlaceholderAPI
okay
Hi guys, im having a hard time with animations
I downloaded animations and set it up
I tried using {} %% and nothing
&e&l<appear fade>&e&l››››</appear> &f{player} &e&l‹‹‹‹
Here's how i tried
&e&l{<appear fade>&e&l››››</appear>} &f{player} &e&l‹‹‹‹
&e&l%<appear fade>&e&l››››</appear>% &f{player} &e&l‹‹‹‹
as well
%animations_Fade_&e&l››››%
the way you used it is for KiteBoard
oh KiteBoard
ahh ok
you have to use it like the placeholder tells you on PAPI's wiki
and are you using it on KiteBoard?
%animations_Fade_&e&l››››%
actually, just realised it's FadeIn I think
yeah but I think he wants to use the animations on KiteBoard not using PAPI
is there a placeholder to center it?
can you please explain to us where are you trying to use this? @cunning elk
are you using KiteBoard and you want to use their animation features?
im using it to have a hover text on players names
that centers on the first line:
Playername <<<<
with >>> fading in <<<< fading out
wait KiteBoard can do that?
The placeholder worked but no animation is happening
no im not using kiteboard
tbh idk what that is
im using chatcontrolpro
yeah but I think he wants to use the animations on KiteBoard not using PAPI
no it's just that the Animations expansion uses the same options and animations types as KiteBoard as their author is the same
you'll have to use the animation expansion
/papi ecloud download Animations
/papi reload```
I did that
so instead of creating another wiki, Niaill used the same wiki
well did you use Fade In?
I downloaded the expansion and reloaded before that
yes
{animations_FadeIn_&e&l››››} &f{player}
%animations_Fadein_{player}%
or do you want the arrows
to have an animation?
&e&l%animations_Fadein_››››%
or you could try {&e&l{animations_Fadein_››››}
can you do /papi parse me &e&l%animations_Fadein_››››% and see what happens?
well it is not blank
i didnt apply papi to the right side yet
use the colors inside
so Fadein_&e&l
well probably your plugin doesn't support animations
%vault_rankprefix% %vault_rankprefix_#%
what is the difference
%vault_rankprefix% %vault _rankprefix -#%
ignore that
Blitz
I talked to chat control pro and they don't know what might be happening
is there any special api they might be missing that doesn't work with the animations?
Animations should work on hover text, right?
chat messages can't be updated
it's still in chat
so nope unfortunaly it can't work =/
Got it
nope
=/
is there a way to delete expansion? i installed javascript and it is generating errors with adminanything
you need to go into plugins/PlaceholderAPI/expansions
go to the PAPI expansions folder and delete it
and manually delete it from there
thank you
How do I use the Cooldown placeholder for DeluxeMenu? I added the cooldown.js, what do I do next?
if I paste the example into an gui, I just get the raw string for the placeholder
did u the add the file into the javascript_placeholders.yml and downloaded the javascript expansion?
yep, im guessing there needs to be something in the Cooldown.js in PlaceholderAPI/javascripts/
if u do /jsexpansion list, what does it say?
0 script loaded
did u place the cooldown.js file into /placeholderapi/javascripts?
yes
if its in there, u need to go to the javascript_placeholders.yml and add
file: cooldown.js```
and then /jsexpansion reload
I meant I add the
cooldown:
file: cooldown.js
and it automatically added the file for me
Still 0 scripts
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#cooldown
go into that file and add the javascript code from the website
okay, i added https://pastebin.com/cvdSAcL3 into the cooldown.js and reloaded papi and jsexpansion reload. but still 0 scripts
uh try restart
thanks @warm topaz it works. haha didn't know I needed to add that chunk of code into the cooldown.js
np
Hi
What's the difference between vault_rankprefix and vault_rankprefix_#
vault_rankprefix—#
id assume it would show the prefix of a certain group
so replace # with default or something like that
im not sure, ive never tested it myself
is there any placehorder to unite Team's money? on tablist
is there a way to see the money from each teammate? also what plugin is that ?
is there a placeholder that would return the timestamp of the server? I know there is the player_time one but I want the server one if possible
%server_uptime% ?
or you meant %server_time_SimpleDateFormat% ?
if you do /papi parse me %player_time% you'll see a lot of digits
that is a timestamp
or you meant
%server_time_SimpleDateFormat%?
and the digital time has been started in 1 Jan 1970
nope can't do that with server_time
it returns the current second like 7 or 17
or 59
but at 60 it goes back to 0
ah
I'm trying to make a timer placeholder that start counting from a date but never stops.
idk if there is a placeholder for that
yeah I don't know either. Tried tho maybe someone had one
I'll try and see with the javascript
maybe I can use the server methods
nope something like that doesn't exist there either
wait so waterfall is a bungee thing right?
well PAPI doesn't support that. You need to install PAPI on all your server but not on the bungee one or however waterfall works
if I am wrong and waterfall is just for 1 server please correct me
waterfall is bungeecord
optimized
I wanted to display the total number od players in the server ping
And then?
download the bungee expansion
/papi reload```
and use %bungee_server%
change server
to the server name
you want to see the player number
I want to see the total number of players in all the servers together
%bungee_total%
In the lobby server it will give me the total number?
yeah
if you have the bungee expansion on all your servers
and also PAPI
not on the bungee tho
yeah. It only has a few placeholders of its own
Is there a plugin that does that? (Im sure there is)
I have no idea. Maybe MOTD
ok thx
got cleanmotd
It was made for a network server, it says that the options in the server are default in the print there is 270/2400 online
so
anyone knows how to make something like ```yml
Player Killed Zombies = x (I m taking as the no. of zombies killed by a player)
Player Killed Creepers = y (I m taking as the no. of creepers killed by a player)
Player Killed Zombies And Creepers= x + y = 100
#I want to make It so that
#The No. Of Zombies Killed By the Player, If It goes Higher then 50 then we will take 50 as the value
#The No. Of Creepers Killed By the Player, If It goes Higher then 50 then we will take 50 as the value
I wish this explained something.
Is that Possible ?
Yeah using javascript placeholders
in math expansion ?
Just javascript
oh i see
and the Statistic placeholders
So you can use %statistic_kill_entity:<MobType>% in the javascript placeholder
i see
if thats only possible in java script (idk anything about) i will probably separate the mob types
var creepers = "%statistic_kill_entity:CREEPER%";
var zombies = "%statistic_kill_entity:ZOMBIE%";
function getMobCount() {
if (creepers > 50) creepers = 50;
if (zombies > 50) zombies = 50;
return zombies + creepers;
}
getMobCount();```
I think that's what you want
Hi guys, Im having some trouble with the luckperms placeholders. I'm trying to grab the expiry time for a permission node and its just parse as blank like the node is wrong.
https://gyazo.com/c8e0871d46139e13312cfbee7381f0bd
why is the permission red tho? doesn t that mean that the permission is negated?
or set to false?
if so it probably doesn't return a number if the permission is set to false I assume.
you could try with the other permission and check tho
@clear dust ^
I have tried both it should still be able to get the expiry time of a negative permission its not checking if i have it. its ment to return the time left.
well idk about that one. And the other one returns the same thing?
try giving yourself a test permission
yep still blank
and see if that one would work
Ligit is a test perm.
it also comes back blank if you type a permission that don't exist.
well that is what its suppose to return if you don't have the permission
would be nice if it gave some feedback like invalid permission or something :/
I mean you could use javascript or something if you rly want that but I don't see the need. Just more checks that are not needed
and also
all permissions are valid
as long as they contain only a-zA-Z0-9. I think
not sure if they accept any other characters
true valid is not the right word I guess found but even thats subjective.
Ok iv found the issue.
it would seem that Luckperms is CASE sensitive for its permission nodes. However PAPI lowercases every thing. so its imposable to get the expiry time for a permission node that has a capitol in it.
weird. I wasn't aware of this
yeah i set a node called test and ran the parse for the node test and it worked straight away.
I made another node called False and tried to grab it, and nope blank.
it must be toLower the placeholder at some point.
removing the caps and making it not find the node.
maybe. but I guess you could just change the permission to lowercase because I don't think LP is actually case sensitive
sure it is you cant unset False by typing false.
oh you are actually right but that is not what I meant to say
I mean the plugin that has that permission
probably reads it uppercase and lowercase the same
so the permission will probably work if you change upper case to lower case
oh its my own permission node. from my own custom command in CMI alias editor. I can change it yes easy.
yeah seems like it goes to lowercase as you said
because if you do the perm with lowercase but you parse it with upper it still reads it
only the other way around it doesn't work
yeah just wanted to ask xD
Ahhh, what would be the item name for "ender eye" ?
I have no idea. If you have essentials do /itemdb with the eye in hand
I did that, showed "EYE_OF_ENDER" but nope, won't work
I mean, in deluxemenus it won't work
Wait...
It's working, it's working
My bad
no worries
Copied the text from a menu showing glass, was using
material: eye_of_ender data: 14
lol
oh yeah that could break it xD
It won't align ):
https://pastebin.com/evjjvCBQ Hey, this is how my config looks like and it won't do the permission checks. What's wrong?
do you have op?
No
spacing seems wrong
True, the spacing is wrong
I wasn't talking about YAML syntax but about the requirements syntax
Hahaha
x)
I was counting in you BlitzZ!
you were the chosen one!
press F for my arm that has suffered while trying to fix the spacing on phone x)
press F for my arm that has suffered while trying to fix the spacing on phone x)
:)))
Audacity plss use https://paste.helpch.at next time. Its a lot easier for us to use
?
All I did was correct spaces and now it says "Command doesn't exist" when I try to open the menu ):
Only thing I understand in the console is Caused by: java.lang.NullPointerException
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
How did you fix the config in 2 seconds
cuz he's epic
And ty, I'll get the dev build
A yaml validator complete with syntax highlighting and easy to understand error messages.
I did
no
you deceive me
I like yamlchecker better
No, not yet
yeah update. that should fix it
Updating rn
Quick question. How do you efficiently update plugins when you have an active player base on the server?
you can't rly
You have daily restarts
And you have a test server
So you test the updated version on a test server, since you don't want it fucking up shit
I wonder how gian is doing it
Hmmm, makes sense
he probably adds a update every month xD

yo frosty you here?
by any chance you know if a timer placeholder would be possible to be made using javascript? xD
I've tried for like 3 ours yesterday but couldn't figure anything
Boy, every time I restart the server there is a new update of something available
I set a start date and it counts time that has passed since then
Mass update?
Server age type of thingy right?
The dev build worked!
nice. It should have xD
the countdown doesn't count backwards
only forward in time
so time until
not time since
I know
%server_time_<SimpleDateFormat>%
And then store the first date, and just subtract
Then is it a countdown anymore 
Yea the method is a bit iffy named
the problem is that I can't subtract from 10d 10m 10s. I need to format it somehow.
I could change it to seconds actually
You can use the Date
or something
I'll try and see what I get from the server time and see if I then can subtract and the format it myself
wasn't there a time formatter from the timestamp to a normal format?
as in expansion
Andre's expansion I believe
I'll check the ecloud
see if I find it
yeah
found it
thanks a lot. I'll give it a try
Hey, is it possible to add a menu item such that a player can not buy it if he has a specified permission?
btw, why are we in #placeholder-api ? 🤔
idk x)
because we like to break the rules? xD
:))
anyone can see what I did wrong? it says its an invalid javascript
but I have no idea what's wrong with it
oh I'm dumb
that's the placeholder
and this is how I call it and what it returns
for some reason the math for the start time is broken
a 0 is missing
or something
its suppose to return like a few seconds
or maybe hundreds
but it returns millions
only 1 time it actually returned 601
which was the correct answer
it worked again for a few seconds
then stoped
for no reason
stopped as in a 0 was missing once again
Im using the latest version of API but it wont work
is there any plugins i need for it to run?
what doesn't work/ you get any errors?
the placeholders dont seem to work
%player_has_permission% shows yes if you have the perm and no if you don't have?
And also why do %player_has_permission% and %luckperms_has_permission% return different values?
the placeholders dont seem to work
@austere hawk /papi ecloud download server
/papi reload
%player_has_permission% shows yes if you have the perm and no if you don't have?
@austere hawk%player_has_permission_<your.permission>%returnsyesorno
And also why do %player_has_permission% and %luckperms_has_permission% return different values?
because they aren't the same placeholders and weren't created by the same person I guess
Alright, ty
ah thanks @junior musk
I'm so confused rn
The user has group.zeus and I'm running %player_has_permission_<group.zeus>%
It says no
without <> 🤦
Didn't really work without the <> ;P
Oh,, I had a spell error
And it works omg
wait %player_name% still wont work.
I spent so much time
I'm so dumb
Good god
Tysm
wait %player_name% still wont work.
/papi ecloud download player
/papi reload
nope still not working
where isn't it working ?
show /papi list
https://gyazo.com/1e7d7bd97d8bf8e8d6877486b5da23cc
@austere hawk the placeholder isn't there ?
do /papi parse me %player_name%
it's a bug with your scoreboard plugin then
PlaceholderAPI is working fine as you can see with the parse command
Ah okay thanks
%vault_rank%
/papi ecloud download Vault
/papi reload
anyone could tell me where my math is wrong? xD
sometimes the starttime variable looses a digit
so instead of being lets say 9 digits long its 8
but rarely it actually works as intended
and I can't understand why
xD
Ok seems to be something to do with the seconds or something?
because sometimes if I change the seconds it works then after another few seconds I have to change them again
turns out the problem occurs when I make the seconds come with only 1 diggit
so the starttimes=0-9
that is a horrible looking file
is that JS by the way?
because you used function
now a new problem just came up
even if I use Math.floor or round or anything
it returns a .0
hmm would u be able to use Kotlin JS with custom js placeholders in papi? just a side question
u can add custom js placeholders with papi
if you're transferring data to a website you'll probably want to do so via a database
yeah that is what I'm making rn
wat
what data are you trying to get?
if I return " " + variable; it returns the number correctly
...
but if I return just variable
it returns number.0
you sure all of those arguments you're adding up are integers?
Hey,
how can i use the placeholder %playertime_time_minutes% from plugin "PlayerTime"?
Somebody now it?
I would like to show it in my tablist (created with SK)
SK = Skript
but it shows <none>
Where do we do it?
nowhere :))
why?
can u link this PlayerTime plugin please?
/papi parse me %playertime_time_minutes%
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
omg im so stupid...
/papi reload```
If I ever rewrite that plugin, I'll make it work properly and also inline the expansion.
:)))
It currently doesn't store across servers. It just grabs from each server it's on.
I wrote that in 2017 I think.
That's an oldie.
[21:24:53 INFO]: No cloud expansions are available at this time.
I added a manual download link to the papi expansion command.
i couldnt find the expansion on the github so i was so confused, i thought u mightve built it into the plugin
i could only find it on ecloud
2017 was interesting.
Thank you!!!
np
❤️ (No homo) xd
just note, u may run into some issues with other expansions as u are running an old version of PAPI (this version is needed for playertime because its also outdated :) )
Wait why is it needed
because papi got updated in between 2.8.2 (version hes on) and latest no?
like its methods
and caused some plugins to break
2.9.2 iirc
👀
WaffleBoi, 🤢
was there an expansion that could remove the . in a number?
Don't think so
I hate this thing. I made it return the seconds correctly but it returns them xxxx.0
and can't use math.floor or round or parseInt
why not
well it just won't convert it
for some reason
even if I do it directly in the return
return Math.floor(passed);
lol
wait I need to find out how split works
xD
from what I can see on w3schools
split will actually just add commas
instead of whatever separator I chose
and seems to not work
script error
did you install PlaceholderAPI on your bungee server?
because that won't work
you need to install PAPI on all your servers but not on the bungee
no problem
hi
hello
ada1:
location: world, 372.491, 157.200, 469.553
lines:
- '&c&lEn Yüksek 1. Ada'
- ''
- '&b{fast}&b%leaderheads_player_asb-level_1%'```
set to. but
name does not appear.
nothing empty.
help me
what does /papi parse me %leaderheads_player_asb-level_1% return?
it doesn't write anything. spamming the empty chata.
then it means you haven't set leaderheads correctly
unfortunately I don't know how to use LH so you'll either have to go to their discord for support or wait for someone that does know how to use it
https://www.spigotmc.org/resources/expansion-leaderheads.20160/
I downloaded it from here. It is right, is not it ?
oh maybe its outdated
delete it
because now its inbuilt in the plugin
leaderheads
delete the expansion
and restart your server
where will I download it?
as I said. I have no idea how it needs to be set up
so either wait for someone that does or go on LeaderHeads's discord server
https://api.extendedclip.com/expansions/leaderheads/
no need for that, right?
nope
https://prnt.sc/svjkvc
I think these?
@junior musk
ada1:
location: world, 372.491, 157.200, 469.553
lines:
- '&c&lEn Yüksek 1. Ada'
- ''
- '&b{fast}&b%leaderheads_name_skyblock_level_daily_1%'```
unsuccessful.
/papi parse me %placeholder%
what statistic placeholder are you using ?
I do not understand.
ada1:
location: world, 372.491, 157.200, 469.553
lines:
- '&c&lEn Yüksek 1. Ada'
- ''
- '&b{fast}&b
%leaderheads_name_skyblock_level_daily_1%'
do /papi parse me %askyblock_level%
and then /leaderheads validate %askyblock_level%
if both worked correctly, do /leaderheads enable %askyblock_level%
I don't know why people try downloading the 'leaderheads' expansion from the papi cloud
It's not mentioned in my documentation
That expansion isn't even made by me
xD Idk. they don't care to read a bit. if they would have just read under the leaderheads section they would have seen there is no download command
can't you delete it from the ecloud?
well he said its not made by him
ah
Yeah I didn't make it
yes it seemed. but "%askyblock_level%" 45 but "% leaderheads_value_askyblock_level_daily_1%" appears to be 0.
then the @ admins pls come here
@lean tangle send me a private message
This user also seemed to use the placeholder 'asb-level', which is something from a very old tutorial which is also not something I linked on the resource page
I spent so much time on clarifying tons of things on the new wiki, yet people just find a way to the old wiki and expect it to work
- he's using a leaked version
Please don't help people in here if they're having issues with the Leaderheads aspects of the setup, send them to me
ok
k. sure thing
don't help people who leak your plugins also
leakers...... cool thing huh?
I'll ask an admin when they are online to pin that message xD
you know trusted can pin as well @turbid tide
they should add a #leaderheads even if no admin made the plugin x)
ah okay
yeah I've seen gaby pin loads of things blitz
I'll probably look into it in July/August
Yeah verification is kind of a problem
Since Cloudflare breaks most bots
certain traffic shouldn't be proxied
one thing we did with BedWars1058 was, we asked people to put a review on the plugin with their discord tag, then we add them the role, and they can remove or leave the review if they want
Yeah you can't just not proxy certain traffic through Cloudflare unfortunately
I can think of a few things that can't be proxied:
- Minecraft
- FTP/SFTP
- UDP traffic
Although you could likely set up a Cloudflare rule to at least disable automated protection for certain paths
Yeah you can't just not proxy certain traffic through Cloudflare unfortunately
yes you can...?
I mean not certain paths in an HTTP server
as long as you have it running through a different subdomain, or don't proxy your root
I mean not certain paths in an HTTP server
well yeah, that's why you just kinda don't do that
I've never found a need for that personally
I know some tricks to bypass the Cloudflare proxy for most websites, but it depends on whether the origin server was set up securelt
also, your A and AAAA records shouldn't be proxied. ever.
because you just don't need it
that means all of your TCP traffic will be proxied
you just proxy subdomains
I'm sorry to say this but that doesn't make much sense
also, your A and AAAA records shouldn't be proxied. ever.
actually I'm wrong there
don't proxy your A and AAAA records if one of your CNAME records isn't proxied
@steep thorn does ^^^^ make any more sense?
Not really, sorry
But I don't have time to think about it right now
I am however working on some interesting security research related to Cloudflare
if one of your CNAMEs is DNS only, your A record should be DNS only
Why exactly, how are that CNAME and A record related to eachother?
CNAME is an alias
basically that name you put in just resolves to the A record
that's how DNS works
The research is mainly around DNS
And how origin servers are usually not properly protected, allowing you to bypass all security features that Cloudflare offers
what do you mean by protected?
what kind of protection we talking about here?
because I have a server that has certain traffic proxied through cloudflare, and other traffic that isn't
Ddos, scraping, WAF
on my main domain, I host a mail server, which means the mail CNAME has to be DNS only, and so then do the A and AAAA records
if I wanted super secure DDoS protection for things like mail I'd need to purchase cloudflare spectrum
If you were to find such a bypass for the Spigot site, you could bypass the annoying anti scraping things that Cloudflare does
But then again it's a bad idea because you're kinda breaching their security
it really depends on if spigot have any CNAME records that are DNS only
which they probably don't since their A record is proxied
Hmmm you're not really right, it all depends on whether Spigot backend's server allows any other connections besides Cloudflare's CDN ips
That's the entire point
yeah but gl finding their root server IP
Read the article
The point is that it's easy to accidentally expose your IP
Besides that, there's 'only' 4 billion IP's, so enumerating them is far from impossible
Which is part of my research
actually quite a few IPs are reserved
0.0.0.0/8 (0.0.0.0-0.255.255.255)
10.0.0.0/8 (10.0.0.0-10.255.255.255)
100.64.0.0/10 (100.64.0.0-100.127.255.255)
127.0.0.0/8 (127.0.0.0-127.255.255.255)
and plenty more listed at: https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv4
1.1.1.1
1.1.1.1 isn't reserved gaby
believe it or not
1.1.1.1 is actually owned by cloudflare
also @steep thorn you haven't factored in IPv6 yet
True, but almost every cloud provider still offers you a personal IPv4 address without any cost
yeah fair point
Gcloud started charging for it recently
what about IPv6s?
Is free, there's plenty
yeah
according to my calculations, the maxximum IPv4s you can possibly assign is 3,635,541,761
factoring in all the reserved ips
https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv6 quite a lot of reserved IPv6s as well surprisingly
you know, I once thought 1.1.1.1 was your local machine too gaby
funny what businesses do these days to sell products lol
Ik its a domain
anyone know whats up with the bungee extension? it has an update, but wont let me update it
and its not showing status'
/papi parse me %statistic_use_item:LAVA_BUCKET% This should work in 1.7.0 statistic expansion ?
wrong format
/papi parse me %statz_blocks_placed_LAVA_BUCKET%
why did you change the placeholder
nvm i m indiot
all of a sudden to statz
are you on an old mc version?
?materials
Material Lists
lmao
i checked the materials
hmm i don't know too much sadly
oh its working
ah
i needed to add caps
is there any player_deaths ?
%statistic_deaths%
thank you
or %statz_deaths%
ok
thx
a question does %statistic_craft_item_IRON_INGOT% detect if a person has smelted iron ore ?
and recieved iron ?
Hello. Few hours ago today i encountered with a problem, https://pastebin.com/rf1RqKM4. Could someonse please tell me why is that happening?
Ah, forgot to mention, i'm using PAPI latest STABLE build 2.10.6
Seems to be the vault expansion
Make sure you've got the latest vault expansion, and remove any expansions you're not using
Could someone help me with a maths placeholder?
I am trying to make it so that it halves the {target}'s balance with deluxemenus and I put the args too
this is what I am currently trying to use
- '[console] eco set {target} %math_{vault_eco_balance_fixed}/2_[precision:0]%'
remove the _ in the math placeholder before precision
No, you'd need to use parseother with it as well
And I don't think that's possible, so you'd have to use javascript
okay stupid question, I recently made a teams plugin with a friend of mine, we added placeholders to show the team names, unfortunately I am stupid and I forgot what the placeholder was, and the code for the plugin is on his computer. Does papi happen to come with a way to look up placeholders for a specific expansion?
/papi placeholders <expansion> not sure if this only works for ecloud expansions though
Incorrect usage! /papi help
It's not
Yeah guessing it was removed then
ah the command is /papi ecloud placeholders
ah then it musted be limited to ecloud expansions
no worries, thanks for your response though
I'm guessing the expansion is internal?
Yes
rip
after updating from papi 2.10.4 to 2.10.6 it appears all placeholders that were registered by other plugins are not working
well actually just some
but a good amount of plugins broke
redownload them
Did you redownload them?
redownload plugins that already exist?
whats the point
theyre not cloud extensions
if thats what you are thinking
Meaning it's an issue with the plugins itself, are you getting any errors etc?
no just the placeholders dont parse
Do placeholders from expansions work?
Probably due to using an outdated dependency, but could be wrong
the one I am looking at rn is compiled against 2.10.6
Are you sure you're using the correct placeholders?