How to host a website through plugin?

Discussion in 'Spigot Plugin Development' started by xddman, Apr 13, 2017.

  1. Hello, so im fairly new to java and plugin developing. One thing i would like to make is a plugin that hosts a website while the server is running, Now i know plugins like this exsist, but i want my plugin to be able to host only the site that i provide it, so my question would be, what would i need to learn to make a plugin host a website on the same ip as the server, just with a different port? Also if you know, another thing i'd like to know is what would i need to learn to connect java with a website, so for example, if i pressed a button on the website, the plugin would execute some code and broadcast a message or something. Thank you for reading <3
     
    • Informative Informative x 1
    • Agree Agree x 1