Roulette icon

Roulette -----

The classic casino game now in Minecraft, no need for texture packs.




Changelog
  • Fixed an error that occurs when placing a bet on all possible slots.
  • Now you can specify the maximum bets a player can place in a game.
----------, Jan 20, 2025

Changelog (video below)
  • Support for 1.21.4.
  • Experimental features:
    • Note: these features are still under development and may not be fully optimized or customizable (yet).
    • Note 2: these features are disabled by default and must be enabled manually by setting experimental to true in config.yml.
    • Highlight bet coverage: displays the numbers the current bet covers using particles.
    • Table number(s) visualization: shows table numbers with text display entities (1.19.4+ only).
    • Dynamic bet movement (v2): this feature allows players to move their bets around the table using their view direction while pressing the sprint key (1.21.2+ only).
  • Now players will swing their main hand when moving bets on the table.
  • Now spin holograms can be seen by players outside of the game.
    • Enabled by default, customizable in config.yml.
  • Added an option to change the croupier's default look direction when the game isn't started.
  • Croupiers now look at players during the selecting phase of the game.
  • Removed fire from table chairs, which previously caused them to glow in the dark and look poor at night.
    • To implement this change, delete the models folder and restart the server.
  • Removed the npc-look-and-invite setting from config.yml. This can now be modified per croupier in the croupier menu.
  • Fixed an issue where players sneaking while trying to leave a game caused unintended behavior.
----------, Jan 4, 2025

Changelog
  • Fix dismounting issues.
  • Small hologram improvements.
----------, Dec 6, 2024

Changelog
  • Fixed issues in the latest version.
----------, Dec 3, 2024

Changelog
  • Added support for 1.21.2 & 1.21.3.
  • Added PlayerPoints support.
  • Now you can create roulette tables diagonally (images below).
  • New command: /roulette force <slot> (permission: roulette.force)
    • Allows you to force a specific slot to win during a game. The player must be seated at the table, and the wheel must be spinning.
  • Per-table setting to disable NPC invitations to nearby players.
  • Many processes have been optimized and are now handled asynchronously, including:
    • Hologram animations.
    • Dab animations.
    • Money animations.
    • Roulette render distance checks.
  • Disabled ticking for armor stands used as chairs (paper).
  • If no economy provider is found, the plugin won't be disabled.
    • Players won’t be able to join games, and session refunds will be unavailable until a provider is added.
  • Fixed dab animation not spawning with equipment.
  • Fixed hologram visibility issues.
  • Fixed issues when using dots . in table names.
    • Dots can no longer be used in the names of games, as they generate conflicts with yaml.
  • Fixed sound-related issues on latest versions.
  • Fixed occasional issues with parrots not spawning correctly.
  • Fixed asynchronous issues when saving sessions and maps to the database.
[​IMG]
[​IMG]
----------, Dec 2, 2024

Changelog
  • Fix NullPointerException when spinning the roulette table.
  • Fixed the database that was erroneously increasing in size.
  • You can now set a limit to the number of roulette sessions that are saved in the database, as well as an option for wins not to be counted towards the limit.
    Code (Text):

    # Here you will find some options about saving sessions.
    # NOTE: Victory sessions are used for statistics (used by PlaceholderAPI).
    # * If you use them and want to use a limit, you should leave @keep-victories = true.
    # * Additionally, wins are used for @map-image maps (vouchers).
    #
    # RECOMMEND: Set @limit to a moderately high value like 50 and set @keep-victories to true.
    sessions:
      # The limit of sessions to keep saved; once exceeded, the oldest session will be deleted.
      # NOTE: the minimum limit must be 3 or greater (-1 = no limit).
      limit: -1
      # Whether to delete only the losses (which usually take up the most space) and keep the victories.
      keep-victories: true
      # The text that will appear below a session that only contains winning results.
      only-victories-text: "&aOnly victories!"

     
  • NOTE: The limit will start to apply when the next session is saved.
  • NOTE 2: If your database (plugins/Roulette/data.db) is too large and you care about space usage, it is recommended that you delete your database and set a limit.
----------, Oct 18, 2024

Changelog
  • Fixed issues with non-English servers.
  • Now you can toggle the NPC invite and look at the nearest players, as well as change its range.
  • Now the NPC skin will not show the cape (if it has one).
  • Should fix an issue where some players were not allowed to join a game because they were mistakenly marked as vanished.
----------, Sep 22, 2024

3.0 is here! Take a look at the video (Read the Changelog)


