# __________.__ _________
# \______ \ | _____ ___.__. ___________/ _____/ ______________ __ ___________ ______
# | ___/ | \__ \< | |/ __ \_ __ \_____ \_/ __ \_ __ \ \/ // __ \_ __ \/ ___/
# | | | |__/ __ \\___ \ ___/| | \/ \ ___/| | \/\ /\ ___/| | \/\___ \
# |____| |____(____ / ____|\___ >__| /_______ /\___ >__| \_/ \___ >__| /____ >
# An advanced plugin which allows your players to create their own sub-servers, created by thearcadia.xyz
# Please enter your MySQL information below.
# - "allowPublicKeyRetrieval=true"
driverName: "com.mysql.cj.jdbc.Driver"
# If you're using this connection method, you'll be entering your hostname,
# port and database name below in the jdbcUrl string. The ones above will not
jdbcUrl: "jdbc:mysql://localhost:3306/playerservers"
# Between version v1.2-RC6 and v1.2-RC7 there was a change in
# Database handling. Everyone upgrading that were satisfied
# on how it worked before should keep it as false, or first
# try enabling it and seeing if their servers are still
# attached to their account or not. In some rare cases it
# can happen that changing the value of this option can
# detach servers from your account, so enabling it if it
# worked correctly for you before is not needed.
use-modern-database: true
# This setting defines port range
# Panel port range only if experimental-panel is enabled
# Where should players be moved after they /stop or /ps kill their server?
# Use player-name instead of server UUID? Basically, when turned on, server-names
# will be equal to player username instead of (for example) aa386b6h
# Should we enable custom server name formatting?
# Which format should we use?
# %id% equals to player name or uuid depending on use-usernames option
# What is the max amount of servers that can be running at once?
max-running-instances: 15
# If there are no online players, and the last join was before
# more than minutes-to-shutdown, the server will automatically shutdown
# to allow more space for active ones.
# After how many seconds after executing cp -r <templatefile> <yourserverfolder>
# should we launch the server? Increase this if you get could not connect message.
# Default startup command. Supports %uuid% for server UUID and %mem% for memory.
launch-command: "screen -dmS %uuid% java -Xmx%mem%M -jar Spigot.jar"
# In how much seconds, after first boot-up of the server should we
# teleport the player to their sub-server? This depends on the strength
# of your machine CPU. If you have a stronger machine, you might wanna set
# it to something like 12 seconds, if you have some kind of Xeon with less
# than 3.9Ghz, you might wanna set this to 15-20 seconds.
# In how many seconds should we attempt to connect player to their
# sub-server after it being launched by /playerserver start command?
# Should we use permissions for ram management? If set to true, you MUST give
# your players permission playerserver.ram.<amount> (ex: playerserver.ram.512)
# or, else, the command will be blocked, and player will not be able to create
# the server. If set to false, everyone will have ram-per-server amount of RAM.
# How much RAM (in MB) should we allocate to each PlayerServer?
# Should we use permissions for max-players management? If set to true, your
# players should have playerserver.players.<amount>. The max amount of players
# that you could give to a single server is 100000. You can also give them
# playerserver.players.unlimited - for unlimited players. If the player
# has no permission, he'll be able to have unlimited players.
# NOTE: If you use permissions, and you change player's permissions,
# their server will need to reboot in order for changes to take place.
# What is the max players each server should have?
max-players-per-server: 20
# Should we use permissions for max-plugins management? If set to true, your
# players should have playerserver.plugins.<amount>. The max amount of plugins
# that you could give to a single server is 20000. You can also give them
# playerserver.plugins.unlimited - for unlimited plugins. If the player
# has no permission, he'll be able to have unlimited players.
# NOTE: If you use permissions, and you change player's permissions,
# their server will need to reboot in order for changes to take place.
# What is the max players each server should have?
max-plugins-per-server: 20
# Should we enable smart /ps command? You can find more info about it here:
# https://gitlab.com/OpenSource02/playerservers/-/issues/21
# Should we enable permissions for server creation, deletion & more?
# If set to false, all the players will have access to those basic commands.
# Obviously, admin commands require permission no matter what.
# This is just an example of what you can do with requires-permission.
# Default template will never require permission, even if set to true.
requires-permission: false
# What launch command should be used? If set as %default%, launch-command
# from above will be used (~line 70). Supports %mem% and %uuid% placeholders.
launch-command: "%default%"
# What plugins does this template contain?
# More info: https://playerservers.thearcadia.xyz/experimental/templates
# Which folders or files will not show in /config file manager?
# BETA FEATURES. USE AT OWN RISK!!
experimental-rename: false
# PlayerServers 2.0 experimental web-panel feature (concept only, for now).
# Enable it only for testing purposes. It can and will cause security vulnerabilities.
# Read instructions here https://www.spigotmc.org/resources/82268/update?update=394183
experimental-panel: false