-
-
Notifications
You must be signed in to change notification settings - Fork 35
Installation Guide
TL;DR: Copy all of the jar files you like to use into your plugins/
directory and restart your server. Vane will serve a server-resource pack, so if you are already using a pack, you will need to merge the two and serve it yourself. If you need permission management: Either install vane-permissions, or if you use a third-party permissions plugin be sure to give the relevant permissions to your players as described below!
Before you proceed, make sure your server meets all requirements:
- Install the latest version of ProtocolLib (download here). Just drop the jar file in your
plugins/
folder.
Start by downloading all-plugins.zip
from GitHub Releases. This archive will
contain all the required vane-*.jar
files so you don't have to download them individually.
Place the .jar
inside the archive into your plugins/
folder and delete the zip file.
At this step, you may choose which of vane's modules you want to have installed.
For an better overview, have a look at the repository's README.md
and the linked overview page at the top of it. For the sake of simplicity, you can for just use all the plugins and disable what you don't want later by editing the corresponding config.yml
. You can even disable a whole plugin just by doing this.
- vane-core (always needed)
- vane-admin (chat message formatting, /setspawn, /spawn, automatic server stopping, mob griefing protections)
- vane-bedtime (skip night when 50% of players are sleeping)
- vane-enchantments (all custom enchantments)
- vane-permissions (actually lightweight and pedantic permission management, REPLACES other permission plugins)
- vane-portals (provides fancy portals)
- vane-regions (provides region system, requires portals to be installed, provides region system)
- vane-trifles (requires enchantments to be installed, provides a lot of the quality-of-life enhancements)
Delete the corresponding jar files, if you want to completely disable a module. If you want to disable just
a specific function, you can do so later in the vane-whatever/config.yml
file.
Beware to only use vane-permissions
, if you actually need permission management and don't want to use any other permission plugin on your server.
Vane runs fine without a permission management plugin (for example when all of your players are OPs).
You can skip this step if all of your player's are OPs.
Finally, you may start your server again. Depending on what permission system you settled on, you will need to do some additional configuration. Continue with the appropriate subsection.
No additional setup is needed for vane, and you can assign a permission group to a player by executing the following command on the console (or as an admin, if you have already given yourself that group):
perm add pepe_the_player user # (Just a normal user, give this to players)
perm add pepe_the_player trusted # (Also a user, but may also add new users with `/verify`)
perm add pepe_the_player admin # (Full permissions, may execute any vane command)
If you have other plugins installed, you will need to add the required permissions to your user
group. This
is best done by simply editing vane-permissions/config.yml
. This is also true for the vanilla commands like /tp
,
even when your player is OP! A list of the default permissions can be found here,
or by executing perm list permissions
.
If you are NOT using vane-permissions
, you will need to give your players some permissions so they have access to the correct things in vane. As there are many different permission systems, we can't go into the details for every one of them here.
Below is a list of permissions and who should have them. Use your permissions plugin to add these permissions to the correct
player groups. And obviously you do not need to give players permissions from e.g. vane.admin.<something>
if you don't use vane-admin in the first place.
# Any normal user should have these permissions.
user:
- vane.admin.commands.spawn
- vane.admin.modify_world
- vane.regions.commands.region
- vane.trifles.commands.heads
# Additionally to what normal users can do, verified users may use `/vouch`
verified:
- vane.permissions.commands.vouch
# Admins should have everything `verified` users have, plus:
admin:
- vane.admin.bypass_spawn_protection
- vane.portals.admin
- vane.regions.admin
- vane.*.commands.*
Congratulations, you have successfully installed vane. If you also want the advanced features like automatically starting the server or account multiplexing, please continue with Installation Guide (proxy). Otherwise, have fun playing!