Directly using VirtualBox from Java #5

Merged
NorbiPeti merged 60 commits from directvb into master 2019-04-18 23:29:21 +00:00
Showing only changes of commit beff502f0c - Show all commits

View file

@ -11,38 +11,36 @@ I plan on making a series where I show the whole process of creating this projec
## Installation requirements ## Installation requirements
*Note: only the server host has to meet these requirements.* *Note: only the server host has to meet these requirements.*
### Currently compiled for (and tested on): ### Tested versions:
*If you don't meet these requirements, you will need to compile the files for yourself. Please help by sending the compiled version to me so more people can download it.* *If you don't meet these requirements, you may need to compile the files for yourself. If you do please send the compiled version to me so more people can download it.*
* OS X * OS X; Ubuntu 16.04/18.04
* VirtualBox 5.1 * VirtualBox 5.2
* Spgiot/Bukkit 1.8/1.9/1.12 * Spgiot/Bukkit 1.8/1.9/1.12
* Java 8 * Java 8
### Possibly works with (untested): ### Untested:
* Any operating system which is not Windows * Any Linux versions
* Other VirtualBox versions (code modifications are probably necessary) * Other VirtualBox versions (code modifications are probably necessary)
* Other Spigot/Bukkit versions * Other Spigot/Bukkit versions
* Microsoft .NET Framework 4 (code modifications *are* necessary)
* Other Java versions * Other Java versions
*Due to VirtualBox Java binding support limitations the plugin does not support Windows currently.* *Due to VirtualBox Java binding support limitations the plugin does not support Windows currently.*
## Installation ## Installation
**Warning:** The first loaded world on the server (the one specified in server.properties) will temporarily **lose** the first 20 maps, although it will reset if the server is loaded without the plugin. **Warning:** The first loaded world on the server (the one specified in server.properties) will temporarily **lose** the first 20 maps, although it will be back to normal if the server is loaded without the plugin.
* Install all the requirements * Install VirtualBox
* Add a virtual PC if you don't have any (the first one will be started) * Add a virtual PC if you don't have any (the first one will be started)
* Install an OS and Guest Additions, if you haven't already * Install an OS and Guest Additions, if you haven't already
* Put the jar file into <server>/plugins directory * Put the jar file into <server>/plugins directory
* Make sure your server is set to a world that you don't mind your maps temporarily deleted from
* Start your server * Start your server
## Usage ## Usage
*Please give appropriate credit and link to this page if you use this machine in one of your videos/creations/etc. You can also send me your video so I can put it here.* *Please give appropriate credit and link to this page if you use this machine in one of your videos/creations/etc. You can also send me your video so I can put it here.*
### Display ### Display
*Note:* You can create as many displays as you want, but all of them will show the same. *Note:* You can create as many displays as you want, but all of them will show the same currently.
To create a display, make a 5 wide 4 high wall of item frames, then put the maps 0-19 on them starting from the top left and going downwards. You can give the maps with this command: To create a display, make a 5 wide 4 high wall of item frames, then put the maps 0-19 on them starting from the top left and going downwards. You can give the maps with this command: