Features:
- Easy to use setup command
- Performance balance
- Multiple kits
- Multiple worlds
- Join sign (customizeable)
- Multiple games on one server
- Bungeecord only
- Messages config
- Stats (v1.2.1)
- Multiple Hosts (v1.2.1)
- Scoreboard (v.1.2.1)
- Destoryable arenas (v.1.2.1)
How it works:
You have 2 servers. One of them is your lobby and one of them is the host for the games. The host will have multiple worlds which are the different games. Now, players can select a game in the lobby and will be teleported to the host server where they can play now their game. After they killed each other and the game ends, they will be teleported back to the lobby and the world will automatically be deleted and a new one will be created. This way, it saves you a lot of performance, and you can scale it with later versions horizontally.
Dependencies:
- Multiverse core on the host (
https://dev.bukkit.org/projects/multiverse-core)
- MySQL database (latest version)
- Bungeecord Network
- At least Java 16
- (
OldCombatMechanics for 1.8-ish PVP)
Setup:
1) Create a new server (your host for the games).
2) Start the new server, that all the files will be created
3) Stop the server
4) Copy multiverse and the OneVsOneHostServer.jar into the plugins directory
5) Configure it for your Bungeecord-Network
6) Upload your arena worlds to the server & start the server
7) Import the world with multiverse (
tutorial)
8) Go to your first spawn and execute /onevsonesetup spawn1. Then go to your second spawn and execute /onevsonesetup spawn2. Then take all the items for the kit into your inventory and execute /onevsonesetup inv. Then enter a name for the game/kit with /onevsonesetup kitname [name].
Now, save it with /onevsonesetup save.
8.1) If you have more than one world, do 8) again in the other worlds
9) Open the config and enter all the informations
10) Set setupmode in the config to false
11) Restart the server.
12) Stop your Lobby and upload the OneVsOneLobby.jar
13) Start your Lobby and open the config and enter all information
14) Restart your Lobby, that all changes will apply
15) Look at a sign and execute /onevsonelobby addsign
16) Done. Have fun!
German translation:
https://gist.github.com/ProfessorSam/147f35dc46a02d1f1e5751db62048390
Config:
Lobby:
Code (YAML):
#This are the Settings for the MySql or MariaDB Database. A database is required
Database:
Host
: localhost
Port
: 3306
Database
: db
User
: username
Password
: passy
#This is the delay after which the arenas are updated from the database. Good-performance-server = low delay, Low-performance-server=high delay
updatedelay
: 3
#do NOT enable this in production mode
debug
: false
Host:
Code (YAML):
#This option is not necessary because players are in the lobby for a maximum of 1-5 seconds but it should be on the ground
Lobby:
World
: world
X
: 100
Y
: 100
Z
: 100
Pitch
: 100
Yaw
: 100
#Without a database this plugin would not work
Database:
Host
: localhost
Port
: 3306
Database
: db
User
: username
Password
: passy
#The server there the game ends. If you have more than one lobby, please join the discord and you get help
LobbyServer
: Lobby
#The name of this server in your Bungeecord config
ServerName
:
"GameHost-1"
#The number of arenas which are online
Arenas
: 10
#The enabled maps. This will be set with /onevsonesetup save
Maps
:
[
]
#Disable this in production. It is only for setting up the plugin
setupmode
: true
#When you enable this the player can use the /leave command to go back to the lobby
leaveCommand
: true
#Setting for arena behavior
Arenasettings:
BlockBreaking
: false
BlockPlacing
: false
FallDamage
: true
DropItems
: false
ItemDamage
: true
ItemPickup
: false
#Enable or disable the scoreboard
scoreboard
: true
#Enable or disable if tnt is activated after placing
tnt
: true
#do NOT use this in production mode. It is only for debuging
debug
: false
Permission/Commands:
/onevsone : onevsone.admin
/onevsonesetup : onevsone.admin
/onevsonelobby [join,list, gui, addsign]: OneVsOne.admin
/onevsonelobby stats : OneVsOne.stats.me
/onevsonelobby stats [Player] : OneVsOne.stats.other
Discord:
https://discord.gg/yBkk6QYRGC
How to update:
Just drag and drop the new .jar in your /plugins folder and delete the old one and delete the config.yml and message.yml on the lobby and the host.
Testserver:
- 178.18.252.234:25577
Your server could be also here!