Changelog
  • NOTE: Just so everyone is aware, the new update is not compatible with the previous versions. The new version is going to be 3.0. When updating the plugin, the previous files will be moved to a folder called "Roulette_old" just in case you want to copy some values. Most of the settings will remain the same, but there are a lot of changes which would be a lot of work to create a migration so I decided to move the previous file to a different folder. Unfortunately, you'll have to create your tables again and configure your config.yml, chips.yml and messages.yml (again). This is the biggest update for this plugin since a lot of stuff has been rewritten so this will be the only time that you'll have to go through this. Do not move any of the old files in Roulette_old to the original Roulette folder or many errors may appear.
  • New croupier settings for the parrot.
    • Change parrot color.
    • Change parrot shoulder.
    • Toggle parrot sounds.
  • New croupier features.
    • Croupier looks at the nearest players.
    • Croupier sends random invite messages to the nearest players.
    • Croupier imitates the hit animation of players.
  • Multiple bet per player.
    • Players can place multiple bets on different slots with varying amounts of money.
    • Manage bets with a new menu (use space to open the menu).
    • Change the color of your bets in the menu.
    • Add, remove, or change bets.
    • Adding a new bet will delay the start of the game by a few seconds.
  • Right click to join a table.
    • If a player doesn't click on a chair, they will automatically sit on the closest chair.
  • Bet-related messaging.
    • All bet messages are now consolidated into a single hoverable message that shows detailed information.
  • Winning maps (vouchers).
    • Optimized to reduce lag.
    • Added support for hex colors.
    • Added new placeholders: %player%, %money%, %date%, %table%.
    • Players can specify X and Y coordinates for text placement.
  • Table customization.
    • Added a menu option to change table decoration variants.
    • Added more block types for table textures (including slabs).
    • Players can customize the entire table via a GUI, including the table texture, chairs, and chip decorations.
  • Chip and table settings.
    • Players can enable or disable chips on a per-table basis.
    • Different tables can have different chip amounts, allowing for low and high stakes tables.
  • Directional bet movement.
    • Players can move their bet using the WASD keys based on their seat position.
  • Transaction history.
    • A database of all transactions (win/loss) is kept, allowing admins to refund money, revert bets, and more via a GUI.
  • Dab animation.
    • Players who win the most money on a single bet will perform a dab animation.
  • Skipping bet selection.
    • If there is only one player when the game starts and their bet is on Prison, the selection phase will be skipped, and the game will go directly to spinning.
  • Table and chip fixes.
    • Fixed chips being left over on the tables when a game ends.
    • Fixed tables not spawning when a player teleports.
  • NPCs fix:
    • Fixed NPCs not being removed from the tab in 1.18.2 servers.
  • PAPI placeholders.
    • %roulette_win%: returns the number of wins.
    • %roulette_total%: returns the total amount of money earned.
    • %roulette_max%: returns the highest amount of money earned.
    • %roulette_win_{X=partage/prison/surrender}%: returns the number of @X wins.
  • Additional features.
    • Added new variables %min-money% and %max-money% for the join hologram.
----------, Sep 21, 2024

Changelog
  • A separate menu has been added to customize the croupier. In this menu you can change the name and skin as before and also toggle the parrot's visibility.
  • A mechanic that should have been applied from the beginning was added: now if a player places a bet and leaves the game BEFORE no more bets are accepted and the wheel starts spinning then the player will get his money back (as in real casinos). Once the roulette wheel starts spinning the player will NOT get his money back if he leaves the game.
  • Removed debug messages that were erroneously left in the previous update.
  • Fixed a ConcurrentModificationException error that occurred when the player is removed for not placing a bet.
  • Fixed item flags not being applied to any item.
----------, Aug 13, 2024

Changelog
  • 1.20.6 and 1.21 support.
  • Important: ProtocolLib has been replaced by PacketEvents (since it receives more updates and is much easier to use), so you must add it to your server.
  • Now croupiers spawn with a parrot on their shoulders (yes, they sing too).
    2024-07-11_18.39.12.png
  • Many bugs were fixed, such as:
    • The roulette chairs stop working when the chunk where the table is located is unloaded, making the game start but the player was not allowed to move his chips as he was not seated.
    • Players could place items inside the chip GUI by shift-clicking or drag-clicking.
    • Synchronization errors when moving the chips on the table.
    • The croupier's name will be deleted when you want to delete only the skin, and vice versa.
    • And many, many more.
  • Code cleanup.
----------, Jul 12, 2024

Changelog
  • Fixed async-related issues.
  • Fixed issue where players were still inside the game when teleporting.
  • Dropped support for the following versions:
    • 1.13
    • 1.14
    • 1.15
----------, Mar 2, 2024

