ronaldburns / PlaceholderAPI

An advanced placeholder hub for the Sponge API
https://ore.spongepowered.org/rojo8399/PlaceholderAPI
MIT License
16 stars 15 forks source link

Placeholders to add #12

Open Wundero opened 7 years ago

Wundero commented 7 years ago

List of expansions (hooks) to add:

Note; placeholders involving non-Sponge systems (like plugins) should have support either implemented directly in the plugins or as a bridging plugin, for two reasons:

I will add more as suggestions come in/I come up with more.

randombyte-developer commented 7 years ago

BungeeCord, like the amount of all online players.

ronaldburns commented 7 years ago

Tried adding SpongyCord support, but the Consumers won't run when calling API tasks. Can't get it to work.

randombyte-developer commented 7 years ago

Do you have a separate branch for that? I can help fixing it. @rojo8399

randombyte-developer commented 7 years ago

Or using this. It is an updated version of SpongyCord.

Wundero commented 7 years ago

I think I will separate out dependency-based placeholders into their own plugins or something, so as to minimize the size of the main plugin. I will try to write a proper plugin for each of these (except maybe nucleus because of Gluon), but I need to find a bit more time first.

Wundero commented 7 years ago

I have written a BungeeCord placeholders plugin, but I have yet to finish writing the script and expansion browser for GH Pages, and I need @rojo8399 to add GH pages before I can commit the browser. The browser might be a while because I am new to web dev (sorta), so I need to figure out how to design and lay things out, as well as create the functions which can fetch and download files from GitHub. Once that is done I will create a folder in the root called expansions with plugins that can be downloaded and installed, and a folder called scripts which can either be downloaded as .js files or copy-pasted into the folder directly by the user.

Wundero commented 7 years ago

I am going to add a few things to my expansion, do some testing, and then push it to Ore hopefully. It might take a couple of days due to time constraints, but I will try to release it ASAP.

Wundero commented 7 years ago

I suppose I should talk about the BungeeCord placeholders since I haven't done anything recently for them: I have not had much time as of late to work on coding at all, and I was having issues prior to this lapse in time getting the placeholders to work. I now have more free time and will look into working on them again, however since I have many issues to work out before uploading it, do not expect it for some time. I apologize for the delays and hope to have a build out soon.

randombyte-developer commented 7 years ago

@Wundero No worries. I myself have very little time, too, since school started some days ago. I haven't even implemented PlaceholderAPI into my plugin(holograms).

happyzleaf commented 7 years ago

My plugin adds pixelmon support, so you don't need to https://github.com/happyzleaf/PixelmonPlaceholders

Wundero commented 7 years ago

Sounds awesome. One thing to note is that, in the next update, I am going to force the Object onValueRequest(Player, Optional<String>) as the method needing implementation and provide a default implementation for the Text-based method. The boilerplate code you have in your ExpansionBase will no longer be needed. :P

happyzleaf commented 7 years ago

Awesome!

BrainStone commented 7 years ago

How's the Nucleus support going? I mean since Nucleus had its official release it would be cool if support could be added soon.

Wundero commented 7 years ago

Nucleus has official support through Nucleus Gluon which interconnects the two plugins. Any placeholders available through Nucleus are available through this plugin.

KhaozFrost commented 6 years ago

has bungee support been completely dropped? Kind of need this for my server selector to display the amount of players on a server.