#papi-updates

1 messages · Page 13 of 1

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

My feature request is it add an "if" statement for PlaceholderAPI. This could be a great benefit if you need to check if the event is true, then do this, otherwise, do that.

Code Example

No response

Jar file

No response

Additional Information

...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
  • Author: JoeX92
  • Description: List the current Online Players
  • Usage: %javascript_onlinePlayerList_% (Default delimiter: ", ")
  • Example: %javascript_onlinePlayerList_|% - Outputs: "player1|player2|player3"

Javascript Code

onlinePlayerList.js

function onlinePlayerList() {
    var delimiter = ", ";
    if (args.length == 1 && args[0] != null) {
        delimiter = String(args[0]);
    }
    var onPlayersStr = "";
    var onPlayers = BukkitS...
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

thanks! it worked! the host I'm using is constantly sending /list to the console, so I wanted to take advantage of that to get the list of players and send it to the console chat in Discord, here's the alert if anyone looks for it:

  - Trigger: ServerCommandEvent
    Channel: console
    Conditions:
      - '#event.getCommand().equals("list")'
    Embed:
      Color: "#00ff00"
      Author:
        Name: 'Online players: ${#server.onlinePlayers.size()}'
      Description: ...
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?

I tried to do /ecloud download Vault

Expected Behaviour

won't download anything

How to Reproduce

anything

/papi dump Output

https://paste.helpch.at/yikakitiye

Console Log

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Added locale placeholders:
(existing placeholder) player_locale: en_US
player_locale_display_name: English (United States)
player_locale_short: en
player_locale_country: US

Several player flags often used in conditions:
player_is_flying
player_is_sneaking
player_is_sprinting
player_is_sleeping
player_is_inside_vehicle

Indentation fix in PlayerUtil class (misaligned)

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/ViaVersion-Expansion] New branch created: master
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: 1\.17
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?

08:36:13] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: servertime
[08:36:13] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.M...
#

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?

08:36:13] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: servertime
[08:36:13] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.M...
#
[PlaceholderAPI/Server-Expansion] New branch created: 1\.17
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] New branch created: 1\.17
still narwhalBOT
still narwhalBOT
#

ok so my server is using now Java16... idk if that has something to do... but now the scripts are not loading...

[06:10:14] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: math
[06:10:14] [Server thread/WARN]: [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder healthbar isn't initialized! Defaulting to global
[06:10:14] [Server thread/WARN]: [PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder: healthb...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

i thing this also effects other placeholders of this expansion in my case its the ping one

[22:35:51] [Craft Scheduler Thread - 88/WARN]: java.lang.NoSuchFieldException: ping
[22:35:51] [Craft Scheduler Thread - 88/WARN]:  at java.base/java.lang.Class.getDeclaredField(Class.java:2549)
[22:35:51] [Craft Scheduler Thread - 88/WARN]:  at com.extendedclip.papi.expansion.player.PlayerUtil$1.cacheReflection(PlayerUtil.java:88)
[22:35:51] [Craft Scheduler Thread - 88/WARN]:  at com.exte...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

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

Type

New config option

Description

We have released a new version of LevelledMobs and it now utilizes PAPI.
We'd like to have LevelledMobs be added to the wiki that lists are supported plugins: https://github.com/HelpChat/PlaceholderAPI/wiki/Plugins-using-PlaceholderAPI

LevelledMobs: https://...

#

Hello @stumper66,

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

still narwhalBOT
#

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
#

Hey there,

I'm trying to create a DeluxeMenus shop using the following:

  'cobblestone':
    material: COBBLESTONE
    amount: 64
    slot: 0
    display_name: '&3Cobblestone'
    lore:
    - ''
    - '&7Buy price: &a$500&7. (Left-click)'
    - '&7Sell price: &c$75&7. (Right-click)'
    left_click_commands:
    - '[console] eco take %player_name% 500'
    - '[console] give %player_name% COBBLESTONE 64'
    - '[message] &7You bought 64 x cobblestone for $500.'
    left_...
still narwhalBOT
#

Hi.

Have an bug after install the expansion: player on my 1.17 server
Console output

[18:33:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: mvdw
[18:33:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[18:33:35] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.MinecraftServer
[18:33:35] [Server thread/WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:...

#

The dev build of PAPI, expansion: player and expansion: server works fine.

[18:48:59] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[18:48:59] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[18:48:59] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: servertime

sp thx

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] branch deleted: 1\.17
#
[PlaceholderAPI/Server-Expansion] branch deleted: 1\.17
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?

On starting the server the PAPI update which hasn't been fully upgraded to 1.17 yet is spitting out an issue with either an ecloud ext. or something internal that requires a code fix. I simply can't ...

still narwhalBOT
#
[11:37:50] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: multiverse
[11:37:50] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: checkitem
[11:37:50] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: jobs
[11:37:50] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[11:37:50] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: tntrun
[11:37:50] [Server thr...
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

URLClassLoaders created for expansions were automatically closed earlier due to being declared with try-with-resource, this meant that expansions couldnt access their resources without weird workarounds.
Moved it out of try-with-resources and closed the ClassLoader specifically onl...

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

Problem statement
Many code duplication and inconsistencies occur with various generic placeholders. A common example is a Bukkit location that returns an X,Y,Z,Pitch,Yaw,Roll value. Currently, expansions have to create a placeholder for every _x, _y, _z variant of the placeholder. Similar issues can appear with other default Bukkit types such as Players, etc...

Goal
The goal is to create type handlers that convert a one placeholder type to many (string) placeholders. This will...

#

The placeholders themself that are suggested come from the eCloud to my knowledge.

The expansion itself receives a method call (i.e. onRequest(OfflinePlayer, String)) with a String representing anything after the first _
PAPI itself doesn't really care about how many arguments/variables there are. It only checks if the first part is a valid key and forwards everything else to the expansion in question to handle.

It's the expansion's job to validate the full placeholder pattern, which it d...

#

The placeholders themself that are suggested come from the eCloud to my knowledge.

The expansion itself receives a method call (i.e. onRequest(OfflinePlayer, String)) with a String representing anything after the first _
PAPI itself doesn't really care about how many arguments/variables there are. It only checks if the first part is a valid key and forwards everything else to the expansion in question to handle.

It's the expansion's job to validate the full placeholder pa...

#

The placeholders themself that are suggested come from the eCloud to my knowledge.

The expansion itself receives a method call (i.e. onRequest(OfflinePlayer, String)) with a String representing anything after the first _
PAPI itself doesn't really care about how many arguments/variables there are. It only checks if the first part is a valid key and forwards everything else to the expansion in question to handle.

It's the expansion's job to validate the full placeholder pa...

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

Add wiki about setRelationalPlaceholders(Player one, Player two, String text);
I don't know how to use it, so I can't submit pull request.

Code Example

No response

Jar file

No response

Additional Information

_No...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki\-rework\-placeholderexpansion\-page
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki\-rework\-placeholderexpansion\-page
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/wiki\-rework\-placeholderexpansion\-page
#

Pull Request

Type

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

Description

Closes #653

I reworked the entirety of the PlaceholderExpansion page as I wasn't happy with the way it was structured.
Any feedback (Even those for grammar) would be appreciated.

I will merge this once either @Funny-cube or @PiggyPiglet give their OK on this.

[...

still narwhalBOT
#

Quite a few wording errors,

L61 Through this method can you set the name -> Through this method you can set the name
L68 which means it doesn't has to be -> which means it doesn't have to be
L69 part of a plugin does this not really matter. -> part of another plugin does this does not really matter.
L84 don't need much more to properly work. - Suggest rewording, eg don't require any additional plugins to function.
L85 Needs rewording, eg. `These expansions have the foll...

#

No idea how the suggestion thing works, don't use GitHub to often.

"Mark" the Line(s) you want to have changed (click the Blue scare with white plus (click and drag for multi-line selection) and in the opening text field, click that file icon.

It would now print a code block with suggestion as highlighting. In that code block, change the text to what you want it to be and finally click "Start a Review".
![image](https://user-images.githubusercontent.com/11576465/123719754-9f9ac300-...

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

Fixes an issue with the version checker not working correctly for 10, since it parses trailing zeroes as non-existent.
Clarifies the source of an error where the getAuthor() method of an expansion returns null. It now shows which expansion it came from.
Cleans up and updates th...

still narwhalBOT
#

Pull Request

Type

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

Description

Fixes an issue with the version checker not working correctly for 10, since it parses trailing zeroes as non-existent.
Clarifies the source of an error where the getAuthor() method of an expansion returns null. It now shows which expansion it came from.
Cleans up and updates th...

still narwhalBOT
still narwhalBOT
mint valveBOT
#

Build: 124
Status: success

Changes:

  • 5dbbe0 Remove deprecated issue_body type - noreply
  • 91af12 Update feature_request.yml - noreply
  • d14f31 Improve description of bug_report.yml - noreply
  • 71b543 Initial 1.17 Changes - admin
  • 438a66 add render - noreply

Artifacts:

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/report\-command
still narwhalBOT
mint valveBOT
#

Build: 125
Status: failure

Changes:

  • 5bca9d Remove Gson - noreply
  • c64946 Implemented working version for 1.8.8 - 1.16.3 - admin
  • 0e56ea should it use setBracketPlaceholders?? - noreply
  • d0e62e Update Copyright - 11576465+Andre601
  • 4e8b1b Re-add removed code - 11576465+Andre601
  • 412755 Undo renaming of boolean - 11576465+Andre601
  • 748b9f Build jars on PR (Compile and build validation) - noreply
  • 09e68e Extracted URLClassLoader out of try-with-resources block - vaishnavanil7th
  • df8583 Close URLClassLoader if Expansion class was not found - vaishnavanil7th
  • 4c4b16 Build against Java 8, 11 and 16 - noreply
  • af268c adoPt - noreply
  • 4c968f Cleanup build.gradle - iamstarmism
  • 0c102a Remove the @NotNull's because they are overridden by expansion devs anyways, and it turns out people can make them null anyways. This adds a hashcode check and pretty error for it. - iamstarmism
  • 14d885 Fix version checker to compare the individual semver numbers instead of combining it together. - iamstarmism
  • ac9b0c Update src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java - iamstarmism
  • 679ef9 Re-add NotNull's - iamstarmism
  • 252802 Removed nullcheck from hashcode, and moved it up the chain. - iamstarmism
  • 94bf5f POJO to help with checking that expansions have all required methods implemented. - iamstarmism
  • 9b6b55 Add method implementation checking and nullchecking for fields. - iamstarmism
  • c4a225 Appease the Pigman - iamstarmism

Artifacts:

No artifacts saved.

still narwhalBOT
mint valveBOT
#

Build: 126
Status: failure

Changes:

  • ead63c Revert build.gradle dependencies change - noreply

Artifacts:

No artifacts saved.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Server: This server is running Purpur version git-Purpur-1236 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) (Git: c0244ec on HEAD)

PI Version: PlaceholderAPI (2.10.9)

Stack Trace:
[pool-42-thread-2/FATAL]: Thread pool-42-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.jar:git-Purpur-1236]
at net.minecraft.server.level.ServerLevel.getEntities...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

%vault_eco_balance%
%vault_eco_balance_commas%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
Except for these few, other economic variables cannot be used. All returned are 0. No matter how to fill in, the following is the variable that returns 0 for whatever value is filled.
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%

#

You can try using them if you download version 1.5.2 of this expansion. You also have to enable a config setting since they tend to cause a lot of lag.

We are currently working on placing these placeholders into the Essentials expansion since Essentials provides a very nice and performant interface to work with, the placeholders were laggy anyways, and since these placeholders only worked with the Essentials economy anyways.

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

expansion errors on new 1.17.1 MC

java.lang.Throwable: null
	at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Airplane-43]
	at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2366) ~[?:?]
	at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getEntities(CraftWorld.java:1172) ~[patched_1.17.1.jar:git-Airplane-43...
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
  • Add contributing and expansion section

  • Start using new Issue template system

  • Create bug_report.yml

  • Rename feature_request.md to feature_request_old.md

  • Create feature_request.yml

  • fix unique name

  • Update feature_request_old.md

  • Add Checkboxes

  • Add checkboxes

  • disable default issue body

  • Delete bug_report_old.md

  • Delete feature_request_old.md

  • Rename bug_report_new.yml to bug_report.yml

  • Check if deleting this fixed the PR...

  • Use de...

still narwhalBOT
mint valveBOT
#
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New tag created: 2\.10\.10
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Gradle-Template-Expansion] New branch created: master
#
[PlaceholderAPI/ScoreboardTags-Expansion] New branch created: master
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?

I have a multiple text block that always gets some lowercase letters after parsing it with PlaceholderAPI#setPlaceholders(Player, String).

At first, I thought it is something with the way how it is processed before ...

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

Pull Request

Type

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

Description

There seems to be an issue with PAPI lowercasing text when it contains % which triggers the CharReplacer and results in it returning a lowercase text for when the Placeholder Pattern isn't matched.

See these lines:
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/4...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: wiki/add\-oremarket
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: wiki/add\-oremarket
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

On the list of placeholders, the math expansion only has examples for specifying neither of the two options or specifying both. Whereas a much more common use-case involves only specifying precision and omitting rounding, yet there are no examples for that. I see ...

still narwhalBOT
#

[16:42:39] [Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class USkyBlockExpansion - One of its properties is null which is not allowed!
[16:42:39] [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.register(LocalExpansionManager.java:166) ~[?:?]
at java.util.stream.Refe...

#

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

On the list of placeholders, the math expansion only has examples for specifying neither of the two options or specifying both. Whereas a much more common use-case involves only specifying precision and omitting rounding, yet there are no examples for that. I see ...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

That example get rely confusing, specially when they has remove rounding: 5 to something like this math_5 .

I has to check my old math placeholders to se how i has set up rounding, it has be more confusing an the old method (i know he probably have to change that to get it some new added thing to work).

I will say is not only math but other has made it pretty unclear how to build the placeholders (I know is hard to explain it so all understand).

still narwhalBOT
still narwhalBOT
#

https://paste.helpch.at/fayozidove

im using the 2 placeholders in my tab
here is the error that is spamming the console:
`[22:16:25 FATAL]: Thread pool-25-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Purpur-1287]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2360) ~[?:?]
at org.bukkit.craftbukkit...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/wiki\-rework\-placeholderexpansion\-page
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/wiki\-update\-nav
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/wiki\-update\-nav
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?

[08:46:45] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b${env.TRAVIS_BUILD_NUMBER} which is not a depend, softdepend or loadbefore of this plugin.

Exp...

#

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
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/add\-logging\-options
#

Pull Request

Type

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

Description

Exposes some void methods within the PlaceholderExpansion class that allows expansions to log any messages to the console by simply calling this.log(Level, String) or one of the convenience methods.

I only focused on the bare minimum methods that have a String and didn't...

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?

When trying to simply install expansion. I only get the confirmation saying to reload ecloud.

Say I do /papi ecloud download Vault
It will say "Success now use /papi reload"
I use /papi reload, ...

still narwhalBOT
#

Hi, so i had no issue till yesterday.

Variant 1 (manually downloading PAPI-Expansion-Javascript_SVElopI.jar):

After restarting server error1 shows in console and placeholders doesnt work. I have to manually /papi reload it.

Variant 2 (downloading /papi ecloud download javascript):

After restarting server all placehodlers work exept javascript, There is no error in console. I have configured all files correctly it was normally working but it just stopped for no reason.

Variant ...

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

It would be extremely kind if you could add my plugin ZCoins as a placeholder. The coins can be stored in the given MySQL database. What would you need to add it

Code Example

No response

Jar file

N/A

Additional Information

No response

#

Hello @Zukinis,

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

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

Expension player cannot work when i use
Papi ecloud download Player
and papi reload
i have a error.

Expected Behaviour

Placeholder don't work

How to Reproduce

Use the latest version au PAPI
try to inst...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Essentials-Expansion] New branch created: baltop
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[01:17:24 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-140 (MC: 1.17.1) ---
[01:17:24 ERROR]: The server has not responded for 35 seconds! Creating thread dump
[01:17:24 ERROR]: ------------------------------
[01:17:24 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[01:17:24 ERROR]: ------------------------------
[01:17:24 ERROR]: Current Thread: Server thread
[01:17:24 ERROR]: 	PID: 37 | Suspended: false | Nati...
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 loading all plugins, the PAPI occurs an error:
[14:03:27 ERROR]: Could not load 'plugins\PlaceholderAPI-2.10.10.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: or...

#

What does modified Spigot fork even mean?
This is official release of spigot as seen here https://getbukkit.org/download/spigot

This is not an official release. As Piggy mentioned does Spigot only offer downloads through their BuildTools and sites such as getBukkit are not part of them, nor do Spigot staff support downloading jars from there.
In fact, what getBukkit does is going against Mojangs terms as the redistribution of modified jars, which Spigot is, is not allowed.

#

What does modified Spigot fork even mean?
This is official release of spigot as seen here https://getbukkit.org/download/spigot

This is not an official release. As Piggy mentioned does Spigot only offer downloads through their BuildTools and sites such as getBukkit are not part of them, nor do Spigot staff support downloading jars from there.
In fact, what getBukkit does is going against Mojangs terms as the redistribution of modified jars, which Spigot is, is not allowed.
...

still narwhalBOT
#

Also, Placeholder API does relocate BStats into its own classpath which means it should be provided with PlaceholderAPI itself and work without any issues here.
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/6348c88c6f4367679fdd3042c4467f386a34d6df/build.gradle#L66

The error itself doesn't even point to any classes within PlaceholderAPI, so I honestly doubt that PlaceholderAPI is at fault here and instead something else messes stuff up.

Could you please share your startup log wi...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Sound-Expansion] New branch created: master
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Adds a bunch of improvements from which one is the move to a proper Maven project...

  • Made volume and pitch float numbers instead of integers (fixes #1)
  • Updated the readme with placeholder info
  • Created a pom.xml and populated it with necessary stuff
  • Created a .gitignore to ignore the .settings, .idea and bin folder alongside PlaceholderAPI-Expansion-Sound.iml (Why are they even included?)
  • QoL code improvements (Removed pointless overrides, added missing Nonnull annotat...
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: java\-version\-dump
still narwhalBOT
still narwhalBOT
#

Paper has had an API to obtain the TPS for a long time now. Accessing TPS values appears to be the only place in which Server-Expansion relies on server internals.

Server-Expansion should use Paper's TPS API where it exists, and fallback to reflection for servers running without the method.

Doing so would mean Server-Expansion is not liable to break in the case of changes to server internals. A recent example is 1.17. Generally, it is much better for plugin software not to rely on inter...

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?

Console Error on startup
https://nekobin.com/zesixuwece

Expected Behaviour

No errors

How to Reproduce

I am not sure

/papi dump Output

https://paste.helpch.at/afijeholey

Console Log

No response...

still narwhalBOT
#

Hello @LucidAPs,

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

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


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

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

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?

Every minute or so, the plugin outputs this in the console

[21:24:19 WARN]: [PlaceholderAPI] Task #155960 for PlaceholderAPI v2.10.10 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException...

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

When placeholders are replaced while parsing a placeholder, they are not translated into string form properly. If the placeholder contains " at all, the script will break. For example, in this case the user can set whatever AFK message they want: ```afk = "%cmi_user_afk_msg%";

function formatAFK() {
return afk == "" ? "" : ": " + afk;
}

formatAFK();``` but if they set it to " the script errors and points to an unclosed quote on the first line.
A solution to this would be to eit...

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?

I want to download default placeholders with /papi ecloud download Server and /papi reload
I receive an error in console (screenshot below)

![129531032-afa19d20-9a6e-477f-bd09-32417116638a](https://user-images.githubu...

#

Hello @hadouken-a,

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

[14:18:38 WARN]: [PlaceholderAPI] Task #1704 for PlaceholderAPI v2.10.10 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:482) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1128)...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Confirmation

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

Type

New config option

Description

Removal or togglability of debug messages in the console, for example:

[11:34:34 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[11:34:34 WARN]: [PlaceholderAPI] [Math] Placeholder: %m...
still narwhalBOT
#

Hello @TheJoshue,

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
#

Again, this is not a PlaceholderAPI issue and therefore doesn't belong here.
And the fact this warning shows up is a clear indicator that there is something wrong with your placeholder.

You return a invalid math expression and this is the result, so better fix this issue rather than asking us to hide clear warnings.

https://github.com/Andre601/Math-Expansion/blob/master/src/main/java/com/andre601/mathexpansion/MathExpansion.java#L118-L120

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/change\-wiki\-action
#

Pull Request

Type

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

Description

Closes N/A

Updates the Wiki Workflow to use https://github.com/Andrew-Chen-Wang/github-wiki-action instead. This action seems to not require a personal access token and instead can work with the normal GitHub token.

To my knowledge does it also allow pushing folders ...

still narwhalBOT
still narwhalBOT
#
[06:34:17 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[06:34:17 INFO]: [PlaceholderAPI] Fetching available expansion information...
[06:34:17 ERROR]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!
[06:34:17 ERROR]: [PlaceholderAPI] 
 java.lang.NullPointerException: The expansion version is null!
	at java.util.Objects.requireNonNull(Objects.java:228) ~[?:1.8.0_252]
	at me.clip.placeh...
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 stop my mc server

[10:21:08 ERROR]: Nag author: 'HelpChat' of 'PlaceholderAPI' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw e...

still narwhalBOT
still narwhalBOT
#

@totoacee please don't revive 2 years old issues. Anyways. I've noticed this behavior lately and its nothing to do with Statistic expansion. If it parses, it works. The problem is your statistics not being stored. And I've noticed that lately people on purpur can't track the statistics. Also I've noticed that some server software allows you to disable/enable the statistics in their configuration files. So please go check those out and if you can't figure it out yet please go to your server so...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Extensions require java16, but I don’t need to use 16 at the moment, or 16 has no js function, I don’t really want to use it, and I don’t know if some plugins support 16

It requires java 15+ and if you really can't or don't want to update, you can do what gaby said. We do not support old versions anymore. The reason updates are made is to fix bugs and improve stuff. If you're willing to stay on java 8 then I'm afraid you'll have to also stay with that bug.

Also I am almost certain tha...

#

Hello,

These placeholders were removed in versions newer of the expansion that 1.5.2. This was due to them producing a lot of lag.

Now. You have 2 options:

  • You either downgrade to the Vault-Expansion 1.5.2, and go to plugins/PlaceholderAPIconfig.yml and enable: expansions.vault.baltop.enabled

  • Or you go to our discord server: discord.gg/helpchat in the #placeholder-api channel and download the development builds for the Essentials Expansion. The placeholders required for balt...

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/change\-wiki\-action
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The issue is this line here: https://github.com/xknat/Example-Expansion/blob/patch-1/src/main/java/com/extendedclip/expansions/example/ExampleExpansion.java#L12

Again: Just replacing VERSION with ${project.version} won't solve anything. You would only replace one issue with another one. The only difference would now be, that the version would always be ${project.version}

The better solution would be to modify the pom.xml in the following way:

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

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.

This int...

still narwhalBOT
#

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

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

Hello!
I want my plugin on the list of plugins supporting it.

Plugins using PlaceholderAPI:

  • OpEconomy
    • [x] Supports placeholders.
    • [x] Provides own placeholders. Link

Plugin placeholders:

...

still narwhalBOT
#

Hello @ThisKarolGajda,

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

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

The server and the PlaceholderAPI plugin works normally, but the console is getting spammed with errors about a Number Format Exception for %statistic_seconds_played%. It's makes it very difficult to read the console and ...

#

Hello my friend. This has nothing to do with PlaceholderAPI.

It has to do with the Statistic expansion and HoloExtension plugin aka Holographic Placeholders.
My assumption is that you made a leaderboard or at least attempted to make one with the %statistic_seconds_played% placeholder and now you don't have the statistic expansion installed anymore. so:
Either install the statistic expansion:
/papi ecloud download statistic
/papi reload
Or disable the leaderboard from the Holograph...

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

https://github.com/PlaceholderAPI/Vault-Expansion/blob/ed65d8ee9befdf021083dfeaaa46bbde6299dcab/src/main/java/com/extendedclip/papi/expansion/vault/VaultEcoHook.java#L116-L119

This code makes the placeholder only work if there's a player, even though none of the top_ placeholders actually require a player.

This is obviously a bug, and makes Vault eco top placeholders unavailable in global contexts.

The solution, of course: move the null check down to only include balance / other ...

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?

When i start the server Will show this. I don’t know if this is an error.

Expected Behaviour

Where is the problem, or ignore this error report

How to Reproduce

1 PlaceholderAPI 2.10.10 +playerpoints 3.03 + ESS...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/log\-expansio\-version
#

Pull Request

Type

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

Description

The Successfully registered expansion: message now contains the version of the expansion which should help in debugging possible issues.

In addition have the following changes also been made:

  • The message informing about registered expansions is now always ` place...
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?

I downloaded an expansion trough papi ecloud and It downloads but it gives an error when reloading and with that it doesnt work...

Expected Behaviour

Download the expansion ( which does ) and placeholders start work...