Changelog
  • 1.20.4 support.
  • Now you can run commands from the console.
----------, Dec 28, 2023

Changelog
  • Fixed an issue in the previous release (related to sweep attack).
----------, Oct 7, 2023

This is the first part of version 2.0, stay tuned for the next part (this update was more focused on fixing issues). Report any issue on the discord server, you can find the link in the overview.



Additions

  • 1.20.2 support.
  • Increased the limit of bets in the same slot. For example, 2 players can bet on red at the same time (the chips will be placed side by side).
    • For dozens, up to 7 bets can be placed on each one.
    • For European tables (single zero) up to 7 bets are allowed, for American tables (double zero) 3 bets are allowed for each zero.
    • For all other slots, up to 3 bets are allowed at the same time.
  • In order to be able to identify your chip on the table due to the above mentioned feature, the glowing effect was added to the chips (see the video for a better understanding).
    • Players can change the color of the glowing using the space (jump) key.
  • Added an option in config.yml for players to stay in the seat for the next game instead of being removed and having to re-join the game.
  • In previous versions only a few characters could be used in the maps (map vouchers); now you should be able to use any character (including characters from other languages like Russian, Chinese, etc.).
    • You can also modify the item itself (changing its name, lore, etc.).
  • Added an internal default skin for croupiers of tables that don't have a skin.
Fixed
  • Fixed the join hologram that sometimes wasn' t visible when it should be (or vice versa).
  • Fixed the En Prison rule that wasn't working properly (again).
  • Fixed the maps (map vouchers) not persisting after a restart.
  • Redesigned the lower part of the table, which showed white and green parts.
  • Fixed a bug that altered the order set in the tab by other plugins.
