#papi-updates

1 messages ยท Page 12 of 1

still narwhalBOT
still narwhalBOT
#

When I use %essentials_kit_time_until_available_% for one of my kits with deluxemenus, the kit has a 30 day delay so you can only do it every 30 seconds, but when I do the kit it just shows "0 days left" https://gyazo.com/e28c59da75de27f285f561f5bb70b7b3. The other ones work fine: https://gyazo.com/a5886fe78035e3d419ed46e86edd717f

Expected behaviour

Could you please fix the %essentials_kit_time_until_available_% placeholder for 30 day delays

How to reproduce

'expert_c...

still narwhalBOT
#

Hello @Thefluffypvper1,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a **GitHub...

still narwhalBOT
still narwhalBOT
#

Issue

We are using your plugin with Quickboard plugin and most things work without a problem, but one thing, we'd like to show the time in our locale, like, if we put %statistic_time_played% it shows the formatted time in English, like 1h 20m 32s we definitely want to remove the seconds from there and we want to change the "h" and "m". Though we see something on docs that is probably what we are looking for, it doesn't work and throws an error (see the screenshot). We are pretty sure e...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @Evidentsinger14,

Your issue unfortunately lacks certain information that we require in order to help you with your issue.
Please make sure you provide the following information:

  • Currently used Versions of your server and PlaceholderAPI
  • Currently installed Expansions
  • Currently installed Plugins

The easiest way to provide those information is through the /papi dumb command which posts the required information to https://paste.helpch.at and gives a URL to share.


*Th...

still narwhalBOT
#

Hello @Evidentsinger14,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a **GitHub...

#

Thank you for providing additional information.
We will take a look at the issue you encounter and come back to you with a possible solution.


This is an automated response created by a GitHub Action
Mentioning the bot won't have any effect!

<div align="right"><a href="https://github.com/PlaceholderAPI/PlaceholderAPI/actions/runs/504480000">Log</a> | <a href="https://github.com/peaceiris/actions-label-commenter#readme">Bot Usage</a></div>

<!-- peaceiris/actions-label-...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [x] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

As I was looking for a way to show remaining time in hours, minutes, and/or seconds, I opened a ticket here and got a reply "it's not a direct issue with us, move to statistic expansion" which is basically related to here. Wrong documentation is your business, now that I saw thes...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/add\-sections
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/improve\-bstats\-metrics
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [x] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Closes N/A

This PR changes a few things.
It first of all changes the Version class to have a nested Type Enum which is used in the static of PlaceholderAPIPlugin to determine the actual server type used.

The code to do this has been borrowed from the Server-...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

Type

  • [ ] New function for PlaceholderAPI.
    A new function that developers could use.
  • [ ] Change to code (Internal).
    Changes to code that won't affect the end-user.
  • [ ] Change to code (External).
    Changes to code that will affect the end-user (breaks stuff).
  • [x] Other: Plugin launch, placeholders available.

Description

I had an issue opened a while back but the plugin was pending at that point in time. It is now launched and...

still narwhalBOT
#

Hello @Hempfest,

Thank you for reaching out to us about the wiki.
We would like to inform you, that you are now able to directly commit your changes to the wiki through a Pull request.
When doing so, make sure you follow these steps:

still narwhalBOT
#

Ey

I am trying to check if a placer has a specific player skull, spawned with the essentials /skull command.
%checkitem_mat:skull_item,namecontains:SkullName%
No matter what I do, if I check on just a fraction of the name, use/don't use colour codes, use Nameequals, no luck, I can't get it working with normal player heads.

I can get this working with a HeadDatabase head without issue but I just cannot figure out how to use it with normal skulls?

Might be a bug, but may just be me...

still narwhalBOT
#

Pull Request

Type

  • [x] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Removes the old and sometimes unreliable JSONMessage library and replaces it with the official, more reputable & future-proof Kyori/Adventure library.

