- Поддерживаемые плагины
Required plugin: https://umod.org/plugins/image-library
Create Blackjack tables for players to bet and try to win scrap
This plugin is split into 3 individual plugins;
PlayingCards - Manages interactions with ImageLibrary and all card game related imagery
Casino - Manage card games, players and tables
BlackJack - The core, Black Jack game
The plugin is split in to 3 sections so that all the core functionality can be re-used for other card games in the future.
When the group of plugins is first loaded PlayingCards will create a load order with ImageLibrary. No card games can be played until that has completed.
Creating a game:
Creating a game is simple, place a table down (do not place chairs) and type the create command.
/casino create <type> <maximum players> <bet minimum> <maximum bet>
Replace <type> with "BlackJack" for this game
Replace <maximum players> with the amount of players you want to allow for this game (Limit of 4 per game)
Replace <bet minimum> and <maximum bet> with the bet range for that table.
ex. "/create casino blackjack 4 50 500" - Create a table for 4 players with a betting range of 50-500
Once you type that command, the table will spawn enough chairs for the amount of players and the game will be active.
Joining a game:
Simply sit down on any of the chairs game and the game UI will popup. If you join after the betting has finished you will be able to view the current match, but will not be able to play until the next match.
To leave a game the player just need to click the "Leave Table" button at the top right of the game screen
Commands (Require the player is admin)
/casino create <type> <maximum players> <minimum bet> <bet maximum> - Creates the specified type of card game, with the details provided
/casino setbet <type> <shortname> - Sets the bet type for the card game you are looking at
Types: Item / ServerRewards / Economics. Note that only the type of Item will require a item shortname
/casino remove - Removes the card game you are looking at