#papi-updates

1 messages ยท Page 14 of 1

still narwhalBOT
#

What expansion are you actually talking about?

Also, your log has a lot (and I mean A LOT) of other errors including one of a Per-World plugin manager, which imo can also be a cause for errors, so you may want to also fix those first...

Yes I know because I'm changing my server to java-16 and to do that I had to change to 1.16.5 which caused a lot of error and Im fixing it ... okay I'm going to fix first perworldplugin

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?

It generates an error randomly in console

Expected Behaviour

It shouldn't generate that error as far as i'm aware

How to Reproduce

To be honest it's random therefore i don't know

/papi dump Output

h...

still narwhalBOT
#

Hello @DebuffPvP,

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

Purpur git-Purpur-1383 (Paper 1.17.1)
ChatControlRed version 10.6.3
PlaceholderAPI-2.10.10-DEV-132
Javascript expansion [2.0.0]

I wasn't sure whether or not to report this to the main PAPI repo, but seeing as how Nashorn is used in the Javascript expansion and not in PAPI, here is probably best.

Java 17 came out as LTS.

PlaceholderAPI seems to break with ChatControlRed on 1.17.1 using the Javascript expansion placeholders. Temporarily downgrading back to Java 16, everything works...

still narwhalBOT
#

When a player is on 1.17.1 for example (while 1.17.1 is the latest version), and they use an invalid statistic, they are sent an invalid link (https://helpch.at/docs/1.17.1/org/bukkit/Stastistics.html)

That is because the helpchat docs does not have the latest version of the javadocs. So maybe send them to the spigot link instead?: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

sun.misc.Unsafe::defineAnonymousClass API has been removed in JDK 17.
The API replacement is java.lang.invoke.MethodHandles.Lookup::defineHiddenClass and java.lang.invoke.MethodHandles.Lookup::defineHiddenClassWithClassData.

Per https://bugs.openjdk.java.net/browse/JDK-8267178

sun.misc.Unsafe::defineAnonymousClass is not used anywhere directly inside the expansion. The stacktrace points to the issue being with Nashorn using it in some case. I'll look into this and get b...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] New branch created: 001\-gaby\-add\-absorption\-placeholder
#
[PlaceholderAPI/Player-Expansion] branch deleted: 001\-gaby\-add\-absorption\-placeholder
still narwhalBOT
#
[PlaceholderAPI/.github] New branch created: main
mint valveBOT
#
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I built it myself, to test. papi parse x %server_build% returns 6c1c1b2 rather than 3246 (the current Spigot 1.17.1 build number).

version
[18:03:55] [Server thread/INFO]: This server is running CraftBukkit version 3246-Spigot-6c1c1b2-dc764e7 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)

It does return the current build number 295 on Paper 1.17.1.

