-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
wildmaster84 edited this page Dec 15, 2024
·
6 revisions
If BungeeCord is in online mode, make sure BungeeCord & your Spigot servers are setup correctly to get online-mode UUIDs! Spigot-side permissions, server ownership detection, and other UUID-based things will break otherwise!
-
Put PlayerServers.jar into the BungeeCord plugins folder.
-
Symlink (recommended) OR copy PlayerServers.jar into all your existing Spigot server plugin folders. (or at least to your hub/any servers you want people to be able to start PlayerServers from, use join/template GUIs, get bukkit permissions, etc).
-
Start and stop BungeeCord to generate plugin config & folders.
-
Setup default template in plugins/PlayersServers/templates/default folder
- Make sure to at LEAST put a spigot.jar in the default template folder, or nothing will work.
- Change name and other settings in the templates PlayerServers.yml to your liking.
- It is up to you to supply your own spigot.jar
-
Restart Spigot servers to load PlayerServers helper plugin (the same PlayerServers.jar, install on your hub/other servers as mentioned in step 2). Startup BungeeCord and create your own server (/ps create) to test.
Done!
- When updating spigot.jar or plugin .jars in the template folder KEEP THE NAME EXACTLY THE SAME. I suggest removing version strings, etc from plugin file names, ie name them "Essentials.jar"
- If you have something else running on port 5155 and are using the 'default' wrapper, be sure to change the
wrapper-control-portsetting inconfig.yml! - If you want to use the default server wrapper (aka PSWrapper.jar), you should use the Java version required for your Player Server!
- If you want to use screen as your server wrapper, ensure screen is installed with the commands below and set
wrapperinconfig.ymlto'screen'.- Debian/Ubuntu: run
sudo apt-get install screen - CentOS/Fedora: run
sudo yum install screen
- Debian/Ubuntu: run
- For using the remote wrapper, launch it with java 8 via
java -jar wrapper.jar 5155 debug(optional) - Edit
messages.ymlto your liking. (replace all "server" to "empire" for example, if you want to call PlayerServers "Empires") - Create multiple templates by copying the default template, customizing it, and modifying its
PlayerServers.yml - If you want to store player servers in a place other than the PlayerServers plugin folder, edit the
servers-folderoption in the config BEFORE creating servers or you'll have to manually move them. - Startup & stop scripts are found in the
plugins/PlayerServers/scriptsfolder and can be customized to your liking, using the variables listed at the top of them. These are only used when thewrapperis set to 'screen'.