Tested in Minecraft Paper 1.16.5 n438. Stated on the official [Adventure Documentation](https://docs.adventure.kyori.net...

still narwhalBOT
#

I would love to use adventure over jsonmessage, but it won't happen for papi 2 (although papi 3 is using adventure). Problem is people depend on jsonmessage through papi, even though this isn't supported at all. Not interested in breaking the api anyway though, didn't go to well last time we did. Feel free to separate the first part of your pr (changing messages with andre) into another pr though.

still narwhalBOT
still narwhalBOT
#

Feature Request

Plugin for different platforms, like Velocity or BungeeCord (see #36).

Type

  • [x] New function for PlaceholderAPI.
    A new function that developers could use.
  • [ ] Change to code (Internal).
    Changes to code that won't affect the end-user.
  • [ ] Change to code (External).
    Changes to code that will affect the end-user (breaks stuff).
  • [ ] Other: __________

Description

It should be done a platform-agnostic core module of PlaceholderAPI...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Can confirm this as a continued issue. Our server network has been in maintenance for ~roughly 3 days now on a fallback server due to severe lag and once we traced it, it seems to sourced from this baltop issue.

As a temporary work around for our server and any others who need: In the PAPI config.yml it should generate a "vault" section, you can disable the baltop hooks there.

The major source of our lag was the fact that it was checking thousands of offline players in roughly the past...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I decided to now have the server brand as its own SimplePie Chart with the identifier server_brand, so if this gets merged should the Metrics on bStats receive a new chart with that identifier.

Additionally does using_spigot now return yes (fork) when the Server brand is a fork of Spigot (Currently everything except Spigot and Unknown). It will otherwise either return yes for normal Spigot Server or no in any other case.

still narwhalBOT
#

Feature Request

Event that runs when a placeholder change

Type

  • [x] New function for PlaceholderAPI.
    A new function that developers could use.

Description

An event that calls whenever a placeholder is updated. Would be useful in the way that you could have stuff run when that event calls (like a function that reconstruct my GUI with new placeholder information).

Not sure if this is already in the plugin, but I did go through the api as well as search through both ...

still narwhalBOT
#

I don't really think this is something worth adding. PlaceholderAPI polls the data for a placeholder from a hook when another plugin requests this placeholder. The hook does not simply push its new data to PlaceholderAPI whenever there's an update. This is a bit contrary to how an 'event' would work.

I would suggest just periodically requesting the placeholder every few seconds to update your GUI.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Bug Report

Issue

Using DiscordSrv, when the MC server boots up and DiscordSrv reports it in the proper channel, the %server_time% value isn't converted to show the time.

Expected behaviour

Convert the %server_time% reference to the current time.

Actual behaviour

Just show %server_time% as is. (The same string works during when stopping, just not when starting.)

How to reproduce

Reboot the MC server.

/papi dump output

https://paste.he...

still narwhalBOT
#

Hello @Wolfie713,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a **GitHub Actio...

still narwhalBOT
#

Bug Report

Issue

Using DiscordSrv, when the MC server boots up and DiscordSrv reports it in the proper channel, the %server_time% value isn't converted to show the time.

Expected behaviour

Convert the %server_time% reference to the current time.

Actual behaviour

Just show %server_time% as is. (The same string works just fine when stopping, just not when starting.)

Format of string: %server_time_yyyy-MM-dd@HH.mm.ss zzz%

How to reproduce

Reboot...

still narwhalBOT
#

From my checks in the code is there not even a time option anymore/at all?

The only thing I could find are uptime and time_<simpleDateFormat>
This is also confirmed by the actual placeholder list on the wiki.

So %server_time% either is a DiscordSRV internal placeholder, making it a problem of that specific plugin, or you somehow use an older version of the Server expansion, which the Dump you provided ...

still narwhalBOT
still narwhalBOT
#

Can you ask them when they are calling the method?
It can be that DiscordSRV is trying to parce placeholders with PAPI while PAPI hasn't loaded expansions yet. Expansions are loaded in 2 places:

  • When the expansion is part of a plugin and the plugin calls the register() method of the expansion.
  • When the Server has finished loading. This is usually the case for all external expansions.

It could be the case that DiscordSRV triggers the method before PAPI was able to load the expa...

still narwhalBOT
#

It could be the case that DiscordSRV triggers the method before PAPI was able to load the expansions. It would be beneficial if the DiscordSRV devs could share a link to where and when the setPlaceholder is called.

DiscordSRV queries the placeholders in an async thread after DiscordSRV loads. DiscordSRV soft-depends on PlaceholderAPI, thus PAPI is finished loading before DiscordSRV queries it. I tested with @Wolfie713 as well with making the message get executed on the main thread during...

still narwhalBOT
#

Would be beneficial but really it would be much better if PAPI was actually finished loading expansions when the plugin finishes loading

Not quite doable.
The way PAPI currently loads expansions was mentioned above. The expansion either gets loaded by a plugin (i.e. is part of the plugin and then registered using PlaceholderExpansion#register(). I think DiscordSRV does that now, no?), when the ServerLoadEvent is fired or, if that event isn't available (Server is old) after a short d...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/add\-faq\-entry
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: dep\-updates
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/label\-commenter
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/441\-add\-parse\-all
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/add\-getBoolean
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: change/update\-contributing
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @Dimitryyyy,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a **GitHub Acti...

still narwhalBOT
#

Bug Report

Issue

Skript addon will not install, You can run the command and it says it installs but once you reload the plugin It just doesnt load

Expected behaviour

It should install and load once you reload the plugin

Actual behaviour

It downloads the addon in the folder, but it does not load it no matter what

How to reproduce

  1. /papi ecloud download Skript
  2. /papi reload
  3. Addon does not load so I cant use skript variables

`/pap...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [x] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Ill say it again, still learning PR stuff. I did not read the last comment because i never was notified of it, i had to goto my email where i then saw a notification for it. This should be targeted towards the correct branch now. The PR represents changes i made to my 2 plugi...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

Type

  • [x] New function for PlaceholderAPI.
    A new function that developers could use.
  • [x] Change to code (Internal).
    Changes to code that won't affect the end-user.
  • [ ] Change to code (External).
    Changes to code that will affect the end-user (breaks stuff).
  • [ ] Other: __________

Description

Suggestion to include the ability for PAPI to parse RGB color codes in the &#rrggbb format as it is becoming increasingly more popular ...

still narwhalBOT
#

The biggest issue I see here is to actually implement a system everyone is okay to use or support.
While &#rrggbb is supported by the BungeeCord ChatColor API, is it for once only a shortcut to &x&r&r&g&g&b&b and next also not used or liked by everyone, including devs. A lot of different (well-known) devs think that it isn't a good format to use and support.

There are already different variations for the Hex colour. For example &rrggbb& which is used by a Fork of ServerListPlus or t...

still narwhalBOT
still narwhalBOT
#

Thanks for the quick response! The format is certainly a contentious issue, and I've heard arguments for and against both, so I'm not trying to say which is better than the other.

One solution is, like you said, to not have PAPI handle the colors at all, and instead for them to be pulled before the placeholder (something like &#rrggbbThis is text), however for something like multicolored text using RGB, the placeholder itself would need to be able to support the RGB codes inside of it, and...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Some smaller update:
From my first testing does it seem like, that a simple switch from the org.bukkit ChatColor to that of md_5 won't be all to support Hex colors (The method used by ChatColor to allow & seems to not recognize or support the &#<hex> format despite it having a of method which does support it)

So a bit more work is required. Worst case would be us requiring to write our own ChatColor class to support hex colors...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/573\-add\-hex\-color\-support
#

Pull Request

Type

  • [x] Internal change (Doesn't affect end-user).
  • [x] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Closes #573

Adds &# color format to PAPI by using the BungeeCord ChatColor class.

The CharReplacer has been updated to acknowledge the new color syntax and to also only translate to valid hex colors. Right now tho does it remove the &x from the start, but I'm not ...

still narwhalBOT
still narwhalBOT
#

Update:
Did just a bit of testing with the format. I used the Pinger placeholder %pinger_isonline_<server>:<port>% with a dummy IP (0.0.0.0) and used &#ff99b1Offline in the config to test the parsing.

pinger: offline: '&xff99b1Offline'

The first line is from running papi parse me &#ff99b1Offline. It works perfectly as expected.
The second line is running papi parse me %pinger_isonline_0.0.0.0%. I tried this with other placeholders as well (LuckPerms, Vault) and found the ...

#

I expected this to happen...
While there is a check for whether the letter is supported (Is a valid Hex value) is this probably a case where it skips this or something...

I barely have any knowledge about how the system works that PAPI uses, so I'll need someone else to assist in fixing this.

As for your test with the placeholder: I believe that the system used for the placeholder parsing is first translating the colors and THEN parsing the Strings after that, which at least causes the...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

Placeholder to check if item inhand needs repair

Type

  • [X ] New function for PlaceholderAPI.
    A new function that developers could use.
  • [ ] Change to code (Internal).
    Changes to code that won't affect the end-user.
  • [ ] Change to code (External).
    Changes to code that will affect the end-user (breaks stuff).
  • [ ] Other: __________

Description

Placeholder to check if item inhand needs repair

still narwhalBOT
still narwhalBOT
#

Okay so I use minehut (because im poor lol) and whenever i do /papi ecloud download server, and downloading everything i need out of the ecloud, i do /papi reload and everything works fine until i restart the server. After I restart the server it makes me have to do /papi ecloud download whatever stuff again.

Sorry for sloppy wording I usually dont write issues for any plugins.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The problem here is the multi version support. I think we need an adapter library. Like ditch all shit PAPI has about colors and messages and redo them from ground so it supports all the versions PAPI intends to support. Cuz like it is using the 1.16 version of the BungeeCord Chat API, which has a lot of stuff different compared to the 1.15 one.

Yeah, that would indeed be an issue.
I, unfortunately, don't have enough knowledge about PAPIs Char replacing system (Thanks Sxtana for that) t...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/use\-new\-issue\-system
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [x] Other: Issue templates

Description

GitHub seems to test a new issue template-system, which allows a lot more customization such as dropdown menus, text fields and so on.

I'm not sure IF those are already available for this repository as I have no access to the repository settings to check this, but rep...

still narwhalBOT
#

%statistic_time_played% placeholder shows incorrect hours when at least 1 day played.

Replication:
/papi parse me %statistic_time_played% | %statistic_time_played:hours%h

If the playtime is more than 1 day (24 hours) the first one will show days * 24 + hours , while the other one will show only hours
Probably because %statistic_time_played% doesn't subtract the hours when diving by 24 to get the days

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

Type

  • [X] New function for PlaceholderAPI.
    A new function that developers could use.
  • [ ] Change to code (Internal).
    Changes to code that won't affect the end-user.
  • [ ] Change to code (External).
    Changes to code that will affect the end-user (breaks stuff).
  • [ ] Other: __________

Description

I would like to suggest an expansion with adds placeholders for user keybinds, in case someone has a different sprint key, crouch key, etc. Unfortuna...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/469
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: change/improve\-wiki\-faq
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: 1\.16\.4
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/use\-new\-issue\-system
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/issue\-form\-about\-deprecation
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/issue\-form\-about\-deprecation
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Something I like to share is, that we recently (well... in the past 2 months or so) made a fix to address an issue where certain expansions would break the Loading process of PlaceholderAPI if the expansion in question was somehow malformed (i.e. didn't have a valid main class).

Following issues and PRs where made addressing that particular problem:)

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/change\-to\-stringlist
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/change\-to\-stringlist
still narwhalBOT
still narwhalBOT
#

Also receive this issue. It seems like upon a server restart, the output values from an if, else if, else statement are inconsistent and unrelated to the specified output. For example I have a script that I've told to output the number of Towny residents, and this instead outputs the Towny town name - using /jsexpansion reload will usually fix this after around 5-6 tries - but if reloaded again or server restart, the placeholder will once again output the wrong value.

still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin/Server Incompatability

What happens?

Allways when Iยดm using placeholder %vault_eco_balance_commas% i see 100nbsp000.

Expected Behaviour

I need 100.000

How to Reproduce

  • "&8[&7*&8] &6Money: &e%vault_eco_balance_commas%"

###...

#

Hello @XdDanda,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a *GitHub Action...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

New API feature

Description

Add support for using placeholders on signs. Currently, you have to do this with other plugins that often don't work fully. adding this is something that lots of players can/will use

Code Example

N/A (i don't java)

Jar file

N/A

Additional Informat...

still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

i`ve had the same problem for some time now, I also cant reload the plugin (seems like if it tries to connect to ecloud, but it cant), and none of the expansions (even when manually installing them, and restarting the server afterwards) dont work, only placeholders that are hard-coded into other plugins work. I tried different version - doesnt work. I tried disabling ecloud in the config - doesnt work. Tried removing all plugins that might interfere - doesnt work. Is the server down, was my i...

still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin/Server Incompatability

What happens?

Using Mohist server 1.16.5-414 Trying download expansions /papi ecloud but is don't work and get error in console

Expected Behaviour

Download expansions

How to Reproduce

/papi ecloud down...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [x] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Updates the documentation to correctly point to the LuckPerms wiki for a full list of placeholders.

I considered just updating the list to include the new/altered placeholders, however, I think:

  • it makes sense to have a single source - only one place to update in the ...
still narwhalBOT
still narwhalBOT
#

There was an power outage while I was working on my server. After that javascript expansion has gotten wild. The problems are:

  • Booting the server has around 75% chance that expansion will completely broke around 30% of my placeholders. It's not always the same placeholders that break, it's random but some work 100% of the time. Parsing the broken ones with /papi parse me %javascript_% returns "an internal error has occured"
  • Other times most of the placeholders will work but the expa...
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki\-add\-vkautopickup
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki\-add\-vkautopickup
still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/report\-command
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [x] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

Closes N/A

Add the report command to PlaceholderAPI.

This command will do a few things: It will create a dump similar to that of /papi dump and also upload the latest.log content to the paste site.
Those URLs are then used in a pre-made URL that would open a Git...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

What steps will reproduce the problem?

Install
TownyChat 0.86
LPC v3.2.0
LuckPerms v5.3.15
PlaceholderAPI v2.10.9
PAPI ecloud download TownyChat

(in TownyChat ChatConfig.yml
modify_chat.enable: false

Use (in LPC config) chat-format: chat-format: "%townychat_channeltag%%townyadvanced_towny_tag_override%{prefix}%townychat_townynameprefix%{name}%townychat_townynamepostfix%{suffix}: {message}"

Save and reload configs or restart server for good mesure.

Join a Town, type ...

still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

New API feature

Description

There is currently a placeholder called %player_world%. There should also be a Placeholder that shows the world formatted such as making "world" "Overworld" and "world_nether" The Nether. This could also be accomplished by changing the world file's name but a sepa...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin Bug

What happens?

While Starting after Loading the Plugin i get the Warning

Expected Behaviour

No Warning

How to Reproduce

  1. Start server
  2. Wait

or

  1. /papi ecloud refresh

/papi dump Output

https://paste.hel...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/527\-improve\-parse\-command
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/515\-improve\-logging
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello there,

I'm not really sure if this is the correct place, so if not, please point me in the right direction.

Otherwise, I would like my KitPvP eCloud expansion removed from the eCloud website if possible. I uploaded it in 2019 back when that was how PlaceholderAPI expansions worked (I believe, I can't really remember), and because of the size of KitPvP, many users are accidentally thinking this expansion is required for placeholder...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/573\-add\-hex\-color\-support
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/update\-missing\-copyright
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/update\-missing\-copyright
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/remove\-color\-parsing
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [x] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

This was made with a huge help from Crypto Morin.

This PR removes the color code parsing from PlaceholderAPI's CharsReplacer.
It shouldn't be the Job of PlaceholderAPI to parse the colors since that only causes unwanted extra bloat and not needed work to maintain, espec...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The WG Wrapper guarantees support for pre-7 versions.
If the API does have a version independant API now should this be okay

Ah, I thought it had something to do with backwards compatibility. However, WorldGuard's documentation mentions "without breaking a significant amount of backwards compatibility" so while I haven't tested it yet, fingers crossed that it is version independent ๐Ÿคž

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

New config option

Description

"If your plugin isn't shown here and you want it to be added, open an issue and we will add it!"

Provides own placeholders: https://github.com/Angeschossen/Lands/wiki/PlaceholderAPI-Placeholders#placeholders
https://www.spigotmc.org/resources/53313

Th...

#

Hello @Angeschossen,

Thank you for reaching out to us about the wiki.
We would like to inform you, that you are now able to directly commit your changes to the wiki through a Pull request.
When doing so, make sure you follow these steps:

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/improve\-placeholders\-page
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/remove\-issue\-body\-field
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/remove\-issue\-body\-field
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/improve\-placeholders\-page
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

Minor Code improvement (Won't affect Servers)

Description

This Repository should have a GitHub Action which builds jars whenever a PR was made towards the code of PlaceholderAPI.
This would allow the following benefits:

  • Validation that the code actually compiles and can build a jar.
    -...
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/621\-build\-jars\-on\-pr
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [x] Other: GitHub Action

Description

Closes #621

This is a GitHub Action which would build jars whenever PR changes are made.
This guarantees that the code would actually compile and build against Java versions 8, 9, 10 and 11.

This is the first time I use the matrix option of GitHub Actions, so if the...

#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/621\-build\-jars\-on\-pr
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/621\-build\-jars\-on\-pr
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [ ] Wiki (Changes towards the [Wiki]).
  • [x] Other: GitHub Action

Description

Closes #621

Adds a GitHub Action to build jars for Java 8, 9, 10 and 11 whenever a PR targeting src/** or build.gradle and the development branch is made, or changes to it are made.

This helps to make sure that the code changes actually can be compiled and a jar ...

still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin/Server Incompatability

What happens?

Since Paper's Adventure API update (build 473 onwards) running MultiChat, one of the best cross-server chat plugins out there at the moment, and PAPI on the same server causes messages containing hex...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

That's... kind of rude man.

All I said is, that PAPI does not really manipulate chat and doesn't change colors except for the default ones from before 1.16.
It shouldn't really do anything here that would suggest this weird behaviour and if it does then it would be a really weird and specific issue to exist.
Your response now sounds extremely arrogant, especially considering you're the only one so far that reported this specific issue without even waiting for a response on MultiChat's en...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Original code https://gist.github.com/Jikoo/30ec040443a4701b8980
<details>
<summary>Javascript</summary>

/**
 *
 * Javascript version of https://gist.github.com/Jikoo/30ec040443a4701b8980
 * @author Jikoo
 *
 */

/**
 * Calculates total experience based on level.
 * 
 * @link http://minecraft.gamepedia.com/Experience#Leveling_up
 * 
 * "One can determine how much experience has been collected to reach a level using the equations:
 * 
...
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin Bug

What happens?

when I use %sound_all_block_note_bass-1-1.8%, it's sound is same as %sound_all_block_note_bass-1-1% and %sound_all_block_note_bass-1-0.5% is %sound_all_block_note_bass-1-1%, %sound_all_block_note_bass-1-2% is 2

E...

#

Hello @Clexus,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a GitHub Action...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

NBT work like a hashmap, you has value and key more or less (i think you have to first get the NBT tag, has not play too much with this (but I think it exist a getter for get the key for the item, but not i think you need to know the key)). :)

Depending how it are implemented, is will stay so long you not place the item.

I look here and I think you need the key, I not think you can first get the key if not has key can fix that (if you want to add support I can try it out).
https://hu...

still narwhalBOT
still narwhalBOT
#

Was a quick seach (so can have send wrong link), but so long you not set nbt on players it should work.

This a example i use, i has test this, I use a easy way to set the data.

			final ItemStack ItemOut = (new ItemStack(CHEST));
			ItemStack Itemmeta = CompMetadata.setMetadata(ItemOut, "CHEST", CHESTTYPEMETA);
			final ItemMeta var6 = Itemmeta.getItemMeta();
			ItemOut.setItemMeta(var6);
			HashMap ItemIfdropOrNot = player.getInventory().addItem(ItemOut)
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: dont\-fail\-on\-error
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/477\-remove\-gson
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/mention\-github\-discussions
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/javadoc\-build\-errors
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/update\-documentation
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/515\-proper\-expansion\-null\-checks
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [X ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

New expansion, see if this work (have to use the mobile and i don't know if this will be right).

- ### **[CalculateNumbers](https://github.com/broken1arrow/CalculateNumbers:url)**
Download from:
  > :https://github.com/broken1arrow/CalculateNumbers/releases
  
...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Lots of pointless changes (removal of spaces) that aren't needed.

Also, to mention something different real quick: Your expansion has a lot of flaws in it. From bad coding practices to overall design.
For once is reloading the config every time a placeholders is requested not a good idea as this can happen at least 20 times a second(!)

yea was my edit program som mess it up.

I try to clean the code up for new update, is not perfect, but are better an first version I realize....

still narwhalBOT
#

Pull Request

Type

  • [ ] Internal change (Doesn't affect end-user).
  • [ ] External change (Does affect end-user).
  • [x ] Wiki (Changes towards the [Wiki]).
  • [ ] Other: __________

Description

I use other editor, but was much slower to find right spot.

has fix up the code, but will fix it more (thinking if I shall load yml to hashmap). Will be lots of code fixes and lots of extra code (I donยดt know how much extra ram use it will be, but if it better to get be...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I've discovered that it's possible for the give and remove placeholders to be abused if a player can find a way to parse them. eg. allowing a player to set up a hologram that uses placeholders allows them to generate infinite items, or to clear an unsuspecting player's inventory with %checkitem_remove_%. (yes technically such a vulnerability would allow a knowledgeable attacker access to any placeholders, but it's a bigger problem here given that these ones actually make ingame changes when p...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Javascript-Expansion] New branch created: 3\.0\.0
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I use holograms only as an example of how it could be abused. Many plugins allow commands to involve placeholders, which is why this particular expansion poses a risk, since it's one of the only expansions to create permanent effects through parsing placeholders. An option to disable ones not needed allows use of this expansion without the risk

I know at least on other placeholder expansion, some can be harmful too, So recommend you set up so players not can use placeholders.

I mean n...

#
[PlaceholderAPI/PlaceholderAPI3] New branch created: sponge\-8
still narwhalBOT
still narwhalBOT
#

I completely agree with @broken1arrow . I really don't see any use for common players to use placeholders.

I agree, players should not have access to placeholders, however, it is extremely easy to find ways to parse placeholders if a server uses certain configurations/plugins. ordinarily this poses minimal problem, since placeholders cannot be used to make in game changes (which is perhaps why so many devs iโ€™ve asked about this havenโ€™t bothered to patch it). in the case of this extension...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI3] New branch created: adventure
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

API Bug

What happens?

Placeholders of my expansion work fine the first time when I start the server, but when I restart my expansion with plugman (This makes my expansion to unregister and then register again), placeholders will only work with...

still narwhalBOT
#

I can't see any proof here that PlaceholderAPI is at fault.

The usage of PlugMan and other plugins to reload plugins is discouraged by many developers and the errors you encounter can easily be a cause of PlugMan and not PlaceholderAPI.
Since this only happens AFTER you reloaded the plugin and since the error you shared doesn't point out anything related to PlaceholderAPI (Just Spigot being unable to handle a command for unknown reasons) can we not say that this is really an Error caused ...

still narwhalBOT
still narwhalBOT
#

Well the proof is that everything on my plugin including commands and current player placeholders are working but placeholders of new players wont, if developers don't like plugman is just because they don't like to add support to it, when it's easily handled (I mean, my plugin has a town system with claims that are stored on ram and nothing goes wrong, you just have to take in count that online players might be on the server while enabling...), anyways, I understand that plugins like Protoco...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Your Pull request has been marked as invalid.
This means that it doesn't follow our Contributing Guidelines.

Here is a small summary of what you should know:

  • Pull requests for PlaceholderAPI should target the development branch.
  • Pull requests for the Wiki should target the docs/wiki branch.

Don't hesitate to ask us any questions.


*This is an automated response created by a **GitH...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI3] branch deleted: sponge\-8
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

New config option

Description

The /papi command can be viewed in tab complete and ran by players by default. It does not appear to have an explicit permissions node associated with it. Even with permissions denied for /plugins etc., the fact that PAPI is installed can be determined by th...

still narwhalBOT
still narwhalBOT
#

Hey ๐Ÿ–
I was looking through the code to try to understand why in the world wouldn't the expansion detect Graal.js nor the JSEngine plugin and I've noticed that the expansion just created a new instance of the ScriptEngineManager while it could (should?) use the Bukkit ServicesManager.
I've realized that it might have been the cause JSEngine states it on its Spigot page
image

So I tr...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

  • [X] My issue isn't already found on the Issue tracker.
  • [X] My issue is about PlaceholderAPI and not any expansion or external plugin
  • [X] The issue isn't already fixed in a Spigot Release or Development Build.

Type

Plugin Bug

What happens?

Java 16 removed the Nashorn JS engine and PAPI relies on it.

Expected Behaviour

To use functioning JS engines.

How to Reproduce

Run PAPI with Java 16.

/papi dump Output

N/A

Console Log

N/A

##...

still narwhalBOT
#

Hello @partydev,

The issue you encountered is caused by an Expansion and not PlaceholderAPI itself.
This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI.

Please report this issue to the Expansion's main issue-tracker.
A list of known Expansion repositories and their issue trackers can be found here.


*This is an automated response created by a **GitHub Action...

still narwhalBOT
#

Confirmation

  • [X] I checked the Issues and Pull request tab for any existing issues or PRs.
  • [X] My Feature Request is for PlaceholderAPI and not any expansion or other plugin.

Type

New API feature

Description

I would like to see Adventure/MiniMessage placeholder support for Placeholder API.

Mojang is moving away from legacy section symbol formatting and focusing on raw json text instead. Paper and other servers are now offering Adventure as a replacement, and since ...

still narwhalBOT
#
[PlaceholderAPI/Javascript-Expansion] New branch created: javet
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT