#papi-updates

1 messages ยท Page 8 of 1

still narwhalBOT
#

Info

Spigot - 1.13
PAPI - the latest
No errors in console

Issue

Problem with placeholders from expansion statistis (/papi ecloud download Statistic)
don't work. I'm using command above, than /papi reload (even trying reload hole server).
When i'm "checking" placeholder with /papi parse me %statistic_mine_block% it's showing me 0
(so it should work) but when i'm using command after destroying few block it's still 0. It's happend with all placeholders from statistic. %stati...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Type

What kind of change is it? (Multiple selections possible)
<!--
Please select the right one, by changing the [ ] to [x]
-->

  • [ ] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [x] 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.
  • [x] Other: FactionsUUID doesn't just p...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

That's the type of thing I was going for, I'm probably going to edit the PR
message to do a better explanation. (It was really late at night for me)

On Wed, Oct 9, 2019, 9:14 AM Andre_601 notifications@github.com wrote:

I think having a separate endpoint or category on the ecloud to
determine if the expansion is for Spigot or Nukkit servers would imo be an
idea.
Then PAPI could, when it is on sponge, access the Nukkit endpoint of the
ecloud.

โ€”
You are receiving this beca...

still narwhalBOT
#

No, a list of plugins that you need placeholders ported for.

On Wed, Oct 9, 2019, 10:20 AM GamerDaniel3000 - Developer <notifications@github.commailto:notifications@github.com> wrote:

@GMatrixGameshttps://github.com/GMatrixGames So a list of placeholders?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/PlaceholderAPI/PlaceholderAPI/issues/166?email_source=notifications&email_token=AF7S7VBTTA6GWDEYFGZSMLTQNX...

still narwhalBOT
still narwhalBOT
#

Wouldn't it be possible to use one jar (expansion) for both platforms? Instead making 2 for each plugin and changing how the eCloud work.

I think changing the ecloud would be kinda recommended as f.e. downloading the jar for the wrong platform could cause severe issues.
And I think that as long as Nukkit uses a different kind of system (like a different kind of plugin registry) that won't interfere with Spigots would this sure be possible by having two separate main classes handling the...

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

Great job if this works, I havenโ€™t tested or looked at the code yet. However, ever since your pr, weโ€™ve been discussing the topic in our staff chats and are envisioning a fully platform independent papi; this is a step in the right direction.

Regarding the expansions, there most certainly wonโ€™t be multiple implementations for different servers for the one expansion. I think weโ€™re going to go the route of providing wrappers for all the essential portions of each server implementation throug...

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

Please report issues with expansions/placeholders to the corresponding issue tracker! Only report it here if you can't find any place to report it!

Issue

What is the issue? Describe it like you would tell a friend.
<!-- Please type below this like -->
ecloud doesn't have expansions to download
Using Paper 1.14.4 #195 - PlaceholderAPI v2.10.4

Expected behaviour

What should PlaceholderAPI do?
<!-- Please type below this like -->
Let me download the expansions fo...

still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.
<!-- Please type below this like -->
I get an error in console when i try to run /papi ecloud placeholders player. I am on the latest version of placeholder api (2.10.4) And the player expansion version is 1.7.2

Expected behaviour

What should PlaceholderAPI do?
It should display all the player placeholders

Actual behaviour

What does PlaceholderAPI actually do?
http://prntscr.com/pirtpd
https:/...

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

You have my support. Lately I have been busy with life so im glad to see you guys doing things like this. I can't say what 3.0 will hold as far as multi platform support but for now if your Nukkit version is working I salute you and port what you can! I will soon be dedicating time to focus on the team as well as the project and 3.0 will be here after that. I know @PiggyPiglet and @darbyjack have been doing a ton of work to prepare for it and it will be top notch compared to what it is now. T...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I've had a glance at the code and I've instantly seen that you are not using abstraction and definitely not following the DRY principle.

You have literally copy-pasted the existing codebase and edited it to make it work with Nukkit, this is definitely not the way to go.

Instead, you should make abstractions and use a 'common'/'core' codebase to extend from.
This common codebase will be very easy to use and packs as much code as possible without making it platform dependent. Then all yo...

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
#
  • Added a new placeholder to return the item amount in the player's inventory (fixes #5 ) %checkitem_amount_<Modifiers>%.
  • Removed 2 missed debugging messages.
  • Made few improvements to the code.

Was planning to move ItemWrapper inner class to its own class, but remembered that you prefer it like this.
Let me know if you want a compiled version to test, my website isn't working atm :(

still narwhalBOT
still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.
I downloaded the expansion using / papi ecloud download <name>. After I download it, it only displays 0kb on disk, and the / papi ecloud list of all <pages> doesn't show the Green color that should appear if it's already installed.

Expected behaviour