Changed/Removed
  • The help message can no longer be modified from messages.yml.
  • Players can no longer join a game by right-clicking while shifting, as this results in the player being out of the seat but in the game; unable to control their bets (they'll only be able to join the game by right-clicking).
  • Changed the names of some permissions:
    • roulette.swap_chair -> roulette.swapchair
    • roulette.texture_table -> roulette.texturetable
----------, Oct 6, 2023

Changelog
  • 1.20 support and bug fixes.
  • Dropped support for 1.12.2, use version from 1.0-SNAPSHOT to 1.9.5.
  • Changes in money abbreviations: now you can add the abbreviations you need.
  • Should fix an issue where some players get kicked (mainly for anticheats because of "BadPackets") from the server when joining a table.
    • For each roulette table, 10 real armor stands spawn for players to sit at; make sure you don't have a plugin that limits the amount of armor stands spawned in a chunk or there may be errors.
----------, Jun 22, 2023

Changelog
  • Fixed 1.12.2 support.
----------, Mar 26, 2023

Changelog
  • Added 1.19.4 support.
----------, Mar 20, 2023

Changelog
  • Fixed maps (vouchers) not working, again.
    • If vouchers aren't loaded after restarting your server, take a look at the new option, which should fix this issue.
  • Added money abbreviation, useful for prison servers.
  • Fixed IPAE when restarting a game.
----------, Feb 20, 2023

Changelog (only update if you're using a version pre-1.19.3)
  • Fixed an issue in pre-1.19.3, again.
----------, Feb 11, 2023

Changelog
  • Fixed an issue in pre-1.19.3.
  • Added config updater (only for config.yml).
  • Now you can define a custom win multiplier per slot; for more info, take a look here.
----------, Feb 11, 2023

Changelog
  • Fixed issues in the latest update, sorry for the inconvenience.
----------, Feb 11, 2023

Changelog
  • Added 1.19.3 support and fixed several issues.
----------, Feb 7, 2023

Changelog
  • Fixed issue introduced in the latest release (rookie mistake by me o_O).
----------, Oct 6, 2022

Changelog (Click on read more...)
  • Bug fixes & code cleanup.
  • Added developer events.
NOTE: Today starts the development of version 2.0 which will bring many features requested by the community and many more stuff; stay tuned.
----------, Oct 6, 2022

Changelog (This version hasn't been tested that much, only in 1.19. Please, let me know if you find something)
  • Added support for 1.19.
  • Fixed some issues when EnPrison rule is enabled.
----------, Jun 29, 2022

Changelog (Click on read more...)
  • Removed vehicle health bar, now you can see your food bar when sitting.
  • Fixed some packet & reflection issues on 1.18(.2).
  • Now you can use spaces in NPC names (take in mind the max length is 16 characters).
  • Now you can use spaces in roulette tables using underscore "_" as spaces when creating a table.
    • For example: /roulette create Name_With_Spaces american
      Those "_" will be replaced with spaces after (for now, only for join hologram and map voucher).
  • Now you can change the color of chairs (carpets) right clicking the model with a wool.
  • Changed some misleading descriptions on items in GUI.
[​IMG]
[​IMG]
----------, Jun 2, 2022

Changelog
  • Fixed IAE exception when trying to use colors in maps (not supported atm).
  • Re-added option to enable/disable bet-all option per game in GUI.
----------, Jan 11, 2022

Changelog
  • Fixed NPE/NSF exceptions due to dependency (XSeries) on 1.17 servers.
----------, Dec 10, 2021

Sorry for the constant updates, I'm aiming to fix all the bugs.

Changelog
  • Fixed option to disable map image (voucher) not working.
----------, Dec 9, 2021

Changelog
  • Fixed RGB colors not working (1.16+).
----------, Dec 9, 2021

Changelog
  • Updated to 1.18.
----------, Dec 8, 2021

Changelog (READ!!! CLICK ON ...READ MORE)
  • Changed the way tables location were saved, you may get some errors; delete the line marked below in each game (you must do this only one time, or remove every tables and create them again). This change should fix an error when creating games in worlds created by any world generator such as Multiverse-Core.
    Code (Text):
      location:
        ==: org.bukkit.Location <--- REMOVE THIS WHOLE LINE
        world: world
        x: 100.0
        y: 200.0
        z: 300.0
        pitch: 500.0
        yaw: 400.0
  • Fixed an NPE when using 1.12.
  • The npc name and skin didn't persist after reload or restart, now they do.
  • When doing /reload (although it's not recommended), the npc wasn't removed, causing them to duplicate.
  • The variable %money% has been added to the hologram that appears above the chip/token.
  • Rainbow color can now be used in holograms. (usage: &u)
  • Now the decoration chips/tokens that appear next to the npc will appear in different ways (full/ascendent/descendent/different variants).
  • Now you can change the type of wood of each roulette table by shift + right click on a game with any type of wood (must be planks) in the main (right) hand. (permission required: roulette.texture_table)
  • This thing that the croupier puts on top of the winning number was added, I don't know what it's called, that's why this image.
    gettyimages-155374220-612x612.jpg
----------, Nov 29, 2021

Changelog
  • Fixed an issue where holograms didn't disappear when they should in 1.17.
  • Fixed (should've) an issue where the roulette table doesn't appear after changing worlds.
----------, Nov 25, 2021

Changelog
  • Fixed some issues when using ViaVersion.
  • Fixed an issue when using invalid characters in the victory voucher (map).
  • A forgotten debug message was removed.
----------, Nov 22, 2021

Everything is explained on the main page and in the "documentation" section.
----------, Nov 20, 2021

Changelog:
  • Not much, only fixed a NPE.
Feel free to report any errors. :)
----------, May 4, 2021

BIG thanks to all the donators of this plugin <3

Note: you need to delete your old files and let the plugin regenerate the new ones, otherwise you'll get a bunch of errors. Someday I'll add a config migrator, so you don't need to make this every update (make a copy of your old files if needed). :)

Please, report any error in the discussion section, github issues or via DM.

Changelog:

  • Added support for CMI holograms.
    • Important: you need to install PlaceholderAPI to use CMI holograms.
    • Sometimes, the join hologram won't disappear for the player until the game starts, doesn't happen too often though.
  • Added support for Clearlagg, to prevent removing armor stands from this plugin.
  • Fixed a visual glitch when opening the chips GUI, the inventory used to appear empty.
  • Added support for PlaceholderAPI.
    • %roulette_wins%: shows how many times a player has won.
    • %roulette_winnings%: shows the total money won by the player.
  • Show in chat the winning number.
  • Now you can disable slots for the games.
    • ATM, this apply for all the games, so if you disable the RED slot, it'll be disabled for all the games; I'll make it per game in the next update.
  • Added BETA support for NPCLib, a lightweight alternative for Citizens.
    • Important: I highly don't recommend you to use it now, sometimes the NPC disappears when the player dies, It'll be working perfect in the next update; so, for now I recommend keep using Citizens.
  • Now a confirm GUI will appear to the player when trying to leave a game.
  • Now you can disable bet-all option per game, and also you can change the start-time per game too, to make fast games.
  • Now player in vanish mode can't join games.
    • Support for: CMI, EssentialsX, SuperVanish, PremiumVanish, VanishNoPacket and a few more vanish plugins.
  • Added three more useless features for NPC's.
    • Now if a player jumps or sneaks, the NPC will imitate that.
    • Now if nobody wins a game, the NPC will start jumping, but if someones wins, he will take fake damage.
    • Now if the ball of the NPC is a projectile (ENDER_PEARL/SNOWBALL/EGG/FIRE_CHARGE/ENDER_EYE) the npc will throw it to players (with no damage) when hitting him.
Feel free to report any errors. :)
----------, May 2, 2021

Changelog:
  • This update should fix amor stands disappearing, again, let me know if this still happen.
Feel free to report any errors. :)
----------, Mar 30, 2021

NOTE: You need to update your messages.yml and config.yml files, otherwise you'll get a bunch of errors; sorry about that.

Some people have been reporting armor stands disappearing, it should be fixed now, I have tested the plugin for almost 30 minutes and the armor stands are not disappearing, please let me know if this is still happening.

All the suggestions were added to the to-do list, they'll be implemented in the next updates.


Changelog:

  • Now you can bet all of your money in a game, you'll have to confirm.
  • Now you can edit some game options with a menu editor by right clicking an NPC of a game.
  • New permissions has been added, so you can let players create/delete their own games.
  • Now you can specify the player's account which receives the money lost in a game.
  • Added support for /reload command, although you shouldn't use it on a live server.
  • Fixed some reported errors.
Feel free to report any errors. :)
----------, Mar 30, 2021

Changelog:
  • Fixed an error when changing the look-distance value in config.yml.
  • Fixed an error where the join hologram wouldn't be shown to some players (Thanks to @starnos and @CloudeLecaw for letting me now).
Feel free to report any errors. :)
----------, Mar 17, 2021

