Skip to content

Tag class Server (server)

Trollhunters501 edited this page Jan 4, 2024 · 1 revision

This tag returns the Nukkit Server class Example:

<!--You must put the TAG endline if it is a single line you can see the endline tag wiki to see which tags do not need the endline tag-->
<server func json="getName"></server><endline>
<!--The func attr means that it calls a function and json is the function or variable, if you want to call a function after the function you want to call you must put the "." And the () example:-->
<server func json="getLogger().info"><textarea>hola!</textarea></server><endline>