Introduction
Capture the Flag is designed for you and your friends to play together and have fun while sharpening your PvP skills. Since the configuration file allows for adjustments, you can build your own maps or download others' and play on them. Please note that it is not designed to work on public servers that endure many players. It is more so made to have fun with a particular group of people. Also keep in mind that this is my second ever completed plugin as I've only very recently started to learn to make my own. Thank you to @Autom and @manuelgu for their help! Feedback is appreciated.
Features
To install the plugin, simply put the CaptureTheFlag.jar into your plugins folder and restart the server.
The configuration file has default values preset. For proper gameplay, you MUST put in your own. The following code insert has notes at every field to explain what they do and their significance. You can copy and paste this heavily noted template into your own CTF config.yml to help you if you wish.
Capture the Flag is designed for you and your friends to play together and have fun while sharpening your PvP skills. Since the configuration file allows for adjustments, you can build your own maps or download others' and play on them. Please note that it is not designed to work on public servers that endure many players. It is more so made to have fun with a particular group of people. Also keep in mind that this is my second ever completed plugin as I've only very recently started to learn to make my own. Thank you to @Autom and @manuelgu for their help! Feedback is appreciated.
Features
- Teams: Players can choose to either join the red or blue team by right clicking the appropriate sheep.
- Spectator Mode: If a player wishes not to play, they can select to become a spectator instead of joining a team by right clicking the grey sheep.
Spoiler: Team / Spectator Mode Selection
- Kits: You can choose between several kits while at a team base by right clicking the appropriate armorstand. Archer and Knight represent team colors while Spy equips a more stealthy look.
Spoiler: Kits & Kit Selection
- Flags: When you right click the opposing team's flag to pick it up, the flag goes into your 9th hotbar slot and also on your head to allow other players to see who is holding the flag. It also spawns particles on you while you are in possession of the flag to make it more clear. Score it for your team by right clicking
Spoiler: Flags
The blue team's flag in its resting position.
In this picture, the player is a member of the red team. When he picks up the blue team's flag, his helmet turns into it and particles spawn around him. The flag also disappears from its stand and the name is updated to show its new status.
- Scoreboard: The scoreboard provides players with valuable information such as the status, the points scored by the blue team ("Blue Captures"), and the points scored by the red team ("Red Captures").
Spoiler: Scoreboard
Scoreboard once the game starts.
This image depicts the possible status messages stitched one after another.
- Other: Players cannot break blocks to avoid breaking the map. Hunger does not go down. Spectators cannot fly outside the map while in gamemode 3. Weather does not change. A team cannot go inside of its own flag to try to prevent others from being able to right click it. Kits consist of unbreakable items.
- /CTF start: Starts the game. All participating players should have selected their teams or become a spectator before the command is entered.
- /CTF end: Ends the game. Useful for if you don't like the teams or want to end it pre-completion for any other reason. Status must be In-Game when the command is entered.
To install the plugin, simply put the CaptureTheFlag.jar into your plugins folder and restart the server.
The configuration file has default values preset. For proper gameplay, you MUST put in your own. The following code insert has notes at every field to explain what they do and their significance. You can copy and paste this heavily noted template into your own CTF config.yml to help you if you wish.
Spoiler: Configuration File with Explanations
Code (Text):
### Configuration File with Explanation Notes
# Map Creator is displayed when the start countdown begins.
Map Creator: name
# xMax is the highest coordinate of X the player can go on the map.
xMax: 0
# xMin is the lowest coordinate of X the player can go on the map.
xMin: 0
# yMax is the highest coordinate of Y the player can go on the map.
yMax: 0
# yMin is the lowest coordinate of Y the player can go on the map.
yMin: 0
# zMax is the highest coordinate of Z the player can go on the map.
zMax: 0
# zMin is the lowest coordinate of Z the player can go on the map.
zMin: 0
# The world is the name of the world your map is in.
world: world
# The spawn is where the players spawn in a lobby for the map. This is the same place you want to put your team selection sheep.
# spawnXYZ are the exact coordinates of where the player spawns.
spawnX: 0
spawnY: 0
spawnZ: 0
# centerXYZPitchYaw are the exact coordinates of the very center of your map. It is recommended to put it above all structures as this is where the spectators will spawn at the beginning of the game.
centerX: 0
centerY: 0
centerZ: 0
centerYaw: 0
centerPitch: 0
# blueSpawnXYZPitchYaw are the exact coordinates of where the blue players will spawn at the beginning of the game and where they will respawn.
blueSpawnX: 0
blueSpawnY: 0
blueSpawnZ: 0
blueSpawnYaw: 0
blueSpawnPitch: 0
# blueArcherKitXYZPitchYaw are the exact coordinates of the Blue Archer Kit armorstand that players will right click to obtain their kit.
blueArcherKitX: 0
blueArcherKitY: 0
blueArcherKitZ: 0
blueArcherKitYaw: 0
blueArcherKitPitch: 0
# blueKnightKitXYZPitchYaw are the exact coordinates of the Blue Knight Kit armorstand that players will right click to obtain their kit.
blueKnightKitX: 0
blueKnightKitY: 0
blueKnightKitZ: 0
blueKnightKitYaw: 0
blueKnightKitPitch: 0
# blueSpyKitXYZPitchYaw are the exact coordinates of the Blue Spy Kit armorstand that players will right click to obtain their kit.
blueSpyKitX: 0
blueSpyKitY: 0
blueSpyKitZ: 0
blueSpyKitYaw: 0
blueSpyKitPitch: 0
# redSpawnXYZPitchYaw are the exact coordinates of where the red players will spawn at the beginning of the game and where they will respawn.
redSpawnX: 0
redSpawnY: 0
redSpawnZ: 0
redSpawnYaw: 0
redSpawnPitch: 0
# redArcherKitXYZPitchYaw are the exact coordinates of the Red Archer Kit armorstand that players will right click to obtain their kit.
redArcherKitX: 0
redArcherKitY: 0
redArcherKitZ: 0
redArcherKitYaw: 0
redArcherKitPitch: 0
# redKnightKitXYZPitchYaw are the exact coordinates of the Red Knight Kit armorstand that players will right click to obtain their kit.
redKnightKitX: 0
redKnightKitY: 0
redKnightKitZ: 0
redKnightKitYaw: 0
redKnightKitPitch: 0
# redSpyKitXYZPitchYaw are the exact coordinates of the Red Spy Kit armorstand that players will right click to obtain their kit.
redSpyKitX: 0
redSpyKitY: 0
redSpyKitZ: 0
redSpyKitYaw: 0
redSpyKitPitch: 0
# blueFlagHomeXYZ are the exact coordinates of where the Blue Flag rests and where the blue team brings back the Red Flag to.
blueFlagHomeX: 0
blueFlagHomeY: 0
blueFlagHomeZ: 0
# redFlagHomeXYZ are the exact coordinates of where the Red Flag rests and where the red team brings back the Blue Flag to.
redFlagHomeX: 0
redFlagHomeY: 0
redFlagHomeZ: 0
# blueTeamXYZPitchYaw are the exact coordinates of where the blue sheep spawns. Player right click this sheep to join the blue team.
blueTeamX: 0
blueTeamY: 0
blueTeamZ: 0
blueTeamYaw: 0
blueTeamPitch: 0
# redTeamXYZPitchYaw are the exact coordinates of where the red sheep spawns. Player right click this sheep to join the red team.
redTeamX: 0
redTeamY: 0
redTeamZ: 0
redTeamYaw: 0
redTeamPitch: 0
# specTeamXYZPitchYaw are the exact coordinates of where the grey sheep spawns. Player right click this sheep to become a spectator.
specTeamX: 0
specTeamY: 0
specTeamZ: 0
specTeamYaw: 0
specTeamPitch: 0
# allow-block-break decides whether players are allowed to break blocks. "true" allows them to break blocks. "false" does not allow them to break blocks.
allow-block-break: true
# Map Creator is displayed when the start countdown begins.
Map Creator: name
# xMax is the highest coordinate of X the player can go on the map.
xMax: 0
# xMin is the lowest coordinate of X the player can go on the map.
xMin: 0
# yMax is the highest coordinate of Y the player can go on the map.
yMax: 0
# yMin is the lowest coordinate of Y the player can go on the map.
yMin: 0
# zMax is the highest coordinate of Z the player can go on the map.
zMax: 0
# zMin is the lowest coordinate of Z the player can go on the map.
zMin: 0
# The world is the name of the world your map is in.
world: world
# The spawn is where the players spawn in a lobby for the map. This is the same place you want to put your team selection sheep.
# spawnXYZ are the exact coordinates of where the player spawns.
spawnX: 0
spawnY: 0
spawnZ: 0
# centerXYZPitchYaw are the exact coordinates of the very center of your map. It is recommended to put it above all structures as this is where the spectators will spawn at the beginning of the game.
centerX: 0
centerY: 0
centerZ: 0
centerYaw: 0
centerPitch: 0
# blueSpawnXYZPitchYaw are the exact coordinates of where the blue players will spawn at the beginning of the game and where they will respawn.
blueSpawnX: 0
blueSpawnY: 0
blueSpawnZ: 0
blueSpawnYaw: 0
blueSpawnPitch: 0
# blueArcherKitXYZPitchYaw are the exact coordinates of the Blue Archer Kit armorstand that players will right click to obtain their kit.
blueArcherKitX: 0
blueArcherKitY: 0
blueArcherKitZ: 0
blueArcherKitYaw: 0
blueArcherKitPitch: 0
# blueKnightKitXYZPitchYaw are the exact coordinates of the Blue Knight Kit armorstand that players will right click to obtain their kit.
blueKnightKitX: 0
blueKnightKitY: 0
blueKnightKitZ: 0
blueKnightKitYaw: 0
blueKnightKitPitch: 0
# blueSpyKitXYZPitchYaw are the exact coordinates of the Blue Spy Kit armorstand that players will right click to obtain their kit.
blueSpyKitX: 0
blueSpyKitY: 0
blueSpyKitZ: 0
blueSpyKitYaw: 0
blueSpyKitPitch: 0
# redSpawnXYZPitchYaw are the exact coordinates of where the red players will spawn at the beginning of the game and where they will respawn.
redSpawnX: 0
redSpawnY: 0
redSpawnZ: 0
redSpawnYaw: 0
redSpawnPitch: 0
# redArcherKitXYZPitchYaw are the exact coordinates of the Red Archer Kit armorstand that players will right click to obtain their kit.
redArcherKitX: 0
redArcherKitY: 0
redArcherKitZ: 0
redArcherKitYaw: 0
redArcherKitPitch: 0
# redKnightKitXYZPitchYaw are the exact coordinates of the Red Knight Kit armorstand that players will right click to obtain their kit.
redKnightKitX: 0
redKnightKitY: 0
redKnightKitZ: 0
redKnightKitYaw: 0
redKnightKitPitch: 0
# redSpyKitXYZPitchYaw are the exact coordinates of the Red Spy Kit armorstand that players will right click to obtain their kit.
redSpyKitX: 0
redSpyKitY: 0
redSpyKitZ: 0
redSpyKitYaw: 0
redSpyKitPitch: 0
# blueFlagHomeXYZ are the exact coordinates of where the Blue Flag rests and where the blue team brings back the Red Flag to.
blueFlagHomeX: 0
blueFlagHomeY: 0
blueFlagHomeZ: 0
# redFlagHomeXYZ are the exact coordinates of where the Red Flag rests and where the red team brings back the Blue Flag to.
redFlagHomeX: 0
redFlagHomeY: 0
redFlagHomeZ: 0
# blueTeamXYZPitchYaw are the exact coordinates of where the blue sheep spawns. Player right click this sheep to join the blue team.
blueTeamX: 0
blueTeamY: 0
blueTeamZ: 0
blueTeamYaw: 0
blueTeamPitch: 0
# redTeamXYZPitchYaw are the exact coordinates of where the red sheep spawns. Player right click this sheep to join the red team.
redTeamX: 0
redTeamY: 0
redTeamZ: 0
redTeamYaw: 0
redTeamPitch: 0
# specTeamXYZPitchYaw are the exact coordinates of where the grey sheep spawns. Player right click this sheep to become a spectator.
specTeamX: 0
specTeamY: 0
specTeamZ: 0
specTeamYaw: 0
specTeamPitch: 0
# allow-block-break decides whether players are allowed to break blocks. "true" allows them to break blocks. "false" does not allow them to break blocks.
allow-block-break: true
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Capture the Flag is a free Minecraft Java mod. Compatible with Minecraft 1.10. Downloaded 9,330 times (via Spigot). Download it and open it directly in the game.
The blue team's flag in its resting position.
In this picture, the player is a member of the red team. When he picks up the blue team's flag, his helmet turns into it and particles spawn around him. The flag also disappears from its stand and the name is updated to show its new status.
Scoreboard once the game starts.
This image depicts the possible status messages stitched one after another.