The Snake Documentation
The Snake
Section titled “The Snake”The Snake brings the classic Snake game into Minecraft. A player controls a block-based snake across a two-dimensional arena board, collects apples to score and grow, and tries to avoid hitting the snake’s own body or an arena border.
Each arena is a separate single-player board with its own movement speed, win condition, wrap-around rule, block palette, start location, and exit location. The plugin also includes persistent statistics, leaderboards, PlaceholderAPI integration, flat-file or MySQL storage, and Bukkit events for custom integrations.
Get Started
Section titled “Get Started” Getting Started Install The Snake and prepare the plugin for its first arena.
Arena Setup Create a two-dimensional board and configure every arena option.
Gameplay Overview Learn how movement, apples, growth, collisions, and win conditions work.
Features
Section titled “Features” Controls and Movement Understand WASD input, direction rules, movement speed, and wrap-around behavior.
Arena Options Reference every per-arena timer, score, movement, and block option.
Statistics and Leaderboards See which records are stored and how flat-file and MySQL storage behave.
Commands
Section titled “Commands” Player Commands Join or leave an arena with the player-facing command set.
Arena Commands Create, list, edit, and safely delete Snake arenas.
Admin Commands Reload configuration files or stop an active game.
Debug Commands Preview MiniMessage output and inspect custom-event timings.
Configuration Files
Section titled “Configuration Files” config.yml Configure storage, autosaving, command rules, placeholders, updates, and diagnostics.
messages.yml Customize MiniMessage-formatted command, gameplay, title, and action-bar text.
sounds.yml Configure gameplay sounds, enabled states, volume, and pitch.
rewards.yml Run commands when games start, are left early, end in a win or death, or apples are collected.
mysql.yml Configure the JDBC connection and statistics table used by MySQL storage.
arenas.yml Understand the locations and options serialized for each arena.
Other Files Learn how data/stats.yml and inventory recovery are managed.
Placeholders and API
Section titled “Placeholders and API” PlaceholderAPI Placeholders Display global totals, player statistics, arena state, score, options, and ranked leaders.
Developer API Listen for lifecycle, input, score, and cancellable statistic events.
Miscellaneous
Section titled “Miscellaneous” FAQ Common questions about requirements, arena geometry, controls, storage, and troubleshooting.
Get The Snake on SpigotMC Open The Snake on SpigotMC for downloads, updates, and purchases.