#placeholder-api

1 messages Β· Page 40 of 1

junior musk
#

just displaying can't be done when offline

solar scroll
#

Actually, I need something to come back, in my case it's a color to change the color of the guild name :/

#

%parseother_unsafe_{guilds_master}_{luckperms_meta_guildcolor}% = %parseother_unsafe_NASTOUH_&b%
In ChatControlRed &bGuildeName I think it's a goner and my whole project will fall apart from now on x)

sweet terrace
#

My placeholders dont seem to be working on citizens. I have the placeholder: %utils_parseother:[lDashi]_essentials_nickname% which should make it return the nickname i'm using. It does when /parse and I have both Utils and Essentials expansions installed but just doesn't work on my citizens

warm plover
#

Could be wrong

sweet terrace
#

i had it working before, but i did a fresh install of everything including essentials and papi and just copied my citizens save file over

#

not sure what is different

mint fable
#

did you have another plugin to add papi support to citizens?

junior musk
#

iirc it does support PAPI but only in holograms, not in npc names

#

not 100% sure

remote hemlock
#

Hello, how i can get player_time with placeholder api pls ?

#

like i want to know how many time a player spend on my server

junior musk
remote hemlock
spiral solar
#

Hello everyone. I really need help, I want to check if the 10 slot in the player's inventory is empty. What should %checkitem_getinfo:10% it be equal to in order to check an empty?

junior musk
#

%checkitem_getinfo:10_mat:%

#

check if it returns AIR

quaint stratus
#

where can i see all the place holders

#

Anyone help

quaint stratus
#

ty

quaint stratus
#

is there a place holder to show what is my play time

sharp bloom
quaint stratus
#

does this only shows hours and not days?

#

or does it show both

sharp bloom
quaint stratus
#

ok

sharp bloom
#

replace the hours with days if u want days

quaint stratus
#

i have a problem but i cant send a pic

tender vaporBOT
quaint stratus
#

nvm

#

bad indentation of a mapping entry (43:7)

40 | 3: ''
41 | 2: '&7Β» &6&1Hours Played'
42 | 1: ' &7%statistic_hours_played%'
43 | - '&7&m+----------------+'
------------^
44 | - '&7&m------------------'
45 |

#

this is the problem

#

.

sharp bloom
quaint stratus
#

idk how to tell

quaint stratus
sharp bloom
#

?paste

tender vaporBOT
sharp bloom
#

and send the link for it

quaint stratus
#

can i put pics in it

#

i rly cant explain without pics πŸ₯²

sharp bloom
#

?imgur

tender vaporBOT
sharp bloom
#

make a papi expansion that hooks into a plugin, otherwise probably not possible πŸ’€

#

since they dont have any placeholders regarding these info

plush saffron
#

kristopher

#

please

#

and ty

sharp bloom
#

sadcatok tell me about it

#

when i tried to do the same thing for superiorskyblock2 i failed miserably

modest trail
#

Hello, is there a placeholder that can strip color code formatting from another placeholder?

austere hawk
#

With the Math expansion can I check if a placeholder (number value) is equal to or greater than another value?

mint fable
#

in a placeholder? no

sharp bloom
#

explain more :/ ?

mint fable
#

my advise

mint fable
#

?imgur

tender vaporBOT
mint fable
#

just post a link

#

πŸ‘

#

click and read what i said

#

no need to ask me what I said if you can read what I said thonking

#

don't

#

trying to make an expansion like the one you want would be the most backwards way to go about doing what you want lol

#

just pay somebody to do it

#

idk $5

#

there's no need to say last question lol, we're always here

#

there are always more questions

#

πŸ˜‚

#

it's all volunteer

#

I'll respond if i want

#

πŸ€·β€β™€οΈ

#

that sounds like a custom plugin or something

#

maybe a skript but idk, I don't use skript

#

but I am off for now

#

o/

sharp bloom
#

imagine how many security flaws in expansions we are unaware of aa_cat_stare

sharp bloom
#

like that utils/parseother, very spooky scary stuff

mint fable
#

πŸ™‚

#

all verified ones

sharp bloom
#

OKK oh so there r more besides these 2 ones

mint fable
#

well checkitem

sharp bloom
#

oh right

#

lol

#

i forgot checkitem

mint fable
#

everything has security updates

#

so

#

all g

#

hense

#

unsafe

#

oh not added to utils list yet but

sharp bloom
#

and yet one of the best expansions :/

mint fable
#

oh it's parseplaceholder

#

you can use unsafe fine

sharp bloom
#

aa_cat_stare a yo

#

oh so its patched?

mint fable
#

just when you actually need a placeholder, not an argument

#

yes, see unsafe parses placeholder

#

but the regular does not

sharp bloom
#

mhmmm

mint fable
#

||so if you parsed a deluxemenus argument placeholder into it instead of a player name...||

#

ok really gotta sleep

#

o/

sharp bloom
#

ac_cat_smile gn!

sharp bloom
#

ye?

placid gull
#

im making a papi expansion. What dependancies are there?
the wiki does not explain that, as far as i can tell they have the same dependency as a spigot plugin?

#

im making a standalone expansion

vivid sparrow
#

The only dependency is papi

#

If you need the api of another plugin, you add that too πŸ™‚

placid gull
placid gull
#

wouldn't I need bukkit too?

vivid sparrow
#

Yes.. I though it is obvious you need spigot for anything

placid gull
#

idk what this papi stuff is 😭

tender vaporBOT
junior musk
#

I think it'll return 0 or 1 for false or true

#

try it in the /papi parse me <placeholder> command and see by yourself

junior musk
#

you'd need to learn Java first

#

and your request barely has any info πŸ˜…

#

placeholders for what?

#

which placeholders do you want exactly?

tender vaporBOT
junior musk
#

? thonking

#

doesn't load the img kekw

#

might be my school network

#

for f enemies & allies, would it just be the list of player names?

#

you can't

#

XD

#

yeah that's what I meant mb

#

ah

#

nah don't

#

I get it

#

🀦

deep hollow
#

Hey, anyone knows

#

why Formatter is returning too many decimal numbers?

#

this guy is having same issue

old oyster
#

Heya! For some reason, the ecloud seems to be inaccessible on one server whereas on another it's perfectly fine for me.. what's really strange is that both servers are identical and the ecloud only sometimes (really rarely) loads correctly on the other server.. What could be the cause of this and/or how can this be fixed? πŸ€” (Please do drop a ping if you have any ideas regarding this)

It's really weird! The expansions I have are 'Bungee', 'Pinger', 'Player', 'Server' - all of which work perfectly on one server but not on the other. (Both servers are identical in terms game version, plugin version and even configs)