What should PlaceholderAPI do?
Showing green text, working placeholders

Actual behaviour

What does PlaceholderAPI actually do?
It's only show...

still narwhalBOT
#

To install an expansion, you have to download it using the download command (/papi ecloud download <ExpansionName>) and then you have to reload PlaceholderAPI (/papi reload).

To get the loaded expansions list, use /papi list.

Yes, I do this. But it doesn't showing my downloaded expansion like "Player, etc". I already restart my server to make sure this works. But still doesn't work.

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
#

Hello,

Is the plugin connected to the eCloud?
You can check this by trying to download any expansion using /papi ecloud download ExpansionName. If it returns No expansion available. or something like that, then its probably an issue with your host not allowing connections to the PlaceholderAPI eCloud. in this case, you can contact your host or just download the expansions manually form the eCloud.
To avoid gett...

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

A great software for OSS Projects is called Crowdin (https://crowdin.com/).

The plan is to set this up (most likely Glare), and the way it'll work is that we push all the strings we want translated to the source file (English).

Users can then sign up on the website and translated the English strings to their own language.

Once that is complete, Crowdin will open a PR to the repo containing the translated language files.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

How wold this end up looking like for jars that don't depend on a plugin?
Wouldit just not have the start() void?

Also, I think the author should be a array to allow multiple authors to be added.
Exsmple:

@ExpansionInfo(
    Name = "expansion",
    author = {"PiggyPuglet", "Andre_601"}
)

Author is an array, this is slightly outdated. Also, the start method isn't abstract; optional, it's not required if you're not using it.

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Ideally everything. Most importantly for now though, the methods that the expansion developer will interact with. It's important to note however, that documentation should be written in two different ways throughout the project. If it's to be interacted with via expansion, it should be written for them. If it's for internal use, it should be written for us.

For example, and sorry glare, but I need to use your mistake as an example, originally we had this in ExpansionInfo:

/**
 * Retr...
still narwhalBOT
#

That honestly doesn't make it that easier as I now would need to know what classes and methods are for devs and what for internal use.

Also, wouldn't it be better to have param and return values with an empty line in between for better reading in the case that a dev reads the comments in their IDE?

And finally wouldn't it be benefitial to have an interface like part of the api for the devs to keep the api separated?
That could allow only providing the methods/classes needed for the dev...

still narwhalBOT
#

I'm not going to write a list right now, as such a list would likely become redundant after a single commit, not even necessarily related to the API, which should give you an idea of how volatile everything currently is. Generally though, if it's abstract (required to implement, not necessarily literally abstract), and explicitely labelled as part of the API, it's for the developer. If not, it's internal.

Yes.

Sort of, not quite that simple unfortunately, especially with the API design I wi...

still narwhalBOT
#

Little update on this, I've finished implementing the logical portion of this into the framework. In the FrameworkBuilder, we can specify a "dynamic" internal file path, which will allow us to set the file path based on value from another config. For example, we load the following:

language: en

like this:

FrameworkBuilder#
        .file(true, "config", "/config.yml", "config.yml", Config.class)

And then, we can declare the language file after (or before, it'll prioriti...

still narwhalBOT
#

Type

What kind of change is it? (Multiple selections possible)

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

Please provide any information that is useful including links and images. ...

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

With the idea that everything is going to be completely new, we need to think about how we want the in-game design look & feel to be. Going to assume we will want a lot of JSON and tooltips.

Along with JSON stuff, we will also want to focus on custom tab completions. One fault of the current design is that we don't fully store the placeholders so we can't create completions for them.

Feel free to discuss more below.

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

That error is just saying that your server can't connect to our API to get expansions. Your host/firewall is most likely blocking connections to api.extendedclip.com/api. Either speak to your host about it or you can manually download expansions from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

Worth noting if you're going to go manual switch ecloud to false in the config to stop the plugin trying to reach our API.

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

Issue

When trying to set placeholders with setPlaceholders(player, placeholder), I am encountering issues.

Note: I am developing an addon for the plugin Skript, but I do not believe that is related, as the values of other placeholders are returned properly.

A user is trying to get the value of a placeholder from another plugin. When trying to get the value with my plugin, it just returns the placeholder itself. However, when they try the same placeholder in the scoreboard plugin th...

still narwhalBOT
#

I'm not that much of an expert but I think you mess up there in more than one way.

Just to be clear: The PlaceholderAPI.setPlaceholders(Player, String) method is not for one single placeholder to be parsed.
It was made to allow just providing a String (e.g. %player_name% joined the game!) and all placeholders in it are getting parsed to the right values (Andre_601 joined the game!).
From what I can see are you just parsing a single placeholder which seems a bit bad.

Also, Pl...

still narwhalBOT
#

Sorry, as I was not specific enough / left out information with this.

This part of my plugin is just acting as a parser for the placeholders. The user is trying to get a placeholder from https://bg-software.com/superiorskyblock/#placeholders. The placeholder I'm trying to parse is going in as "%superior_island_level%"

Unfortunately, this plugin is premium and I cannot view the source code. The placeholders for it do work in the scoreboard plugin I linked above, but not me for, as setPla...

still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.

Hello, I found a bug with the WorldGuard placeholders, I'm using the latest version of Spigot, WorldGuard and PlaceholderAPI (server currently in 1.14.4).
When I use %worldguard_region_flags% or %worldguard_region_has_flag_% on a EnumFlag type (such as the "deny-spawn" flag for example), I can't see it in the flags list and "has_flag" returns "no". I tried with a lot of different flags and flag types, and also with ...

still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.

Hello, I found a bug with the WorldGuard placeholders, I'm using the latest version of Spigot, WorldGuard and PlaceholderAPI (server currently in 1.14.4).
When I use %worldguard_region_flags% or %worldguard_region_has_flag_% on a EnumFlag type (such as the "deny-spawn" flag for example), I can't see it in the flags list and "has_flag" returns "no". I tried with a lot of different flags and flag types, and also with ...

still narwhalBOT
#

#13 # Type

What kind of change is it? (Multiple selections possible)

  • [ ] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [X] 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

Please provide any information that is useful including links and images...

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

Hello there,
We are working on improving the wikis. Sorry about that.

Here's an explanation about the placeholders you asked about:
%server_total_living_entities% - Returns the total living entities (such as monsters, players, etc).
%server_total_entities% - Returns the total of all entities, including living entities (e.g. an item on the ground would be counted in this placeholder).

%server_total_chunks% - Returns all loaded chunks on the server.

%server_ram_total% - ...

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
#

Removing this now would cause some extensions/plugins to have non translated color codes, that's why I decided to fix this myself in DiscordSRV, as it's also a bit of a edge case (not needing color codes translated for Discord messages).

Then it should be handled by the dev of the expansion anyway.
I can see why PlaceholderAPI has this, but I still don't think that this should always be done and instead should be handled by the author of the expansion.

#

I'm not sure if this should be removed or not, but I personally feel its not an issue. It's been there for a while and no one complained about it (as far as I know) and instead its great to have that and it's pretty easy to undo.

Anyway, seems like nothing is going to happen in this repository (PAPI v2) according to Glare's response. So if anything is going to be changed regards this, it will be on PAPI v3.

still narwhalBOT
#

Then it should be handled by the dev of the expansion anyway.
I can see why PlaceholderAPI has this, but I still don't think that this should always be done and instead should be handled by the author of the expansion.
Changing this will effect currently available expansions & plugins that integrate to PlaceholderAPI as they might not have color translations, as PAPI automatically translates colors. This is a breaking change (External, not internal (see: first message)). And as I noted ...

still narwhalBOT
still narwhalBOT
#

I could imagine it being like this:

  • Having a new boolean option translateColors for the different methods
    • setPlaceholders(OfflinePlayer player, String text, boolean translateColors)
    • setPlaceholders(OfflinePlayer player, String text, Pattern placeholderPattern, boolean translateColors)
    • setBracketPlaceholders(OfflinePlayer player, String text, boolean translateColors)

Those would be the new "parent methods" and the current ones without the boolean would be like this...

still narwhalBOT
still narwhalBOT
#

Currently, does PlaceholderAPI use the following Patterns:

  • [%]([^%]+)[%] for PLACEHOLDER_PATTERN (%_%)
  • [{]([^{}]+)[}] for BRACKET_PLACEHOLDER_PATTERN ({_})
  • [%](rel_)([^%]+)[%] for RELATIONAL_PLACEHOLDER_PATTERN (%rel__%)

First: Why?
Even for a Regex noob like me does this look a bit overcomplicated for something that should be a more or less easy task.

Next, would I suggest to improve the pattern to the following types (can be discussed):

  • [`%([a-zA-Z0-9]+)...
still narwhalBOT
#

We can rip out the graalvm js engine and use it in PAPI, although from my brief research, performance may be a concern. This is merely a key word though, I haven't looked at any benchmarks to see if the differences between nashorn & graal.js (on oracle/open jdk) are significant enough to warrant looking for an alternative.

Regardless of that warranty though, I will continue to look for alternatives, to keep our options open.

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
#

Issue

Beginning with Spigot 1.15.2 (Jenkins 2596), missing dependency declarations are reported in the log on server start-up as WARN messages.

Reference: https://hub.spigotmc.org/jira/browse/SPIGOT-5546

The relevant log entries (on my test servers) are:

[22:04:15] [Server thread/WARN]: [PlaceholderAPI] Loaded class ch.njol.skript.Skript from Skript v2.4.1 which is not a depend, softdepend or loadbefore of this plugin.
[22:...
still narwhalBOT
still narwhalBOT
#

For now I suggest ignoring these messages. As PAPI does not depend nor softdepend on any of the plugins listed above. it doesnโ€™t make sense to fill the plugin yml file with every possible case of plugins that an expansion may hook into. We will look further into a solution for this in papi 3 but as of right now I donโ€™t see a straightforward solution since spigot keeps adding things like this to cause grief on the log viewer.

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

I tried that mistake once.
Paper version git-Paper-652 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
PlaceholderAPI version 2.10.4

server log

> papi parse KleinDev %placeholder%
[10:55:34 INFO]: Failed to find player: KleinDev
[10:55:42 INFO]: UUID of player KleinDev is cdf5ce70-079a-487b-8b71-b0ad4ffb4fb3
[10:55:43 INFO]: KleinDev[/127.0.0.1:53476] logged in with entity id 95 at ([world]170.5, 73.0, 212.5)
> papi parse KleinDev %placeholder%
[10:55:48...
still narwhalBOT
#

The current system of updating the wiki (e.g. Adding new placeholders) is fairly limited as only contributors (or team members?) can contribute to the wiki directly.
However, opening the wiki to allow anyone to edit it is also not a good idea as it gives trolls a way to mess up the wiki, due to it not having any kind of Protection or PR system.

That's why I suggest to add a GitHub Action, which would update the wiki when specific files were changed on the repository.
This would allow oth...

still narwhalBOT
#

After Disconneting on the server, the parse command works.

[12:42:58 INFO]: KleinDev lost connection: Disconnected
[12:42:58 INFO]: KleinDev left the game
> papi parse KleinDev %player_name%
[12:45:01 INFO]: KleinDev
[12:46:38 INFO]: UUID of player KleinDev is cdf5ce70-079a-487b-8b71-b0ad4ffb4fb3
[12:46:39 INFO]: KleinDev[/127.0.0.1:61460] logged in with entity id 4488 at ([world]167.82144111280894, 71.0, 230.28788039758197)
> papi parse KleinDev %player_name%
[12:46:41 INFO]: Kl...
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello,
Thanks for your suggestion, I've just added %vault_ranks% and %vault_ranks_capital% to my fork.
You can download it from here. I haven't tested it myself, but it should work fine. Approval from you that its working fine would be great.

To install the new version:

  • Go to /plugins/PlaceholderAPI/expansions/ folder.
  • Delete the old jar of Vault expansion.
  • Add the new jar (you downloaded from the link above) there...
still narwhalBOT
still narwhalBOT
#

yep, getting this too

[02:11:33] [Async Chat Thread - #0/WARN]: [PlaceholderAPI] Loaded class com.gmail.nossr50.util.player.UserManager from mcMMO v1.6.2-SNAPSHOT which is not a depend, softdepend or loadbefore of this plugin.
[02:11:33] [Async Chat Thread - #0/WARN]: [PlaceholderAPI] Loaded class com.gamingmesh.jobs.Jobs from Jobs v4.15.4 which is not a depend, softdepend or loadbefore of this plugin.

I thought i was doing something wrong :/

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/RedisBungee-Expansion] New branch created: master
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/ChatReaction-Expansion] New branch created: master
#
[PlaceholderAPI/EzRanksPro-Expansion] New branch created: master
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 have written a page for placeholders in my plugin's wiki - I think it would be beneficial to link to it to reduce work to a single loca...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#
  • Fixed this error.
  • Fixed balance and difference placeholders displaying long numbers with (E).
  • Fixed new placeholder added by clip rankup_rank_prefix_ showing the current rank prefix instead of the next rankup rank.
  • Few code "improvements".
  • Added GPL license.

Tested all placeholders, didn't take a deep look at the values, but all working.
Compiled version: http://aboodyy.net/expansions/EzRanksPro-Expansion.jar

still narwhalBOT
still narwhalBOT
#
[PiggyPiglet/PlaceholderAPI3] New branch created: wip/commands
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
#

What is "Mohist server core 1.6-e408017"?
My guess is, that you're simply running a server type that isn't supported by PlaceholderAPI. Make sure to either use Spigot or PaperMC (recommended)

If that is actually a Spigot/PaperMC fork, make sure your server actually allows connections to the e-cloud located under https://api.extendedclip.com (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/FAQ#i-cant-download-the-expansion)

In addition also check the console for any (startup) errors.

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

Type

What kind of change is it? (Multiple selections possible)

  • [x] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [x] 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

Please provide any information that is useful including links and images. ...

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

Hello,

i am new to this whole thing so please bare with me.

I want to add a placeholder to my server:

%cc_full_color% - Returns the full color of a player. Can then be used to colorise text after it.
%cc_full_color_text% - Returns the full color of a player, as text. e.g. Red, Bold.
%cc_color% - Returns the color only (no modifiers) of a player.
%cc_color_text% - Returns the color only, as text.
%cc_modifiers% - Returns the modifiers only (no color) of a player.
%cc_modifers_tex...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello,

I use the chat color plugin to change the color of my text it keepy my text on white and my console keeps getting spammed with error messages and i was wondering if anyone could help me out.

This is the plugin i use: https://dev.bukkit.org/projects/chatcolor-s

Error messages:
https://gyazo.com/85ca5e6ec53f403a1c4ce384e8aa05fd
https://gyazo.com/3ff0f196e7b3b8c19c8af62c797e7c76
https://gyazo.com/e2ad44b2ec130b29990a699e1ef57b86

still narwhalBOT
#

Please contact the dev of the plugin and ask them for help.
This issue tracker is reserved for bug reports and feature requests related to PlaceholderAPI which yours isn't.

The errors you show don't point in any way to PlaceholderAPI being the cause of your issue. It is most likely an outdated/unsupported Server version by your ChatColot plugin.

Again: Contact the dev of the ChatColor plugin or ask in the HelpChat Discord for for general support with ...

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

Issue

What is the issue? Describe it like you would tell a friend.

PAPI will fail to find (and parse) any placeholders properly for a player who has just joined the server. This will persist until they leave and rejoin, rendering any placeholders based on time or player data in that period unusable. If a player joins and does not disconnect for 12 hours, it affects them throughout that entire period.

Expected behaviour

What should PlaceholderAPI do?

Properly find play...

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

Hey, I was wondering if there was a way to store datas in MySQL instead of a file in the folder javascript_data , because I was using this pre-made script https://www.spigotmc.org/wiki/placeholderapi-javascript-expansion-scripts/#data (because I'm not that good with JS lol x) ) And I used it to make a Profile GUI with TrMenu. And it worked, but I can't share the profile datas between servers so I can't really finish it =/

If there's a way to use MySQL, could someone show me how ? even if I...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Hello,
Thanks for your suggestion, I've added this placeholder but not sure if it will always work, don't know what would happen.
You can try it yourself and tell me if anything occurs.

The placeholder is %worldguard_region_flag_<Flag name>%
You can download it from here.

How to install the new version?

  • Download it from the link above.
  • Replace it with the current expansion jar you have in `plugins/Plac...
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'm pretty sure many people would benefit from a way to display the (latest) version of an expansion on f.e. a Readme file, or to display what specific version would be used for what MC version.

Right now can you achieve this using Shield.io's dynamic badges.

Example:
With the current (v2) ecloud, I can use the following URL:

https://img.shields.io/badge/dynamic/json?querry=:JSONquerry&url=:url

I quickly applied this to the Vault-Expansion to dis...

still narwhalBOT
still narwhalBOT
#

but why build an entire badge system when there is shield.io?

Because, as you can see above would the link be quite long.
In addition would it also take ~10 seconds to actually load the badge itself, due to shields.io first loading and handling the JSON.
I don't say we should have a complete own system, but maybe some sort of support for shields.io?

It has a endpoints support meaning that the API (ecloud) would only need to provide some specific JSON...

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

What kind of change is it? (Multiple selections possible)

  • [ ] 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.
  • [ x ] Other: Requesting a %ezprestige_currentcost% & %ezprestige_nextcost% placeholder(s).

Info

Please provide an...

still narwhalBOT
still narwhalBOT
#

What kind of change is it? (Multiple selections possible)

  • [ ] 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.
  • [x] Other: Requesting a %ezprestige_currentcost% & %ezprestige_nextcost% placeholder(s).

Info

Please provide any ...

#

What kind of change is it? (Multiple selections possible)

  • [ ] 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.
  • [x] Other: Requesting a %ezprestige_currentcost% & %ezprestige_nextcost% placeholder(s).

Info

Please provide any ...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Issue

The %statistic_mine_block% placeholder from the Statistic module reports twice the amount of mined blocks.

Expected behaviour

The statistic will increment by one when a block is mined.

Actual behaviour

The statistic is incremented by two.

https://i.imgur.com/K4lrCdf.png <- Minecraft statistic page
https://i.imgur.com/rFbFce9.png <- The placeholder (the second lore line)

How to reproduce

  1. Download the Statistic eCloud module.
  2. Mine a block (or...
still narwhalBOT
still narwhalBOT
#

Issue

The %statistic_mine_block% placeholder from the Statistic module reports twice the amount of mined blocks.

Expected behaviour

The statistic will increment by one when a block is mined.

Actual behaviour

The statistic is incremented by two.

https://i.imgur.com/K4lrCdf.png <- Minecraft statistic page
https://i.imgur.com/rFbFce9.png <- The placeholder (the second lore line)

How to reproduce

  1. Download the Statistic eCloud module.
  2. Mine a block (or...
still narwhalBOT
#

Issue

'task 107' occurs NullPointerException when I starting server every time (But it will not crash the plugin)

21.03 13:18:42 [Server] Craft Scheduler Thread - 30/WARN Plugin PlaceholderAPI v2.10.4 generated an exception while executing task 107
21.03 13:18:42 [Server] INFO java.lang.NullPointerException: null
21.03 13:18:42 [Server] INFO at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$null$3(ExpansionCloudManager.java:181) ~[?:?]
21.03 13:18:42 [Serve...

still narwhalBOT
still narwhalBOT
#
x1p

Saw something similar on 1.15.2 paper fork

[05:00:55] [Craft Scheduler Thread - 5/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.5-DEV-85 generated an exception while executing task 18
java.lang.NullPointerException: null
	at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:174) ~[?:?]
	at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Purpur-507]
	at org.bukkit.craftbukki...
still narwhalBOT
#

Type

What kind of change is it? (Multiple selections possible)

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

Please provide any information that is useful including links and images.
...

still narwhalBOT
still narwhalBOT
#

Having the exact same issue on Paper Spigot. Papi has just completely stopped working. It seems to be getting malformed JSON from the server?

[01:53:26 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.4 generated an exception
while executing task 22
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unt
erminated string at line 1 column 109449 path $..versions[0].version
at com.google.gson.Gson.fromJson(Gson.java:902) ~[patched_1.15.2.jar:gi...

still narwhalBOT
#

I got this error at the end of the start-up this morning but everything was fine last night (no error)

I'm currently running 1.15.2 Paper Spigot and using the latest version of PlaceholderAPI from spigotmc.org

`[10:03:49 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.4 generated an exception while executing task 11
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 110289 path $..placeholders[24]
at com...

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

[11:54:27] [pool-15-thread-2/WARN]: at java.lang.Enum.valueOf(Unknown Source)
[11:54:27] [pool-15-thread-2/WARN]: at org.bukkit.Statistic.valueOf(Statistic.java:1)
[11:54:27] [pool-15-thread-2/WARN]: at com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion.onPlaceholderRequest(StatisticsExpansion.java:169)
[11:54:27] [pool-15-thread-2/WARN]: at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:38)
[11:54:27] [pool-15-thread-2/WARN]: at me...

still narwhalBOT
still narwhalBOT
#

`[20:06:56] [Server thread/INFO]: Starting minecraft server version 1.14.4
[20:06:56] [Server thread/INFO]: Loading properties
[20:06:57] [Server thread/INFO]: This server is running Paper version git-Paper-154 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
[20:06:57] [Server thread/INFO]: Server Ping Player Sample Count: 12
[20:06:57] [Server thread/INFO]: Using 4 threads for Netty based IO
[20:06:57] [Server thread/INFO]: Debug logging is disabled
[20:06:57] [Server thre...

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

Hello @Vasily31,

The MySQL expansion isn't managed by clip, so you'll have to report this issue to the author of the expansion.

Here's some solutions you might want to try before reporting:

  • Make sure you've downloaded the expansion and reloaded PlaceholderAPI after.
/papi ecloud download mysql
/papi reload
  • Make sure that the expansion has been loaded by checking the console after reloading PlaceholderAPI or see if its listed in the loaded expansions list /papi list.
    ...
still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.

PAPI giving lots of console spam when using /papi reload. In game it says "An internal error has occurred while attempting to perform this command."

Expected behaviour

What should PlaceholderAPI do?

Should reload the plugin like normal.

Actual behaviour

What does PlaceholderAPI actually do?

Gives console spam and internal error message.
https://pastebin.com/9d93kM4t

How to reproduce

...

still narwhalBOT
#

Type

What kind of change is it? (Multiple selections possible)

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

Please provide any information that is useful including links and images...

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

Error causing this to get logged every few seconds or so and eventually crash the server.

Installed expansions: Bungee, Essentials, Pinger, Player, Server, StaffFacilities, Statistic, Vault

[01:06:38] [Craft Scheduler Thread - 5/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.5 generated an exception while executing task 485
java.lang.NullPointerException: null
at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:101) ~[?:?]
at com.extendedclip.papi.expansio...

still narwhalBOT
#

#13 # Issue

What is the issue? Describe it like you would tell a friend.
Very simple to explain, the statistic death counter isn't working. I tried suiciding a few times and even deopped myself and set my rank to the default rank but no change.

Expected behaviour

What should PlaceholderAPI do?
Count the deaths of the player

Actual behaviour

What does PlaceholderAPI actually do?
Not count the deaths

How to reproduce

What steps did you made, to get th...

still narwhalBOT
#

PlaceholderAPI/PlaceholderAPI#13 # Issue

What is the issue? Describe it like you would tell a friend.
Very simple to explain, the statistic death counter isn't working. I tried suiciding a few times and even deopped myself and set my rank to the default rank but no change.

Expected behaviour

What should PlaceholderAPI do?
Count the deaths of the player

Actual behaviour

What does PlaceholderAPI actually do?
Not count the deaths

How to reproduce

What ...

#
[PlaceholderAPI/Armor-Expansion] New branch created: master
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
#

This has been requested/suggested by Clip (#212).
It's much easier for the plugin's developers to update their wiki without having to open an issue/pull request to get the placeholders updated here too.
Requiring the user to open another link for some plugins wouldn't harm and it's better than delaying the update.

I have undiscussed plans for this wiki. We'll see what we can do about that, everything will be taken into consideration.
The process of updating the wiki is slow due to the ...

still narwhalBOT
#

Still not really a nice thing.
If I want to find the placeholders for plugin X and go here, only to then get forwarded to the wiki of said plugin is this plain annoying.
The option to have changes being PR-able would imo already speed up stuff as you yourself wouldn't need to write/copy-paste the placeholders down, but instead only need to merge said PR.

There are even things like GitHub Actions, which would allow updating wiki-pages through PRs on a different repository.
Example: https...

#

Imo could an alternative be a system on the ecloud itself, where the user updates a list of placeholders and if it gets verified, would a commit happen towards the wiki o update the right entry with the new values.
The major complication I see there would be A) Make a proper system that commits changes to the wiki and B) have the system locate and change the right values without accidentally breaking stuff.

While A is imo fairly simple, as a wiki is just yet another git-repository (And th...

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

Chat Control Error Log:

------------------------------------[ 09.04.2020 14:37:18 ]-----------------------------------
ChatControl 8.6.6 encountered a NoSuchMethodError
Running CraftBukkit 1.8.8-R0.1-SNAPSHOT and Java 1.8.0_241
Plugins: LuckPerms v5.0.72, ViaVersion v2.2.3, EcoSystem v1.8.0, Vault v1.7.2-b107, EZRanksPro v1.9.0, PlaceholderAPI v2.10.5, ProtocolLib v4.1.0, Essentials v2.17.2.0, ChatControl v8.6.6
--------------------------------------------------------------------------...

#

Chat Control Error Log:

------------------------------------[ 09.04.2020 14:37:18 ]-----------------------------------
ChatControl 8.6.6 encountered a NoSuchMethodError
Running CraftBukkit 1.8.8-R0.1-SNAPSHOT and Java 1.8.0_241
Plugins: LuckPerms v5.0.72, ViaVersion v2.2.3, EcoSystem v1.8.0, Vault v1.7.2-b107, EZRanksPro v1.9.0, PlaceholderAPI v2.10.5, ProtocolLib v4.1.0, Essentials v2.17.2.0, ChatControl v8.6.6
--------------------------------------------------------------------------...

#

Hello there,

Can you try the version from my pull request ( #1)? It should fix this issue.

To install the new version:

  • Go to /plugins/PlaceholderAPI/expansions/ folder.
  • Delete the old jar of EzRanksPro expansion.
  • Add the new jar there (you can download it from here).
  • Reload PlaceholderAPI (/papi reload).

Let us know how it goes for you,

Thanks for reporting,
aBooDyy

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/eCloud-backend] New branch created: master
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Type

What kind of change is it? (Multiple selections possible)

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

Please provide any information that is useful including links and images. ...

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

Hey, I just noticed this issue, and wanted to take part of it.
So I started working on my server again a while ago, and noticed that the parse command doesn't work at all for anyone. I tried with me, Tanguygab and other players but it still didn't work.
I'm on PaperSpigot 1.8.8 with PAPI 2.10.5

BUT on my 1.15.2 test server, with PAPI 2.10.5 too, the player names and me does work.

still narwhalBOT
still narwhalBOT
#

When shutting down the server, the error is sent to the console:

[13:31:57 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.5 generated an exception while executing task 124
java.lang.RuntimeException: Essentials API is called before Essentials is loaded.
at com.earth2me.essentials.api.Economy.getUserByName(Economy.java:64) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoneyExact(Economy.java:111) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoney(Economy.java:100) ~[?:?...
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: fixes/first\-time\-parse
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

The main issue of this can be boiled down to using SlimeWorldManager.
SWM changes the way a world is saved and also doesn't save specific information like some player data (advancements unlocked, recipies unlocked and apparently if the player even joined before)

So we can officially blame SWM on this one as it causes this issue, while it doesn't happen on a normal world.

still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] New branch created: development\-2\.10\.6
still narwhalBOT
#
[PlaceholderAPI/PlaceholderAPI] branch deleted: fixes/first\-time\-parse
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#
[PlaceholderAPI/Javascript-Expansion] branch deleted: development
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

javascript_identifier_ has args.length = 1, while
javascript_identifier_, has args.length = 0

javascript_identifier_,,somevalue has args.length = 3, while
javascript_identifier_somevalue,, has args.length = 1

Expected behaviour would be that args.length = amount of commas + 1 in every case. It seems that it will only parse arguments until the last argument with a non empty string. Empty arguments should be arguments as well for consistency.

still narwhalBOT
#

To be fair, using placeholders within placeholders seems like a stupid idea.
People like me however, use the bracket-placeholder ({placeholder_text}) inside the placeholder to achieve a similar result.
F.e. in my Math-expansion can you have %math_{server_online}+1% which would result in the number of online players plus one.

In addition can I not see a proper way to have this work without breaking every expansion in existence, that uses the % placeholder, as a simple find-replace do...

still narwhalBOT
#

If the stuff would be moved to crowdin do I suggest the following things:

  • Crowding is paid by default (with a 14 days trial) but you can apply for an Open source license.
  • Setup the GitHub integration to only push completed tranlsations, or else it would also push not completed files.
  • Make the target folder the same as the one for the source file (Start it with a / at the beginning)
  • I recommend having the filename-pattern as %locale%.%file_extension% (Or `lang_%locale%.%file_exte...
#

This isn't a per expansion placeholder pattern option. Changing the option will change the pattern Papi attempts to parse placeholders with for all plugins. For example, if you were to set the bracket placeholder pattern as default placeholder pattern you would need to write {placeholder} for all placeholders. You could however set the default placeholder pattern to anything you like, as it is set as a regex pattern in the config.

This change doesn't actually necessarily allow for nest...

still narwhalBOT
#
  • Crowding is paid by default (with a 14 days trial) but you can apply for an Open source license.
    We have an open source license ready to go

On a separate note would it be cool, if we could perhaps offer a per-player language, based on what locale they have set for their Client.
The parts of PAPI that will be using crowdin, are exclusively backend. Therefore, a per-player language system that you'd expect to see in a high quality frontend plugin, is redundant. The only people that w...

still narwhalBOT
#

#13 Please read
This template is only for requesting new functions to be added to PlaceholderAPI or for old one to be changed!
Please use the [Request change (Wiki)] template to ask for additions/changes to the wiki.
For reporting bugs of PlaceholderAPI use the [Bug report] template.

Also make sure that the [wiki] doesn't already mention such a function/change and that there isn't a issue about this change on the [issues] page.

We recommend to [open a Pull Request][Pull Requests...

#

Type

What kind of request is this? A Placeholder Request

  • [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: __________

Info

What is the change?
Please provide as much information (including links, images and code-snippeds) as possible.

...

still narwhalBOT
#

Type

  • [ ] New plugin/expansion supporting PlaceholderAPI.
    A new plugin/expansion uses and/or provides placeholders.
  • [X] 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.
  • [X] Other: SimpleClans Ecloud Expansion is now part of the SimpleClans Plugin

Plugin

What is the name of the plugin?

SimpleClans

What is the new value?

...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

`[05:13:26 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.6 generated an exception while executing task 41
java.lang.NullPointerException: null
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$null$3(ExpansionCloudManager.java:190) ~[?:?]
at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_241]
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:182) ~[?:?]
at org.bukkit.cr...

still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

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

Info

Ability to check player recipe status. Can be useful on servers with doLimitedCrafting gamerule.

%player_can_craft_% 

%player_can_craft_minecraft:iron_hoe%

%player_known_recipes%
still narwhalBOT
still narwhalBOT
#

When I try to make a switch (or an if, else if, else comparison), sometimes the switch does not match the argument and I get an other output.

I noticed this issue with this script too https://raw.githubusercontent.com/PlaceholderAPI/Javascript-Expansion/master/scripts/data_example.js. The getUsage function seems to not be able to sort action as expected sometimes. It's a bit anoying because some times the placeholder will remove instead of add values... We can see this more visually on sco...

still narwhalBOT
still narwhalBOT
still narwhalBOT
#

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

Info

Ability to check player recipe status. Can be useful on servers with doLimitedCrafting gamerule.

%player_can_craft_% 

%player_can_craft_minecraft:iron_hoe%

%player_known_recipes%
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
still narwhalBOT
#

Issue

What is the issue? Describe it like you would tell a friend.

I am using Context feature of Luckperms to setup permissions which are only true when certain placeholders return certain values.(ExtraContexts Plugin). However, SuperVanish always returns a huge stacktrace everytime a player joins, and sometimes the permission works as intended, and sometimes it does not.I am using the placeholder, %supervanish_isvanished% to determine if a player is vanished, If so, then I hide the...

still narwhalBOT
still narwhalBOT