Create a Minecraft Spigot/Paper plugin called "GlitchSMP".
GENERAL SYSTEM
- When a player joins the server for the first time, show a big title:
"Welcome to the Glitch SMP".
- Admin command:
/glitchsmp start
- When the admin runs the command:
- A 10 second countdown starts.
- Show title: "Glitch SMP starting in 10 seconds".
- When the countdown ends:
- All online players are launched 10 blocks into the air.
- Each player receives ONE random Glitch ability.
- Players fall back down but take NO fall damage.
PLAYER GLITCH SYSTEM
- If a player already has a glitch ability (old player), they will NOT receive another glitch when they join.
- If a NEW player joins and does not have any glitch ability, they automatically receive a RANDOM glitch.
- Each glitch has 2 powers (Power 1 and Power 2).
- Glitches must be saved so players keep them after rejoining.
ABILITY USAGE SYSTEM
Players must choose which power they want to use with commands:
/ability use 1 Selects Power 1
/ability use 2 Selects Power 2
After selecting a power, the player activates it by:
Sneak + Left Click.
INVENTORY GUI COMMAND
/glitch INVENTORY GUI
This opens a INVENTORY GUI showing:
- Player glitches
- Player lives
- Ability descriptions
- How to use each power
LIFE SYSTEM
- Each player starts with 10 lives.
- If a player kills another player:
- The killed player loses 1 life. - The killer gains 1 life.
- If a player dies 3 times to other players, one of their glitches is removed.
- A player can hold a maximum of 5 glitches.
LIFE ADMIN COMMANDS
/life give <player> <amount> Give lives to a player.
/life remove <player> <amount> Remove lives from a player.
/life set <player> <amount> Set the player's lives to a specific number.
GLITCH ADMIN COMMANDS
/glitch remove <player> <glitch> Remove a glitch ability from a player.
/glitch give <player> <glitch> Give a specific glitch to a player.
/glitch give random <player> Give a random glitch ability to a player.
Only Admins or Owners can use these commands.
GLITCH ABILITIES
- SPEED GLITCH
Power 1:
Speed 10 for 30 seconds.
Cooldown: 2 minutes.
Power 2:
Dash forward up to 40 blocks quickly.
Cooldown: 20 seconds.
- TELEPORT GLITCH
Power 1:
Open a INVENTORY GUI showing all online players.
Click a player to teleport them to you.
Power 2:
Open a INVENTORY GUI showing all online players.
Click a player to swap positions with them.
- LIGHTNING GLITCH
Power 1:
Strike lightning where the player is looking.
Power 2:
Create a lightning storm around the player.
- FIRE GLITCH
Power 1:
Shoot fireballs.
Power 2:
Fire beams shoot from the player's eyes damaging enemies.
- SHADOW GLITCH
Power 1:
Become invisible for 5 seconds.
Power 2:
Shadow dash up to 40 blocks instantly.
- JUMP GLITCH
Power 1:
Launch the player 50 blocks into the air.
Power 2:
Strong jump boost and no fall damage.
- GRAVITY GLITCH
Power 1:
Break a 5x5 area of blocks down to the void.
Power 2:
After 10 seconds the blocks regenerate exactly as before.
Players may fall into the void during the break.
EXTRA FEATURES
- Show cooldowns in the action bar.
- Add sounds and particles to abilities.
- Store player data in config files.
- Plugin must support Spigot/Paper 1.20+.
No files in this session