One thing to note would be that commands such as /papi dump or /papi reload don't run on the faulty server - it only registers internal expansions

junior musk
#

@austere hawkwhat's your Java version?

junior musk
#

if you get an error because of the java version, let me know

junior musk
#

Java, no MC version πŸ™ƒ

#

but should be fine

deep hollow
#

some of us are having the same issue so I suppose it's an expansion issue

junior musk
#

wat da fok is dat

deep hollow
#

xdd

#

idk πŸ˜‚

placid gull
#

So basically I created a blank java project, add PAPI and Spigot dependancies. How do I compile it

junior musk
#

what does it return?

#

and did you get an error in console?

#

/papi dump

#

you didn't put the jar in the expansions folder?

#

btw I think I didn't add a check for when you don't have a faction

#

let me add that

#

oh you want the leader too?

#

I can do that

#

no lol

#

you'd have to decompile it first

#

but I'm posting it on github rn don't worry

#

there's a few apps and websites that do that

#

for apps, there's recaf

#

and for websites, I use those when I'm on phone and don't have access to my PC, I just take the first one kekw

#

lul

#

it shouldn't be, unless you're using a plugin with a code just as weird as mines, and unfortunately for you, Medieval Factions fits exactly this criteria XD

#

I can't even find a simple method to find the leader

#

I'm searching through the /f infon command's code but even there I can't find it XD

#

yeah you already did earlier

marsh crest
#

"/papi ecloud download skript" when i do this command it says it failled to find it

mint fable
#

@marsh crest

#

manual download

marsh crest
#

o alright

placid gull
#

why is onRequest not called in my expansion

#

canRegister works but onRequest is never called

junior musk
#

send your code

#

and /papi dump

placid gull
#

well rn it's java @Override public String onRequest(OfflinePlayer player, @NotNull String params) { plugin.getLogger().info("GOT REQUEST: "+ params); }

junior musk
#

send the whole class

#

also you're not returning anything

#

so this shouldn't even compile

placid gull
#

there is more to it than that

#

although it looks like

#

Naethan had you make it

#

whatever

junior musk
#

I'm guessing it's MFE ?

#

which placeholder did you try?

placid gull
#

yes

#

ohhhh

#

i was wondering how that worked

junior musk
#

uh?

junior musk
#

assuming there's only 1 member with the role owner, yeah

#

if there's multiple, it'll just break kekw

#

which nickname plugin? Essentials?

#

/papi ecloud download Essentials
/papi ecloud download Utils
/papi reload
%utils_parseplaceholder:[{medievalfactions+_members_with_Owner}]_essentials_nickname%

#

[] is just to get the zone where the placeholder is

#

and {} is because we can't use %% within a placeholder

junior musk
#

send the error

#

are you using the latest jar I sent?

#

send the full error

#

?paste

tender vaporBOT
junior musk
#

isn't there more in the console?

#

that's not the right jar

#

maybe you have multiple jars?

#

send the full error again

#

do you have a faction?

#

then idk what went wrong

junior musk
#

oh way nvm I get it

#

idk why it does that but I think I get it

#

uh

#

idk how to explain it

#

oh

#

it's not what I was thinking actually

#

I'm just super dumb

#

I was using ByPlayerId instead of getFactionByFactionId

sharp bloom
sharp bloom
#

u r the best

#

i wanna use it as an example to try and do some things with ss2

#

no? i just said ss2 ;-;

#

i want to do(try) things for skyblock

vivid sparrow
#

blank and a space are different things

sharp bloom
#

well for 99% times its not a space πŸ’€

#

and its just an empty string

junior musk
#

/papi parse me .%placeholder%.

#

if the . are next to each other, the placeholder returns an empty string, if there's a space between them, then there's a space 🀷

mint fable
#

somethin wild goin on here, i feel it

#

πŸ˜‚

junior musk
#

with Utils

#

%utils_parse_placeholder2_{placeholder1}%

junior musk
#

/papi parse me %medievalfac...%
/papi parse me %utils... %

#

which one?

#

oh that's what you meant

#

what does the Utils placeholder return? and what about the servervar one with your factions name directly and not the placeholder?

#

won't work

#

what does the utils placeholder return?

#

yes

#

yes

#

you can't use placeholders directly within commands in your chat bar

#

unless you use /papi cmdparse

#

yeah

#

I'm not sure why

#

can you send a screenshot of the medievalfac placeholder & the exact cmd you ran, for the Utils placeholder?

#

what code?

#

seems fine

#

that won't really do anything

#

I'm completely lost

#

I don't understand why this doesn't work

#

but that's what Utils fixes

#

Utils allows the use of nested placeholders in placeholders that don't support it

#

I don't see why it would

#

you're using the same faction placeholder in the /svar cmd and in the ut8ls placeholder

#

so it should be fine

#

I'll check again when I'm on PC

#

did you change something?

pallid minnow
#

are PAPI placeholders being replaced off the main thread? e.G: if i want my extension to grab data from a web server - should I, when a placeholder request is made, fetch the http data and return it, or, alternatively, just return empty strings untill my data has arrived?

junior musk
#

depends on the plugin that parses the placeholder

#

PAPI doesn't manage that

pallid minnow
junior musk
#

are you making the placeholder or parsing the placeholder?

pallid minnow
#

im not sure where the difference is, i am making a place holder expansion using the API.

junior musk
#

so you're creating a placeholder, that returns something

pallid minnow
#

yes

junior musk
#

parsing is when you use a placeholder in a plugin to display the value

pallid minnow
#

oh, my bad, that makes sense

junior musk
#

so for example, using %player_name% in a DeluxeMenus menu

junior musk
#

and then get that hashmap from the onRequest method

whole bobcat
#

Hello everyone, can someone help me how I can put the command to my icon, I explain:

I have an icon in my menu that is quests, the plugin that I will use is quests, which opens with /quests, I have to do so that when I click on it opens the quest.

pearl sandal
#

Hi I want to make it so it shows the amount of player in a specific group and a specific gamemode to be shown

#

Is there any placeholder ?

real parrot
#

Is it possible to temporarily add a value to a variable? (for example +2 for 1 day, +5 for 12 hours)

coarse fractal
#

i am also unable to download expansions

sharp bloom
#

OKK damn so u telling me all that time i could just use math instead of the rng expansion? i just found out about the RANDOM()

sharp bloom
coarse fractal
#

☠️

vital plank
#

i use bedwars1058 and it's proxy plugin. when i type /papi list it shows that there is bedwars1058 in the list and when i use decent holograms to show bedwars stats it shows 0 even if the phpmyadmin shows that there is 4 kills instead of 0, how do i fix this?

