Ever wanted a web server for your minecraft server? Also wanted it to interact with the game in a unique way? Well, look no further, this is for you!
What is this?
Komodo Web server allows you to host a fully functional web server on any port (apart from those in use) it can display HTML to a browser run JavaScript and much more.
What is Komodo Script?
Komodo script is a server-side language, users can code different things and have web users run them. komodo script files end in .ksf and must be in the www bin.
How do I install this?
First, download the plugin. Then create a new folder called www and place and index.html file in it. put any other files or scripts you want to access in there as well. Then boot up your server and type /web ae <port to run your server on> then, type /web start <port you just put in>. The next time you start your server, the web server will auto start. If you are hosting you laptop on your own computer, goto localhost:<port you put in> and you should be met with your index.html file. For others to access this, port-forward the web server. If you use an online provider ask them to open the port for you.
Commands
All commands require op
/web - master command
/web ae <port> setup the auto-enable rule
/web start <port> start the web server on port.
Komodo Script
Variables are currently work in progress, using them will result in error 400 (bad request)
Click here to view Komodo Script features
Komodo Script is interpreted line by line.
You can add ! in a file name to prevent it from being used by a browser
You can have ? then arguments to send to the code. Eg test.ksf?test were test.ksf has if:args;test;log:yay;null will log yay in the console as args were test.
If you need help or find an issue, create a ticket.
©Natekomodo 2017 All Rights Reserved. You may not redistribute this code in any way.