version
[18:02:53 INFO]: This server is running Paper version git-Paper-295 (MC: 1.17.1...

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?

Hello, a few weeks ago I saw that in my ChatControlRed plugin, they did not load the expansions in the chat or with / papi parse me. Doing experiments, I saw that the MarriageMaster expansions do not work and there is ...

still narwhalBOT
#

Hello @Arthuuurr,

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

Major Code improvement (Will affect Servers)

Description

So at this moment PlaceholderAPI can only be used and installed on a single spigot server. My feature request expands that.
Currently, if you have a big network and rely on external premium spigot plugins you are very limited what you...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

In the getLastColor() method, if the color is at the start of the prefix or suffix and there is no color after, it returns the entire prefix or suffix. I am not sure if this is how it is meant to work. leaving it here for the people that work on the expansion.

https://github.com/PlaceholderAPI/Vault-Expansion/blob/8a13110ccdd31ddd7b002e2ca13169244cb87375/src/main/java/com/extendedclip/papi/expansion/vault/VaultPermsHook.java#L222

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

API Bug

What happens?

Throws an error in the console

Expected Behaviour

Server start

How to Reproduce

Start the server

/papi dump Output

https://paste.helpch.at/equgobinop

Console Log

https://paste.helpch.at/raw...

still narwhalBOT
#

Hello @xmakdwerd,

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...

#

There are several issues you encounter and given the fact you even unchecked My issue is about PlaceholderAPI and not any expansion or external plugin shows me that you're well aware that this is NOT a PlaceholderAPI issue.

The issues you encounter are as follows:

  • The StaffFacilitiesExpansion has a NoClassDefFoundError meaning it couldn't find a class it uses. This is normally the case when an expansion misses a required dependency (plugin).[^1]
  • The StatzExpansion has one of ...
#

it seems to have happened, deleted two files whose names were in errors, there are no more errors ... thanks, but these warnings are important and need to be fixed or not?

[01:31:16 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.

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?

On server start-up, only 29 of 33 hooks were loaded

[17:11:37] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.util.ConcurrentModif...
#

I have tried repeatedly to reproduce this issue. No joy. I appreciate that a transient issue is problematic. I posted only for information, in the event that the error points to a recognizable timing issue. If not, so be it. Thanks for having a look.

Could perhaps a random outside issue (i.e. a temporary overload of the server's CPU or similar) be a possible cause?
This would be my guess as to why this isn't reproducible. Since it would make the most sense that the (physical) server has...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

PlaceholderAPI's current system behaves in such a way that plugins which manually register placeholders get registered earlier than those from external jars.

While this may not cause problems at first glance would it still be better to make the expansions register at the same time, after the server finished loading, no matter what type of expansion it is.

A solution could be that the registration won't directly register the expansion, but rather puts it on a list/queue that later is wor...

still narwhalBOT
#

Just came back to this issue and thought about what structure for docs we should use.

I personally propose this general doc structure due to it being fairly readable for IDE users that check docs directly and not the rendered HTML version (if there will ever be one that is).

/**
 * A single line with some simple text.
 * 
 * <p>A new paragraph. The p tag won't be closed.
 * <br>New lines are having a simple br tag.
 * 
 * @param name
 *        Parameter description on a ...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I am not sure if you guys are aware but the placeholders are being removed from the expansion and are being moved in the essentials expansion. There is currently a development build in our discord server: https://discord.gg/helpchat in the #placeholder-api channel.

If you still want this to work in the vault expansion I believe you have to download the version 1.5.2 of the expansion and enable it in the config.

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?

Javascript loads but with error.

[20:32:41 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated: 
Failed to load due to a [NoClassDefFoundError], attempted to use org/ope...
#

Hello @RetamrCZ,

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...

#

Hello, why when i use
/papi ecloud download Javascript
Then, /papi reload
Why i get

[20:32:41 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[20:32:41 INFO]: [PlaceholderAPI] Successfully registered expansion: ViaVersion
[20:32:41 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[20:32:41 INFO]: [PlaceholderAPI] Successfully registered expansion: multiverse
[20:32:41 INFO]: [PlaceholderAPI] Successfully registered expansion: server
**[20:...
#

Edit: I updated to latest version, and i get new error:

[09:51:07 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[09:51:07 INFO]: [PlaceholderAPI] Successfully registered expansion: ViaVersion
[09:51:07 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[09:51:07 INFO]: [PlaceholderAPI] Successfully registered expansion: multiverse
[09:51:07 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[09:51:07 ERROR]: [PlaceholderAPI] Fai...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/automatic\-release\-drafting
#

Pull Request

Type

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

Description

GitHub added the ability to automatically create changelogs for new releases by clicking a button in the release drafter.
This feature can be customized using a release.yml file inside the .github folder.

This PR adds such a file to enable the automatic release drafti...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Sorry, I got busy with other stuff, haven't tested this yet, but after reading this it looks like we need to wait for the nashorn library to update. The email at mail-archive you posted above is one day before the last nashorn release 15.3 which we are currently using.

Seems that this problem will effect all plugins using javascript compiler, not just ours. I recommend staying on Java 16 until then.

still narwhalBOT
still narwhalBOT
#

Hi ๐Ÿ‘‹๐Ÿป

When I try to load your expansion following error occurs in console:

[19:39:56] [Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class ScoreboardTagsExpansion - One of its properties is null which is not allowed!
[19:39:56] [Server thread/ERROR]: [PlaceholderAPI] 
java.lang.NullPointerException: The expansion version is null!
	at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
	at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.regi...
still narwhalBOT
#
[PlaceholderAPI/ScoreboardTags-Expansion] New branch created: fix/1\-version\-null
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Basically I have the plugin on a server named PlayTime

Now i wanted to know if it's customizable like currently it goes by

Days,hours,minutes,seconds
We have a custom GUI on the side that shows timeplay

Now this causes tons of issues like nearly the whole screen is taken because of this

Is it possible to make it only appear as Days,Hours,Minutes?

If so please let me know, if it isn't then it's fine let me know as well

I have attached a screenshot of a player with the gia...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Something I wonder: Wouldn't it sound better to have %server_version_full% rather than %server_version_build%?
I feel like it makes a bit more sense here since we can see the MC version and build version as full version string I would say...

%server_version_full% makes sense to me, better than %server_version_build%. Trust is, I don't care about the placeholder names. I do care that they return standard results, which the PR currently does not. A little more string parsing wou...

still narwhalBOT
#

Adresses issues mentioned in #29

I simply added a substring(0, buildParts[2]) to the buildParts[2] section to exclude anything after the build number.

I also changed the getServerVariant() part a bit by moving the entire Map initialization and filling to static, so that it should only happen once.

Saying that I believe this needs some rework in order to improve it, especially in terms of maintainability for other forks which may or may not have different outputs for `Bukkit.ge...

#

I made some changes which you can see in #37

If you like could you test out this jar file real quick and tell me how it goes:
https://cdn.discordapp.com/attachments/412716812761825290/900468756176855071/PAPI-Expansion-Server.jar

Personally, I feel like we should make a proper method to retrieve the right values for the build to return, but this would in the end require us to know what each (popular) fork returns with Bukkit.getVersion() which could become annoying...

#

The ^^^ build return correct values on Spigot 1.17.1-3262

>papi parse rambeau %server_version%
[12:52:37] [Server thread/INFO]: 1.17.1
>papi parse rambeau %server_build%
[12:52:42] [Server thread/INFO]: 3262
>papi parse rambeau %server_version_full%
[12:52:52] [Server thread/INFO]: 1.17.1-3262

and Paper 1.17.1-341

> papi parse rambeau %server_version%
[12:53:40 INFO]: 1.17.1
> papi parse rambeau %server_build%
[12:53:44 INFO]: 341
> papi parse rambeau %server_versi...
#

Yeah. If we want to support other forks will we need to find out what they return, which at the end would probs require us to actually make a dedicated method...

To be really honest here, I do dislike the entire static stuff of the ServerUtil class and personally would go for making an instance of it to use later on with non-static methods.

I see a lot of possible work to do here, but I'm glad that my small fix is working. Let's just hope Paper doesn't randomly decide to just change t...

still narwhalBOT
#
[PlaceholderAPI/Server-Expansion] New branch created: feature/improve\-serverutils
still narwhalBOT
#

Improves the ServerUtils class in various ways:

  • Made methods non-static and instead create a ServerUtils instance in onRequest.
  • Moved TPS handling to ServerUtils class
  • Made TPS handling use Paper's Bukkit.getTPS() method when available, otherwise fall back to internal handling.
  • Fixed random inconsistencies in TPS values (i.e. tps_15 returning non-rounded number)
  • Other misc changes I can't remember.

I've made some basic tests on a PaperMC server (MC 1.17.2, build 273)...

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.

Type

API Bug

What happens?

ChangeOutput Placeholders show empty if the condition contains %player_name% and player name beginning or ending with _

Expected Behaviour

it will not be empty

How to Reproduce

Placeholder:
`%changeoutput_eq...

#

Hello @M4h45amu7x,

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

This is as of right now a tracking PR for any concurrency issues. I am going to try to find and resolve concurrency issues in PlaceholderAPI's code. This is not to be merge soon!

This is trying to resolve issues such as #727 ; a ConcurrentModificationException showing that either:...

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

From what I can see there is no need for the expansion to require offline player and it looks quite easy to make it work with null players. From what I can tell you just have to remove the null checks and in the evaluate method you add some extra checks when adding the bindings for offline player since PlaceholderAPI#setPlaceholders and #setBracketPlaceholders both work with null.

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?

Cloning and building this repository fails builds since https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-bukkit/ does not have 4.0.0-SNAPSHOT. This used to work, so I'm guessing that the snapshot has...

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 ...

#

Feature Request

Type

What kind of request is this? (Multiple selections possible)

  • [ ] 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: Repository

Info

What is the change?
Please provide as much information (including links, images a...

#

Actually there should be an issue made for everything you want to write code for.

Here's a copy from the discord:

Branch policy
We have 2 restricted branches we should only be PRed to.
These branches are master and develop.

  • master is for releases only and should only be PRed from the develop branch.
  • develop is where all feature and bugfix branches are PRed to. This branch will be used to get all features and bugfixes for the next relea...
#

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

Major Code improvement (Will affect Servers)

Description

So at this moment PlaceholderAPI can only be used and installed on a single spigot server. My feature request expands that.
Currently, if you have a big network and rely on external premium spigot plugins you are very limited what you...

#

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

Currently, I can read PlaceholderAPI placeholders by โ€œpullingโ€ the information from the plugin which adds these placeholders. If a continuously changing placeholder should be displayed somewhere, it would need to be updated/requested in a set interval.
...

#

The biggest issue I see with this is, that placeholders are rarely static and may change a lot. Not to mention that they can and often will be per-player.

Just take the %player_name% placeholder as an example.
Even if we would keep a sort of cache could this end up in caching hundreds of entries because a server could have hundreds of players online and either a chat, tab or scoreboard plugin could then call the setPlaceholders method of PlaceholderAPI frequently here.

Other placeh...

#

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...

#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/update\-dependencies
#

Pull Request

Type

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

Description

Updated PlaceholderAPI's dependencies.

Updated dependencies:

  • Kyori Adventure: 4.0.0-SNAPSHOT -> 4.0.0
  • Jetbrains Annotations: 19.0.0 -> 22.0.0
  • JMH Core: 1.23 -> 1.32
  • JMH Generator Annprocess: 1.23 -> 1.32
  • JUnit Jupiter Engine: 5.6.2 -> `5.8....
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Just to note, Kyori seem to have just removed 4.0.0-SNAPSHOT from the sonatype snapshot repository, breaking the build process unless you have a local build of it in your m2 repository.
Also, yes, obviously, your PR will fix this issue as it is referencing an existing version of the artifact. Additionally, it might be worth updating Gradle to 7.3 while you're at it updating stuff.

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?

The plugin tries to load expansions even if they are not in the server folder and server freezes.

[09:36:06] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Placeholder expansion...

still narwhalBOT
still narwhalBOT
#

@Andre601
I tried the updated-dependencies branch, and this is the result:

  • It complains about invalid license files, which I can fix by removing the license checks.
  • If using JDK 17, it complains about "Unsupported class file major version 61", which I can fix by downgrading to jdk 8:
  • Otherwise, yes, it fixes the original issue as @spnda points out
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: 1\.18
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

This code: https://github.com/PlaceholderAPI/SuperbVote-Expansion/blob/de7ba2d4ab052fd5ad22a9ee02eb0b7e6575864f/src/main/java/com/extendedclip/papi/expansion/superbvote/SuperbVoteExpansion.java#L67-L70

Breaks the top_voter_* placeholders whenever there isn't a player link - even though they don't need one.

The p == null check should only be applied to votes and has_voted (as those are the only two that require a player link).

#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki\-update\-superbvote
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki\-update\-superbvote
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/automatic\-release\-drafting
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

ะ—ะดั€ะฐัั‚ะฒัƒะนั‚ะต!
ะฏ ะฒะฒะพะถัƒ ะบะพะผะฐะฝะดัƒ /papi ecloud download Javascript ะฐ ะฟะพั‚ะพะผ /papi reload ะทะฐะบะปัะดั‹ะฒะฐัŽ ะฟะฐะฟะบัƒ ะธ ะ”ะถะฐะฒะฐ ัะบั€ะธะฟั‚ ะฝะต ัƒัั‚ะฐะฝะพะฒะปะตะฝ ะฒ ะŸะปะฐะณะธะฝะต PlacehoderAPI.
ะงั‚ะพ ะผะฝะต ั ัั‚ะธะผ ะดะตะปะฐั‚ัŒ?

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?

I am using otherplayer in my deluxechat /msg format. This is the format [&6%otherplayer_displayname_%recipient_player_name%%&b] And it gives me this error https://paste.helpch.at/cemenawesa.bash

It was working, and...

#

Ahh, yes it appears to be a papi issue.

 at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
        at com.extendedclip.papi.expansion.otherplayer.OtherPlayerExpansion.getDisplayname(OtherPlayerExpansion.java:239) ~[?:?]
        at com.extendedclip.papi.expansion.otherplayer.OtherPlayerExpansion.onRequest(OtherPlayerExpansion.java:109) ~[?:?]
#

One way you could perhaps try (if the otherplayer expansion supports it) could be using {placeholder} patterns inside the %placeholder%
But for that would you need to use different placeholders instead of %recipient_player_name% and I'm not sure if DeluxeChat offers support for bracket placeholders.

Either way, the issue seem to be on the otherplayer expansion and not PlaceholderAPI, so nothing we can do here, nor something for this bug-tracker.

Feel free to open a [Discussion](h...

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

1.18 Support

Code Example

No response

Jar file

No response

Additional Information

No response

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hey, i just saw that you had the same Problem that i used to have, and it was annoying.
But i managed to solve it!

Just download the Math Extension with the command /papi ecloud download Math
Then just devide the Number of Mined blocks by 2 like the following : %math_{statistic_mine_block}/2% .

And thats basicaly it. It worked out for me, though im pretty sure not many people even know that something like that is possible.
Have a great day!

still narwhalBOT
mint valveBOT
#

Build: 134
Status: failure

Changes:

  • 6f5853 fix wiki action... again - noreply
  • aa68a4 Update flex - noreply
  • 0798d9 Update this flex too funnycube :) - noreply
  • 6e1eb8 Add release.yml for automatic release drafts - noreply
  • d68af5 Make name of job only show java version - noreply
  • 6f8795 feat: nullable annotation placeholderhook - noreply

Artifacts:

No artifacts saved.

mint valveBOT
#

Build: 135
Status: failure

Changes:

  • 08c43d Add Java Version to /papi dump command - admin

Artifacts:

No artifacts saved.

still narwhalBOT
still narwhalBOT
still narwhalBOT
mint valveBOT
#

Build: 137
Status: success

Changes:

  • b4f683 Update development from master (#662) - noreply
  • 380991 Include version in registration message - 11576465+Andre601
  • e969f3 Improve StringBuilder and also fix possible NPE - 11576465+Andre601
  • 3ba29f Fix possible NPE for findExpansionsOnDisk - 11576465+Andre601
  • 31deef Use completedFuture instead - 11576465+Andre601

Artifacts:

still narwhalBOT
mint valveBOT
#
still narwhalBOT
still narwhalBOT
#

This replaces the check for the platform being Platform.SPONGE, which was not scalable, as other platforms may need to disable this binding, such as Velocity and Krypton, which both also bind the main class.

I did think about just making the binding nullable, but that wouldn't work, since we need the binding for the @Data binding.
If anyone has any better ideas, feel free to suggest them.

Also, this fixes a compilation issue for Sponge that was bugging me, in that the @Plugin ann...

still narwhalBOT
#

This does exactly what it looks like. I cleaned up the configuration file in accordance with what me and @PiggyPiglet discussed on Discord.

This PR separates the Time stuff in to a separate subdirectory, under config.time in the common, and also moves everything config-related to a new config package. No idea why it was placed where it was before.

I also added a default configuration file for this, in common/src/main/resources, to avoid a startup NPE when the plugin has not been...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: deprecated\-removal
#

Pull Request

Type

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

Description

In version 2.10.9, we marked a bunch of older API methods as deprecated and to be removed in version 2.10.11. The time is coming soon to release this new version so the methods marked for removal should be removed. Merge this last before the 2.10.11 release.

Closes N...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hey, I wanted to Implement the Towny Channel Tag youre currently writing in on the Plugin AnimatedScoreboard. (It Displays you some stats on the side) however nothing seems to work for.. ive tried "%townychat_channel_tag%, %townychat_channel_name%, %townychat_channeltag%" and honestly all the other options. but the three mentioned here seemed the most logical.

Please help, is this just a bug or is it me? :P

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?

I am setting up a server using macmamc (plugins and mods). When starting the server without any expansion of PlaceholderApi it starts correctly.
When I use the command
/ papi ecloud download and / ...

still narwhalBOT
#

We do not really support Hybrid Servers since those kind of servers can and will break a lot of plugins.

Those kind of servers are bad as they try to combine two APIs which would never work together to begin with: On one side the fairly rigit Bukkit-API and on the other a somewhat lose and frequently changing Forge-API.

I highly recommend to not use those hybrids and instead use only one side.
I also recommend reading the [PSA of EssentialsX](https://essentialsx.net/do-not-use-mohist.h...

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/666\-lowercase\-issues
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/update\-dependencies
#

I believe one way you could do this for now is using jitpack to get the latest state of the development branch, which should have the updated dependencies of PAPI in it.

It's not an ideal solution, but as a temporary workaround should it work.

Direct link for download info:
https://jitpack.io/#PlaceholderAPI/PlaceholderAPI/development-SNAPSHOT

still narwhalBOT
still narwhalBOT
#

https://semver.org/

Semver isn't everything. While we can follow it, is it not required. Not to mention did we ANNOUNCE through the annotations used that the stuff WILL be removed in 2.11.0, so now changing that would also not be nice.

If we announce something, no matter in what way, should we stick with it.

I disagree, semver is a globally identifiable way of defining breaking changes, additions and patches/bug fixes that guarantees if my software changes a library versi...

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...

#

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
#
[PlaceholderAPI/PlaceholderAPI] New tag created: 2\.11\.0
#

Hey everyone!

Another day, another release of PlaceholderAPI. This one brings quite a few new features and bug fixes to the plugin.

Changes

1.18 support (https://github.com/PlaceholderAPI/PlaceholderAPI/pull/752)

By far the most important change. PlaceholderAPI now supports Spigot/PaperMC 1.18.
Remember that as of writing this, PaperMC 1.18 is not considered to be stable yet, so use it at your own risk.

Logging methods for PlaceholderExpansion (https://github.com/Plac...

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?

The method PlaceholderAPI.setPlaceholders(OfflinePlayer, String); is changing the input string %s to % , this is causing bugs further down the line in other plugins that use String.format(); for example.

This bu...

still narwhalBOT
still narwhalBOT
#

More Information:

Here's my Hologram Configuration:

voteleaderboard:
  lines:
  - '&8[&c!&8] &7Vote Leaderboard &8[&c!&8]'
  - '&e&l1. &r&a%superbvote_top_voter_name_0% &8- &7%superbvote_top_voter_votes_0% Votes'
  - '&e&l2. &r&a%superbvote_top_voter_name_1% &8- &7%superbvote_top_voter_votes_1% Votes'
  - '&e&l3. &r&a%superbvote_top_voter_name_2% &8- &7%superbvote_top_voter_votes_2% Votes'
  - '&e&l4. &r&a%superbvote_top_voter_name_3% &8- &7%superbvote_top_voter_votes_3% Votes'...
still narwhalBOT
still narwhalBOT
#

Updates dependencies, implements #3.

Existing placeholders remapped:
%bungee_total%: %bungee_count_total%
%bungee_%: %bungee_count_%

New placeholders created:
%bungee_count%: The player count for the current server (via BungeeCord)
%bungee_server_name%: The current server's name, as defined in BungeeCord's config.yml

Bumped version to 3.0 due to breaking changes in existing placeholders.

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/771\-identifier\-replacement
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/remove\-color\-parsing
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/improve\-bstats\-metrics
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/update\-contributing
#

Pull Request

Type

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

Description

Since we apparently go away from the development branch and instead now only have the master branch did I quickly update the CONTRIBUTING.md file to reflect that change (And to hopefully make it a bit more understandable in some way).

Closes N/A

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hi i'm the author of the OtherPlayer expansion. As pointed out, you are trying to use a placeholder inside a placerholder which isnt supported. What ends up happening when u try to use %otherplayer_displayname_%recipient_player_name%% is that this gets submitted to the expansion: %otherplayer_displayname_% which currently doesn't have any elegant way of catching the misuse of the place holder and expects a player name so it crashes.

I will update the expansion today to more elegantly c...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New tag created: 2\.11\.1
still narwhalBOT
still narwhalBOT
#

PlaceholderAPI as of right now is rather good and stable to use.

However, I believe it can be improved in different ways which I would like to go over in this discussion.

About PlaceholderAPI v3

Yes, PlaceholderAPI v3 will be a thing... Yet it is further delayed by the main devs due to multiple reasons including simply not having time for it.

So while we wait for a possible v3 release of PAPI could we just improve the current v2 version and maybe even implement things planned fo...

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?

I have a bug when I give myself money and I go to like 10M from there it starts to show weird numbers like "1.0e7" and I couldn't find any solutions to it so I came here
![g76FiB5](https://user-images.githubusercontent.c...

#

Hello @darcky12,

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
#

I have this error when i do /papi reload
do the extension needs essentials ?
because essentials is a bad plugin and if i can not use it ill do that but i need it for the scoreboard

`[22:15:08] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[22:15:08] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[22:15:08] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurren...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Your Wiki Pull request has been marked as invalid.

Pull requests targeting the wiki need to be based of and target the docs/wiki branch of this repository.
More information can be found on the Wiki README.


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/acti...

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?

Placeholders just stop working randomly.

Ie: /papi parse me %statistic_mine_block:budding_amethyst% work one day. Two reboots later it stops working, then a reboot layer starts working again.
While the Pyrofishpr...

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

It's not my placeholder, though.
They have updated the placeholders and have not updated the documentation.
You can check on ecloud which takes you to the spigot page. (Source code = Spigot page. ยกNICE!)
https://api.extendedclip.com/expansions/scoreboardobjectives/
...

still narwhalBOT
#

Your Wiki Pull request has been marked as invalid.

Pull requests targeting the wiki need to be based of and target the docs/wiki branch of this repository.
More information can be found on the Wiki README.


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/acti...

#

Pull Request

Type

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

Description

It's not my placeholder, though.
They have updated the placeholders and have not updated the documentation.
You can check on ecloud which takes you to the spigot page. (Source code = Spigot page. ยกNICE!)
https://api.extendedclip.com/expansions/scoreboardobjectives/

...

#

Pull Request

Type

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

Description

It's not my placeholder, though.
They have updated the placeholders and have not updated the documentation.
You can check on ecloud which takes you to the spigot page. (Source code = Spigot page. ยกNICE!)
https://api.extendedclip.com/expansions/scoreboardobjectives/

...

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?

When I put the current PAPI release in a 1.8 Spigot server, the plugin won't load due to a NoClassDefFoundError:
`
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
at o...

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

For some reason I am getting this error on my latest Paper 1.17.1 server using PlaceholderAPI v2.11.1:

[13:02:23] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.MinecraftServer
[13:02:23] [Server thread/WARN]: 	at java.base/java.lang.Class.forNameImpl(Native Method)
[13:02:23] [Server thread/WARN]: 	at java.base/java.lang.Class.forName(Class.java:350)
[13:02:23] [Server thread/WARN]: 	at com.extendedclip.papi.expansion.server.ServerExpansion.(Se...
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

  • Fixed a typo in the download command for the ChangeOutput expansion.
  • Updated the placeholders for the PlayerPoints expansion and linked it to the newer more updated plugin.

Closes N/A

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

When trying to round numbers with math extension i get errors in console

[09:01:30 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected! [09:01:30 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_:half-up_{essentials_home_1_x}% [09:01:30 WARN]: [PlaceholderAPI] [Math] '227.2476827494362.5' is not a valid Math Expression.

for some reason values X and Z are returning values with double decimal points like -5.87897896.5

still narwhalBOT
#
[PlaceholderAPI/Essentials-Expansion] New branch created: fix/43\-malformed\-home\-xz\-coordinates
still narwhalBOT
#
[PlaceholderAPI/Permission-Expansion] New branch created: master
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

In Chinese:
ๆˆ‘ๅœจserver.propertiesๆ”นไบ†motd,ไฝ†ๆ˜ฏๆญคๅ˜้‡่ฟ˜ๆ˜ฏๆ˜พ็คบA Minecraft Server
ไปฅๅŠๅœจ่ทจๆœ็ซฏ(Waterfall)็š„configๆ”นไบ†ไพๆ—งไธๆ˜ฏ็œŸๅฎž็š„ๅๅญ—
ๆ‰€ไปฅ่ฏท่Žทๅ–motd้‡Œ็š„ๅๅญ—่€Œไธๆ˜ฏ็›ดๆŽฅๆ˜พ็คบA Minecraft Server
In English(Use translator):
I'm on the server.properties is changed to MOTD, but this variable still shows A Minecraft Server
and the config Waterfall is changed. But it's still not the real name,
so please obtain the name in MOTD instead of directly displaying A Minecraft 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
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

2 separate issues have been made on my Math Expansion repository, reporting the expansion to not parse sn exression properly.

Looking at the reported issue, I can see one single source, which is the use of the Statistic expansion in both cases.

The issue seems to be the fact that the expansion returns an empty String rather than a default value like 0 or -1, which in return breaks the math expression.

A fix for this would be highly apreciated.

Related issues:

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

Return Custom Afk Output

  • Author: DennisTheSeagull
  • Description: Check if a player is afk & then return a custom output depending on the boolean.
    This script is using the %essentials_afk% placeholder. In simpler terms, this allows you to change the normal yes/no output to something of your choice. Very useful!
  • Usage: %javascript_check_afk%

Javascript Code:

check_afk.js

var afk = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%essentials...
still narwhalBOT
still narwhalBOT
#

Your Wiki Pull request has been marked as invalid.

Pull requests targeting the wiki need to be based of and target the docs/wiki branch of this repository.
More information can be found on the Wiki README.


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/acti...

still narwhalBOT
still narwhalBOT
#

// the PlaceholderAPI.static.setPlaceholders() is used to parse placeholders inside the javascript placeholder

Wrong, that method is used if you have placeholders like "%expannsion_" + argument + "%", all the other placeholders are replaced by default

I stand corrected ยฏ_(ใƒ„)_/ยฏ Thank you kind sir for the clarification. I've updated the post with the correct information.

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

There's currently a /papi parse me %someplaceholder%, alongside /papi parse (playername) %someplaceholder%
I suggest the addition of /papi parse null %someplaceholder% (or some other syntax to the same effect).
This would explicitly pass null as the play...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

`
[21:16:52] [Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
[21:16:52] [Server thread/ERROR]: [PlaceholderAPI]
java.lang.NoClassDefFoundError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpans...

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?

https://gist.github.com/MithrandirCraft/ccf0333f5eac720bdce6a2292b99d44d

here's another one that seems to relate to SQL:
https://gist.github.com/MithrandirCraft/808a81923f49615841d9595fe2d30af3

These errors seem...

still narwhalBOT
still narwhalBOT
#

Hello @MithrandirCraft,

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
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/null\-parse\-option
#

Pull Request

Type

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

Description

This PR adds a --null command argument to the parse command, which can be used instead of the player name.
Providing this argument would parse the placeholders against a null player, which can be useful for Placeholders that do not require a online player to be used.

Th...

#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/papi\-dump\-expansion\-order
#

Pull Request

Type

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

Description

This changes the way expansions are sorted in the /papi dump command.

Previously did PlaceholderAPI sort the expansions by their Identifier and then by author.
Now it should sort them by identifier AND also by the author.

Idk... Nag @iGabyTM about this.

Closes N/A...

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.

Type

Plugin/Server Incompatability

What happens?

[22:21:54] [Craft Scheduler Thread - 10 - PlaceholderAPI/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.11.1 generated an exception while executing task 1247
java.lang.NullPointerException: Cannot...

#

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
#

Your Wiki Pull request has been marked as invalid.

Pull requests targeting the wiki need to be based of and target the docs/wiki branch of this repository.
More information can be found on the Wiki README.


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/a...

#

Your Wiki Pull request has been marked as invalid.

Pull requests targeting the wiki need to be based of and target the docs/wiki branch of this repository.
More information can be found on the Wiki README.


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/a...

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

Description

there is tps for spark, but i want also mspt, and if i'm not in a server that supports mspt (like spigot) to return empty string

Code Example

No response

Jar file

No response

Additional Information

No response

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Attribute-Expansion] New branch created: master
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/null\-parse\-option
mint valveBOT
#

Build: 149
Status: failure
Changes:

  • 38d77f Update label-commenter-config.yml - noreply
  • cd9074 Update label-commenter-config.yml - noreply
  • 666ab4 Link to docs/wiki branch README - noreply
  • 50d4e1 Add --null option for parse command - 11576465+Andre601
  • fe8d86 Add missing import - 11576465+Andre601
  • 1241c3 Add --null to command help - 11576465+Andre601

Artifacts:

No artifacts saved.

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/add\-logging\-options
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/log\-expansio\-version
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/remove\-escape\-hex\-test
#

Pull Request

Type

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

Description

Fixes an issue where Builds on the CI would failed because a Test was not removed that requires the Color parsing functionality to be present.

Note that this PR should only be merged, if color parsing should be dropped, which I'm in favour of as it shouldn't be PlaceholderAP...

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?

[19:36:48 WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_18_R1.MinecraftServer
[19:36:48 WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
[19:...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

There should be a different, more distinct placeholder pattern to use in PlaceholderAPI.

The %placeholder% format is just flawed, may clash with plugins that already use such a format for internal placeholders, looks ugly IMO and also is harder to use when you would like to allow nested placeholders.

One suggestion that was given is to use ${placeholder_value}, as it is commonly used on places like terminal/command line stuff.
It would also allow a (hopefully) more easy Pattern to ...

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.

Type

Plugin Bug

What happens?

Hi, I have the latest version of PlaceholderAPI and Featherboard as a plugin on my server. I run my PaperSpigot 1.17 server and versions 1.16 and below don't see placeholders.

Expected Behaviour

Show version 1.16...

still narwhalBOT
still narwhalBOT
#

Hello @Shhishsh,

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.


*This is a...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/666\-lowercasing
#

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 commit changes two lines but fixes the replacement of cased
placeholders with non-cased ones that was accidentally happening.
This was partially fixed in a few previous commits, but not fully as
it was still replacing failed placeholder matches.

Closes #666...

mint valveBOT
#
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/666\-lowercasing
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?

Does not load placeholders

Expected Behaviour

upload placholder

How to Reproduce

upload placholder

/papi dump Output

https://paste.helpch.at/rotuyesuqe

Console Log

https://paste.helpch.at/wozo...

#

Hello @Niklikq,

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
  • Any additional information requested by users in this issue.

The easiest way to provide those information is through the /papi dump command which posts the required information to https://...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

If no one has anything to add to this, I'll be merging in the next few days. Andre is right imo. The .5 there is probably from a time when the placeholder was returning an integer instead of the exact coord(double/float) and since most people wanted the center of the block they appended .5. Location#getX returns a double tho so the exact coords of the /sethome is returned now.

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Fixed how one of string placeholders work. In random string placeholder strings are separated by commas not underscores.

Pull Request

Type

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

Description

Fixed how one of string placeholders work. In random string placeholder strings are separated by commas not underscores.

Closes N/A