- Contributors
- jensjeflensje, SkyCraft78
- Supported Minecraft Versions
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
WebSK is a Skript addon that lets you create the back-end of websites using Skript. This means you can easily implement ingame elements inside a website (or HTTP API). It relies on one event, which is the `on request` event, which you can get the path from, which will execute any Skript code you want it to, as long as it returns a string to return on the web page.
Setup is as easy as this:
An example of something you can create with this addon is a system that displays someone's amount of money on the website (requires vault):
You would reach this website by going to (ip):8000/money?player=(playername)
For more examples, go to https://files.jederu.nl/websk.html
Discord server: https://discord.gg/u7FG5FtHHw
Setup is as easy as this:
Code:
define webserver:
port: 8000
on request:
# your code
An example of something you can create with this addon is a system that displays someone's amount of money on the website (requires vault):
Code:
define webserver:
port: 8000
on request:
set {_player} to parameter "player" of {_req} parsed as offline player
return "%money of {_player}%"
For more examples, go to https://files.jederu.nl/websk.html
Discord server: https://discord.gg/u7FG5FtHHw