rustic thicket
tender vaporBOT
junior musk
#

why post it again when you already posted it in #general-plugins and got your answer 🀨

rustic thicket
junior musk
#

you did, but you already posted it and got your asnwer anyways, so there was no point in reposting it

rustic thicket
spark basin
#

Do what the error says

#

Download those plugins

spark basin
#

😭

#

The plugins

#

Not expansions

rustic thicket
#

Oh I'm an idiot thank you...

rustic thicket
stable zodiac
#

Hey, i just wanted to ask if there is support to skript, because in wiki there is skript section to download palceholder through command /papi ecloud download skript but it looks like it doesnt exist

prime lintel
#

is there a plugin that has placeholder like %getmaterial_COBBLESTONE_SWORD% and will return Cobblestone Sword

junior musk
#

wat thonking

#

ah

#

not really no

#

or at least I don't know of any, but there may be ways to do it by combining some placeholders

#

/papi ecloud download Utils
/papi ecloud download String
/papi ecloud download Formatter
/papi reload
%utils_parse_string_capitalize_{formatter_text_replace_{u}__COBBLESTONE_SWORD%

severe finch
#

Hi someone knows answer this? I can give example img

junior musk
#

does it not return a date? thonking

#

ah, milliseconds

severe finch
severe finch
#

Ow oke

junior musk
#

the _formatted placeholder is probably what you're looking for

#

yeah it's first_join_date

#

or first_played_formatted, both do the same thing

severe finch
#

Yep but it produces same result as unformatted versions

junior musk
#

uh, you used the first_join or first_join_date placeholder?

#

first_join is unformatted, the other 2 are

severe finch
#

Both ya

junior musk
#

weird

#

not on pc atm so I'll check later

severe finch
#

U can see from msg i link how it looks too

#

Sure thing, meanwhile i will experiment with javascript approach bc i cant use millisecond

junior musk
#

wait so it's fine?

#

isn't it formatted correctly in thz screenshot?

junior musk
#

-> config.yml

#

there's a time date format or smth

severe finch
#

Ok tnx i will use this instead πŸ˜„

noble gorge
#

hi

#

townyadvanced_top_town_balance_n
This placeholder becomes invisible when added. The towny dev said it's your problem.

warped walrus
stable zodiac
noble gorge
#

?

#

Yes, obviously I put it between %

#

%townyadvanced_top_town_balance_1%

#

It became invisible

#

When you place it in npc/hologram, the placeholder becomes invisible. Both citizens and decent holograms

#

Now when it's chat or scoreboard, it works well3

oak field
#

https://imgur.com/a/RAmZhv1 Why doesn't this work?

I used the command /holo create Start_5 &4[Owner] &r- ErrorHunter is Online: %parseother_{<ErrorHunter>}_{player_is_online}% but it doesn't work

mint fable
#

there shouldn't be <>

#

@oak field

#

test placeholders in chat with /papi parse me %placeholder%

cursive lark
#

Hey!

#

I was wondering if anyone could help me get this placeholder using PlayerLists:
The placeholder to return the amount of ALL users (online and offline) with the %plotsquared_has_plot% = true

junior musk
#
  playerlist:
    lists:
      plots:
        type: ALL
        included: true
        filters:
        - PLACEHOLDER:%plotsquared_has_plot%=true
#

%playerlist_plots_amount%

#

keep in mind that not all placeholders support offline players, so I can't guarantee it'll take them into account them

#

try yourself with /papi parse <offline player> %plotsquared_has_plot%
if it works, then all good, if it doesn't, then I can't do anything about it

jade frigate
#

anyone know how to get javascript installed in placeholder api? the command doesnt work as it doesnt register javascript. i Went to a website to manually put the jar in the placeholder expansion folder. However whenever i execute a script in java script , it doesnt work. i do not understand what is going on.

#

i tried running simple static scripts to place into the javascript folder and call upon those scripts but it doesnt work

#

i ensure every file is placed correctly and that my /papi list would show my javascript installed

#

i spent 12 hours on this and i cant seem to make it work and theres no tutorial i can find so any help would alleviate my stress://

#

my server log doesnt give any error messages as well

junior musk
#

it's unverified, so you need to download it manually

jade frigate
junior musk
#

/papi dump

#

send the link

jade frigate
jade frigate
junior musk
#

did you add the file name of your scripts in your javascript_placeholders.yml file?

#

and script files should be in a javascripts folder (with a s)

jade frigate
#

whoa wait hold up lemme try right now

jade frigate
jade frigate
#

msut have missed it sigh, lemme try it right now

#

it works i love you thanks man

hasty escarp
#

Does anybody know if there is a version of Skript expansion for PlacerholderAPI that works for 1.8.9?

paper knoll
mint fable
#

what?

#

you're asking how to change the code of the expansion

#

guidance on... changing the code?

#

this is support for placeholderapi and using placeholders

#

development is definitely where you want to be for coding things

mint fable
#

if those all don't work then πŸ€·β€β™€οΈ

#

the one by blakegamez is the one used mainly

hasty escarp
#

The one from blake doesn't work for me

mint fable
#

do you get an error?

tender vaporBOT
hasty escarp
#

When i make a scoreboard in TAB and use variables it f*cks the server

#

then i need to remove the expansion and then restart the server

#

then it gets normal again

#

like PlacerholderAPI and TAB doesn't work with the one from blakegamez

mint fable
#

lol

#

any errors though?

#

because if the other 3 don't work either, i feel this is the best bet

#

but you might need a custom one idk

hasty escarp
#

I'll try det SkriptLang later

#

and the others later

mint fable
#

gl

gloomy marsh
#

how i can add prefix for essentials_afk?

#

i only returned yes/no

mint fable
#

ajleaderboards

tender vaporBOT
gloomy marsh
mint fable
#

well it's quite a lot to do

#

you have to store all the values

#

uhh

#

i mean

#

is it only 3 placeholders you need to sort?

#

sorting placeholders is tough without a plugin lol

#

top 3?

#

but how many values are there

#

is it all players?

#

so that's the issue

#

you need to store all those values

#

into a list

#

cache it

#

in a database

#

then sort it and return it to the user

#

it's a lot of steps

#

optimum data management is what you want

#

ajlb is pretty good

#

now, if you're going to try to code a placeholder, you wouldn't need ajlb ofc

#

but, ykno

broken cipher
#

how can i trim % from the papi placeholder output

#

or to trim last character because it's always %

junior musk
#

%formatter_text_replace_{ascii_37}__{placeholder}%

junior musk
#

did you download the Ascii expansion?

broken cipher
#

sorry i'm stupid

#

works...

#

thanks a lot!

#

is there MSPT papi placeholder? i know there is TPS inside of Server expansion, but is there MSPT or a way to calculate it (via math expansion)?

junior musk
#

do you use TAB?

#

%tab_placeholder_mspt%

#

otherwise idk

#

oh actually, spark might have one

#

uh

#

well it has placeholders, but idk if those are the right onesπŸ˜…

broken cipher
#

that's a lot to work with, thank you! πŸ™‚

austere hawk
#

Hi, I have a question does the JavaScript expansion still exist? to work on java 8 ?

#

I need to make a placeholder that returns 0 if I don't have a bounty placed on my head because the Bounty plugin if I don't have a bounty placed

calm whale
calm whale
vast valve
#

Is there a placeholder I can install (with bungeecord), that I can make a placeholder where it tells me how many players are in a different server that I choose?

vast valve
main apex
vast valve
main apex
#

I haven't ever had a two word server name... lmfao.

modest trail
short solar
#

      title: '&x&f&f&e&f&0&0&lTower Defense'
      lines: # %formatter_number_round_
        - '&6&m-----------'
        - '&6Coins: &a%towerdefense_coins%'
        - '&6Kills: &a%towerdefense_kills%'
        - '&6Wins: &a%towerdefense_wins%'
        - '&6Games played: &a%towerdefense_games_played%'
        - '&6Highest wave: &a%towerdefense_highest_wave_survived%'
        - ' '
        - '&dExp: &a%towerdefense_player_exp%/%towerdefense_player_next_rank_exp%'
        - '&dRank: &a%towerdefense_player_rank%-100'
        - ' '
        - '&bTowers built: &a%towerdefense_towers_built%'
        - '&bTower upgrades: &a%towerdefense_tower_upgrades%'
        - '&bTowers sold: &a%towerdefense_towers_sold%'

i tryed this %formatter_number_round_%towerdefense_player_next_rank_exp%% but that wond work do you guys now how to forment a placeholder number?

junior musk
#

%formatter_number_round_{towerdefense_player_next_rank_exp}%

short solar
#

title: '&x&f&f&e&f&0&0&lTower Defense'
      lines: # %formatter_number_round_
        - '&6&m-----------'
        - '&6Coins: &a%nf_###E0X_towerdefense_coins%'
        - '&6Kills: &a%nf_###E0X_towerdefense_kills%'
        - '&6Wins: &a%nf_###E0X_towerdefense_wins%'
        - '&6Games played: &a%nf_###E0X_towerdefense_games_played%'
        - '&6Highest wave: &a%nf_###E0X_towerdefense_highest_wave_survived%'
        - ' '
        - '&dExp: &a%nf_###E0X_towerdefense_player_exp%/%nf_###E0X_towerdefense_player_next_rank_exp%'
        - '&dRank: &a%nf_###E0X_towerdefense_player_rank%-100'
        - ' '
        - '&bTowers built: &a%nf_###E0X_towerdefense_towers_built%'
        - '&bTower upgrades: &a%nf_###E0X_towerdefense_tower_upgrades%'
        - '&bTowers sold: &a%nf_###E0X_towerdefense_towers_sold%'
        - '&6&m-----------'```
trim haven
#

Hey!
I want to display %vault_eco_balance% in simplescore but it doesn't work because PlaceholderAPI has an error with Vault. I have already installed the plugin manually and added the expansion-vault manually. However, the console shows me that PlaceholderAPI has an error with Vault, but for unknown reasons. Does anyone know what to do?

Console log:
[19:49:04 WARN]: [PlacerholderAPI] Cannot load expansion vault due to an unknown issue

junior musk
#

send your server logs & the link you get after running /papi dump

austere hawk
#

Hi everyone, is there a way to have a redstone signal if a papi placeholder equals a certain string (e.g. "Hello")

junior musk
junior musk
#

latest.log

#

?paste

tender vaporBOT
junior musk
#

or

#

?startuplog

tender vaporBOT
trim haven
#

ok

#

?paste

tender vaporBOT
trim haven
junior musk
#

the error is from your simplescore config

#

tho idk why the Vault expansion isn't loading

#

and replace the old one in /plugins/PlaceholderAPI/expansions/

trim haven
#

ok, I'll try

#

It didn't worked. There's still the alert in the console and the think that is weird is that if I type in /papi ecloud list installed, thit doesn't list vault.

junior musk
#

do you have an economy plugin?

#

like Essentials or TNE idk

#

or do /vault-info

trim haven
#

bruh... I don't have either of them haha

#

now there is no alert in the console either

junior musk
#

so all good?

trim haven
austere hawk
junior musk
#

I'm not on pc anymore but I can try to text it and send you a config tomorrow

austere hawk
#

I figured part of it out, I just need to figure out how to tell it how fast to do it. Right now for me it looks like its only doing it on config reload. Here is my config:

  figurethisoutifitworks:
    type: figurethisoutwhenitworks
    conditions:
    - '%pinger_online_localhost:25565% == &aOnline&r'
    actions:
      default:
      - 'cancel_event: true'
      - 'message: &7yo it works!```
tribal seal
#

Greetings, can i ask here about the usage of the API of Papi?

#

So well i'll ask and if im not supposed to ill move it on development :v So im trying to write a placeholder for one of my plugins, and currently i've set up the classes like that. I also register it on my onEnable, but when im parsing the placeholder i do not see anything, i just see the placeholder as it is.
https://paste.helpch.at/obujepobut.typescript

junior musk
#

which placeholder did you try? syntax is %identifier_params% so it should be %joltingparties_glow_color%

#

and does joltingparties show upi in /papi list?

tribal seal
#

No it does not show

#

and thats correct yes i used the one you sent

junior musk
#

did you run /papi reload? when you don't override the persist method and make it return true in your PlaceholderExpansion class, /papi reload will clear the expansion

#

can you also show your plugin's onEnable method?

tribal seal
#

Sure

#

Like the whole of it or just the section for papi?

junior musk
#

send the whole thing just in case

tribal seal
junior musk
#

you have to call register() on the class after initializing it

tribal seal
#

πŸ€¦β€β™‚οΈ

#

Apparently you do, and its shown clearly on the documentation for it :3

junior musk
#

:D

tribal seal
#

Ty mate, and sorry for that big waste of time :v

junior musk
#

dw

tribal seal
#

Yeap its working now as it should, thanks alot πŸ˜„

main apex
#

Can someone tell me why two placeholders with the same readings would show differently on the server?

#

nvm I figured it out. I was missing a number/letter in my hex code.

tribal seal
#

Hey there again, so from our yesterday's conversation, i did register a placeholder and it worked just fine, now i also tryed to make a second one. But from what i understand it registers only the latest one that has the .register() method. This is my method inside onEnable() if anybody could help me out a bit.

            new PartyGlowPlaceholder(this).register();
            new PingGlowPlaceholder(this).register();

            Bukkit.getConsoleSender().sendMessage(JUtil.format("&3&l[JoltingParties] &7Placeholders have been registered!"));
        }
        else {
            Bukkit.getConsoleSender().sendMessage(JUtil.format("&4&l[JoltingParties] &7Could not register placeholders!"));
        }```
junior musk
#

are you using the same identifier in both of your expansions?

#

also you could just make 1 expansion instead of 2

#

1 expansion isn't limited to 1 placeholder

tribal seal
#

Oh, i just do multiple of these checks?
if (identifier.equals("party_color"))

junior musk
#

yeah of course

#

usually the variable is called params, but yeah

tribal seal
#

Hmm i think thats the usage i saw on the spigot page, could you lmk whats the general usage?

#

nvm now i understood

junior musk
#

it's just a variable name, doesn't change anything

tribal seal
#

instead of identifier

junior musk
#

yeah

tribal seal
#

yeah nvm, i thought you said about the string that you're comparing it to

cinder loom
#

Hi ! How can i with checkitem check if the player got one or more netherite hoe with max durability and no enchantments ?

elder python
#

is it possible to add a value to a placeholder, for example if i placeholders value was 5, could i make it 10 with a command or something ?

elder python
#

it says the variable i put in doesnt exist even tho it does

junior musk
#

did you set it with /svar set <name> <value> ?

elder python
#

ye

junior musk
#

which placeholder did you use?

#

and what's the exact cmd you ran?

elder python
#

%statistic_mob_kills% and /svar set %statistic_mob_kills% 5

junior musk
#

oh

#

uh

#

that's not how it works

elder python
#

o

junior musk
#

I'm not sure if the cmd parses PAPI placeholders but try this
/svar set kills %statistic_mob_kills%
and check what it returns with /svar get kills

#

oh actually you have to define the variable in the config too

elder python
#

oh thats prolly the issue

junior musk
#

though I'm assuming that you want the variable to update according to the %statistic_mob_kills% placeholder?

elder python
#

ye

junior musk
#

if that's the case, it likely won't work

#

it'll only be set once and won't update unless you run /svar set/add all the time

#

so that won't do it

elder python
#

alright, no worries then

junior musk
#

another solution would be to use MC's deathCount scoreboard objective (which updates when you die and has cmds to change its value per player) and get its value through the ScoreboardObjective placeholder

#

/scoreboard objectives add deaths deathCount
/papi ecloud download ScoreboardObjectives
/papi reload
%objective_score_deaths%

#

and to change a player's score: /scoreboard players set <player> deaths <number>
or /scoreboard players add <player> deaths <number>

tender vaporBOT
plush dove
#

Is there a placeholder that gives me the index of a string seperated by a seperator?

#

so like getting the first index of test,hello,something would give me test

#

I think I got it

restive nova
#

What's this placeholder used for?

#

I can't get it

silent quartz
#

I was wondering if there was a way to display the irl time for the player?

#

Assuming not since that would be a lot of calculations as far as timezones and stuff

#

Who knows tho, worth asking

mint fable
restive nova
mint fable
#

ah, no idea

restive nova
#

The author wrote some broken English so I can't understand anything

mint fable
#

ah

#

all the prices are in the repaircostconfig

#

and the ranks

#

it checks your tool (that you're holding I presume) or your armor (that you're wearing)

#

v interesting, definitely made for a specific purpose

silent quartz
#

Not sure :(

#

That would suck if it didn't translate tho

mint fable
#

localtime

#

@silent quartz

silent quartz
#

Oh dope, so it is a thing??

mint fable
#

but there is one issue you might run into

silent quartz
#

O boyo

#

What's that?

silent quartz
#

Nice, so it's buggy

#

Hmmm

mint fable
#

well

silent quartz
#

Wonder if there's a workaround

mint fable
#

the one bug

#

really just depends on your host most likely

silent quartz
#

Oh ok

mint fable
#

if other people from the host are also using ipapi sort of situation

silent quartz
#

Any idea as to why that is?

mint fable
#

i'd try it for sure

#

the issue explains it all on github

#

After manually compiling the expansion with an added debug log, turns out the issue is rate limiting. Every response is coming back with a 429 error.

silent quartz
#

Got it

#

Whatever that gibberish means xD

mint fable
#

rate limiting = ipapi limits the amount of free api calls from ips

silent quartz
#

Right right

restive nova
#

Ranking what?

mint fable
#

whatever returns the rank name most likely

#

have you seen the config i mentioned?

restive nova
#

I see

#

Vip can get cheaper repair cost

silent quartz
#

I might be extremely stupid for asking this, but what exactly is it asking me to input here for the date format?

%localtime_time_<SimpleDateFormat>%

How is it formatted exactly?

mint fable
restive nova
silent quartz
#

Thanks

tender vaporBOT
mint fable
#

full placeholder list fyi

silent quartz
#

You got it

#

On it now

open holly
#

How do you format %math_0_{statistic_mine_block}/2% with formatter expansion? Tried %formatter_number_format_{math_0_{statistic_mine_block}/2}% but it doesn't work

junior musk
#

and don't forget to download the formatter and utils expansions

open holly
wary perch
#

How do I send info from one bungee server to another such as playtime from one server to another with placeholder api?

junior musk
#

you can't with PAPI

wary perch
#

Know of a way or plugin that can do that? Really I just want playtime or placeholder to be shown from a survival server to be shown on my hub server on an image board

junior musk
#

not really

wary perch
#

Would someone be able to help me with this task?

junior musk
rocky parcel
#

Now I got a question.

For placeholderAPI, I do know that LocalTime Exists in papi, Yet I was wondering if there was something that acted like Discords placeholders.

I wanted to have someting set up where I have it print out Monday, March 25th, 2024 at 6:00 PM EST
I know I can just type it out without papi, but my thought was that on every Sunday, (in this case the 31st) It would change to display Monday, April 1st, 2024 at 6:00 PM EST

#

is there a way to do that?

junior musk
#

you can any of the listed characters in the format to display something

rocky parcel
junior musk
#

that is a placeholder

#

%server_time_EEEE, MMMM ww, yyyy at K:mm a zzz%

rocky parcel
#

Okay. i was about to ask if that was it for the example

#

My other question.

#

how do I set it to be a specific time? Like I want that to show the 25th of march today.
and when it becomes the 31st, I want it to show it being the 1st of april

junior musk
#

uh

#

ask someone to make you a placeholder for that

rocky parcel
#

<t:1711404000:F>

#

Like that

#

And when it passes March 31st

#

it changes to

#

<t:1712008800:F>

junior musk
rocky parcel
#

What I mean is that for the auto updating there. is that even possible?

junior musk
#

the auto updating is exactly why I recommended you to ask a dev to do this for you πŸ˜…

rocky parcel
#

I see.

#

Again. I still dont understand. by doing %server_time_EEEE, MMMM ww, yyyy at K:mm a zzz% Wont it just show the CURRENT time instead of a preset time?

junior musk
#

I'm not even sure if there's a PAPI placeholder that targets another date

#

yeah it does show the current time

rocky parcel
#

yeah. I mean preset times like discord timestamps

junior musk
#

yeah

#

I just wanted to give you the format, but idk if there's a placeholder for a specific time

rocky parcel
#

i see. Thanks for the help though

#

I got a new thing that might work. I would have to manually do the command

#

Though is there a placeholder that targets "next monday" or soomething

ancient plank
#

Hey, whats the placeholder for playtime?

buoyant basin
#

hello guys

#

some placeholders in menus are not showing after player disconnect

#

theres a way to fix that?

elfin basin
#

i wanna show playtime of players and im using %playtime_player% but its not working

#

also do i need to have the vault plugin for /papi ecloud download vault?

mint fable
elfin basin
#

what plugin can i use for %vault_eco_balance%

mint fable
#

like, an economy plugin?

#

essentials has economy if you have that

elfin basin
#

alr thanks downloaded that

#

also /papi ecloud download teams dosent work

#

even tho it shows that on the github page

kind tide
#

Hello. I installed papi server (/papi ecloud download Server) on my network servers and I am using %Server_Name%. The problem is that it always shows me "A Minecraft Server" and I don't know where it comes from, I check the different files and can't find it.

junior musk
#

it's in your PAPI config.yml

kind tide
#

Thanks!!

mint fable
craggy bison
#

Hi ive never really used placeholder api before and im not really sure what the options are here

#

i made a plugin that syncs real life weather data with the game and wanted to add placeholders for it so other plugins can acsess that data

#

so far ive only found "PlaceholderExpansion" and "onPlaceholderRequest" which doesnt really apply to my usecase as it takes in a player object

mint fable
#

just disregard the player object @craggy bison

craggy bison
#

Yeah I realized that myself just a few seconds ago

#

thanks anways

#

have a good night!

mint fable
#

yep, you too

junior musk
#

is it an expansion you made within one of your plugins?

#

if yes, you need to override the persist method and make it return true
if no, send the link you get after running /papi dump and your console logs when you run /papi reload

visual yacht
#

and the formatter doesnt support <17

#

i need to change the seconds to HH:mm format

elfin basin
#

I am using %betterteams_<variable>% but it dosent seem to be working and on the github page its saying "NO DOWNLOAD COMMAND" so im not sure what im doing wrong

#

i have the plugin downloaded too

junior musk
#

which placeholder did you use exactly?

#

and does betterteams show in /papi list?

elfin basin
#

so it basically just shows %betterteams_<variable>% on the scoreboard instead of what team i am in

junior musk
#

and what did you replace <variable> with?

#

should be name instead

elfin basin
#

just kept it the same

junior musk
elfin basin
#

wait one more thing

#

im using %vault_eco_balance% and i have 10 balance on my scoreboard but it still shows 0 as my balance on the hologram (im using decent hologram)

#

wait i fixed it

#

whoops

junior musk
#

are you sure you're using the same placeholder in the hologram?

cinder reef
#

I have a question whether it is possible to use placeholders and the Placeholder API plugin on a proxy server (waterfall)?

visual yacht
#

how can i change a number to a HH:mm:ss format?

#

i need to format a number to time format

#

like 60 -> 1m

#

120 -> 2m

warm plover
broken wren
#

Can anyone help me with the bungeecord placeholders API?

#

I want to use placeholders in my java code within a bungee cord plugin

#

but it doesn't want to work because of ProxiedPlayer, how do I make it work inside bungee?

junior musk
#

you can't

#

PAPI is a Spigot plugin, not a Bungee plugin

broken wren
#

not have no way?

junior musk
#

you can do like plugins such as BTLP or TAB did and make a bridge, an extra plugin for Spigot servers that, forward placeholder data to your Bungee plugin

broken wren
#

okay, thanks

jagged snow
#

There is this scoreboard where everybody starts with a value of 0. After playing the game, each player's score increases by approximately 700 points. However, when I use %objective_scoreposlow_{dropper_score}_{1}%, I can only see entries with the value 0. Is there a way to display the correct score?

mint fable
#

hmm

#

wouldn't that show the lowest value? unless there is NO value with 0, then that should be returning 0 I think

#

@jagged snow

smoky ridge
#

i want to show month date and time what was the place holder for it

#

for example January 25TH 12:20

#

how do i do that

crimson cove
#

Hi another question ;_;

Is it possible to use a placeholder like Formatter to convert a value like 2h 2m 2s to an integer, like 7322 (seconds)?

tender vaporBOT
jagged snow
# mint fable wouldn't that show the lowest value? unless there is NO value with 0, then that ...

Yep, that's my problem.
Here's how my tech works:

Player goes through the door; player counter scoreboard value increases.
Player goes through the end; player counter scoreboard value is set to player score scoreboard value.
Highscore: When player's score < player's highscore -> score = highscore

Here's the problem:

When the player plays the game for the first time, the highscore is null. However, you can't use:

if score @s highscore > @s score run scoreboard players operation @s highscore = @s counter

And due to this, I set the value to 0 with /scoreboard players set * highscore 0, and then I have to set the highscore to the score, when the player plays the game for the first time.

mint fable
# crimson cove Hi another question ;_; Is it possible to use a placeholder like `Formatter` to...

i don't think so, but here is a javascript placeholder

var time = "%playtime_time%";
var weeks = parseInt(time.match("(?:\\d*(?=w))"));
var days = parseInt(time.match("(?:\\d*(?=d))"));
var hours = parseInt(time.match("(?:\\d*(?=h))"));
var minutes = parseInt(time.match("(?:\\d*(?=m))"));
var seconds = parseInt(time.match("(?:\\d*(?=s))"));
var total = 0;
if(!isNaN(weeks))
  total += weeks*604800;
if(!isNaN(days))
  total += days*86400;
if(!isNaN(hours))
  total += hours*3600;
if(!isNaN(minutes))
  total += minutes*60;
if(!isNaN(seconds))
  total += seconds;
total.toFixed();
crimson cove
#

Thank you so much!

blazing cloud
#

Hi, I wanted to know if you could take the output of a placeholder of a plugin in a specific server and take it to another server (e.g.: %bedwars_status% returning "waiting" or "in game", on the bw-arenaName server, and this output should also come out in the bw-lobby with a placeholder which could be %bungee_arenaName_status%)

If I have not been clear let me know

maiden nova
#

is it possible to get a placeholder for the UID of a player?

junior musk
#

%player_uuid%

molten junco
#

Can I ask for help? Please ;/

smoky ridge
outer scarab
#

Does anyone know if it possible to nest placeholders inside of placeholders. %customfont_mini_%ultimatefactions_faction_name%%
Im trying to nest %ultimatefactions_faction_name% inside of %customfont_mini_%

outer scarab
warm plover
#

Show what you tried

#

wait

#

you don’t even need utils for that

#

%customfont_mini_{ultimatefactions_faction_name}%

outer scarab
warm plover
#

Have you tried just parsing %ultimatefactions_faction_name%

#

And %customfont_mini_Text%

outer scarab
warm plover
#

Interesting

warm plover
molten junco
#

;o

blazing cloud
slender seal
#

Hi!
Having trouble with papi. Used it on previous servers and never had this difficulty. Papi will parse %% by itself, but other plugs wont return any API (essentials and discordSRV). Any suggestions?

slender seal
#

I realised I should add specific examples.

In particular I’m interested in /broadcast functions and broadcasting %% such as players and worldboarder limits etc.

Both in game and through DiscordSRV

cunning wave
#

Im trying to add Papi support into my plugin. I created the separate class to extend PlaceholderExpansion and registered it in my onEnable and I see in the console it outputting "Successfully registered internal expansion: xxxx" but when I try to parse the placeholder it just spits out exactly what I typed. I even tried just putting in a random debug message to print and it doesn't show up. If you want code I can copy and paste just didnt wanna flood the chat with code blocks right away if its a simple thing im missing.

junior musk
#

send your PlaceholderExpansion class & the exact placeholder you typed

cunning wave
#
public class Placeholders extends PlaceholderExpansion
{
    @Override
    public boolean persist() { return true; }
    @Override
    @NotNull
    public String getIdentifier() { return Utils.getPluginName(); }
    @Override
    @NotNull
    public String getAuthor() { return Utils.getPluginAuthor(); }
    @Override
    @NotNull
    public String getVersion() { return Utils.getPluginVersion(); }

    @Override
    public String onRequest(OfflinePlayer player, @NotNull String params)
    {
        if (params.equalsIgnoreCase("blocks_broken")) return "xxxxx";

        return null;
    }
}

/papi parse me %blocks_broken%
/papi parse me {blocks_broken}
/papi parse me blocks_broken
tried all 3 of these methods

mint fable
#

classic, forgot your identifier!

#

%identifier_blocks_broken%

junior musk
#

yeah

cunning wave
#

Well I feel silly. Yup that worked. Thanks

mint fable
#

fingerguns no prob

bronze shell
#

I'm looking for a placeholder that would change value after you hit an entity (player or mob), and change value again if you hit nothing within the last x seconds. i know that kind of stuff exists through plugin, but i was wondering if there's a similar system with placeholder expansion only

#

any idea? couldn't find anything by searching myself in the expansion list

final shale
#

Why this not work?

%changeoutput_equals_input:Null_matcher:{townyadvanced_nation_or_town_name}_ifmatch:Brak_else:{townyadvanced_nation_or_town_name}%
mint fable
#

does this placeholder return Null? {townyadvanced_nation_or_town_name} @final shale

#

on the wiki I just read it says it returns blank, not Null

final shale
mint fable
#

%changeoutput_equals_input:_matcher:{townyadvanced_nation_or_town_name}_ifmatch:Brak_else:{townyadvanced_nation_or_town_name}%
@final shale

#

conventionally I would switch the input and the matcher, but it doesn't matter

final shale
molten junco
#

Overall, I have a slight problem with the placeholder from ScoreboardObjectives
MythicMobs:
` Skills:

  • modifytargetscore{objective=straznik_glebin;action=add;v=1} @trigger ~onDeath DeluxeMenu:%objective_score_{straznik_glebin}%`
    The main thing is that I am trying to make it display how much a given player (e.g. how many sea creatures I have killed).
    https://prnt.sc/yiWwvV5MX5IH
mint fable
#

essentials doesn't support using papi placeholders, the expansion only provides them if that's what you mean

#

not sure about discordsrv

slender seal
#

rip. Yeah ok

mint fable
slender seal
#

Thx for the help

mint fable
#

yep np

nimble snow
#

Im trying to use a placeholder that will only works when the lore has the name Hi using Checkitem.

%checkitem_getinfo:%slot%, lorecontains:Hi%

mint fable
#

is %slot% added in a custom build you have from deluxemenus? @nimble snow

#

or where does that come from?

#

getinfo retrieves the info of an item in the specified slot, is that what you want to do?

nimble snow
mint fable
#

i'm about to head off to bed

#

but what slot are you wanting to check?

#

the user's hand?

tender vaporBOT
mint fable
#

%checkitem_getinfo:mainhand_lorecontains:Hi%

nimble snow
#

sorry i should be more clear, this is my base placeholder argument but I need to add lore contains %string_containsIgnoreCase_{checkitem_getinfo:%slot%_nbtstrings:PublicBukkitValues..executableitems:ei-id}_executableitems%

#

This placeholder works but dose not have the specifications when it comes to lore, which i need

quasi spire
#

why

#

why papi show wrong x coordinates

#

😭

#

game: -174
papi: -175

#

%player_x% -__-

#

my own plugins fault or confirmed bug?

molten junco
quasi spire
#

i realised there are 2 placeholders now

#

XD

#

mojank made my life easyer or something

#

theres now xyz player

#

and xyz block

#

.

#

mojank now got 2 coordinates
now if u looking at XYZ
those coordinates are wrong
XDDDDDDDD
you need to look at Block
mojank makes my life easyer everyday
istg

#

papi reports xyz block

#

πŸ’œ 🀣

#

Math.ceil()

#

xD

soft orbit
#
[12:33:14 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out
        at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
        at sun.nio.ch.Net.connect(Net.java:579) ~[?:?]
        at sun.nio.ch.Net.connect(Net.java:568) ~[?:?]
        at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:593) ~[?:?]
        at java.net.Socket.connect(Socket.java:633) ~[?:?]
        at java.net.Socket.connect(Socket.java:583) ~[?:?]
        at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:533) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:638) ~[?:?]
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:281) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:386) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:408) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
        at java.net.URL.openStream(URL.java:1161) ~[?:?]
        at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:70) ~[guava-32.1.2-jre.jar:?]
        at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-32.1.2-jre.jar:?]
        at co```