This version has only been tested in 1.14, please, if you find an error report it to me privately, I'll fix it ASAP.

NOTE: If you still using the old version, delete all the existing games (with /roulette delete/purge), then remove config.yml and messages.yml, since both of them has changed.


After a long time, here it is guys; sorry for the long wait. :)

Changelog:

  • Now the plugin need Citizens2 to run the plugin (needed for the NPC's).
  • Removed particles and sounds when removing a table to prevent lag.
  • Now you can choose between an american and european table.
  • Now you can define the minimum and maximum amount of players for a game. (min: 1, max: 10)
  • Now you'll see a progress bar when creating a new table.
  • Now if you remove the plugin, no armor stand will be left spawned.
  • Added low, high, even. odd, 36 numbers (from 1 to 36), 0 & 00.
  • Added some useless decorations to the table (spinners and stacked chips). :p
  • Fixed some minor bugs.
  • Should work from 1.14 to 1.16 (included all sub-versions).
  • Added an update checker, you can disable it if you want.
  • Added a prefix for the croupier invitation messages.
Feel free to report any errors. :)
----------, Mar 17, 2021

This update doesn't bring any new features. I also wanted to announce that I'm working on a new roulette design, increasing the amount of numbers to 37 (including zero) and the number of chairs, so it's possible to play with more players. Stay tuned.

Changelog:
  • Added an option to change the sound when clicking in the GUI.
  • Added an option to define the restart time of the game, as well as the amount of fireworks that'll be launched if there're winners.
  • The countdown.sort section has been renamed to countdown.sorting.
Feel free to report any errors. :)
----------, Aug 10, 2020

Changelog:
  • Colors can now be used in the name of NPCs.
  • If a croupier name is not specified in the create command, the NPC will have no name (nametag will be hidden).
  • The name and lore of each chip can now be edited in the chips.yml file, adding display-name and lore.
  • Now you can see the second layer of the NPC skin.
  • NPCs can now look at nearby players, mimic their movements (sneak, hit), and invite them to play a game.
  • The croupier-names section has been removed from the config.yml as the ability to specify a name has been added.
  • Fixed a bug when instant-explode is true, where fireworks colors were not showing.
  • Fixed a bug where the table / chair legs looked dark.
  • Fixed a severe bug that causes the server to crash when changing seats / moving chips.
Feel free to report any errors. :)
----------, Aug 5, 2020

Added:
  • Command to purge the armor stands that for some reason have been left on the map. For example, by removing the plugin.
  • Messages can now be sent via action bar, putting [AB] at the beginning of the message (only one line messages).
  • Now you can define the croupier name using the create command.
  • Now you can change the item that the croupier'll have in his hand, which represents a ball.
Fixed:
  • Some fixes in the code related to loading games at server startup.
Feel free to report any errors. :)
----------, Aug 3, 2020

Resource Information
Author:
----------
Total Downloads: 13,593
First Release: Aug 1, 2020
Last Update: Jan 20, 2025
Category: ---------------
All-Time Rating:
77 ratings
Find more info at www.spigotmc.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings