#papi-updates

1 messages ยท Page 2 of 1

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: remove\-ecloud\-toggle\-command
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: update\_vault\_placeholders
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feat/update\-nms\-options
still narwhalBOT
mint valveBOT
#
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/distinguish\-expansions
still narwhalBOT
still narwhalBOT
#

Given that this only happens with expansions that aren't verified, I doube the problem is that big here.

After all will people usually stick to the ol' reliable ones like Player or Server expansion...
But given the current situation regarding verification of expansions (That every new release results in them being auto-unverified), is this imo a change needed as otherwise people will yell about bugs to expansions devs that have been fixed already. I speak from experience.

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

If I have a plugin which has a built in expansion and there's an expansion on the ecloud w...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

It's a Gradle project, so if you want to build it, you have to use Gradle instead of Maven for PlaceholderAPI.
The command should be gradlew clean shadowJar (or ./gradlew clean shadowJar if you're on Windows).

Tho, if your goal is to hook into PlaceholderAPI is it highly recommended to use the external repository instead of using jar files.
A starter guide is found here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Suggestion:

Add the possibility to add more ping values/colors in the PlaceholderAPI configuration.

Example:


  player:
    ping_color:
      extremelyhigh: '&4&l'
      veryhigh: '&4'
      higherthanhigh: '&c'
      high: '&6'
      medium: '&e'
      low: '&b'
      lowerthanlow: '&a'
      verylow: '&d'
      extremelylow: '&5'
    ping_value:
      extremelyhigh: 250
      veryhigh: 200
      higherthanhigh: 150
      high: 100
      medium: 50
     ...
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin/Server Incompatability

What happens?

A Linkage Error exception spammed the console when a player joined the ...

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

PlaceholderAPI does not allow to hijack requests for replacement. This PR adds new event PlaceholderRequestEvent that is fired whenever a user requests for placeholders. Developer then can change what result will be produced for this request.

still narwhalBOT
#

What would be the actual use case here? Like I myself can't see a real justification for allowing a plugin to just override any text PAPI parses.

If a plugin parses Hello %player_name% but receives a completely different message because another plugin altered is that imo bad, since you expect some specific outputs.

The use-case is that if you want to integrate your own system but don't want to lose compatibility with other plugins who use papi and not your system, with this even...

still narwhalBOT
#

So basically for example when i use the %checkitem_getinfo:mainhand_lorecontains:1% placeholder it is supposed to return only the 2nd line of the item but instead it returns all the lores in a lore. In the screenshot, there are 2 different items from 2 different plugins
first one with the &4test in it its from Executableitems and the 2nd one is from ecoitems. The checkitem expansion version that i use is 2.6.8

![Screenshot 2023-04-20 174907](https://user-images.githubusercontent.com/1...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Bungeecord-Expansion] New branch created: fix/EOFException
still narwhalBOT
#
[PlaceholderAPI/Server-Expansion] New branch created: feature/rewrite
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

Relational placeholders is useful, but not enough abstract. What if I want to pass, for example, relation to the block, not other players?

Let's use the concept of Context.

Every call to PlaceholderAPI is, in general, call with context. Target of the message...

still narwhalBOT
#

I can't really imagine the example here.

How is this useful compared to just hooking into a Plugin's API (if it provides one) or the Server API?

I'm fairly sure that what you showed here would be doable by just using the Spigot/Paper API and maybe the plugin itself.

Also, as a side-note: In your example are you not even using the Block you get from the context...

#

This is way too complicated for what can be boiled down to basic string serialization. Just serialize whatever data you need when you make the request into part of the placeholder, you fully control the placeholder format besides the surrounding characters and the name. This would require a ton of effort and drastically complicate parsing of placeholders for little to no benefit.

#

This is way too complicated for what can be boiled down to basic string serialization. Just serialize whatever data you need when you make the request into part of the placeholder, you fully control the placeholder format besides the surrounding characters and the name. This would require a ton of effort and drastically complicate parsing of placeholders for little to no benefit.

This idea is completely irrelevant to string parsing, it should not change at all.

#

It is not. You can easily describe what block you want to get the statistics for by putting it in the placeholder string. In fact, this is literally what the Statistic expansion already does for the blocks mined statistics: %statistic_mine_block:<material>%.

You didn't understood the idea. The block is dynamic, like players. I can't just put the specific block in config if I, for example, receive that block from command /block <name>.

#

You can easily modify the placeholder from that config file to add the required context in string form. Like making "%OreCounter_blockDigged%" into "%OreCounter_blockDigged_" + block.toString() + "%".

If I can hard link two plugins, the placeholder api is not needed at all. The main idea of placeholder api is to achieve less coherence and more abstraction. Why am I even explaining this to you here?

#

It's not "hard linking" two plugins. The point of PlaceholderAPI, as most programming is, is to make contracts with what you accept. If you accept any block name in a well-defined format in your placeholder, as you should, then any plugin with the proper integration can use placeholders for it.

Every single expansion we have ever had until now has worked without this mysterious "context", which ends up just looking like a Map<String, Object>, which brings its own type safety problems re...

#

It's not "hard linking" two plugins.

What is it than? If I can type name of plugin in code, than I can there type plugin api and get rid of placeholder api at all.

Every single expansion we have ever had until now has worked without this mysterious "context", which ends up just looking like a Map<String, Object>, which brings its own type safety problems regardless.

Judging by the existence of relative placeholders, you needed it after all.

#

If I can type name of plugin in code, than I can there type plugin api and get rid of placeholder api at all.
Bingo. If you want a rich integration, use their plugin API, that's what it's there for.
The point of placeholders in scenarios like these is to allow arbitrary integration without special need for compatibility, a server owner can just put a full string in specifying what they want, in this case I suppose a block name for the blocks broken statistic, and it will be filled.

In ...

#

The point of placeholders in scenarios like these is to allow arbitrary integration without special need for compatibility, a server owner can just put a full string in specifying what they want, in this case I suppose a block name for the blocks broken statistic, and it will be filled.

That's what I'm describing now.

Not sure what this means, relative placeholders are about parsing relations between two players, nothing else. It's for scenarios like direct messaging where you want t...

#

How would this actually even work out in practice? How would one plugin using setContextPlaceholders even know what values to pass in the context? How would, say, a tablist plugin that passes a configured string for tablist header, know it needs to pass X or Y context values?

Just passing everything context-specific. In practice it may be command arguments, or, for example, item with what was killed player in player kill message. Tablist probably shouldn't pass anything to context exce...

still narwhalBOT
#

If I can hard link two plugins, the placeholder api is not needed at all. The main idea of placeholder api is to achieve less coherence and more abstraction. Why am I even explaining this to you here?

The main purpose of PlaceholderAPI is above anything else to be a simple core utility to allow cross-plugin placeholder parsing, so that you don't need to support countless placeholder parsing methods from X plugins.

What you want is from what I get pointless boilerplate code that only b...

still narwhalBOT
#

Papi dump:
`Generated: April 25, 2023 at 10:02:18 AM UTC

PlaceholderAPI: 2.11.3

Expansions Registered:
FateHub [Author: [BGHDDevelopmentLLC], Version: 2.2.18]
bungee [Author: clip, Version: 2.3]
luckperms [Author: Luck, Version: 5.4-R2]
player [Author: clip, Version: 2.0.4]
spark [Author: Luck, Version: 1.10.37]

Expansions Directory:
Expansion-luckperms.jar
Expansion-Bungee.jar
Expansion-player.jar

Server Info: 1.19.4-R0.1-SNAPSHOT/git-Purpur-1...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

When returning a list of placeholders from the getPlaceholders method they do not show up ...

still narwhalBOT
#

From what I know does the tab completion for placeholders pull these from the ecloud and not the expansion.

Perhaps a solution could be to check if the placeholders list returns a non-empty list and if true, use that instead of the ecloud data?

I've looked at the code and it first gets the placeholders from PlaceholderExpansion#getPlaceholders if there is a local expansion with the same identifier and then also gets them from the ecloud.

The person that had this issue seems to ...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Proposed changes reduce API calls by caching a players timezone for a determinate period of time (1 day) and similarly, local-time placeholders are much more consistent with a retryDelay being ran in the event that a players timezone is unable to be fetched due to API rate-limits.

This should functionally mitigate a common occurrence of the expansion being "unable to fetch a players timezone" due to excessive API calls resulting in a rate-limit. The expansion has also been made to be comp...

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
#

Hi, I wanted to know if it's possible a countdown placeholder that only uses seconds without format. My issue is that the countdown returns Hh Mm Ss and when the time is reached returns only 0, so I'm trying to use a javascrypt expression:
%server_countdown_MM/dd/yy/HH:mm_{server_time_MM}/{server_time_dd}/{server_time_yy}/12:00% == 0
Expression works great when the countdown reach 0 but in the meantime it spams errors because the format Hh Mm Ss is not a number like 0.

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

I'm not sure if this issue is related to this expansion, but it has been bugging me a while.

[01:01:53 WARN]: java.lang.NoSuchFieldException: ping
[01:01:53 WARN]: at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
[01:01:53 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:46)
[01:01:53 WARN]: at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:298)
[01:01:53 WARN]: at Placeh...

still narwhalBOT
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

when i reload plugin (/papi reload) i dont get any information about reload was succesful ...

still narwhalBOT
#

The best guess I can give right now is that your server is blocking the connection to the ecloud and that PAPI is failing silently (Swallows exceptions without mentioning anything).

Another guess is, that the server breaks stuff... again. It's Purpur and they implement pufferfish patches... which broke PlaceholderAPI in the past, so it wouldn't be surprising if something similar happens here again.

If possible, could try out on a Paper server and see if that works?

#

The best guess I can give right now is that your server is blocking the connection to the ecloud and that PAPI is failing silently (Swallows exceptions without mentioning anything).

Another guess is, that the server breaks stuff... again. It's Purpur and they implement pufferfish patches... which broke PlaceholderAPI in the past, so it wouldn't be surprising if something similar happens here again.

If possible, could try out on a Paper server and see if that works?

paper do...

still narwhalBOT
#

Does it work if you remove any of the plugins that hook into PAPI (Add their own expansions) like the alonso plugins?

Because my next best guess is, that one of those may have a broken expansion causing some strange loading behaviour (Tho that imo seems unlikely).
The issue with a blocked internet connection may also still be the case. How do you host your server?

still narwhalBOT
#

Does it work if you remove any of the plugins that hook into PAPI (Add their own expansions) like the alonso plugins?

Because my next best guess is, that one of those may have a broken expansion causing some strange loading behaviour (Tho that imo seems unlikely). The issue with a blocked internet connection may also still be the case. How do you host your server?

i disabled every plugin that has hook to papi but with no success
server is hosted advinservers

still narwhalBOT
#

i found solution to this but doesnt work everytime

do /papi list
rename plugins that has hooks ig. .jar to .jarr
stop and start server
install expansions using ecloud
/papi reload
stop server using /stop - by player
rename back plugins to normal
start server

skip installing expansions if you have alr installed everything you need

everytime you install new plugin that have hooks redo this

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
#

For myself, its not probably PAPI's fault at all, because this happens to the Geyser too. Just like there's must be a plugin to block some "connections" on the server causing PAPI went offline (cannot fetching when /papi reload, etc.) and Geyser not listening to its address/port (maybe we can call it "offline" too).

After hard-debugging, I finally found the impostor. It's Skungee's fault (after the 1.20 updates thing ig). The solution is, try removing that plugin (if you have any) or...

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

When I looked at the plugin's commands, I only saw the _/papi ecloud placeholders _ command, but I couldn't see the _/papi placeholders _ command.

**The reason this feature was added is because the authors of some older plugins...

still narwhalBOT
#

The question is, how should we obtain the placeholders?

A placeholder can be virtually anything and the ecloud command only works because authors can set their placeholders there for PlaceholderAPI to download.

There is iirc a method to return a list of Placeholders inside the PlaceholderExpansion itself. The issue I see with this is, that barely anyone knows about this, so I doubt people would use it.

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/support\-1\.20
still narwhalBOT
#

The question is, how should we obtain the placeholders?

A placeholder can be virtually anything and the ecloud command only works because authors can set their placeholders there for PlaceholderAPI to download.

There is iirc a method to return a list of Placeholders inside the PlaceholderExpansion itself. The issue I see with this is, that barely anyone knows about this, so I doubt people would use it.

**I think this might be the most necessary command for the plugin. Becau...

still narwhalBOT
#

Please read again what I've written as you clearly ignored the majority of my points.

We can add a command. That wouldn't be the problem.
The problem is where to get the necessary data from.

PlaceholderAPI doesn't have any kind of algorithm or similar that can recognize what kind of Placeholder Pattern an expansion has.
The fact that the ecloud placeholders command works is simply due to the fact that every expansion page has a Placeholders section, which PlaceholderAPI pulls data f...

still narwhalBOT
#

Please read again what I've written as you clearly ignored the majority of my points.

We can add a command. That wouldn't be the problem. The problem is where to get the necessary data from.

PlaceholderAPI doesn't have any kind of algorithm or similar that can recognize what kind of Placeholder Pattern an expansion has. The fact that the ecloud placeholders command works is simply due to the fact that every expansion page has a Placeholders section, which PlaceholderAPI pull...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin/Server Incompatability

What happens?

in 1.20 %player_ping% does not work. error:
Request adaptation 1.20.1
...

still narwhalBOT
still narwhalBOT
#

Hello @welove69,

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.


Note
*This is an automated response created by a **G...

still narwhalBOT
still narwhalBOT
#
  1. Placeholder that would display the level of set potion type that player has applied? For example if I have strength potion of level 3 the placeholder would be smth like: %player_potionlevel_strength% and it would display a number 3 (for as long as the player has the effect)

I will add this to the to-do list

  1. Placeholder that would display the amount of set attribute on the item that's player currently holding? Example: Player holds a sword with attribute attack_damage...
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] New branch created: feature/use_ping_method
#

This was suggested by @tanguygab on [discord](#placeholder-api message):

Hey, just realized that 1.17 added a getPing method in the Player class, it could be better to use that in the Player Expansion in case another version changes the ping field, so you use reflection as usual for 1.16- (the field is just "ping" I think) and on 1.17+ you use the method
It would prevent the placeholder to break on new MC versions, again

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @Yertled,

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.


Note
*This is an automated response created by a **Gi...

still narwhalBOT
#
[PlaceholderAPI/CheckItem-Expansion] New branch created: AttributeWIP
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Server-Expansion] branch deleted: 001-gaby-add-build-placeholders
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/fetch-all-expansions
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

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 pull request adds the environment variable PAPI_ALLOW_UNVERIFIED_EXPANSIONS.
It allows overriding the option set in the config.yml.

Accepted values are (case-insensitive) true, yes and 1 to allow expansions or false, no and 0 to forbid them.

If the environment...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

The problem is not from placeholder directly, I'm using citizen on my server (the build Ci...

still narwhalBOT
still narwhalBOT
#

Okey thx for the answer.
But how can i found the 3rd plugin who will cause the problem ? If i see no errors.

Thx for the answer of the banning but like i said on the spigot page, before banning, it can be nice to communicate the problem.
which plugins are leaked ? You said there is several plugins. Ok, which ones ? I bought by myself so much of these plugins so i will be happy to know which ones are the premade plugins who are not bought ?
I will contact my mate to have informations ...

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

I am trying to make a team joining system (Kinda like bedwars), I suceeded on the command for joining a team but I can't figure out how to display how many players there are in a team and also who is in the team. I would apprieciate it alot of anyone could help me because I started programming in minecraft a week ago.

The only thing I found was this: https://github.com/Paul19988/TeamsExpansion/ but I don't understand how it works...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

I often get an error in the console without executing any command, I notice that this erro...

#

Hello @Faobi69,

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.


Note
*This is an automated response created by a **Gi...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

https://imgur.com/rskEo3c

Expected Behaviour

show the numbers and not %%

Ho...

#

Hello @4kKoZ,

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.


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

still narwhalBOT
#

Expansions Registered:
atr [Author: [Morelaid], Version: 10.9]
auctionhouse [Author: klugemonkey, Version: 3.5]
discordsrv [Author: [Scarsz, Androkai, Vankka], Version: 1.26.2]
excellentcrates [Author: NightExpress, Version: 4.3.0]
gcore [Author: GuillaumeVDN, Version: 1.0.0]
supervanish [Author: [MyzelYam], Version: 6.2.17]

Expansions Directory:

You don't have the expansions installed ๐Ÿ˜ƒ (statistic and vault)

still narwhalBOT
still narwhalBOT
#

Feature description

Placeholders that say:

  • If the player has '/tpauto' command enabled
  • If the player '/msgtoggle' enabled
  • These placeholders return: 'true' or 'false'.

How the feature is useful

  • These placeholders provide feedback and increase the interactivity on servers.
  • An example of this is a: settings menu, profile menu, in which we will be able to not just blindly toggle those 2 settings, but also to see what's the current state, and react accordingly.
  • T...
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

I am kindly requesting the listing of ChatControl Red plugin as compatible with PlaceholderAPI at https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders

A list of its variables that work with PAPI is found here:
https:...

#

Hello @kangarko,

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

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The issue you encounter is not considered a bug and rather an intentional behaviour of PlaceholderAPI and/or one of its expansions.
If you still believe that it is a bug, provide more information and a maintainer of this repository may look at it more closely.

Before providing more info, always make sure to use the latest version of PlaceholderAPI, as the issue you encounter might already be fixed in a newer version.
Optionally can you also try out [development builds](https://ci.extendedc...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

it is about placeholder. it lacks placeholders for essentials as I explained in my problem. I agree go see them who told me that the problem is with placeholder api. so either your wiki is not up to date or you have lost placeholders like those mentioned for 1.19.3
I don't know where I should go to report this issue. this is the only place i have found to report a few things

still narwhalBOT
#

Hello @mat37dev,

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.


Note
*This is an automated response created by a **G...

still narwhalBOT
still narwhalBOT
#
Plugin PlaceholderAPI v2.11.3 generated an exception whilst handling plugin message
java.lang.IllegalStateException: java.io.EOFException
        at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472) ~[guava-31.1-jre.jar:?]
        at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
        at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:4...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/distinguish-expansions
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @iRama7,

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.


Note
*This is an automated response created by a **Git...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

i download plugin playerstats using command /papi ecloud download PlayerStats and reload a...

#

Hello @bebraamogusa,

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.

----<br><br> > [!NOTE]<br> > *This is an automated response crea...

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
#

How does your config for "tabplugin" looks like?

ๆ‚จ็š„ใ€Œๆจ™็ฑคๅค–ๆŽ›็จ‹ๅผใ€้…็ฝฎๆ˜ฏไป€้บผๆจฃ็š„๏ผŸ
i use this https://www.spigotmc.org/resources/tab-plugin-1-20.110126/
and this is my config file

#The config for changing your tablist!
#NOTE: ALWAYS use "" for text. PlaceholderAPI + Animations are supported! Find more information at https://github.com/Niall7459/KiteBoard-Documentation/wiki/Animations-and-Modifiers
#If you still see %...% do '/papi ecloud download player' + '/papi ecloud download server' ...
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
#

Hello @OfficialBlueseph,

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.

----<br><br> > [!NOTE]<br> > *This is an automated response ...

still narwhalBOT
#
[PlaceholderAPI/Vault-Expansion] New branch created: feature/add-config-options-for-commas-balance-placeholder
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

API Bug

What happens?

My plugin is not loading even though the PlaceHolderAPI is present and has already loaded.

...

still narwhalBOT
still narwhalBOT
#

Lots of changes ๐Ÿ˜…

Moved to Gradle
Added %player_health_full(_rounded)%, %player_time_since_last_played(/join)%, %player_time_since_join%, %player_item_in_hand_lore% with its offhand and armor variants (closes #64) and %player_last_damage_given% (closes #13, can't believe it took 4 years just for that)
Since I'm using enhanced switch statements now (lots of them :D) I'm guessing this now requires at least Java 14, though most servers should have updated to 17 now and other expan...

still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] branch deleted: feature/use_ping_method
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki-add-paper-plugin-example
still narwhalBOT
#

Pull Request

Type

  • [X] Internal change (Doesn't affect end-user).
  • [X] External change (Does affect end-user).
  • [X] Other: Added missing annotations, so it kinda does, but also does not really affect API users

Description

This adds missing NotNull annotations to three setBracketPlaceholders methods. As they all internally just call methods which already are annotated with NotNull for both the return value and the parameters, it's safe to add the annotations t...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

API Bug

What happens?

Hello,

This has been mentioned a couple of times before but I'm finding that none of them ...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

but then why have it in placeholder list and i have seen pic of it in there before.

We have a large text at the very top of the page that explains why:

Note
We only add and/or update placeholders on request.
We aren't responsible, to keep the placeholders of your plugin(s) up to date.
If anything about your expansion/plugin has changed, consider making a Pull request to commit the changes yourself.

You can...

#

The issue you encounter is not considered a bug and rather an intentional behaviour of PlaceholderAPI and/or one of its expansions.
If you still believe that it is a bug, provide more information and a maintainer of this repository may look at it more closely.

Before providing more info, always make sure to use the latest version of PlaceholderAPI, as the issue you encounter might already be fixed in a newer version.
Optionally can you also try out [development builds](https://ci.extendedc...

still narwhalBOT
mint valveBOT
#
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki-add-paper-plugin-example
still narwhalBOT
still narwhalBOT
#

(I still think you should more explicitly warn against making external expansions if youโ€™re the plugin dev as per previous review!)

I'm personally against that. While internal expansions may have benefits is making an external one not inherently bad. So "warning" them about that would be the wrong aproach.
The current setup should imo be the best aproach here, as it explains internal ones first with their benefits before later tackling external ones.

#

(I still think you should more explicitly warn against making external expansions if youโ€™re the plugin dev as per previous review!)

I'm personally against that. While internal expansions may have benefits is making an external one not inherently bad. So "warning" them about that would be the wrong aproach.

I donโ€™t have metrics on hand but Iโ€™d wager 85%+ of the developers reading this bit of documentation are looking to add placeholders for their plugin. I just donโ€™t see a compe...

#

If a warning isnโ€™t what youโ€™d like to add, maybe some examples? Like โ€œWho is an external expansion good for?โ€ โ€”> Bespoke / independent extra placeholders, add-ons for existing plugins made by other authors VS. โ€œWho is an internal expansion good for?โ€ โ€”> If you want to add placeholder support for your own plugin.

Lines 217-223:

External exp...

#

Perhaps the ecloud itself should be updated and have like a large banner informing the user that it's recommended to try and make internal expansions... Or to mention the most common types of expansions this ecloud is meant for.

I just feel like the wiki itself shouldn't be the only source here and we should also stay away from being so opinionated here. Each type has its benefits and drawbacks and we shouldn't tell users "This one is much more awesome!" tbh...

still narwhalBOT
#

It's a Gradle project, so if you want to build it, you have to use Gradle instead of Maven for PlaceholderAPI.
The command should be gradlew clean shadowJar (or ./gradlew clean shadowJar if you're on Windows).

Tho, if your goal is to hook into PlaceholderAPI is it highly recommended to use the external repository instead of using jar files.
A starter guide is found here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI

still narwhalBOT
#

Hello @kangarko,

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

  • The Pull request is based on AND targets the wiki branch of the Repository.
  • You followed the general Styling Guidelines mentioned in the wiki's [README](https://github.com/Placehol...
still narwhalBOT
still narwhalBOT
#

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

  • The Pull request is based on AND targets the wiki branch of the Repository.
  • You followed the general Styling Guidelines mentioned in the wiki's [README](https://github.com/Pl...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
mint valveBOT
#
still narwhalBOT
still narwhalBOT
#

A new PlaceholderAPI release is now available.

Below is the full changelog of what has been changed and/or added to PlaceholderAPI. Enjoy.

Fetch all expansions, including unverified ones [#952]

Thanks to @iGabyTM will PlaceholderAPI now fetch all available expansions from the eCloud, no matter their verification state.
Should you try to download an expansion from the eCloud that isn't verified will PlaceholderAPI info...

#
[PlaceholderAPI/PlaceholderAPI] New tag created: 2.11.4
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/add-new-download-pages
#

Pull Request

Type

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

Description

PlaceholderAPI is also available on Hangar (Paper's own plugins sharing platform) and BuiltByBit (formerly mc-market).
This PR adds those links to the readme to allow them to be found more easily. Maybe a announcement in the discussions tab should be made too to in...

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

API Bug

What happens?

java.lang.IllegalArgumentException: Attempt to get boolean field "net.minecraft.server.le...

still narwhalBOT
#

The issue you encounter is not considered a bug and rather an intentional behaviour of PlaceholderAPI and/or one of its expansions.
If you still believe that it is a bug, provide more information and a maintainer of this repository may look at it more closely.

Before providing more info, always make sure to use the latest version of PlaceholderAPI, as the issue you encounter might already be fixed in a newer version.
Optionally can you also try out [development builds](https://ci.extendedc...

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

Folia servers have good multi-core performance, which allows many operators to avoid purchasing servers with high clock rates

Code Example

No response

Jar file

No response

Additional Information

No response

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

Hello @Strahilchu,

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.

----<br><br> > [!NOTE]<br> > *This is an automated response create...

still narwhalBOT
#

[15:42:43 INFO]: Strahill issued server command: /papi parse Strahill %player_ping%
[15:42:43 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.11.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbuk...

still narwhalBOT
still narwhalBOT
still narwhalBOT
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

API Bug

What happens?

javascript expansion not loading

Expected Behaviour

should just load the javascript ext...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
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

Warn and prevent users from using old expansions that pose a security vulnerability if threat actor has permission to trigger placeholders
In my opinion, this could help some networks prevent security issues
Any suggestions are highly appreciated since I know my code doesn'...

#

The idea is nice, but having the values hardcoded into the plugin is a bad idea.
Because every time there would be a new security issue with an expansion version would we need to update the code and publish a new version for people to download. This would just be bloat.

A better aproach would be to have an option in the ecloud's expansion version output and have PAPI check that.

#

The idea is nice, but having the values hardcoded into the plugin is a bad idea. Because every time there would be a new security issue with an expansion version would we need to update the code and publish a new version for people to download. This would just be bloat.

A better aproach would be to have an option in the ecloud's expansion version output and have PAPI check that.

Well my intial idea was to ask pigplet or someone to make an endpoint at ecloud api but i doubt they wi...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Title says nothing at all, how is it "not working" ? Does it not parse (= return %player_level% instead of a value), does it return 0 ? does it not return the right number? Are you using the placeholder in a plugin that supports PlaceholderAPI?

In case the placeholder doesn't parse, make sure you downloaded the Player expansion (/papi ecloud download Player and /papi reload, you can check if it's loaded with /papi list)

In case it still doesn't return the correct value, please p...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki-add-advancedserverlist
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki-add-advancedserverlist
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello, I want to use Placeholders and I am using them, Tho I want to Show the Top player of an Placeholder wich is named statistic_fish_caught and I want to show him in My Scoreboard (simplescore is the plugin) and I want to show the 1st Place of The fish caught Placeholder and I didnt find how to do that, It would be very Helpfull if someone Could Help :)

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @1kdani,

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.

----<br><br> > [!NOTE]<br> > *This is an automated response created by...

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/PlaceholderAPI] branch deleted: feature/add-new-download-pages
mint valveBOT
#
still narwhalBOT
#

Every time I add the placeholderAPI plugin to my plugins it does not detect the expansions of other plugins such as Vault, Luck Perms and others.
"But you can use the command /papi ecloud download "
It works for plugins that are in the cloud, but any Scoreboard plugin I use doesn't work.
it literally doesn't work, someone help me, I'm using the SimpleScore Plugin

#

The plugins you mentiond don't include the expansions by themself, meaning you have to install them using the PAPI ecloud command.

Also, it's up to the scoreboard plugin to actually provide PlaceholderAPI support. If the plugin doesn't add it, then there is nothing we can do.
Double check that the plugin actually supports PlaceholderAPI and that you actually use the right placeholder patterns.

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
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin/Server Incompatability

What happens?

I am using MythicMobs and PlaceholderAPI. I got the following error in ...

still narwhalBOT
still narwhalBOT
#

Hello @MarvinKlar,

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.

----<br><br> > [!NOTE]<br> > *This is an automated response create...

still narwhalBOT
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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

I have identified a potential remote code execution (RCE) exploit in PlaceholderAPI, spe...

#

As you said, the exploit exists only on older versions of the javascript expansion, and we can't do anything about that. The problem was patched and we made an announcement to let everyone know about the issue and that they must update ASAP!
Why are you reporting this only now? Do you use one of the affected versions by any chance? If that's the case, download the latest version manually from the eCloud and it will be fine.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Is there any other use for CURRENT_VERSION outside the IS_1_17_OR_HIGHER part?

If not, then we could check for the existance of Bukkit.getServer().getMinecraftVersion() that was added in 2020, and if it does, get the version through it, remove dots and use that version.
And if it doesn't exist is the build from before 2020, so before ~1.16 itself.

Alternatively, just use Bukkit.getServer().getBukkitVersion().split("-")[0] like we do already somewhere else...

This entire thin...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] New branch created: feature/rewrite
still narwhalBOT
still narwhalBOT
#

I'm attempting to parse the following: %parseother_sewdohe_playertime_time%

and I get the following error in my server console:

[21:47:56 INFO]: Sewdohe issued server command: /papi parse --null %parseother_sewdohe_playertime_time%
[21:47:56 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.11.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar...
still narwhalBOT
#

So, every time i try to give a user an item eg. %checkitem_give_mat:TORCH,amt:1% that amt: value is * by 3 so if i do %checkitem_give_mat:TORCH,amt:2% it will give 6, %checkitem_give_mat:TORCH,amt:3% will give 9.

The same issue happens with the %checkitem_remove_mat:TORCH,amt:2% it will * by 3 and it will take 6 instead of 2. Only these two placeholders seem to have that issue, the rest are fine

~ CheckItem Expansion: 2.7.2
~ Server: Paper-318 (MC: 1.20.2)

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.
  • [X] The Common Issues page doesn't mention this issue.

Type

Plugin Bug

What happens?

I needed to use the %world_player_% placeholder but i didnยดt worked because the plugin cou...

still narwhalBOT
still narwhalBOT
#

The same problem occurs occasionally in my environment.

[11:04:56] [Server thread/ERROR]: Failed to load class files of expansion.
java.util.concurrent.CompletionException: zip file closed (expansion file: /data/plugins/PlaceholderAPI/expansions/Expansion-math.jar)
	at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:443) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:?]
	at ...
still narwhalBOT
still narwhalBOT
#

Placeholder API is dropping sometimes the following issue on startup an no of the extensions are going to work. What can I do?

`[03:35:55] [Server thread/ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: zip file closed (expansion file: /home/container/plugins/PlaceholderAPI/expansions/Javascript-Expansion-2.1.2.jar)
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManag...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

https://www.spigotmc.org/resources/headhunter-rpg-system-discontinued.32459/

Hey i have buy'd haedhunter RPG plugin and installed it and configured it to my needs.

The only problem i am faceing right now is how do i get placeholder to support this commands in the plugin?

HeadHunter_Level
HeadHunter_LevelPercent
HeadHunter_XP
HeadHunter_XPPercent
HeadHunter_PlayerSkulls
HeadHunter_MobHead_{EntityType}

is it possible that this can be hooked or something, so i can use it in my s...

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

This PR acts as a proposal to move the wiki from its current location in the wiki tab of this repository, to a dedicated page using GitHub Pages and the static site generator MkDocs.

Here are some reasons for why a move is recommended:

  • Higher control over the themeing...
#

I want to also mention that there would be certain steps required to be made in this repository, should this PR and the move be accepted:

  • In the Pages setting would you need to set the source to GitHub Actions
  • In the Environments setting would you need to update the github-pages environment (or make one if not present) to have the wiki branch set. This one is important as it will otherwise prevent the action from running.
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

Allow one placeholder to be used as an argument to another placeholder.
For example, I would like to put one placeholder inside another

Placeholder 1: %example_placeholder_%
Placeholder 2: %second_placeholder%

I would like to do this: %example_place...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I am getting the following build error:

10:22:07 Could not determine the dependencies of task ':shadowJar'.
10:22:07 > Could not resolve all dependencies for configuration ':runtimeClasspath'.
10:22:07    > Could not find com.github.Anon8281:UniversalScheduler:0.1.3.
10:22:07      Searched in the following locations:
10:22:07        - https://oss.sonatype.org/content/repositories/snapshots/com/github/Anon8281/UniversalScheduler/0.1.3/UniversalScheduler-0.1.3.pom
10:22:07        -...
still narwhalBOT
still narwhalBOT
#

The TPS Calculation needs to change I recommend adding placeholders for

  • Lowest Region TPS
  • Median Region TPS (I think this should replace normal server_tps on Folia)
  • Highest Region TPS
  • Player Region TPS
  • (Maybe Specific Region TPS, but I don't think this is needed)

This should be part of a folia expansion, I don't think is worth to add extra placeholders in the server expansion that will be available only for folia.

#

The TPS Calculation needs to change I recommend adding placeholders for

  • Lowest Region TPS
  • Median Region TPS (I think this should replace normal server_tps on Folia)
  • Highest Region TPS
  • Player Region TPS
  • (Maybe Specific Region TPS, but I don't think this is needed)

This should be part of a folia expansion, I don't think is worth to add extra placeholders in the server expansion that will be available only for folia.

If so, then I think th...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT