WebSK

Addon WebSK 1.2.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Contributors
jensjeflensje, SkyCraft78
Supported Minecraft Versions
  1. 1.12
  2. 1.13
  3. 1.14
  4. 1.15
  5. 1.16
  6. 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:
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}%"
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
Author
jensjeflensje
Downloads
2,113
Views
2,113
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from jensjeflensje

Latest updates

  1. Fix java version

    Fixed that the plugin will work on most java versions now
  2. Release 1.2.0

    Release 1.2.0

Latest reviews

I was looking for Web addon for idk 2 months. I found a lot of trash. A lot of lost hours :( But when Sky posted this on his discord I decided to see what is this... Now i'm writing this with Jensjeflensje. Fun history, but it's true. THIS IS THE BEST ADDON EVER!

(Sky don't kill me... I also like Disky)
Awesome addon. Easy to use and excellently working. Keep up the good work!
Very good addon, honestly it's a great idea for Skript and will be a good addition!
Maybe make the request receive a little more easier, such as making your own section for that (I would make a pull request if you want to), since used function could be a little weird to understand for Skripter (my opinion only ;-;)
Feel free to discuss with me through my Discord (ItsTheSky#1234)
Keep the work up!