-
Notifications
You must be signed in to change notification settings - Fork 1
FAQ
wildmaster84 edited this page Apr 5, 2024
·
5 revisions
-
Can this run on Linux/Windows/OS X?
- Yes! PlayerServers now supports most servers with the help of my custom server wrapper, included in the plugin. It supports almost all flavors of Linux, Mac OS X, and Windows with Java 8. Java 7 is supported on Linux/OS X using the screen wrapper.
-
Can I run commands with BuyCraft, GAListener, or other Bukkit/Spigot plugins?
- Yes! Using the PlayerServers.jar on your hub, or any other server with a player online, you can forward commands from console or a player (i.e., through another plugin) to the bungee-side of PlayerServers.
- Requires at least one player to be online on the Bukkit server forwarding the commands.
-
Can I run this on shared hosting?
- Short Answer: You shouldn't and you'll get no support doing so!
- While it has worked for some people on shared hosting, PlayerServers is only supported on a VPS or Dedicated Server because it starts new servers and binds to new ports, which would most likely conflict with other servers on a node if you don't have control of it.
- Many issues can arise when using shared hosting such as servers not starting, servers starting very slowly, lag, and the host could kick you off their service if it is against their TOS to start new servers or use a plugin such as PlayerServers to bypass their limits. Because of this, I will NOT support anyone using shared hosting, and will NOT be held responsible when issues arise because of it.
-
I'm seeing "Could not connect to default or fallback server..." on startup (in chat).
- This can happen when servers are slow to startup due to many plugins in the template, a slow machine, both, or some other reason. To compensate, you can raise the startup-join-delay in
config.yml. - It can also happen when servers fail to startup due to a few possible reasons, such as crashes/hangs due to a plugin/other factor on start. Check your player server logs, which by default are located in
../BungeeCord/plugins/PlayerServers/servers/PLAYER-UUID-HERE/logs. -
If you are using the default wrapper, (look in your
config.yml. If you haven't manually changed this toscreen, you're using the default), you must use Java 8. Java 7 is only supported using thescreenwrapper. - This can happen when using this plugin on improper (shared) hosting. Because you have less control on shared hosting, servers can fail to start up, causing this. If you are using shared hosting, read the above question.
- This can happen when servers are slow to startup due to many plugins in the template, a slow machine, both, or some other reason. To compensate, you can raise the startup-join-delay in
-
How do I send a debug report?
- When trying to get help, getting more details out of logs helps get the problem solved faster. Do this to ensure you're sending a detailed bug report:
- Run
/psa debug toggleto toggle debug mode ON (Enabled). Debug mode prints a LOT more messages in your log, with information useful for finding issues. - Do whatever isn't working as expected. (EX: If a server won't start or you can't join it, try to start or join that server).
- Run
/psa debugto output a debug report. Post this report in the discussion thread or send this report to wildmaster84. - Run
/psa debug toggleto toggle debug mode OFF (Disabled).
- Run
- When trying to get help, getting more details out of logs helps get the problem solved faster. Do this to ensure you're sending a detailed bug report:
-
Can I host bungee on one VPS, and players' servers on another?
- Short Answer: Not yet!
- Not yet. A premium RedisBungee compatible addon plugin is in the works that will allow centralized, or distributed player servers.
-
I'm a developer that wants to build off this, is there an API or public JavaDocs?
- Yes! PlayerServers has an extensive API. The API javadocs can be found here. If you don't see what you need, suggest it!
-
Players aren't getting OP when joining their server, and can't use /myserver!
- First, make sure
creator-gets-opis true in yourPlayerServers.ymlfor the template they are using. - If it is still happening after setting
creator-gets-op: This happens when player servers aren't properly getting UUIDs from BungeeCord. Make surebungeecord: trueis set in template'sspigot.yml! You'll have to update player servers that have already been created. Also make sure BungeeCord'sip_forwardoption inconfig.ymlis true. The spigot.yml in the default template already has bungeecord set to true.
- First, make sure
-
GUIs don't work, permissions don't sync from Bukkit, /myserver doesn't work, and other various issues:
- This happens when servers aren't properly getting UUIDs from BungeeCord. Make sure
bungeecord: trueis set in all server'sspigot.yml! You'll have to update player servers that have already been created. Also make sure BungeeCord'sip_forwardoption inconfig.ymlis true. The spigot.yml in the default template already has bungeecord set to true. - See the BungeeCord Setup Instructions!
- This happens when servers aren't properly getting UUIDs from BungeeCord. Make sure
-
How can I block server creators from seeing others' IP via Essentials /seen (or similar)?
- Use PlayerServers regex blocked-commands feature in the config.yml to block these commands, below is some example regex for /seen, and /essentials:seen. This will also block it from being using with /execute (either from a player or command block).
^(/execute(.*)|/)(essentials:)?(seen)($|\s.*)?
- Use PlayerServers regex blocked-commands feature in the config.yml to block these commands, below is some example regex for /seen, and /essentials:seen. This will also block it from being using with /execute (either from a player or command block).
-
I'm using PaperSpigot (1.7.10) and servers are crashing on startup!?
- I've made use of the -Dcom.mojang.eula.agree=true java startup flag to avoid issues with new server creation and having to agree to the EULA (which you've already one by running your hub server, this does NOT allow you to circumvent the EULA!) every single time. This causes crashes on startup on PaperSpigot 1.7.10 (at least, haven't tested others) that look likes so:
---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 26/10/15 18:50 Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at org.bukkit.Bukkit.getPluginManager(Bukkit.java:222) at org.spigotmc.CustomTimingsHandler.startTiming(CustomTimingsHandler.java:120) at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:632) at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:549) at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) -snip- - A Fix for users of the screen wrapper: If you are using the screen wrapper, edit start-screen.sh in the PlayerServers scripts folder and remove the -Dcom.mojang.eula.agree=true startup flag.
- A fix for users of the default wrapper (PSWrapper.jar) has been added to later PlayerServers builds. Update to the latest version, delete PSWrapper.jar in the PlayerServers/scripts/ folder, and make sure your .jar is named "paperspigot.jar" so that the proper startup flags will be used.
- After doing one of the above, be sure to add eula.txt (with eula=true!) into all your server templates, and all already-created servers!
- I've made use of the -Dcom.mojang.eula.agree=true java startup flag to avoid issues with new server creation and having to agree to the EULA (which you've already one by running your hub server, this does NOT allow you to circumvent the EULA!) every single time. This causes crashes on startup on PaperSpigot 1.7.10 (at least, haven't tested others) that look likes so: