-
Notifications
You must be signed in to change notification settings - Fork 0
Knockoff
Knockoff is a gamemode where you have to eliminate everyone by knocking them off, last team/person standing wins
Source code is available here > https://github.com/Project-Crystalized/knockoff-game
Unlike other games, Knockoff maps need to made in a very specific way.
For transparency; the platforms that players will be bridging across will be called sections
In Java Edition, Make a superflat world with the void preset, this is so that vanilla terrian cant generate and mess with gameplay.
Gameplay takes place at coords X=1000 Z=1000, so we will need to build the map near X=0 Z=0.
To make building sections easier, its recommended to outline the sections in a border
Below is an example of how maps should be built. waxed_copper_block is used as a border in this example, this will be specified in the config file so this wont be seen during gameplay. All the blocks inside the border that aren't waxed copper will be seen clearly during gameplay.

For the Queue Spawn, its recommended to built that either above or next to the sections, make sure the Sections aren't visible.
The map config is a JSON file in the world folder (you need to make this yourself, Knockoff doesn't generate it), Below is the following options you can change
"name": "" - Map name shown on the Queue Spawn's scoreboard, This supports the MiniMessage format as well as Strings
"game": "Knockoff" - Keep this Knockoff, setting this to anything else will crash the plugin.
"version": 2 - Keep this 2 for the same reason as above
"spawn": [x, y, z] - Queue Spawn
"section_data: []" - Section Data, This is an Array, meaning you can have multiple pieces of Data here:
-
"from": [x, y, z]- From Coords
-
"to": [x, y, z]- To Coords
-
"remove_block": "string"- What block to remove from the section, this should be the block bordering your section. Must be a valid Minecraft block
-
"spawn_offset": 0- Spawn offset
-
"respawn_offset": 0- Respawn platform offset
"extras": {} - Extra features you can enable:
-
"podium": {}- Podium configuration (not required), At the end of the game, players will get teleported to these locations if enabled
-
"podiumTP": [x, y, z, pitch, yaw]- Main location for the podium
-
"podium1st": [x, y, z, pitch, yaw]- 1st place teleport location
-
"podium2nd": [x, y, z, pitch, yaw]- 2nd place teleport location
-
"podium3rd": [x, y, z, pitch, yaw]- 3rd place teleport location
-
Section Data example; ``` "section_data": [ { "from": [2, 20, 2], "to": [-42, 0, -58], "remove_block":"waxed_copper_block", "spawn_offset": 0, "respawn_offset": 0 }, { "from": [-45, 20, 2], "to": [-93, 0, -44], "remove_block":"waxed_copper_block", "spawn_offset": 0, "respawn_offset": 0 } ] ```
Default config; https://github.com/Project-Crystalized/knockoff-game/blob/main/src/main/resources/config.yml