#papi-updates

1 messages ยท Page 11 of 1

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I used placeholder "% statistic_time_played%" and unfortunately it charges days incorrectly. He gives me 1 day and 43 hours when he should have already counted the second day.

My Plugins:
Plugins (48): Announcements*, ArmorStandEditor, AuthMe, Citizens, CoreProtect, CraftBook, Cubesurvstats, DeadChest, DiscordSRV, dynmap*, EasyWhitelist*, Essentials, EssentialsChat, EssentialsSpawn, F3Name, FastLogin, HolographicDisplays, IllegalStack, LiquidTanks, LuckPerms, LWC, LWCTrust, MC-AnvilColors...

#

Hello @Andre601,

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.

This is an automated response created by a GitHub-Action. Responding to or mentioning this bot has no effect!

#

I used placeholder "%statistic_time_played%" and unfortunately it charges days incorrectly. He gives me 1 day and 43 hours when he should have already counted the second day.

My Plugins:
Plugins (48): Announcements*, ArmorStandEditor, AuthMe, Citizens, CoreProtect, CraftBook, Cubesurvstats, DeadChest, DiscordSRV, dynmap*, EasyWhitelist*, Essentials, EssentialsChat, EssentialsSpawn, F3Name, FastLogin, HolographicDisplays, IllegalStack, LiquidTanks, LuckPerms, LWC, LWCTrust, MC-AnvilColors*...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Server-Expansion] New branch created: 3\.0\.0
#
[PlaceholderAPI/Player-Expansion] New branch created: 3\.0\.0
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Statistics-Expansion] New branch created: 3\.0\.0
still narwhalBOT
still narwhalBOT
still narwhalBOT
mint valveBOT
#

Build: 109
Status: success

Changes:

  • 5e4110 Remove outdated Statistic information - noreply
  • 97a4ec Add back Statistic link - noreply
  • f3309b Adding Label commenter - noreply
  • 58cfa9 Add label-commenter-config.yml - noreply
  • 41f408 Update label-commenter-config.yml - noreply
  • cfba92 Add missing info about automated response. - noreply
  • 61a71b Add info about target branch. - noreply
  • 3fe0f0 Add note about wiki PRs - noreply
  • d5e272 Fix wrong link - noreply
  • 7691dd Add and improve responses - noreply
  • 325cd2 Added support for 1.16.2 NMS changes - admin

Artifacts:

still narwhalBOT
#

Bug Report

Issue

The newest placeholderapi.jar on 1.16.2 now breaks more fish.

PlaceholderAPI-2.10.7-DEV.jar works. But if i update to anything above this then Morefsh does not load. For example 2.10.7 2.10.8 and 2.10.9 break the plugin.

Is there any chance that we can support for older placeholder hooks? The dev of Morefish has been inactive for around 2 years.

Expected behaviour

Actual behaviour

How to reproduce

/papi dump ...

still narwhalBOT
#

[14:02:10] [Server thread/ERROR]: Error occurred while enabling MoreFish v3.0.2 (Is it up to date?)
java.lang.NoClassDefFoundError: me/clip/placeholderapi/external/EZPlaceholderHook
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_202]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_202]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_202]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:167) ~[patched_...

still narwhalBOT
still narwhalBOT
#

Hello @Andre601,

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.

This is an automated response created by a GitHub-Action. Responding to or mentioning this bot has no effect!

Please can you link me on where to do this as im not sure,
Thank you.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Type

  • [x] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [ ] Placeholder(s) changed.
    An already listed expansion/plugin has new placeholders or old ones have changed.
  • [ ] Plugin/Expansion no longer supports PlaceholderAPI and/or was deleted.
  • [ ] Other: __________

Info

I recently added custom placeholders to one of my own plugins: SimpleCoins.

A list can be f...

still narwhalBOT
#

Bug Report

Issue

When using the command "/papi info " the tab complete method correctly lists all identifiers however executing the command does a check against PlaceholderExpansion.getName() instead of against PlaceholderExpansion.getIdentifier().

This problem isn't noticeable when the placeholders name is the same as the identifier but can be seen when trying to use with a placeholder where the name is different, in my case, using my own placeholder "ScoreboardObjectives" (nam...

still narwhalBOT
#

Hello @Andre601,

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:

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in the...
still narwhalBOT
still narwhalBOT
#

Hello @Andre601,

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:

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in the...
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/468\-add\-SimpleCoins
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/468\-add\-SimpleCoins
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/470\-add\-BetonQuest
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/470\-add\-BetonQuest
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/469
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hey, I decided to take a hunt on CPU usage and I noticed since several days, from an empty server to 10 players (no heavy activity involved/expected) using nearly 8-11% (~60-80% on a single core, on a 4C/8T system) by using the expansion Vault.

The server has like 10K of unique players and I diagnosed by deleting (I did a backup FIRST) all playerdata and I noticed CPU usage going down to 0-2% idling and under 10 players ~5-8% (assuming no heavy activity).

I removed the Expansion-Vault t...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @JHarris12345,

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.

This is an automated response created by a GitHub-Action. Responding to or mentioning this bot has no effect!

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/eCloud-API] New branch created: thymeleaf\-continued
still narwhalBOT
#
[PlaceholderAPI/eCloud-API] New branch created: thymeleaf\-continuation
#
[PlaceholderAPI/eCloud-API] branch deleted: thymeleaf\-continued
still narwhalBOT
#

Bug Report

Issue

PlaceholderAPI includes, and relocates, its own Gson. PAPI also includes, and relocates, bstats-bukkit.

bStats uses Gson to collect plugin data. It uses reflection to invoke other metrics instances' getPluginData methods then instanceof checks these based on JsonObject.

https://github.com/Bastian/bStats-Metrics/blob/ed06bb68cc180e108546e686e7b5124cde20cd5d/bstats-bukkit/src/main/java/org/bstats/bukkit/Metrics.java#L282

However, due to PAPI's relocation...

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

Bug Report

Issue

%player_ping% doesn't work with TabListPro and outputs empty/

Expected behaviour

It should output ping for player that open Tab.

Actual behaviour

It outputs empty spot in place where used.

How to reproduce

  1. Use TabListPro
  2. Use %player_ping% or %player_colored_ping% in TabList config file
    3, Open Tab list in game
    ![ะกะฝะธะผะพะบ ัะบั€ะฐะฝะฐ (168)](https://user-images.githubusercontent.com/50212538/93642215-5cafe300-fa06-11ea-9cef-72c4d...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

Type

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

Description

I'm trying to automate plugin updating on my servers by creating a script that wget's all the latest builds of plugins, and It would b...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Statistics-Expansion] New branch created: iGabyTM\-patch\-1
mint valveBOT
still narwhalBOT
#
[PlaceholderAPI/Statistics-Expansion] branch deleted: iGabyTM\-patch\-1
still narwhalBOT
still narwhalBOT
#

I download BungeeCordExpansion , but it is a null

[21:51:54] [Server thread/INFO]: Light_Explorer issued server command: /papi ecloud download Bungee
[21:51:54] [ForkJoinPool.commonPool-worker-0/INFO]: [PlaceholderAPI] Fetching available expansion information...
[21:52:13] [Server thread/INFO]: Light_Explorer issued server command: /papi reload
[21:52:13] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[21:52:13] [Server thread/INFO]: [Pla...
still narwhalBOT
#

Type

  • [x] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [ ] Placeholder(s) changed.
    An already listed expansion/plugin has new placeholders or old ones have changed.
  • [ ] Plugin/Expansion no longer supports PlaceholderAPI and/or was deleted.
  • [ ] Other: __________

Description

I recently added custom placeholders to one of my own plugins: AlonsoLevels.

A list ca...

still narwhalBOT
#

Hello @HMJosh,

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:

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in the w...
#

Hello @AlonsoAliaga,

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:

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in...
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/update\-broken\-links
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fix/update\-broken\-links
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/481\-add\-plugins
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: feature/481\-add\-plugins
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/477\-remove\-gson
#

Pull Request

Type

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

Description

I made this PR now to finally get this rolling.
As described in #477 does PAPI have a chance of messing up bStats which may or may not break stats of all the other plugins that use bStats.
From what I gathered in the issue is the problem the relocated gson and the only reas...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Player-Expansion] branch deleted: fixes
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: change/improve\-wiki\-faq
still narwhalBOT
#

