Comments (4)
- Custom placeholders creation to use with SternalBoard (example: %online% -> returns the number of online players) with as parameters in the creation: placeholder (%time%), update(in seconds, 1), return (the part of the code that returns what is of interest)
- Placeholders update method
from sternalboard.
- Custom placeholders creation to use with SternalBoard (example: %online% -> returns the number of online players) with as parameters in the creation: placeholder (%time%), update(in seconds, 1), return (the part of the code that returns what is of interest)
- Placeholders update method
I think that custom placeholders is good for specific boars settings, mostly like any server uses placeholderapi and the %online% seems redundant.
Ill take a look on the New method used
from sternalboard.
I think that custom placeholders is good for specific boars settings, mostly like any server uses placeholderapi and the %online% seems redundant.
Ill take a look on the New method used
Just hooking in because I was interested in this aswell. The ability ro register custom placeholders is quite usefull definitly with the API, because plugins and addons can use this to show more advanced placeholders that need specific data. and with this provides different options like event based triggers for updating the placeholder value or even updating the function behind it.
I've used a different plugins api in the past where you could register placeholders internally thru callables, it was possible to update those placeholders aswell with a trigger so I could make sure that all placeholders are updated as I want based on the code thats running at that time. In my opnion a extremely usefull feature for other developers aswell.
from sternalboard.
Hi, I just enabled discussions to expand this thread in a more appropriate place. Please, go here
from sternalboard.
Related Issues (20)
- Viabackwards fixed version does not work on 1.7.10 client version HOT 6
- I got a problem HOT 1
- [Future addons issue] HOT 4
- Formatting Bug HOT 2
- Error Config, and tab completer HOT 4
- SternalBoard console WARNS HOT 7
- Not showing correct Board after Server start HOT 6
- SternalBoard not shown (IllegalArgumentException) HOT 1
- Bug on formatting codes SB 2.2.2 HOT 1
- RGB Doesn't work HOT 2
- SternalBoard now cuts down modern version placeholders HOT 1
- Scoreboard por region (WorldGuard) HOT 1
- Elytrium config HOT 1
- Only show fb-2727288282 HOT 2
- How to modify the TAB? HOT 1
- [1.20.4] Bug PlayerJoinEvent HOT 1
- When using the ItemsAdder plugin, there seems to be an issue with compatibility when using image emojis (%img_XXX%). Strangely, even the formatting for bold (&l) is not displaying after adding %img_XXX%. HOT 2
- Purple colors aren't turning out correctly HOT 7
- Persist toggled data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sternalboard.