VirtualHosts 1.1

Create virtualhosts on the fly

  1. jaapie_aapie2
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/jaapieaapie1/VirtualHosts
    About:
    Virtual host allows you to redirect ip addresses/domains to certain servers in your network.
    It also has an API so developers can easily make Virtual hosts to servers (for private minigames as an example)


    Commands:

    Permission for every command is: virtualhost.command
    • /vhost list Get virtual host list
    • /vhost create Create a virtual host
    • /vhost remove Rove a virtual host

    Dependency
    Maven dependency:
    Code (Text):
    <repository>
        <id>volix-repo</id>
        <url>https://mvn.volix.org/snapshots</url>
    </repository>

    <dependency>
        <groupId>nl.jaapie</groupId>
        <artifactId>VirtualHosts</artifactId>
        <version>1.1-SNAPSHOT</version>
    </dependency>

    Javadoc

    Example:
    Code (Java):
    //Register a virtualhost
    VirtualHosts.registerVirtualHost(new VirtualHost("pvp.example.com", "pvp"));

    //Get a virtualhost
    VirtualHosts.getVirtualHost("pvp.example.com");

    //List all virtualhosts
    VirtualHosts.getVirtualHosts();

    //Unregister a virtualhost
    VirtualHosts.unregisterVirtualHost("pvp.example.com");

Recent Reviews

  1. tostiman
    tostiman
    5/5,
    Version: 1.1
    This plugin really helped me a lot! The plugins this developer makes are always great!