Giter Club home page Giter Club logo

Comments (4)

Xxyuri2005xX avatar Xxyuri2005xX commented on June 4, 2024
  • 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.

xism4 avatar xism4 commented on June 4, 2024
  • 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.

tomkeuper avatar tomkeuper commented on June 4, 2024

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.

jonakls avatar jonakls commented on June 4, 2024

Hi, I just enabled discussions to expand this thread in a more appropriate place. Please, go here

from sternalboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.