#

how to fix this

#

@glad glen

tender vaporBOT
molten junco
#

;/

soft orbit
molten junco
#

You know what I don't even have a clue what he is writing here ;d

#

Maybe try re-downloading all downloaded PAPIs, then remove and reinstall and upload again

quasi spire
#

can papi fix coords?

#

please

#

its inacurate

#

im not joking or troling

#

player placeholder shows block coordinates instead of player coordinates. They diferent by 1 digit.

junior musk
#

use the %player_x_long% placeholders

quasi spire
#

done my scoreboard uses half of my screen now

#

math.ceil would be better solution

#

and will folow mojank implementation

junior musk
#

%math_0_{player_x_long}%

mint fable
mint fable
molten junco
#

Trying to make it display how many sea creatures someone has killed

mint fable
mint fable
tender vaporBOT
mint fable
#

What is currently happening and what are you expecting to happen?

short dagger
#

Someone knows a placeholder for 1.12.2 that acts like the formatter placeholder? /papi parse me %utils_parse_formatter_text_replace_o_o1_oi% im trying this command in 1.12.2 with the 1.5.0 (yeah, it's the most recent version that i found for 1.12.2 and this placeholder only work for 1.6.0 + version ) and this don't work

#

this just return the %utils_parse_formatter_text_replace_o_o1_oi% for me when i use

molten junco
tender vaporBOT
molten junco
#

but something is not working for me to display it

jaunty wing
#

question i downloaded DiscordSRVUtils but i am struggling after i config it but it says this [15:18:24] [ForkJoinPool.commonPool-worker-2/WARN]: [PlaceholderAPI] Loaded class org.jetbrains.annotations.NotNull from DiscordSRV v1.27.0 which is not a depend or softdepend of this plugin. which i dont understand

junior musk
#

you can ignore that

jaunty wing
#

so what can i do to use the commands on discordsrvutils

short dagger
#

Someone knows a placeholder for 1.12.2 that acts like the formatter placeholder? /papi parse me %utils_parse_formatter_text_replace_o_o1_oi% im trying this command in 1.12.2 with the 1.5.0 (yeah, it's the most recent version that i found for 1.12.2 and this placeholder only work for 1.6.0 + version ) and this don't work

molten junco
#

;o

rustic pewter
#

does anyone know if i can strip the output of %craftingstore_donator_1% somehow to only display numbers instead of MinecraftName: Amount

molten junco
#

All the time it doesn't count anymore and I don't know - is it good in your opinion?

tacit dock
#

prestley, when u finish you mind helping me ?

mint fable
#

you can verify if it's the placeholder though by using the vanilla commands to check the value

tacit dock
mint fable
#

/scoreboard players get straznik_glebin I believe @molten junco

molten junco
#

I'll get home and check

tender vaporBOT
mint fable
#

should be something like that

molten junco
mint fable
#

imma open my game

molten junco
molten junco
mint fable
#

what mc version are you on?

molten junco
mint fable
#

the command works fine on my game

#

/scoreboard players get cj89898 straznik_glebin

#

I can't translate what it's saying

#

what does it say to you

molten junco
#

In my case it is unknown result array target : straznik_glebin.

mint fable
#

does the objective exist?

#

/scoreboard objectives list

#

maybe objective

molten junco
#

lol xd

mint fable
#

?

molten junco
#

And show ss what is displayed to you, please

mint fable
#

what?

molten junco
mint fable
#

are your commands just not working?

#

i reopen

molten junco
mint fable
#

plugin??

#

where did you get that

#

there is no need for it, whatever it is

molten junco
mint fable
#

i meant the plugin

#

there should be no plugin

molten junco
#

But it surprises me I have the latest version of placeholderAPI + scoreboard

#

spigot

molten junco
mint fable
#

waiiit

molten junco
mint fable
#

did you put scoreboardobjectives in your plugin directory?

molten junco
#

I thought I had to have it

mint fable
#

that's an expansion

#

and you already have it in your expansions folder

#

so you can delete it from the plugins folder

mint fable
#

but that error shouldn't be causing the issues

molten junco
#

done, restart server

molten junco
mint fable
#

what do you mean doesn't detect it?

#

does it say that the objective doesn't exist?

#

is it in the list?

#

or does the list command still not work

molten junco
mint fable
#

make the criteria dummy

#

/scoreboard objectives add straznik_glebin dummy

molten junco
#

okey

static hare
#

how can I make the math placeholder return an int?

molten junco
#

modifytargetscore{objective=straznik_glebin;action=add;v=1} @trigger ~onDeath

#

Maybe I have something wrong here

mint fable
#

you'd have to check with mythicmobs again

mint fable
static hare
molten junco
#

Okey, then I'm back to them again xd

#

%objective_score_{straznik_glebin}%

But this placeholder yes it is good?

mint fable
#

yes, does it work if you change the score via commands? @molten junco

molten junco
#

/scoreboard players set MrTobik straznik_glebin 3

#

modifytargetscore{objective=straznik_glebin;action=add;v=1} @target ~onDeath

#

And it should actually add +1 every time it kills

mint fable
molten junco
#

yes

mint fable
#

ok yeah, ask mythic mobs why that isn't working

unless it just wasn't working because the objective didn't exist

molten junco
#

it generally works

mint fable
#

not sure if you've tested again

molten junco
#

xD now it works, out of curiosity I checked and it works xd

mint fable
#

yeah, it just never existed lol

#

welp

#

glad it's workin now

#

weird the commands weren't working earlier

molten junco
#

~onDeath I'll add it more, because it currently counts every hit but that's how it works already

#

thanks

mint fable
#

yep, np

molten junco
#

I mean it started working when I removed @target/trigger

#

Then now do the same for the other 6 sea creatures ;d

#

thanks

light wasp
dull prism
#

are there anyplans to upload placeholderapi on modrinth?

amber summit
#

can someone uhm tell me whats the palceholder for velocity proxy? like to show all the online players in the network or a server?

wet basinBOT
#

@sharp jay Unknown expansion.

sharp jay
#

the expansion

amber summit
sharp jay
#

make sure its the same as the bungeecord config name

amber summit
#

Okay lemme check

amber summit
amber summit
#

i see

#

it works now

#

just a type on the server name

#

thank you so much

sharp jay
#

np πŸ˜„

static hare
#

what placeholder from which expansion returns the current server's name a player is based on how it is defined on proxy?