{"id":25343056,"url":"https://github.com/joaorihan/deckofcards","last_synced_at":"2026-05-02T04:33:57.912Z","repository":{"id":277423032,"uuid":"931201286","full_name":"joaorihan/DeckOfCards","owner":"joaorihan","description":"A physical, customizable and simple 52-card deck framework for Spigot/Paper minecraft servers","archived":false,"fork":false,"pushed_at":"2025-02-22T17:42:04.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T13:53:38.673Z","etag":null,"topics":["deckofcards","minecraft","paper","playing-cards","plugin","simple","spigot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaorihan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-11T22:02:41.000Z","updated_at":"2025-02-22T17:42:07.000Z","dependencies_parsed_at":"2025-02-13T21:42:04.547Z","dependency_job_id":null,"html_url":"https://github.com/joaorihan/DeckOfCards","commit_stats":null,"previous_names":["joaorihan/deckofcards"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaorihan%2FDeckOfCards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaorihan%2FDeckOfCards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaorihan%2FDeckOfCards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaorihan%2FDeckOfCards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaorihan","download_url":"https://codeload.github.com/joaorihan/DeckOfCards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856561,"owners_count":21007620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deckofcards","minecraft","paper","playing-cards","plugin","simple","spigot"],"created_at":"2025-02-14T10:30:00.493Z","updated_at":"2026-05-02T04:33:57.859Z","avatar_url":"https://github.com/joaorihan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeckOfCards\n\n---\n\n### About\n\n**DeckOfCards** is a Spigot plugin that introduces a physical, fully functional, customizable deck of 52 cards into Minecraft. Players can obtain, manage, shuffle, and debug decks directly in-game, making it perfect for integrating card games or interactive mechanics on your server.\n\n### Purpose\n\nDeckOfCards provides a flexible framework for card-based interactions on Spigot/Paper servers. Whether you’re creating mini-games, role-playing scenarios, or gambling systems, this plugin allows you to easily incorporate card mechanics with fully configurable card names, deck items, and sound effects.\n\n---\n\n## Usage\n\n`\u003c \u003e` - Mandatory arguments  \n`( )` - Optional arguments\n\n- **`/deck get`**  \n  Gives the command sender a new, unshuffled deck of 52 cards.\n\n- **`/deck give \u003cplayer\u003e`**  \n  Gives a new deck of cards to the specified player.\n\n- **`/deckreset`**  \n  Resets the deck in the player’s main hand to a full, standard 52-card order.\n\n- **`/deckdebug`**  \n  Displays the current order of cards in the deck held by the player for debugging purposes.\n\n---\n\n## Permissions\n\n- **deckofcards.use**  \n  Allows players to use the `/deck` command.\n\n- **deckofcards.get**  \n  Allows players to obtain a deck using `/deck get`.\n\n- **deckofcards.give**  \n  Allows players to give a deck to another player with `/deck give \u003cplayer\u003e`.\n\n- **deckofcards.reset**  \n  Allows players to reset their held deck using `/deckreset`.\n\n- **deckofcards.debug**  \n  Allows players to view the debug information of their deck using `/deckdebug`.\n\n---\n\n### Requirements\n\n- Spigot or Paper 1.21\n- Java 21 or higher\n\n---\n\n### Installation\n\n1. **Download the latest release:**  \n   Download the JAR file from the [Releases](https://github.com/joaorihan/DeckOfCards/releases) page.\n\n2. **Place the JAR in your plugins folder:**  \n   Simply drop the JAR file into your server’s `plugins` directory.\n\n3. **Restart or reload your server:**  \n   On first run, the plugin will generate a default configuration file (`config.yml`).\n\n---\n\n## Configuration\n\nUpon first run, a default `config.yml` is generated in the plugins folder. Customize the following settings to tailor the plugin to your needs:\n\n```yaml\n# The material used for the deck, and card items. Change this to any valid Material name.\ndeck-material: BOOK\ncard-material: PAPER\n\n# The sound played when dealing a card.\ndeal-sound: ITEM_BOOK_PAGE_TURN\n\n# The sound played when shuffling the deck.\nshuffle-sound: ITEM_BOOK_PAGE_TURN\n\n# Sound volume and pitch.\nsound-volume: 1.0\nsound-pitch: 1.5\n\n# Whether to send the player a message telling him what card he just dealt.\nshow-deal-message: false\n\n# Displayed name of the deck\ndeck:\n  name: \"Deck of Cards\"\n\n# Displayed name of card ranks\ncards:\n  ace: \"Ace\"\n  king: \"King\"\n  queen: \"Queen\"\n  jack: \"Jack\"\n  of: \"of\" # The word between the rank and the suit. (can be blank)\n\n# Displayed name of card suits\n# Spades: ♠  Hearts: ♡  Diamonds: ♦  Clubs: ♧\nsuits:\n  spades: \"Spades\"\n  hearts: \"Hearts\"\n  diamonds: \"Diamonds\"\n  clubs: \"Clubs\"\n\n```\n\n- **deck-material:** Defines the item used as the deck (default is `BOOK`).\n- **deal-sound \u0026 shuffle-sound:** The sounds played when dealing or shuffling cards.\n- **sound-volume \u0026 sound-pitch:** Adjust the audio feedback.\n- **show-deal-message:** If `true`, a message will display the dealt card to the player.\n- **cards \u0026 suits:** Customize the card rank names and suit names used in your deck.\n\n---\n\n## Troubleshooting\n\n**Deck Commands Not Working?**\n\n- Ensure you are holding the correct deck item in your main hand.\n- Verify that your `config.yml` is correctly set up.\n- Confirm that your server is running Spigot/Paper 1.21 or higher.\n- Double-check that your permissions are correctly assigned.\n\n---\n\n## Building\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/joaorihan/DeckOfCards.git \u0026\u0026 cd DeckOfCards\n   ```\n\n2. **Build the plugin:**\n   ```bash\n   mvn clean package\n   ```\n\n3. **Deploy the JAR:**\n   Find the generated JAR in the `target` directory and place it in your server's `plugins` folder.\n\n---\n\n## Contributing\n\nContributions are welcome! To contribute:\n\n1. **Fork the Repository:**  \n   Click the **Fork** button at the top right of this page.\n\n2. **Clone Your Fork:**\n   ```bash\n   git clone https://github.com/your-username/DeckOfCards.git\n   cd DeckOfCards\n   ```\n\n3. **Create a New Branch:**\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n\n4. **Implement Your Changes:**  \n   Follow the existing coding conventions and document your code.\n\n5. **Commit and Push:**\n   ```bash\n   git commit -m \"Add feature/bug fix description\"\n   git push origin feature/your-feature-name\n   ```\n\n6. **Open a Pull Request:**  \n   Submit your pull request to the original repository with a detailed explanation of your changes.\n\nThank you for contributing!\n\n---\n\n## License\n\nThis project is licensed under the GNU Affero General Public License. See the [LICENSE](LICENSE) file for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaorihan%2Fdeckofcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaorihan%2Fdeckofcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaorihan%2Fdeckofcards/lists"}