Bug Report

Issue

Whenever using the placeholder vault_prefix_color or vault_suffix_color it returns the last color code in a hex color code such as &x&f&f&4&2&3&f (this would return &f since it's the last color code).

Expected behaviour

It should return the valid hex color code.

Actual behaviour

It returns the last color code in a hex color code such as &x&f&f&4&2&3&f

How to reproduce

Just use the placeholder using /papi parse me %vault_pref...

still narwhalBOT
#

Hello @Butterness01,

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.

This is an automated response created by a GitHub-Action. Responding to or mentioning this bot has no effect!

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
#

I've already created an issue here and it was said that this was a PlaceholderAPI issue, not the expansion's. However, it seems to me that this is also this expansion's issue as seen in this method:
https://github.com/PlaceholderAPI/Vault-Expansion/blob/ed65d8ee9befdf021083dfeaaa46bbde6299dcab/src/main/java/com/extendedclip/papi/expansion/vault/VaultPermsHook.java#L230

Just wanted to notify you of this since I do actually use ...

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
#

Feature Request

Type

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

Description

when 2 regions intersect, then in the placeholder they constantly change in turn
![1111111111](https://user-images.githubusercontent.com/4552018...

still narwhalBOT
#

When 2 regions intersect, then in the placeholder they constantly change in turn
Logical to display a higher priority region, or they should be listed separated by commas
1111111111

example of placeholders:
%worldguard_region_name_priority% - the name of the priority region
%worldguard_region_names% - names of all regions in this position, separated by commas!

or fix `%worldg...

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

Hello @s7an1slaw,

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.

This is an automated response created by a GitHub-Action.
Responding to the bot or mentioning it won't have any effect!

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Can there also be an API method to check if expansions are loaded in case we "miss" the event? Such as when our plugin is reloaded and we need to check if expansions are loaded.

To check for a specific expansion:
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java#L204-L213

To get all currently loaded ones:
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/PlaceholderAPI...

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: 1\.16\.4
mint valveBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Installed plugins: (3)

EssentialsX-2.18.2.0
PlaceholderAPI-2.10.10-DEV-110
Vault-1.7.3

Environment:

Spigot 1.8.8

Description:

When you set yourself the amount "0.001" of money, it will display as "9.999999999999998E-4" when you parse the placeholder %vault_eco_balance%. Though the amount of money displays well when slashing "/money [name]".
https://i.imgur.com/eOBbhDS.png

How to reproduce:

1- Download Vault's PlaceholderAPI expansion.
2- Set your bal...

still narwhalBOT
still narwhalBOT
#

Feature Request

Type

Can you add a config option to define the /expansions directory? It's useful for a bungeecord system with more than one spigot server. So you down't need an update of all extensions separately.

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

Is for %statistic_walk_one_cm% get it in nice human reading format (need improvements, canยดt choose how many placeholders to display. but you can remove if you do not want to see cm and / or m ).

var cm = parseInt("%statistic_walk_one_cm%")
var type = args[0]

function format() {
  var m = parseInt(cm/100)
  var km = parseInt(m/1000)
  m = parseInt(m%1000)
  cm = parseInt(cm%100)
  return km + " km " + m + " m " + cm + " cm"
}

format()

And if you use cmi or similar...

still narwhalBOT
#

Bug Report

Issue

I installed the Statistic and LocalTime extension many times and reloaded PlaceholderAPI but %localtime_time% and %statistic_player_kills% do not work

Expected behaviour

It should say the local time and also how many kills the player has

Actual behaviour

It just says "%statistic_player_kills%" and "%localtime_time%"

How to reproduce

I am on 1.16.4 MC PaperMC server, no other plugins other than AnimatedSidebar where I use Placeholde...

still narwhalBOT
#

Are there any errors in the console?

My only guess here would be, that AnimatedSidebar doesn't hook into PlaceholderAPI properly.
Are you using this AnimatedSidebar plugin? If that's the case would I recommend switching to another plugin as this one is extremely bloated with useless crap no plugin should ever contain.

Some alternatives you could consider are:

still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/mention\-github\-discussions
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Feature Request

make it possible to actually read which potion player has (in clear command you need to type the potion).

Did not manage to get anything that can actually read if a vanilla command succeeds or not.

The name on a potion .

name: potion Material: POTION
Potion (string): Minecraft:long_fire_resistance

Spigot name long_fire_resistance

It is for not only sell potion , it is for buy this potions too.

  • [ ] New function for PlaceholderAPI.
    A new fun...
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

If it was reable way to detect you could buy it from players and even change lore if you have item or not.
Like this example, if you donยดt have the item you donยดt get sell part in the lore.

And the check item I use only work if you add a lore to the item and is not a good way to fix the problem.

<details>
<summary>example menu</summary>

  '1_no_potion':
    material: potion
    slot: 10
    priority: 8
    view_requirement:
      potion:
         type: string equals
   ...
still narwhalBOT
still narwhalBOT
#

If it was reable way to detect you could buy it from players and even change lore if you have item or not.
Like this example, if you donยดt have the item you donยดt get sell part in the lore.

The name on a example potion ingame.

name: potion Material: POTION
Potion (string): Minecraft:long_fire_resistance

Spigot name long_fire_resistance

And the check item I use only work if you add a lore to the item and is not a good way to fix the problem, has try all metods and even java scri...

still narwhalBOT
still narwhalBOT
still narwhalBOT
mint valveBOT
#

Build: 112
Status: success

Changes:

  • b521fe Update Contributing file - noreply
  • fbdd78 Create CODE_OF_CONDUCT.md - noreply
  • d12c74 Improve content - noreply
  • c76bae Update CONTRIBUTING.md - noreply
  • e3d718 Fix typos and more info - noreply
  • 19a80c Do some changes - noreply
  • ec9d62 on their? Sounds better imo - noreply
  • d1e304 Update CONTRIBUTING.md - noreply
  • 7555bb Update .github/CONTRIBUTING.md - noreply
  • 18cfd4 Update .github/CONTRIBUTING.md - noreply
  • 0d9485 Add action for inactive issues. - noreply
  • 93e83e Rename label - noreply
  • dcca45 Mention GitHub Discussions in Template chooser - noreply
  • 9c750f Add Type:Question label - noreply
  • f756fb Update label-commenter-config.yml - noreply
  • 6b03c3 Update label commenter action - noreply

Artifacts:

mint valveBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/javadoc\-build\-errors
mint valveBOT
still narwhalBOT
mint valveBOT
mint valveBOT
still narwhalBOT
still narwhalBOT
mint valveBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: dont\-fail\-on\-error
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I see some issue how new system around potiontype work, you have to use a "workaround" for get it detect 3 min.

You have to use %checkitem_potionextended_potiontype:FIRE_RESISTANCE,amt:1% and on some even %checkitem_potionupgraded_potiontype:JUMP,amt:1,inhand% and set it to no, the side effect is player can not have other potion inventory or i have to use inhand.

So I donยดt know if it work have this check %checkitem_potionnormal_potiontype:FIRE_RESISTANCE% for potion some not have po...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

He fix the problem it is now potionextended:true/false , potionupgraded:true/false.

If you set it like this %checkitem_potiontype:NIGHT_VISION,amt:1,mat:potion,potionextended:false,potionupgraded:false% is say only yes if you have 3:00 potion of type NIGHT_VISION (is not care if you have other bottles or splash/lingering, it for I use mat:potion), if you use this below:

%checkitem_potiontype:NIGHT_VISION,amt:1,mat:potion,potionextended:true,potionupgraded:false% It only give yes if you ...

#

If you set up placeholders wrongly, it spit out a error some is hard too read (I know is wrong,but I have set it wrong on purpose).

%checkitem_give_potiontype:NIGHT_VISION,amt:1,mat:potion,potionextended:false,potionupgraded:true%
https://pastebin.com/stTTqbpS
%checkitem_give_potiontype:SPEED,amt:1,mat:potion,potionextended:true,potionupgraded:true%
https://pastebin.com/KqZY4APp

Has some other issues, I donยดt know if I shall start new issue. But i not get this placeholder for some re...

#

Before I forget, otherwise giving seems to work.

Maybe add lore (if possible), so maybe you can add your own text to the item (no need, but fun thing if possible)?

May also consider, how to apply this check in practice, because it comes with certain problems, if you have it as a requirement, it will be a problem if you have several requirements and this is first (then it gives the item first before it checks the rest).

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

Sry Iยดm not update you fast, has some other things too do :)

So I get bottom of this problem, seems to be as I said the famous bug where one in creative (seems to be mostly getting the error), where one gets gost block some cause this.

When I was in surval, the error was solved when I put things in them affected the slots, so I got two items that were missing. Is a really old version and probably the bug is more noticeable here.

still narwhalBOT
#

I will give you more info tomorrow, but I can give you this this is what happen when you donยดt have money, if your placeholder is first it give you the item first and check next requirement after (so you can get free items). I donยดt know if this can be fix, it is way for example blizzz not recommend remove_ in requirement (he want more bulletproof, some he recommend to others).

https://youtu.be/Vw9rKUU1rJE

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

Bug Report

Issue

Expansions are not successfully registered after downloading using papi ecloud download .

Expected behaviour

PAPI should download, prompt to reload, and register the expansion after reloading.

Actual behaviour

PAPI downloads the expansion, prompts to reload, but throws null pointer exceptions when reloading.

[PlaceholderAPI] Task #619 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: null
at me.clip.pla...

still narwhalBOT
#

Hey there.

Please use the paste-service (https://paste.helpch.at) next time for sharing stacktraces. I gone ahead and quickly did this for you.

About your issue: Usually the name of the expansion-jar doesn't matter as the plugin will just go through the expansions-folder and try to load each jar in it.
The name/identifier that was set within the jar's code and the fact that the jar's main class should extend the PlaceholderExpansion is more important.

Did you try out the latest dev-...

still narwhalBOT
#

Hey there.

Please use the paste-service (https://paste.helpch.at) next time for sharing stacktraces. I gone ahead and quickly did this for you.

About your issue: Usually the name of the expansion-jar doesn't matter as the plugin will just go through the expansions-folder and try to load each jar in it.
The name/identifier that was set within the jar's code and the fact that the jar's main class should extend the PlaceholderExpansion is more important.

Did you try out...

still narwhalBOT
still narwhalBOT
#

Okay. From your first link can I already see a few minor issues:

  • [17:52:39 WARN]: [PlaceholderAPI] listplayers is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
    The Listplayers expansion is using outdated methods to register itself which isn't supported anymore, so contact the author of it to inform them about the requirement of updating the expansion.
  • mcmmo has been registered twice... This is odd and shouldn't happen. Perhaps one is an...
still narwhalBOT
still narwhalBOT
#
  • [17:52:39 WARN]: [PlaceholderAPI] listplayers is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
  The Listplayers expansion is using outdated methods to register itself which isn't supported anymore, so contact the author of it to inform them about the requirement of updating the expansion.

I will use the world expansion instead. It seems to offer the same placeholders and a few more, so not having ListPlayers is fine. I can't find ...

still narwhalBOT
#

Really odd...
The error is pointing to line 343 in the LocalExpansionManager which is this one here if I use the right version of it:
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/51844cd291bcac0b2a8c6b797e51eaefbac8e916/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java#L343

So it could be an issue with the Logging at that point.
Could you try it out with the latest dev build and give me the error from that one, so that I can check the actual code...

still narwhalBOT
#

Feature Request

Type

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

Description

The current logging seems a bit odd to me.
For example is here an example of the register method in the LocalExpansionManager:
https://...

still narwhalBOT
still narwhalBOT
#

Really odd...
The error is pointing to line 343 in the LocalExpansionManager which is this one here if I use the right version of it:

https://github.com/PlaceholderAPI/PlaceholderAPI/blob/51844cd291bcac0b2a8c6b797e51eaefbac8e916/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java#L343

So it could be an issue with the Logging at that point.
Could you try it out with the latest dev build and give me the error from that one, so that I can check...

still narwhalBOT
#

Hello @NicBOMB,

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.


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

<div align="right"><a href="https://github.com/PlaceholderAPI/PlaceholderAPI/actions/runs/447426684">Log</a> | <a hre...

#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/515\-improve\-logging
#

Pull Request

Type

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

Description

Closes #515
Closes #516

When an expansion doesn't contain any class files (Being it malformed download or broken build) will PlaceholderAPI throw an exception when it attempts to log the failed loading of an expansion, essentially breaking the logging. Please see #515 f...

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

Hello! I'm getting this error in console every time. I have installed just one expansion on the lobby server (Bungee expansion).

[WARN] [PlaceholderAPI] failed to download expansion information
java.util.concurrent.CompletionException: java.net.ConnectException: Connection timed out (Connection timed out)
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:174) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(Compl...

still narwhalBOT
still narwhalBOT
#

Hi,

I was wondering if it would be possible to have my plugin (Seasons) added to the list of plugins which use PlaceholderAPI.

We use an expansion to interface with the API via our plugin: https://github.com/Harieo/Seasons/blob/master/plugin/src/main/java/uk/co/harieo/seasons/plugin/placeholders/SeasonsPlaceholderExpansion.java
We do not support external placeholders at the moment in our language file, however.

still narwhalBOT
#

Hello @Harieo,

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:

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in the...
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

Added the Seasons plugin to the Wiki under Placeholders and Plugins-using-PlaceholderAPI.
This request lists the plugin and adds our own plugin placeholders with a small description of how specifying worlds works.

Closes #524

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

Bug Report

Issue

When a player joins the server for the first time and someone tries to execute the command /papi parse ... with that player as argument, while the player is still online, the execution fails with the message Failed to find player: .... As soon as the player quits the first time it works fine. According to #256 this is already fixed. However, I still have that issue on PlaceholderAPI 2.10.9.

Expected behaviour

The command shouldn't fail to find a p...

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: feature/add\-faq\-entry
still narwhalBOT
#

I was able to reproduce this partially.

Creating a complete new server with fresh world and latest Spigot release did give me the error you experienced.
However! Rejoining the server and trying the command again did parse it as expected, although I did download the Player expansion before so maybe that was an important factor.
I'll test it again with only PAPI and no expansions this time and give you the feedback, but I assume it will be the same result and therefore this being a you-iss...

#

Nope. Not reproducable.
Completely fresh world and no PlaceholderAPI expansions installed.

While the error appears the first time does it not re-appear after I rejoined the world, so this must be caused by something in your setup. Perhaps a setting or so that prevents the server from saving the playerdata to file?
Double-check that you have a usercache.json file in the root of your server as I can only image your server being the core of the issue.

But as you can see on the screensh...

#

Sorry. Didn't see that part.
And yeah. Looking at the code does PAPI use this rather odd piece of code to retrieve the player:
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/e8b5660eda3046aee98396ac046537d8f92e78d9/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java#L212-L222

I'll look into finding a better solution here, but this is a rather minor issue as it only happens once.

#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/527\-improve\-parse\-command
#

Pull Request

Type

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

Description

Closes #527

Improves the resolvePlayer(String) method by only checking if the player played before when the player was null for getPlayer and therefore a OfflinePlayer needs to be retrieved.
If the getPlayer method doesn't return null will the retrieved entity ju...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

In the non null filter, we need to log an error saying which was null, so the user can remove that expansion or fix it.

Which one do you mean with "non null filter"? The filter(Objects::nonNull)?

yeah L#328 LocalExpansionManager

The bigger issue here is, that we can't even log properly as a null object such as the file's name is enough to break things.
See Line 364 (Currently commented out)
If there is an alternative method to get the name should it be men...

mint valveBOT
#

Build: 119
Status: success

Changes:

  • 3c9f6e Only work on non-closed issues - noreply
  • 1cfa24 Seems to not work as intended - noreply
  • 278a5a mention paste url - noreply
  • e83eba fix missing linebreak - noreply
  • b99335 First step at fixing #515 and for #516 - 11576465+Andre601
  • 480f13 Now this should work - noreply
  • 69f0ed Also check for PRs - noreply
  • e8b566 Use invalid on PR too - noreply
  • 0a52ef Use a generic log message for this - 11576465+Andre601

Artifacts:

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fix/515\-proper\-expansion\-null\-checks
still narwhalBOT
mint valveBOT
#
still narwhalBOT
#

Bug Report

Issue

When we get a few players the TPS suddenly drops a lot (down to 4-5), the only thing that Spark and Timings show as a issue every time is an event from Papi.
I tried it on an empty (no other plugins) server as well as on our production server, same issue.

Things from the production server using Tuinity:
Timings: https://timings.aikar.co/?id=3e93d8bc7fd74410814e6c7af567911f
Sparks profiler: https://spark.lucko.me/#70nD7o7tdl
PAPI Dump: https://paste.helpch.at...

still narwhalBOT
#

There are some inconsistencies that make me struggle to understand things.
In your "How to reproduce" do you say we should use Spigot or paper and have at least 15-20 players joining, while in your issue description, you mention that you're using Tuinity and also tried it on an empty Server?

I also honestly don't believe that on your Test Server, PAPI was the only plugin installed as otherwise the setPlaceholders method, which according to your spark report could be the root of the issue,...

still narwhalBOT
#

Error comes from at me.yic.xconomy.depend.Vault.getBalance(Vault.java:135) so it's caused in xconomy on Line 135 in Vault.java
https://github.com/YiC200333/XConomy/blob/master/src/main/java/me/yic/xconomy/depend/Vault.java#L135

The method there probably returns null which causes this issue. Can't guarantee it to be the cause but you should also ask on the xconomy github about this.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello @Hempfest,

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

  • The Pull request targets the docs/wiki branch of the Repository.
  • You only made changes to the files inside the wiki folder.
  • You followed the general Styling Guidelines mentioned in t...
still narwhalBOT
#

Hey @simoneedotexe and @GilsJunior

Just wanted to let you know that we may have found the actual issue for the NPE. Apparently did this error happen if one of the expansions (So far an old version of SpeedPerSec) doesn't contain any classes to load, making the entire loading process broken.

Could you try out the latest dev builds on Jenkins and let us know if the issue persists or if it is fixed? Thanks in advance for a response.

#
[PlaceholderAPI/PlaceholderAPI] New branch created: development
#

Closing this issue as it isn't really doable on our end.

Maybe consider looking for a different expansion or a plugin that allows setting and using global cooldowns?

I solved the issue tru install luck perms they have placeholder for timed perms. Other payd one we use before has less placeholders and functions.

Is not exist any expansions, only find one plugin for this and is not get update for long time.

still narwhalBOT
#

This PR brings a lot of changes to the Server expansion:

Caching

The results for World#getLoadedChunks().length, World#getLivingEntities().size and World#getTotalEntities().size are now cached using Caffeine.
The cache lasts 1 minute after write before it gets dropped and refreshed.

The clear() method will use invalidateAll() on the cache to drop its content.

percent of TPS

New Placeholders where added:

  • %server_tps_percent% Returns the current TPS as perce...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The issue was marked as "inactive" which means it didn't recieve any responses from the Author (GilsJunior) for a long period of time.
To keep the issue-tracker clean and up to date are we closing issues, that didn't receive any responses for a long time.

If you're the Author and this issue is still present, make sure to respond with extra info and do not create a new issue for the same problem!


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

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I would really like to use the mspt placeholder on my server, what is the current status on this?

If you'd like you can try my version here https://github.com/ChimneySwift/Server-Expansion (target contains a compiled jar)

I'm currently using it on 1.16.4 with no issues, though it hasn't received any new updates since June 2020. IIRC you might need to disable some options in papi for it to work correctly however.

still narwhalBOT
#

Bug Report

Issue

On Paper 1.16.4, papi ecloud list installed returns nothing. On Spigot 1.16.4, with the same plugin set, it returns the expected list. Except for running Paper vs Spigot, the servers are identical -- one is a clone of the other.

Expected behaviour

Return the same list on both platforms.

Actual behaviour

Returns nothing.

How to reproduce

  • Install PAPI 2.10.10-DEV-122 (and probably previous versions)
  • Run the following command...
#

On Spigot only

>papi ecloud list installed
[13:03:12] [Server thread/INFO]: Installed Expansions
[13:03:12] [Server thread/INFO]:      Name            Author   Verified  Version  
[13:03:12] [Server thread/INFO]: 1.   CoordinateTool  vk2gpz   Y         2.1.0    
[13:03:12] [Server thread/INFO]: 2.   Disease         artitus  Y         0.0.2    
[13:03:12] [Server thread/INFO]: 3.   Essentials      clip     Y         1.2.4    
[13:03:12] [Server thread/INFO]: 4.   LuckPerms       lu...
still narwhalBOT
#

... as doing so could cause issues like this one, or hide usually important (error) messages.

I am very careful about what I hide, but this one slipped by. It turns out to be the long line of hyphens, which obscures the entire papi ecloud list output, since it was changed to one (long) JSON string a few months ago, rather than separate lines. For some reason, it is not elided in Spigot, which caused the confusion when we started running a Paper server in parallel.

still narwhalBOT
still narwhalBOT
#

if you use %essentials_homes_set%/%essentials_homes_max%
To display the amount of homes you have set vs the amount you have it will always display 0/1 even if you have 0 homes.

example:
sethome.multiple.default:
default: 0
sethome.multiple.extra:
extra: 2

then it display for the default one 0/1 which is incorrect, it should say 0/0
it displays it correctly for extra 0/2.

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

Hello @Jortagon,

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

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


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

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The issue has been marked as inactive which means it didn't recieve any responses from the Author (Esronn) for a long period of time.
To keep the issue-tracker clean and up to date do we close issues that haven't received any responses for a long time.

If you're the Author of this issue and the reported problem is still present, make sure to respond with additional info to this issue.
Do not create a new issue for the same problem!


*This is an automated response created b...

still narwhalBOT
still narwhalBOT
#

Feature Request

Type

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

Description

Add a boolean colorize to me.clip.placeholderapi.replacer.Replacer.java (default=true) to give developers the option of colorizing ...

#

This was a thing before.

It was later changed since the API became a huge mess with a lot of pointless methods to use and we wanted to clean it up a bit. Even now without this option does PAPI have 10 different options (4 setPlaceholders, 4 setBracketPlaceholders and 2 setRelationalPlaceholders) and adding this option would at least double the amount.

In addition am I not even 100% sure if it would be that easy to change...

still narwhalBOT
#

Bug Report

Issue

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

#

Hello @eggsy,

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

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


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

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT